This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/43819] New: Bootstrapping GCC 4.5.0 fails with "cannot compute suffix of object files: cannot compile"


I'm trying to build GCC 4.5.0 on RedHat 7.3, using the included gcc compiler
version "2.96".  I have built and installed the dependencies (mpc-0.8.1,
mpfr-2.4.2, gmp-5.0.1) into /usr/local.296 and I tried to bootstrap gcc with
the following command line:

/tmp/gcc-4.5.0/configure --prefix=/usr/local.296/ --enable-shared
--with-system-zlib --enable-languages=c,c++ --with-gmp=/usr/local.296/
--with-mpfr=/usr/local.296/ --with-mpc=/usr/local.296/ --program-suffix=-450

I have also installed make-3.81 as RedHat 7.3 comes with 3.79 which is deemed
insufficient.

'make' cranks for a while and then it fails with:


mkdir -p -- i686-pc-linux-gnu/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in i686-pc-linux-gnu/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
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... /app/fba/objdir/./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... /app/fba/objdir/./gcc/xgcc
-B/app/fba/objdir/./gcc/ -B/usr/local.296/i686-pc-linux-gnu/bin/
-B/usr/local.296/i686-pc-linux-gnu/lib/ -isystem
/usr/local.296/i686-pc-linux-gnu/include -isystem
/usr/local.296/i686-pc-linux-gnu/sys-include   
checking for suffix of object files... configure: error: in
`/app/fba/objdir/i686-pc-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

I will attach /app/fba/objdir/i686-pc-linux-gnu/libgcc/config.log .


-- 
           Summary: Bootstrapping GCC 4.5.0 fails with "cannot compute
                    suffix of object files: cannot compile"
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: florin at iucha dot net
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]