Bootstrap problem with current trunk?

Benjamin Redelings benjamin.redelings@nescent.org
Mon Mar 21 19:25:00 GMT 2011


Hi, I just attempted to build current trunk and got:

....
bgcc_s.so.1 ./libgcc_s.so.1.backup; else true; fi && mv 
./libgcc_s.so.1.tmp ./libgcc_s.so.1 && ln -s libgcc_s.so.1 ./libgcc_s.so
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lc
/usr/bin/ld: cannot find crtn.o: No such file or directory
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory 
`/home/bredelings/Devel/GCC/4.7-Mar-03-2-11/x86_64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/home/bredelings/Devel/GCC/4.7-Mar-03-2-11'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/bredelings/Devel/GCC/4.7-Mar-03-2-11'
make: *** [all] Error 2

I am not trying to build a cross-compiler, so I'm not sure why this fails:

   $ ../trunk/configure --prefix=/home/bredelings/Devel/GCC/local/4.7 
--enable-shared --enable-linker-build-id --with-system-zlib 
--disable-nls --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --enable-plugin --enable-gold 
--enable-ld=default --with-plugin-ld=ld.gold --with-tune=generic 
--disable-werror --enable-checking=yes --program-suffix=-4.7 
--enable-languages=c,c++,fortran,lto

My binutils version is: 2.21.0.20110302-2ubuntu1

The only thing that I think I could have done wrong is to run 'make 
-j5'.  However, I thought that GCC could handle a parallel make.  Can 
you let me know if this is my mistake, or is there a problem with trunk?

thanks!

-BenRI



More information about the Gcc-help mailing list