Hi all,
I am having problems with gcc in chapter 10 of the x86 book. The build is an x86 -> x86 build. I am doing it the reboot way. I am following the CLFS development book. (Not the 2.0 book)
I am using my own scripts to build LFS. I have spent 2 days combing over the scripts and I can not for the life of me figure out what I am doing wrong. I am beginning to stare myself blind on this thing. I was hoping that someone might recognize what the problem might be.
Here is the output:
./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-
gnu/sys-include -L/install/source/gcc-build/gcc/../ld -O2 -O2 -g -O2
-DIN_GCC -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fPIC -g -DHAVE_GTHR_DEFAU
LT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-4.1.1/gcc
-I../../gcc-4.1.1/gcc/. -I../../gcc-4.
1.1/gcc/../include -I../../gcc-4.1.1/gcc/../libcpp/include -fexceptions
-fvisibility=hidden -DHIDE_EXPORTS -c ../../gcc-4.1.1/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o In file included from ../../gcc-4.1.1/gcc/unwind-dw2.c:256:
../../gcc-4.1.1/gcc/config/i386/linux-unwind.h: In function
'x86_fallback_frame_state':
../../gcc-4.1.1/gcc/config/i386/linux-unwind.h:152: error: 'struct
sigcontext' has no member named 'esp'
../../gcc-4.1.1/gcc/config/i386/linux-unwind.h:159: error: 'struct
sigcontext' has no member named 'eax'
../../gcc-4.1.1/gcc/config/i386/linux-unwind.h:161: error: 'struct
sigcontext' has no member named 'ebx'
../../gcc-4.1.1/gcc/config/i386/linux-unwind.h:163: error: 'struct
sigcontext' has no member named 'ecx'
../../gcc-4.1.1/gcc/config/i386/linux-unwind.h:165: error: 'struct
sigcontext' has no member named 'edx'
../../gcc-4.1.1/gcc/config/i386/linux-unwind.h:167: error: 'struct
sigcontext' has no member named 'esi'
../../gcc-4.1.1/gcc/config/i386/linux-unwind.h:169: error: 'struct
sigcontext' has no member named 'edi'
../../gcc-4.1.1/gcc/config/i386/linux-unwind.h:171: error: 'struct
sigcontext' has no member named 'ebp'
../../gcc-4.1.1/gcc/config/i386/linux-unwind.h:173: error: 'struct
sigcontext' has no member named 'eip'
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
make[3]: Leaving directory `/install/source/gcc-build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/install/source/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/install/source/gcc-build/gcc'
make: *** [bootstrap] Error 2
Best regards,
John Nielsen
-- http://linuxfromscratch.org/mailman/listinfo/cross-lfs FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
