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

bootstrap/3303: gcc-3.0 bootstrap fails using GNU ld on Solaris



>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:


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