This is the mail archive of the gcc@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]

gcc-4.3.2 native build error



hi All,


I am getting build error while building gcc-4.3.2 for native target.

Error message is:
+++++++++++++

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... 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... /home/abhijitd/gcc/gcc-4.3.2/host-i686-pc-linux-gnu/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/abhijitd/gcc/gcc-4.3.2/host-i686-pc-linux-gnu/gcc/xgcc -B/home/abhijitd/gcc/gcc-4.3.2/host-i686-pc-linux-gnu/gcc/ -B/home/abhijitd/gcc/gcc-4.3.2/i686-pc-linux-gnu/bin/ -B/home/abhijitd/gcc/gcc-4.3.2/i686-pc-linux-gnu/lib/ -isystem /home/abhijitd/gcc/gcc-4.3.2/i686-pc-linux-gnu/include -isystem /home/abhijitd/gcc/gcc-4.3.2/i686-pc-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 `/home/abhijitd/gcc/gcc-4.3.2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/abhijitd/gcc/gcc-4.3.2'
make: *** [all] Error 2


Original command line option to configure are as:
-------------------------------------------------

./configure --prefix=/home/abhijitd/gcc/gcc-4.3.2 --with-gmp=/home/abhijitd/gcc/gmp-4.2.1 --with-mpfr=/home/abhijitd/gcc/mpfr-2.3.0 --enable-languages=c,c++ --enable-shared --enable-threads=posix --with-as=/home/abhijitd/gcc/binutils-2.19/install/bin/as --with-ld=/home/abhijitd/gcc/binutils-2.19/install/bin/ld --with-ar=/home/abhijitd/gcc/binutils-2.19/install/bin/ar --with-ranlib=/home/abhijitd/gcc/binutils-2.19/install/bin/ranlib --with-nm=/home/abhijitd/gcc/binutils-2.19/install/bin/nm --with-strip=/home/abhijitd/gcc/binutils-2.19/install/bin/strip

I do not understand the root cause of the error, in first glance it seems that ld is not compatible. But its just a hunch. Is it the case that binutils-2.19 is not compatible with gcc-4.3.2 ?

Best Regards,
--Chandra Prakash Garg


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