Source-Changes-D archive

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

Re: CVS commit: src/libexec/ld.elf_so



On Mon, Apr 15, 2019 at 10:57:17AM +0200, Christoph Badura wrote:
> On Sun, Apr 14, 2019 at 08:27:02PM +0000, Maya Rashish wrote:
> > Module Name:	src
> > Committed By:	maya
> > Date:		Sun Apr 14 20:27:02 UTC 2019
> > Modified Files:
> > 	src/libexec/ld.elf_so: ld.elf_so.1
> > Log Message:
> > Note that we now search DT_RUNPATH paths as well.
> 
> This doesn't document what happens when bot DT_RPATH and DT_RUNPATH are
> present.
> 
> Man pages are reference documentation.  The need to document actual
> semantics.
> 
> --chris

If I am reading things correctly, the later one that appears on the list
of headers is respected.

Our respecting of DT_RUNPATH is mostly a hack to deal with upstreams
that do things like read the ELF spec that calls RPATH deprecated.

I would really like not to re-ignite this discussion, it took a lot of
time until we got an OK to do it, and the time wasted by people not
understanding why random binaries failed to run was staggering.


Home | Main Index | Thread Index | Old Index