* crossdev.sh v0.4 - Cross-Toolchain Generator * Host Architecture: powerpc-unknown-linux-gnu * Host CFLAGS: -mcpu=powerpc -mtune=powerpc -O2 -pipe * Target Architecture: i686-pc-linux-gnu * Target CFLAGS: -march=i686 -O2 -pipe * Install Path: /home/crossdev/i686 * Using unstable packages... On * Enabling extra gcc langs... Off * Using Portage CFLAGS... Off * Using Portage Sandbox... On * Building Kernel Compiler... Off * Cleaning build dir... Off * Pretending... Yes * The following packages in /usr/portage will be used: sys-kernel/linux-headers-2.4.22 sys-devel/binutils-2.15.90.0.1.1-r3 sys-devel/gcc-3.4.1-r2 sys-libs/glibc-2.3.4.20040808 build/gcc-3.4.1/buildboothere-i686/gcc/ -B/home/crossdev/i686/i686-pc-linux-gnu/bin/ -B/home/crossdev/i686/i686-pc-linux-gnu/lib/ -isystem /home/crossdev/i686/i686-pc-linux-gnu/include -isystem /home/crossdev/i686/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -D_LIBC_PROVIDES_SSP_ -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -DL_udiv_w_sdiv -c ../../gcc/libgcc2.c -fexceptions -fnon-call-exceptions -o libgcc/./_udiv_w_sdiv.o In file included from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/endian.h:37, from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/sys/types.h:213, from ../../gcc/tsystem.h:82, from ../../gcc/libgcc2.c:41: /home/crossdev/i686/i686-pc-linux-gnu/sys-include/bits/endian.h:34:4: warning: #warning Cannot determine current byte order, assuming big-endian. /var/tmp/portage/crossdevbuild/gcc-3.4.1/buildboothere-i686/gcc/xgcc -B/var/tmp/portage/crossdevbuild/gcc-3.4.1/buildboothere-i686/gcc/ -B/home/crossdev/i686/i686-pc-linux-gnu/bin/ -B/home/crossdev/i686/i686-pc-linux-gnu/lib/ -isystem /home/crossdev/i686/i686-pc-linux-gnu/include -isystem /home/crossdev/i686/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -D_LIBC_PROVIDES_SSP_ -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -DL_udivmoddi4 -c ../../gcc/libgcc2.c -fexceptions -fnon-call-exceptions -o libgcc/./_udivmoddi4.o /var/tmp/portage/crossdevbuild/gcc-3.4.1/buildboothere-i686/gcc/xgcc -B/var/tmp/portage/crossdevbuild/gcc-3.4.1/buildboothere-i686/gcc/ -B/home/crossdev/i686/i686-pc-linux-gnu/bin/ -B/home/crossdev/i686/i686-pc-linux-gnu/lib/ -isystem /home/crossdev/i686/i686-pc-linux-gnu/include -isystem /home/crossdev/i686/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -D_LIBC_PROVIDES_SSP_ -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -fexceptions -c ../../gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o In file included from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/endian.h:37, from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/sys/types.h:213, from ../../gcc/tsystem.h:82, from ../../gcc/libgcc2.c:41: /home/crossdev/i686/i686-pc-linux-gnu/sys-include/bits/endian.h:34:4: warning: #warning Cannot determine current byte order, assuming big-endian. In file included from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/endian.h:37, from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/sys/types.h:213, from ../../gcc/tsystem.h:82, from ../../gcc/unwind-dw2.c:32: /home/crossdev/i686/i686-pc-linux-gnu/sys-include/bits/endian.h:34:4: warning: #warning Cannot determine current byte order, assuming big-endian. In file included from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/endian.h:37, from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/sys/types.h:213, from ../../gcc/tsystem.h:82, from ../../gcc/libgcc2.c:41: /home/crossdev/i686/i686-pc-linux-gnu/sys-include/bits/endian.h:34:4: warning: #warning Cannot determine current byte order, assuming big-endian. /var/tmp/portage/crossdevbuild/gcc-3.4.1/buildboothere-i686/gcc/xgcc -B/var/tmp/portage/crossdevbuild/gcc-3.4.1/buildboothere-i686/gcc/ -B/home/crossdev/i686/i686-pc-linux-gnu/bin/ -B/home/crossdev/i686/i686-pc-linux-gnu/lib/ -isystem /home/crossdev/i686/i686-pc-linux-gnu/include -isystem /home/crossdev/i686/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -D_LIBC_PROVIDES_SSP_ -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -fexceptions -c ../../gcc/unwind-dw2-fde-glibc.c -o libgcc/./unwind-dw2-fde-glibc.o /var/tmp/portage/crossdevbuild/gcc-3.4.1/buildboothere-i686/gcc/xgcc -B/var/tmp/portage/crossdevbuild/gcc-3.4.1/buildboothere-i686/gcc/ -B/home/crossdev/i686/i686-pc-linux-gnu/bin/ -B/home/crossdev/i686/i686-pc-linux-gnu/lib/ -isystem /home/crossdev/i686/i686-pc-linux-gnu/include -isystem /home/crossdev/i686/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -D_LIBC_PROVIDES_SSP_ -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -fexceptions -c ../../gcc/unwind-sjlj.c -o libgcc/./unwind-sjlj.o In file included from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/endian.h:37, from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/sys/types.h:213, from ../../gcc/tsystem.h:82, from ../../gcc/unwind-dw2-fde-glibc.c:38: /home/crossdev/i686/i686-pc-linux-gnu/sys-include/bits/endian.h:34:4: warning: #warning Cannot determine current byte order, assuming big-endian. ../../gcc/unwind-dw2.c: In function `uw_frame_state_for': ../../gcc/unwind-dw2.c:1022: error: structure has no member named `esp' ../../gcc/unwind-dw2.c:1022: error: structure has no member named `eax' ../../gcc/unwind-dw2.c:1022: error: structure has no member named `ebx' ../../gcc/unwind-dw2.c:1022: error: structure has no member named `ecx' ../../gcc/unwind-dw2.c:1022: error: structure has no member named `edx' ../../gcc/unwind-dw2.c:1022: error: structure has no member named `esi' ../../gcc/unwind-dw2.c:1022: error: structure has no member named `edi' ../../gcc/unwind-dw2.c:1022: error: structure has no member named `ebp' ../../gcc/unwind-dw2.c:1022: error: structure has no member named `eip' In file included from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/endian.h:37, from /home/crossdev/i686/i686-pc-linux-gnu/sys-include/sys/types.h:213, from ../../gcc/tsystem.h:82, from ../../gcc/unwind-sjlj.c:32: /home/crossdev/i686/i686-pc-linux-gnu/sys-include/bits/endian.h:34:4: warning: #warning Cannot determine current byte order, assuming big-endian. make[2]: *** [libgcc/./unwind-dw2.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/crossdevbuild/gcc-3.4.1/buildboothere-i686/gcc' make[1]: *** [libgcc.a] Error 2 rm cpp.pod gcc.pod make[1]: Leaving directory `/var/tmp/portage/crossdevbuild/gcc-3.4.1/buildboothere-i686/gcc' make: *** [all-gcc] Error 2 * InstallGccBootstrap(): Failed to compile!
I've been able to reproduce this bug after yanking pie patches from gcc-3.3.4 (gcc crapped out right in the beginning of the gcc bootstrap otherwise). This is exactly the same error: http://linuxfromscratch.org/pipermail/lfs-support/2004-January/022010.html
<=crossdev-0.4 is no longer supported ... please upgrade to crossdev-0.9 and if you're still having problems, re-open the bug and re-assign to toolchain@gentoo.org