Proposal to reduce anti-bundling requirements

Dave Love d.love at liverpool.ac.uk
Mon Sep 21 11:39:06 UTC 2015


Florian Weimer <fweimer at redhat.com> writes:

> I think it is important to keep the LD_PRELOAD case separate from
> implicit interposition between the main program (if linked with -E) and
> DSOs or between different DSOs.  LD_PRELOAD is quite explicit in what it
> wants to do.

OK.  (I probably don't understand properly and other posts suggested it
was a potential problem.)

> What I'm really interested in is a use case where something pulls in a
> library with DT_NEEDED and relies on predictable linking order to
> override a specific symbol.
>
> We have cases where this happens, but they all seem accidents to me.

Do you mean explicitly linking at build time against a library that
overrides symbols, rather than preloading one?  Or linking to a library
which is built against one?


More information about the devel mailing list