This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: nptl_version symbol
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Amit S. Kale" <amitkale at linsyssoft dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 21 Oct 2005 01:53:23 -0400
- Subject: Re: nptl_version symbol
- References: <200510211013.10411.amitkale@linsyssoft.com>
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.
--
Daniel Jacobowitz
CodeSourcery, LLC