i386-pc-solaris2.10 configure: error: C compiler cannot create executables.

gcc-4.3.1-RC-20080523.tar.bz2
binutils 2.18
Solaris 10 x86_64 U4

I can build gcc 4.2.3.
But I can't build gcc 4.2.4 and 4.3.1.


pwd: /export/home/test/gcc-4.3.1-build/build/i386-pc-solaris2.10
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for --enable-generated-files-in-srcdir... no
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for a BSD-compatible install...
/export/home/test/gcc-4.3.1-build/src/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for i386-pc-solaris2.10-gcc...
/export/home/test/gcc-4.3.1-build/build/./gcc/xgcc
-B/export/home/test/gcc-4.3.1-build/build/./gcc/
-B/opt/gcc-4.3.1/i386-pc-solaris2.10/bin/
-B/opt/gcc-4.3.1/i386-pc-solaris2.10/lib/ -isystem
/opt/gcc-4.3.1/i386-pc-solaris2.10/include -isystem
/opt/gcc-4.3.1/i386-pc-solaris2.10/sys-include  -m64
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libgomp] Error 1
make[1]: Leaving directory `/export/home/test/gcc-4.3.1-build/build'
make: *** [all] Error 2


-- 
           Summary: i386-pc-solaris2.10 configure: error: C compiler cannot
                    create executables
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cnstar9988 at gmail dot com


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

Reply via email to