make[5]: Entering directory `/u/gnu/proj/gcc-bld/x86_64-unknown-linux-gnu/32/libgcc' # If this is the top-level multilib, build all the other # multilibs. DEFINES='' HEADERS='../../../../gcc-svn/libgcc/config/i386/value-unwind.h' \ ../../../../gcc-svn/libgcc/mkheader.sh > tmp-libgcc_tm.h /bin/sh ../../../../gcc-svn/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h echo timestamp > libgcc_tm.stamp /u/gnu/proj/gcc-bld/./gcc/xgcc -B/u/gnu/proj/gcc-bld/./gcc/ -B/u/gnu/inst/x86_64-unknown-linux-gnu/bin/ -B/u/gnu/inst/x86_64-unknown-linux-gnu/lib/ -isystem /u/gnu/inst/x86_64-unknown-linux-gnu/include -isystem /u/gnu/inst/x86_64-unknown-linux-gnu/sys-include -g -O2 -m32 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fpic -mlong-double-80 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fpic -mlong-double-80 -I. -I. -I../../.././gcc -I../../../../gcc-svn/libgcc -I../../../../gcc-svn/libgcc/. -I../../../../gcc-svn/libgcc/../gcc -I../../../../gcc-svn/libgcc/../include -I../../../../gcc-svn/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-svn/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS In file included from /usr/include/features.h:399:0, from /usr/include/stdio.h:27, from ../../../../gcc-svn/libgcc/../gcc/tsystem.h:87, from ../../../../gcc-svn/libgcc/libgcc2.c:27: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory # include <gnu/stubs-32.h> ^ compilation terminated. make[5]: *** [_muldi3.o] Error 1 make[5]: Leaving directory `/u/gnu/proj/gcc-bld/x86_64-unknown-linux-gnu/32/libgcc' make[4]: *** [multi-do] Error 1
The above was preceded by:
$ ../gcc-svn/configure --enable-languages=c,c++,java,objc,go --prefix=/u/gnu/inst configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking build system type... x86_64-unknown-linux-gnu [...] checking for version 0.11 of ISL... no 'c++' language required by 'go' in stage 1; enabling The following languages will be built: c,c++,go,java,lto,objc *** This configuration is not supported in the following subdirectories: gnattools target-libada target-libgfortran (Any other directories should still work fine.) checking for default BUILD_CONFIG... bootstrap-debug checking for bison... bison -y [...] checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile $ make
Why is it that configure worked but stubs-32.h was not found? Googling leads me to:
You're missing the 32 bit libc dev package:
but the configure step should detect that and object before this otherwise obscure message comes up. Since one has to find and select this stuff from an extensive list of packages every time there is a new distribution, it is easy to overlook.... Thanks!