GCC-3.4.1 - Pass 1 error

Yi Wang wymaillist at gmail.com
Tue Apr 5 05:05:11 PDT 2005


Hello!
     I've been using linux for years but I'm new in LFS, I tried LFS
6.0 today and got an error early in the process.
     According to the book, I built Binutils-2.15.91.0.2 - Pass 1
successfully, but I can't build GCC-3.4.1 - Pass 1 either with
gcc-3.3.5 or gcc-3.4.4. (I got these compilers with "apt-get" in my
debian system).
     The error messages are the same as below and I'm not quite sure
what's going wrong, would someone please help me?
Reguards
WangYi

$make BOOT_LDFLAGS="-static" bootstrap
......
./xgcc -B./ -B/tools/i686-pc-linux-gnu/bin/ -isystem
/tools/i686-pc-linux-gnu/include -isystem
/tools/i686-pc-linux-gnu/sys-include
-L/mnt/lfs/sources/gcc-build/gcc/../ld -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I../../gcc-3.4.1/gcc -I../../gcc-3.4.1/gcc/.
-I../../gcc-3.4.1/gcc/../include  -fexceptions -c
../../gcc-3.4.1/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
../../gcc-3.4.1/gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member
named `esp'
../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member
named `eax'
../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member
named `ebx'
../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member
named `ecx'
../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member
named `edx'
../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member
named `esi'
../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member
named `edi'
../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member
named `ebp'
../../gcc-3.4.1/gcc/unwind-dw2.c:1022: error: structure has no member
named `eip'
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2



More information about the lfs-support mailing list