Bug 527004 - eu-strip -g does not catch .debug_pubtypes
Summary: eu-strip -g does not catch .debug_pubtypes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: elfutils
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Roland McGrath
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-03 00:57 UTC by Michel Lind
Modified: 2010-01-28 00:49 UTC (History)
6 users (show)

Fixed In Version: 0.144-1.fc11
Clone Of:
Environment:
Last Closed: 2010-01-28 00:49:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michel Lind 2009-10-03 00:57:53 UTC
Description of problem:
glibc-debuginfo has some libraries with missing debugging information:

Reading symbols from /usr/lib64/GNUstep/Applications/oolite.app/oolite...Reading symbols from /usr/lib/debug/usr/lib64/GNUstep/Applications/oolite.app/oolite.debug...done.
done.
(gdb) run
Starting program: /usr/lib64/GNUstep/Applications/oolite.app/oolite 
[Thread debugging using libthread_db enabled]
warning: "/usr/lib/debug/usr/lib64/gconv/libJIS.so.debug": The separate debug info file has no debug info
warning: "/usr/lib/debug/usr/lib64/gconv/libJIS.so.debug": The separate debug info file has no debug info
warning: "/usr/lib/debug/usr/lib64/gconv/libGB.so.debug": The separate debug info file has no debug info
warning: "/usr/lib/debug/usr/lib64/gconv/libKSC.so.debug": The separate debug info file has no debug info
warning: "/usr/lib/debug/usr/lib64/gconv/libGB.so.debug": The separate debug info file has no debug info
warning: "/usr/lib/debug/usr/lib64/gconv/libKSC.so.debug": The separate debug info file has no debug info
[New Thread 0x7fffec9cb710 (LWP 13739)]


Version-Release number of selected component (if applicable):
$ rpm -q glibc-debuginfo
glibc-debuginfo-2.10.90-24.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Compile and install oolite
from https://bugzilla.redhat.com/show_bug.cgi?id=459211
2. gdb /usr/lib64/GNUstep/Applications/oolite.app/oolite

  
Actual results:
The warnings above

Expected results:
No warning


Additional info:

Comment 1 Andreas Schwab 2009-10-05 07:45:59 UTC
Looks like objcopy mishandled .debug_pubtypes.

$ readelf -WS /usr/lib/debug/usr/lib64/gconv/lib*.so.debug | grep debug_pubtypes
  [31] .debug_pubtypes   NOBITS          0000000000000000 000fe4 00004b 00      0   0  1
  [31] .debug_pubtypes   NOBITS          0000000000000000 0007c4 00001f 00      0   0  1
  [31] .debug_pubtypes   NOBITS          0000000000000000 0005c4 000033 00      0   0  1
  [31] .debug_pubtypes   NOBITS          0000000000000000 000c17 000083 00      0   0  1
  [31] .debug_pubtypes   NOBITS          0000000000000000 000675 000038 00      0   0  1
  [31] .debug_pubtypes   NOBITS          0000000000000000 00069a 000027 00      0   0  1

Comment 2 Jan Kratochvil 2009-10-05 08:58:12 UTC
elfutils-0.143-1.fc12 default_debugscn_p() does not contain .debug_pubtypes.
(neither elfutils GIT master)

rpmbuild uses eu-strip (via /usr/lib/rpm/find-debuginfo.sh).

GDB should probably find out each .debug_* section in the main vs. debug file separately but still this is an elfutils bug.

Comment 3 Roland McGrath 2009-10-05 18:32:48 UTC
Fixed upstream.

Comment 4 Bug Zapper 2009-11-16 13:13:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Fedora Update System 2010-01-15 09:31:09 UTC
elfutils-0.144-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/elfutils-0.144-1.fc12

Comment 6 Fedora Update System 2010-01-15 09:31:25 UTC
elfutils-0.144-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/elfutils-0.144-1.fc11

Comment 7 Fedora Update System 2010-01-15 22:06:25 UTC
elfutils-0.144-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update elfutils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-0583

Comment 8 Fedora Update System 2010-01-15 22:08:54 UTC
elfutils-0.144-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update elfutils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0605

Comment 9 Fedora Update System 2010-01-28 00:48:56 UTC
elfutils-0.144-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-01-28 00:49:26 UTC
elfutils-0.144-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.