This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Mon, Aug 23, 2010 at 01:46:16PM +0200, Tristan Gingold wrote:
> 
> 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.

Tristan, thanks for replying.

> This is OK to apply to the branch.  Can you do it ?

I'm afraid no, because I have no commit rights to binutils CVS.

Though if that could help, I've put the patches into
binutils-2_20-noaddneeded-vs-weak branch at
http://repo.or.cz/w/binutils/kirr.git, so one could do

    git pull git://repo.or.cz/binutils/kirr.git binutils-2_20-noaddneeded-vs-weak


Hope this helps and thanks,
Kirill


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