[PATCH 2_20 0/3] ld: Fix -no-add-needed vs weak for binutils-2_20-branch

Tristan Gingold gingold@adacore.com
Mon Aug 23 13:12:00 GMT 2010


On Aug 23, 2010, at 10:11 AM, Kirill Smelkov wrote:

> On Sat, Aug 07, 2010 at 06:32:39PM +0400, Kirill Smelkov wrote:
>> Hello up there!
>> 
>> I'm from Debian land where we'll use binutils 2.20 for the next release.
>> 
>> However as you've probably already learned from Fedora DSO Link Change,
>> -no-add-needed was breaking cases with weak symbols involved. In particular
>> when linking C++ programs to libraries linked to libpthread.so without
>> -lpthread for program itself was problematic -- See e.g. this thread
>> 
>>    http://www.mail-archive.com/devel@lists.fedoraproject.org/msg00042.html
...
>> 
>> 
>> Things are fixed on binutils trunk, but binutils-2_20-branch still has the
>> problem.
>> 
>> Is it somehow possible to please apply fixes to 2.20 too? If yes, I've
>> prepared backported patches, which go as replies to this email.
>> 
>> 
>> Thanks beforehand,
>> Kirill
> 
> Silence ...

Sorry, I was on holidays.
This is OK to apply to the branch.  Can you do it ?

Tristan.



More information about the Binutils mailing list