[Bug other/45806] New: gcc build failure

terry at chem dot gu.se gcc-bugzilla@gcc.gnu.org
Mon Sep 27 10:54:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45806

           Summary: gcc build failure
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: terry@chem.gu.se
              Host: i686-pc-linux-gnu
            Target: i686-pc-linux-gnu


I find it hard to believe this is actually a gcc bug, but I'm reporting it
anyway because I don't know what else to do.

make for 4.5.1 fails on i686 with Ubuntu 8.04.

I configure with:
../gcc-4.5.1/configure --disable-multilib --enable-languages=c,c++,fortran

After some make progress, I hit this:

make[3]: Leaving directory `/home/tjf/InstallTrees/gcc-4.5.1-build/gcc'
Checking multilib configuration for libgcc...
Configuring stage 1 in i686-pc-linux-gnu/libgcc
configure: loading cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... mawk
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-ar... ar
checking for i686-pc-linux-gnu-lipo... lipo
checking for i686-pc-linux-gnu-nm...
/home/tjf/InstallTrees/gcc-4.5.1-build/./gcc/nm
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc...
/home/tjf/InstallTrees/gcc-4.5.1-build/./gcc/xgcc
-B/home/tjf/InstallTrees/gcc-4.5.1-build/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include   
checking for suffix of object files... configure: error: in
`/home/tjf/InstallTrees/gcc-4.5.1-build/i686-pc-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/tjf/InstallTrees/gcc-4.5.1-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/tjf/InstallTrees/gcc-4.5.1-build'
make: *** [all] Error 2


The gcc that's currently running is:
gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4-20100323/configure --disable-multilib
--enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.4.4 20100323 (prerelease) (GCC) 


uname -a gives
Linux rscpc28 2.6.24-28-generic #1 SMP Thu Sep 16 15:01:14 UTC 2010 i686
GNU/Linux


What on Earth is going on here?



More information about the Gcc-bugs mailing list