Package: binutils
Version: 2.16.1cvs20050902-1
Severity: normal

I'm trying to get the -dbg packages for the xlibs and xserver in shape, but
it appears that objcopy called via dh_strip is causing the debugging
symbols to be lost.

The X files are built with the -g option in gcc. The files produced are
suitably large (9 MB for libX11 for example, while the stripped version on
my system is 850k or so). "file" confirms that the lib isn't stripped.

I can run readelf --debug-dump on the stripped file and get nothing while I
get tons of output from the unstripped file. Running objdump -g on the file
however, produces no output other than telling me that it could find no
recognized debugging information.

Similarly, dh_strip uses objcopy with the --only-keep-debug switch to store
the debugging info. The file that it creates for this for libx11 is 4k and
also contains no symbols. I assume that a large chunk of the 8 meg
difference between the stripped and unstripped versions of the lib should
go in this file, and as such it should be larger. gdb also can't find any
symbols in this file.

I'm sorry that I don't know how to provide more info. I don't know much
about the low level ELF stuff yet, so please let me know what sort of info
or files I can provide to get this sorted out. Thanks James!

 - David Nusinow

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages binutils depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an

binutils recommends no packages.

-- debconf information:
  binutils/oformat_warning:
* binutils/kernel_link_warning:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to