bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/12525] gold SEGV linking libgcc_s.so.1 on Solaris 11/x86


From: ian at airs dot com
Subject: [Bug gold/12525] gold SEGV linking libgcc_s.so.1 on Solaris 11/x86
Date: Sat, 2 Jul 2011 00:44:16 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12525

--- Comment #29 from Ian Lance Taylor <ian at airs dot com> 2011-07-02 00:43:51 
UTC ---
The failure of two_file_shared_1_nonpic.so is not very interesting.  It happens
because on Solaris when gcc sees -shared it passes -z text to the linker.  GNU
ld does not support -z text and simply ignores it, as it ignores all
unrecognized -z options.  The gold linker does support -z text, which means to
not permit dynamic relocations in the text segment.  This test is specifically
testing that that works, so naturally it fails.

I just committed a patch to support -z notext, and to use it when appropriate,
so this test should no longer fail on Solaris.

I also committed a patch to avoid testing with -static in cases where it does
not work.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]