[PATCH v8] Add pretty printers for the NPTL lock types
Siddhesh Poyarekar
siddhesh@sourceware.org
Tue Jun 28 06:43:00 GMT 2016
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
More information about the Libc-alpha
mailing list