------- Comment #4 from robilad at kaffe dot org 2007-08-05 18:37 ------- It seems that installing the ia32 libc headers, which provides the stubs-32.h file on debian lenny, doesn't really help. The header file goes into /usr/include/i486-linux-gnu/gnu/stubs-32.h, but xgcc does not look there for header files, so the bootstrap fails:
[EMAIL PROTECTED]:~/Desktop/gsoc/work/build-gcc/x86_64-unknown-linux-gnu/32/libgcc$ /home/topic/Desktop/gsoc/work/build-gcc/./gcc/xgcc -v -B/home/topic/Desktop/gsoc/work/build-gcc/./gcc/ -B/home/topic/Desktop/gsoc/work/gcc-bin/x86_64-unknown-linux-gnu/bin/ -B/home/topic/Desktop/gsoc/work/gcc-bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/topic/Desktop/gsoc/work/gcc-bin/x86_64-unknown-linux-gnu/include -isystem /home/topic/Desktop/gsoc/work/gcc-bin/x86_64-unknown-linux-gnu/sys-include -g -fkeep-inline-functions -m32 -O2 -O2 -g -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 -I../../../../../gcc/libgcc -I../../../../../gcc/libgcc/. -I../../../../../gcc/libgcc/../gcc -I../../../../../gcc/libgcc/../include -I../../../../../gcc/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../../../gcc/libgcc/../gcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS Reading specs from /home/topic/Desktop/gsoc/work/build-gcc/./gcc/specs Target: x86_64-unknown-linux-gnu Configured with: ../../gcc/configure --prefix=/home/topic/Desktop/gsoc/work/gcc-bin --enable-java-maintainer-mode Thread model: posix gcc version 4.3.0 20070805 (experimental) /home/topic/Desktop/gsoc/work/build-gcc/./gcc/cc1 -quiet -v -I. -I. -I../../.././gcc -I../../../../../gcc/libgcc -I../../../../../gcc/libgcc/. -I../../../../../gcc/libgcc/../gcc -I../../../../../gcc/libgcc/../include -I../../../../../gcc/libgcc/config/libbid -imultilib 32 -iprefix /home/topic/Desktop/gsoc/work/build-gcc/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.3.0/ -isystem /home/topic/Desktop/gsoc/work/build-gcc/./gcc/include -isystem /home/topic/Desktop/gsoc/work/build-gcc/./gcc/include-fixed -MD _muldi3.d -MF _muldi3.dep -MP -MT _muldi3.o -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -DL_muldi3 -DHIDE_EXPORTS -isystem /home/topic/Desktop/gsoc/work/gcc-bin/x86_64-unknown-linux-gnu/include -isystem /home/topic/Desktop/gsoc/work/gcc-bin/x86_64-unknown-linux-gnu/sys-include -isystem ./include ../../../../../gcc/libgcc/../gcc/libgcc2.c -quiet -dumpbase libgcc2.c -m32 -mtune=generic -auxbase-strip _muldi3.o -g -g -g -O2 -O2 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version -fkeep-inline-functions -fPIC -fvisibility=hidden -o /tmp/cc2epigH.s ignoring nonexistent directory "/home/topic/Desktop/gsoc/work/gcc-bin/x86_64-unknown-linux-gnu/include" ignoring nonexistent directory "/home/topic/Desktop/gsoc/work/gcc-bin/x86_64-unknown-linux-gnu/sys-include" ignoring nonexistent directory "./include" ignoring nonexistent directory "/home/topic/Desktop/gsoc/work/build-gcc/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.3.0/include" ignoring nonexistent directory "/home/topic/Desktop/gsoc/work/build-gcc/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.3.0/include-fixed" ignoring nonexistent directory "/home/topic/Desktop/gsoc/work/build-gcc/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../x86_64-unknown-linux-gnu/include" ignoring nonexistent directory "/home/topic/Desktop/gsoc/work/build-gcc/gcc/../lib/gcc/../../include" ignoring nonexistent directory "/home/topic/Desktop/gsoc/work/build-gcc/gcc/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.3.0/include" ignoring nonexistent directory "/home/topic/Desktop/gsoc/work/build-gcc/gcc/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.3.0/include-fixed" ignoring nonexistent directory "/home/topic/Desktop/gsoc/work/build-gcc/gcc/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../x86_64-unknown-linux-gnu/include" ignoring duplicate directory "." ignoring duplicate directory "../../../../../gcc/libgcc/." #include "..." search starts here: #include <...> search starts here: . ../../.././gcc ../../../../../gcc/libgcc ../../../../../gcc/libgcc/../gcc ../../../../../gcc/libgcc/../include ../../../../../gcc/libgcc/config/libbid /home/topic/Desktop/gsoc/work/build-gcc/./gcc/include /home/topic/Desktop/gsoc/work/build-gcc/./gcc/include-fixed /usr/local/include /usr/include End of search list. GNU C version 4.3.0 20070805 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.1.3 20070629 (prerelease) (Debian 4.1.2-13), GMP version 4.2.1, MPFR version 2.2.1. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: a598355425901e814b78928fd2aceb15 In file included from /home/topic/Desktop/gsoc/work/build-gcc/./gcc/include-fixed/features.h:354, from /usr/include/stdio.h:28, from ../../../../../gcc/libgcc/../gcc/tsystem.h:90, from ../../../../../gcc/libgcc/../gcc/libgcc2.c:33: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29196