Inconsistent behavior of ld.so

H. J. Lu hjl@lucon.org
Wed Sep 17 21:12:00 GMT 2003


On Wed, Sep 17, 2003 at 02:02:57PM -0700, Ulrich Drepper wrote:
> H. J. Lu wrote:
> > When a versioned definition is moved from one DSO to another, ld.so may
> > or may not give an error depending on where the definition is moved to.
> 
> The current behavior is intended.  We've experimented a lot with others
> and this is the best.
> 

It is unreliable and you can't depend on it for anything. You can't use
it to prevent or allow moving a versioned definition to another DSO. It
only slows down the dynamic linker and causes unnecessary confusion.


H.J.



More information about the Libc-alpha mailing list