This is the mail archive of the
mailing list for the glibc project.
Re: nptl_version symbol
On Friday 21 Oct 2005 11:23 am, Daniel Jacobowitz wrote:
> On Fri, Oct 21, 2005 at 10:13:10AM +0530, Amit S. Kale wrote:
> > Hi All,
> > gdbserver uses the symbol nptl_version symbol for confirming the
> > consistency of libthread_db from gdbserver and libpthread from an
> > application being used. We are using a setup where libpthread is stripped
> > of all debug information by using "objcopy -g". nptl_version symbol is
> > not exported by glibc, so it doesn't appear in libpthread. This causes
> > debugging to fail.
> This has come up plenty of times before. First of all, gdbserver
> doesn't use the symbols on the target FS, so just don't strip the host
> copy. Secondly, you can remove debug information; just leave the ld.so
> and libpthread.so static symbol tables.