This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: assertion fails in elf/get-dynamic-info.h


On 06/03/2018 03:48 PM, Florian Weimer wrote:
> No, ld.so must not have a DT_RPATH or DT_RUNPATH.

Agreed.

My suspicion is that Chris' gcc automatically injects an RPATH.

This automatic RPATH injection is wrong for building glibc,
particularly ld.so.

Chris must therefore patch his glibc build to undo whatever the
compiler is doing via cusom spec files.

Out of curiosity, what distribution is this?

Lastly, with enough development work it might be possible to
remove the assertions, but ld.so would have to be extended
to understand the semantics of RPATH/RUNPATH against ld.so.

For example does a RPATH/RUNPATH in ld.so mean that these
are additional trusted directories to be searched by all
lookups?

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]