bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/15478] -no-as-needed required to avoid runtime symbol lookup e


From: sparkprime at gmail dot com
Subject: [Bug gold/15478] -no-as-needed required to avoid runtime symbol lookup error
Date: Fri, 17 May 2013 15:58:14 +0000

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

--- Comment #4 from Dave Cunningham <sparkprime at gmail dot com> 2013-05-17 
15:58:14 UTC ---
> I think this is a behavior of the Gnu linker that gold is better off
> not copying. The linker ends up having to replicate the path searching
> done at runtime by the dynamic loader, and that works only when the
> libraries are in their installed locations. Making that work at
> development time leads to all kinds of unexpected behavior.

I don't see any need for additional searching.  The linker already has to
search for the library through the paths specified by -L, and it needs to read
the library to ensure that unresolved symbols in the .o files can be bound in
the libraries.  So all the information is already available.

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