tech-pkg archive

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

Re: CVS commit: pkgsrc/graphics/xzgv



On Fri, Dec 16, 2011 at 10:37:07AM +0100, John Marino wrote:
 > > Do I understand correctly:

 > > The package is using functions from libm and libX11 directly, but
 > > is not linking against either.
 > > 
 > > Previously (before ld 2.22), this worked because the libraries
 > > are pulled indirectly.
 > > ld 2.22 changed this behaviour.
 > > 
 > > If that's the case, your changes are fine with me.
 > 
 > 
 > Yes, that's my understanding of the situation.
 > [...]
 > With the default setting however the searching of dynamic
 > libraries that follow it will stop with the dynamic library itself. No
 > DT_NEEDED links will be traversed to resolve symbols.

That is a good thing, so let's go ahead and fix.

(My concern from an implementation standpoint though: if a
corresponding change is not also made in the dynamic linker for when
it re-resolves symbols at runtime, this will open the way for some
really weird problems.)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index