glibc-debuginfo libraries stripped?!

Jakub Jelinek jakub at redhat.com
Mon Jul 9 08:05:19 UTC 2007


On Fri, Jul 06, 2007 at 04:22:24PM +0200, Pawel wrote:
> Hallo Group Members
> 
> I just installed glibc-debuginfo-2.5-10.fc6 on my fedora fc6, just to get some debug symbols from it.
> It turns out that libraries do not contain debug symbols:
> 
> prompt$ rpm -qf /usr/lib/debug/lib/ld-2.5.so.debug /usr/lib/debug/lib/i686/nosegneg/libc-2.5.so.debug
> glibc-debuginfo-2.5-10.fc6
> glibc-debuginfo-2.5-10.fc6
> 
> prompt$ objdump -t /usr/lib/debug/lib/i686/nosegneg/libc-2.5.so.debug
> /usr/lib/debug/lib/i686/nosegneg/libc-2.5.so.debug:     file format elf32-i386
> 
> SYMBOL TABLE:
> no symbols
> 
> prompt$ objdump -t /usr/lib/debug/lib/ld-2.5.so.debug
> /usr/lib/debug/lib/ld-2.5.so.debug:     file format elf32-i386
> 
> SYMBOL TABLE:
> no symbols
> 
> why is debuginfo package for, then?

For the .debug* sections.  Some glibc libraries are intentionally stripped
with eu-strip -g -f ... , so symbol table and string table are kept
in the installed libraries.

	Jakub




More information about the users mailing list