My usual routine to build gcc-trunk started failing yesterday (or the day before)? The configure has remained unchanged (notice --disable-multilib --disable-bootstrap): /data/vondele/gcc_bench/gcc_trunk/gcc/configure --prefix=/data/vondele/gcc_bench/gcc_trunk/build --enable-languages=c,c++,fortran --program-suffix=-trunk --disable-multilib --disable-bootstrap --with-gmp=/data/vondele/gcc_bench/libs/ --with-mpfr=/data/vondele/gcc_bench/libs/ --with-mpc=/data/vondele/gcc_bench/libs/ The error seems to be: -fvisibility=hidden -DHIDE_EXPORTS /data/vondele/gcc_bench/gcc_trunk/obj/./gcc/xgcc -B/data/vondele/gcc_bench/gcc_trunk/obj/./gcc/ -B/data/vondele/gcc_bench/gcc_trunk/build/x86_64-unknown-linux-gnu/bin/ -B/data/vondele/gcc_bench/gcc_trunk/build/x86_64-unknown-linux-gnu/lib/ -isystem /data/vondele/gcc_bench/gcc_trunk/build/x86_64-unknown-linux-gnu/include -isystem /data/vondele/gcc_bench/gcc_trunk/build/x86_64-unknown-linux-gnu/sys-include -g -O2 -m32 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -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/data/vondele/gcc_bench/gcc_trunk/gcc/libgcc -I/data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/. -I/data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/../gcc -I/data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/../include -I/data/vondele/gcc_bench/gcc_trunk/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 /data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/../gcc/libgcc2.c \ -fvisibility=hidden -DHIDE_EXPORTS In file included from /usr/include/features.h:354:0, from /usr/include/stdio.h:28, from /data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/../gcc/tsystem.h:87, from /data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/../gcc/libgcc2.c:29: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory compilation terminated. make[4]: *** [_muldi3.o] Error 1 make[4]: Leaving directory `/data/vondele/gcc_bench/gcc_trunk/obj/x86_64-unknown-linux-gnu/32/libgcc' make[3]: *** [multi-do] Error 1 make[3]: Leaving directory `/data/vondele/gcc_bench/gcc_trunk/obj/x86_64-unknown-linux-gnu/libgcc' make[2]: *** [all-multi] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/data/vondele/gcc_bench/gcc_trunk/obj/x86_64-unknown-linux-gnu/libgcc' make[1]: *** [all-target-libgcc] Error 2 make[1]: Leaving directory `/data/vondele/gcc_bench/gcc_trunk/obj' make: *** [all] Error 2
svn versions: last known good: 157842 first known bad: 157896 CCing a RM
Subject: Re: New: bootstrap fails: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory Sent from my iPhone On Apr 1, 2010, at 12:03 AM, "jv244 at cam dot ac dot uk" <gcc-bugzilla@gcc.gnu.org > wrote: > My usual routine to build gcc-trunk started failing yesterday (or > the day > before)? > > The configure has remained unchanged (notice --disable-multilib > --disable-bootstrap): --disable-bootstrap is almost never a good idea for a native build. > > /data/vondele/gcc_bench/gcc_trunk/gcc/configure > --prefix=/data/vondele/gcc_bench/gcc_trunk/build > --enable-languages=c,c++,fortran --program-suffix=-trunk --disable- > multilib > --disable-bootstrap --with-gmp=/data/vondele/gcc_bench/libs/ > --with-mpfr=/data/vondele/gcc_bench/libs/ > --with-mpc=/data/vondele/gcc_bench/libs/ > > The error seems to be: > > -fvisibility=hidden -DHIDE_EXPORTS > /data/vondele/gcc_bench/gcc_trunk/obj/./gcc/xgcc > -B/data/vondele/gcc_bench/gcc_trunk/obj/./gcc/ > -B/data/vondele/gcc_bench/gcc_trunk/build/x86_64-unknown-linux-gnu/ > bin/ > -B/data/vondele/gcc_bench/gcc_trunk/build/x86_64-unknown-linux-gnu/ > lib/ > -isystem > /data/vondele/gcc_bench/gcc_trunk/build/x86_64-unknown-linux-gnu/ > include > -isystem > /data/vondele/gcc_bench/gcc_trunk/build/x86_64-unknown-linux-gnu/sys- > include > -g -O2 -m32 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast- > qual > -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/data/vondele/gcc_bench/gcc_trunk/gcc/ > libgcc > -I/data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/. > -I/data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/../gcc > -I/data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/../include > -I/data/vondele/gcc_bench/gcc_trunk/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 > /data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/../gcc/libgcc2.c \ > -fvisibility=hidden -DHIDE_EXPORTS > In file included from /usr/include/features.h:354:0, > from /usr/include/stdio.h:28, > from > /data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/../gcc/tsystem.h:87, > from > /data/vondele/gcc_bench/gcc_trunk/gcc/libgcc/../gcc/libgcc2.c:29: > /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such > file or > directory > compilation terminated. > make[4]: *** [_muldi3.o] Error 1 > make[4]: Leaving directory > `/data/vondele/gcc_bench/gcc_trunk/obj/x86_64-unknown-linux-gnu/32/ > libgcc' > make[3]: *** [multi-do] Error 1 > make[3]: Leaving directory > `/data/vondele/gcc_bench/gcc_trunk/obj/x86_64-unknown-linux-gnu/ > libgcc' > make[2]: *** [all-multi] Error 2 > make[2]: *** Waiting for unfinished jobs.... > make[2]: Leaving directory > `/data/vondele/gcc_bench/gcc_trunk/obj/x86_64-unknown-linux-gnu/ > libgcc' > make[1]: *** [all-target-libgcc] Error 2 > make[1]: Leaving directory `/data/vondele/gcc_bench/gcc_trunk/obj' > make: *** [all] Error 2 > > > -- > Summary: bootstrap fails: /usr/include/gnu/stubs.h:7:27: > fatal > error: gnu/stubs-32.h: No such file or directory > Product: gcc > Version: 4.5.0 > Status: UNCONFIRMED > Severity: normal > Priority: P3 > Component: bootstrap > AssignedTo: unassigned at gcc dot gnu dot org > ReportedBy: jv244 at cam dot ac dot uk > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43615 >
It looks like you are missing 32bit multilib pieces of your target glibc (thus an install problem) when building the 32bit libgcc multilib. If you think not then check if any of the offending headers appear to be fixincluded.
The bug reporter explicitly specified --disable-multilib, yet gcc-4.5 apparently now tries to build libgcc with -m32.
Created attachment 20273 [details] log of the build
(In reply to comment #4) > The bug reporter explicitly specified --disable-multilib, yet gcc-4.5 > apparently now tries to build libgcc with -m32. right... you've been faster. I've added the logs of the build.
Obviously caused by 2010-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> PR bootstrap/43328 * configure.ac: Do not pass --enable-multilib nor --disable-multilib in baseargs. Accept explicitly passed --enable_multilib. * configure: Regenerate.
Subject: Bug 43615 Author: rwild Date: Thu Apr 1 16:32:38 2010 New Revision: 157916 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157916 Log: /: PR bootstrap/43615 PR bootstrap/43328 Revert: 2010-03-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac: Do not pass --enable-multilib nor --disable-multilib in baseargs. Accept explicitly passed --enable_multilib. * configure: Regenerate. Modified: trunk/ChangeLog trunk/configure trunk/configure.ac
Fixed by reverting the offending patch.
*** Bug 43625 has been marked as a duplicate of this bug. ***