This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/35577] New: configure: error: cannot compute suffix of object files
- From: "al dot danial at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2008 20:43:12 -0000
- Subject: [Bug bootstrap/35577] New: configure: error: cannot compute suffix of object files
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This is on an AMD Opteron system running the 64 bit version of RHEL 4.3
(curious that it is identified as "unknown-linux-gnu"). I'm building 4.3.0
with GCC 3.4.5 20051201 (Red Hat 3.4.5-2).
My configure command is
../gcc-4.3.0/configure --with-gmp=/apps/gmp/4.2.2
--with-mpfr=/apps/mpfr/2.3.0 --prefix=/apps/gcc/4.2.2
--enable-languages=c,c++,fortran,java,objc,obj-c++,treelang
The configure completes successfully. The error is triggered by
make bootstrap
The last 20 or so lines of output from make boostrap are:
if [ xinfo = xinfo ]; then \
makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000
--no-split -I ../../gcc-4.3.0/gcc/doc \
-I ../../gcc-4.3.0/gcc/doc/include -o doc/gccinstall.info
../../gcc-4.3.0/gcc/doc/install.texi; \
fi
if [ xinfo = xinfo ]; then \
makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000
--no-split -I . -I ../../gcc-4.3.0/gcc/doc \
-I ../../gcc-4.3.0/gcc/doc/include -o doc/cppinternals.info
../../gcc-4.3.0/gcc/doc/cppinternals.texi; \
fi
make[3]: Leaving directory `/scratch/gcc_exe/gcc'
mkdir -p -- x86_64-unknown-linux-gnu/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in x86_64-unknown-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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-lipo... lipo
checking for x86_64-unknown-linux-gnu-nm... /scratch/gcc_exe/./gcc/nm
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for x86_64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc... /scratch/gcc_exe/./gcc/xgcc
-B/scratch/gcc_exe/./gcc/ -B/apps/gcc/4.2.2/x86_64-unknown-linux-gnu/bin/
-B/apps/gcc/4.2.2/x86_64-unknown-linux-gnu/lib/ -isystem
/apps/gcc/4.2.2/x86_64-unknown-linux-gnu/include -isystem
/apps/gcc/4.2.2/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... 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 `/scratch/gcc_exe'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/scratch/gcc_exe'
make: *** [bootstrap] Error 2
For what it's worth, the identical problem happens on a 64 bit Solaris 9
system.
--
Summary: configure: error: cannot compute suffix of object files
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: al dot danial at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35577