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 Fri, Jun 24, 2016 at 03:10:14PM -0300, Martin Galvan wrote:
> That's odd, I'm still seeing the built libraries, both with gdb 7.7
> and the mainline:
> 
> $ cat /proc/${PID}/maps | tr -s ' ' | cut -d' ' -f6 | uniq | awk NF
> /home/martin/glibc/build/pretty-printers/test-mutex-printer
> /home/martin/glibc/install/lib/libc-2.23.90.so
> /home/martin/glibc/install/lib/libpthread-2.23.90.so
> /home/martin/glibc/install/lib/ld-2.23.90.so
> [vdso]
> /home/martin/glibc/install/lib/ld-2.23.90.so
> [stack]
> [vsyscall]
> 
> Just in case, do you have anything special in your .gdbinit that may
> be causing the issue?

Nope, my .gdbinit only has the lines for the pretty-printers.  Are you
sure you don't have anything in your environment that may be picking
up the built glibc?  Because it is not supposed to work with just
rpath-link.  Also check with ldd to verify what libraries get picked
up.  If that also picks up the built libraries then either you are
building with rpath (somehow) or your environment is set to pick up
libraries from that install path.

Siddhesh


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