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: [PATCH v8] Add pretty printers for the NPTL lock types


On Mon, Jun 27, 2016 at 04:59:38PM -0300, Martin Galvan wrote:
> Oh, I see. This is all very interesting stuff, is it documented
> somewhere? I know the manual mentions enable-hardcoded-path-in-tests,

It isn't AFAIK, unless you can find it on the wiki.  You're welcome to
write it up if it isn't :)

> but I don't remember anything that mentions testing with /usr as
> prefix, nor the role the dynamic linker plays here. Of course, I take
> it that I should *not* do 'make install' afterwards, or else my
> system's libraries would get overwritten.

You can do 'make install', but you need to use the DESTDIR to use a
different base.  That is what distributions do for packaging.

BTW, if a make install successfully overwrites your system libraries
then you're doing something wrong ;)

> All this got me thinking, though. Pretty-printer testing aside, if we
> always want to run the testsuite without an install tree, shouldn't
> rpath be the default for all the tests instead of rpath-link? How do
> all the other tests work?

That was my thought as well but somebody had mentioned use cases for
not including DT_RPATH years ago.  I can't remember what it was
though; maybe a search through the mailing list archives might help
answer that question.

Siddhesh


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