This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/19494] New: Building gcc-3.4.3 fails on gcc/unwind-dw2.c


I'm trying to build LinuxFromScratch.org book 6.0 on a DecAlpha. LFS chapter 5
pass1 and pass2 complete with no errors, but gcc-3.4.1 *AND* gcc-3.4.3 both fail
when trying to compile gcc/unwind-dw2.c in chapter 6 (the big difference being
that in chapter 6, I'm building in the bootstrapped environment for installation
into /usr, rather than linked against libraries in /tools/lib and installed into
/tools/bin. I don't understand why it makes a difference...)

gcc -v for the compiler being used to make gcc-3.4.3:
Reading specs from /tools/lib/gcc/alphaev56-unknown-linux-gnu/3.4.1/specs
Configured with: ../gcc-3.4.1/configure --prefix=/tools --libexecdir=/tools/lib
--with-local-prefix=/tools --enable-clocale=gnu --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++
--disable-libstdcxx-pch
Thread model: posix
gcc version 3.4.1

The output of make:
make[1]: Entering directory `/morelfs/gcc-build/libiberty'
make[2]: Entering directory `/morelfs/gcc-build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/morelfs/gcc-build/libiberty/testsuite'
make[1]: Leaving directory `/morelfs/gcc-build/libiberty'
make[1]: Entering directory `/morelfs/gcc-build/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/morelfs/gcc-build/intl'
make[1]: Entering directory `/morelfs/gcc-build/gcc'
make \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long  " \
  CONFIG_H="tconfig.h ../../gcc-3.4.3/gcc/../include/ansidecl.h" TM_H="tm.h    
 ../../gcc-3.4.3/gcc/config/alpha/alpha.h ../../gcc-3.4.3/gcc/config/alpha/elf.h
../../gcc-3.4.3/gcc/config/alpha/linux.h
../../gcc-3.4.3/gcc/config/alpha/linux-elf.h ../../gcc-3.4.3/gcc/defaults.h
insn-constants.h insn-flags.h" \
  INCLUDES="-I. -I. -I../../gcc-3.4.3/gcc -I../../gcc-3.4.3/gcc/.
-I../../gcc-3.4.3/gcc/../include " \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[2]: Entering directory `/morelfs/gcc-build/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else /bin/sh ../../gcc-3.4.3/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/morelfs/gcc-build/gcc/xgcc -B/morelfs/gcc-build/gcc/
-B/usr/alphaev56-unknown-linux-gnu/bin/ -B/usr/alphaev56-unknown-linux-gnu/lib/
-isystem /usr/alphaev56-unknown-linux-gnu/include -isystem
/usr/alphaev56-unknown-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -fPIC -mieee -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-3.4.3/gcc -I../../gcc-3.4.3/gcc/.
-I../../gcc-3.4.3/gcc/../include  -fexceptions -c
../../gcc-3.4.3/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
../../gcc-3.4.3/gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc-3.4.3/gcc/unwind-dw2.c:1027: error: structure has no member named
`sc_regs'
../../gcc-3.4.3/gcc/unwind-dw2.c:1027: error: structure has no member named
`sc_regs'
../../gcc-3.4.3/gcc/unwind-dw2.c:1027: error: structure has no member named
`sc_fpregs'
../../gcc-3.4.3/gcc/unwind-dw2.c:1027: error: structure has no member named `sc_pc'
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: Leaving directory `/morelfs/gcc-build/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/morelfs/gcc-build/gcc'
make: *** [all-gcc] Error 2

-- 
           Summary: Building gcc-3.4.3 fails on gcc/unwind-dw2.c
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: emteeoh at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: alphaev56-unknown-linux
GCC target triplet: alphaev56-unknown-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19494


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]