From mboxrd@z Thu Jan 1 00:00:00 1970 From: gabe647@yahoo.com To: gcc-gnats@gcc.gnu.org Subject: bootstrap/3303: gcc-3.0 bootstrap fails using GNU ld on Solaris Date: Wed, 20 Jun 2001 13:06:00 -0000 Message-id: <20010620200249.32286.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00850.html List-Id: >Number: 3303 >Category: bootstrap >Synopsis: gcc-3.0 bootstrap fails using GNU ld on Solaris >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Jun 20 13:06:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Gabe Schuetzner >Release: gcc-3.0 >Organization: >Environment: Solaris 2.6 on SPARC, gcc version 2.95.3, GNU ld version 2.11.1 Solaris 2.8 on Intel, gcc version 2.95.3, GNU ld version 2.10.1 >Description: GNU ld cannot parse the map file libgcc.map which is passed as the -M option. The configure script detects GNU ld because it is first in my path, but appears to configure the linker options for /usr/ucb/ld, which is the default linker on Solaris /usr/local/i386-pc-solaris2.8/bin/ld:libgcc.map: file format not recognized; treating as linker script /usr/local/i386-pc-solaris2.8/bin/ld:libgcc.map:1: parse error collect2: ld returned 1 exit status >How-To-Repeat: configure --enable-threads=posix make bootstrap >Fix: Kludge: Move the GNU ld binary to another name and symlink /usr/ucb/ld in it's place Unfortunately, /usr/ucb/ld has a tendency to segfault when linking large object files >Release-Note: >Audit-Trail: >Unformatted: