public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/3303: gcc-3.0 bootstrap fails using GNU ld on Solaris
@ 2001-06-20 13:06 gabe647
0 siblings, 0 replies; 2+ messages in thread
From: gabe647 @ 2001-06-20 13:06 UTC (permalink / raw)
To: gcc-gnats
>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:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bootstrap/3303: gcc-3.0 bootstrap fails using GNU ld on Solaris
@ 2001-12-15 8:35 rodrigc
0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2001-12-15 8:35 UTC (permalink / raw)
To: gabe647, gcc-bugs, gcc-prs, nobody
Synopsis: gcc-3.0 bootstrap fails using GNU ld on Solaris
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Dec 15 08:35:37 2001
State-Changed-Why:
If you want to configure gcc to use the GNU ld instead
of the Solaris ld, then you should use
--with-gnu-ld --with-ld=pathname
as documented here:
http://gcc.gnu.org/install/configure.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3303
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-15 16:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-20 13:06 bootstrap/3303: gcc-3.0 bootstrap fails using GNU ld on Solaris gabe647
2001-12-15 8:35 rodrigc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).