http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53112
Bug #: 53112 Summary: Fails at Configuring stage 1 in sparc64-sun-solaris2.10/libgcc: error: cannot compute suffix of object files: cannot compile Classification: Unclassified Product: gcc Version: 4.4.4 Status: UNCONFIRMED Severity: major Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: birender.si...@hotmail.com 1. Machine Deatils: bash-3.00# uname -a SunOS slimsol10t1 5.10 Generic_118822-25 sun4u sparc SUNW,Sun-Fire-V240 bash-3.00# cat /etc/release Solaris 10 1/06 s10s_u1wos_19a SPARC Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 07 December 2005 2. Following are the PATH setting done on system: bash-3.00# echo $PATH /els/install/biru/local/find4/bin:/els/install/biru/local/tar-1.12-bin/bin:/els/install/jdk1.6.0_16/bin/:/els/install/gcc-3.4.5_64/bin:/els/install/staf64/bin:/els/install/staf64/services/STAFHTTP.jar:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Fire-V240/sbin:/opt/VRTS/bin:/etc/vx/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin::/usr/local/staf/lib/:/els/install/staf/lib:/usr/bin/:/usr/xpg4/bin:/usr/sfw/bin:/usr/dt/bin: bash-3.00# echo $LD_LIBRARY_PATH /usr/sfw/lib:/usr/local/lib:/usr/ccs/lib:/els/install/gcc-3.4.5_64/lib:/els/install/jdk1.6.0_16/jre/lib/sparc/:/els/install/jdk1.6.0_16/jre/lib/sparc/client:/els/install/staf64/lib:/els/install/staf64/lib/JSTAF.zip:/els/install/staf64/lib/JSTAF.jar:/els/install/staf64/services/STAFHTTP.jar 3. Trying to build GCC-4.4.4 in 64 bit, Downloaded gcc-4.4.4.tar.gz and extarcted and configured as below: ../gcc-4.4.4/configure CC='gcc -m64' --prefix=/els/install/biru/local/gcc4_64 --build=sparc64-sun-solaris2.10 --with-gmp=/els/install/biru/local/gmp_64 --with-mpfr=/els/install/biru/local/mpfr_64 Configured successfuly. 4. extectued make and below error received. make[3]: Leaving directory `/els/install/biru/gcc4_64/obj/gcc' mkdir sparc64-sun-solaris2.10/libgcc Checking multilib configuration for libgcc... Configuring stage 1 in sparc64-sun-solaris2.10/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /els/install/biru/gcc4_64/gcc-4.4.4/install-sh -c checking for gawk... no checking for mawk... no checking for nawk... nawk checking build system type... sparc64-sun-solaris2.10 checking host system type... sparc64-sun-solaris2.10 checking for sparc64-sun-solaris2.10-ar... ar checking for sparc64-sun-solaris2.10-lipo... lipo checking for sparc64-sun-solaris2.10-nm... /els/install/biru/gcc4_64/obj/./gcc/nm checking for sparc64-sun-solaris2.10-ranlib... ranlib checking for sparc64-sun-solaris2.10-strip... strip checking whether ln -s works... yes checking for sparc64-sun-solaris2.10-gcc... /els/install/biru/gcc4_64/obj/./gcc/xgcc -B/els/install/biru/gcc4_64/obj/./gcc/ -B/els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/bin/ -B/els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/lib/ -isystem /els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/include -isystem /els/install/biru/local/gcc4_64/sparc64-sun-solaris2.10/sys-include checking for suffix of object files... configure: error: in `/els/install/biru/gcc4_64/obj/sparc64-sun-solaris2.10/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 `/els/install/biru/gcc4_64/obj' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/els/install/biru/gcc4_64/obj' make: *** [all] Error 2 bash-3.00# Kindly please provide the solution for the above error. Regards, -BK