This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2_20 0/3] ld: Fix -no-add-needed vs weak for binutils-2_20-branch
- From: Tristan Gingold <gingold at adacore dot com>
- To: Kirill Smelkov <kirr at landau dot phys dot spbu dot ru>
- Cc: binutils at sourceware dot org, Roland McGrath <roland at frob dot com>, Nick Clifton <nickc at redhat dot com>, 591405 at bugs dot debian dot org
- Date: Mon, 23 Aug 2010 13:46:16 +0200
- Subject: Re: [PATCH 2_20 0/3] ld: Fix -no-add-needed vs weak for binutils-2_20-branch
- References: <cover.1281189992.git.kirr@landau.phys.spbu.ru> <20100823081118.GA6740@landau.phys.spbu.ru>
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.