Created attachment 750696 [details] http://kojipkgs.fedoraproject.org/packages/pango/1.34.1/1.fc19/x86_64/pango-debuginfo-1.34.1-1.fc19.x86_64.rpm Description of problem: Unpack the pango-debuginfo in the attachment, or equivalently: http://kojipkgs.fedoraproject.org/packages/pango/1.34.1/1.fc19/x86_64/pango-debuginfo-1.34.1-1.fc19.x86_64.rpm Then run 'objdump -Dl' over the debuginfo file for the DSO, and be sad: % objdump -Dl pango-debuginfo-1.34.1-1.fc19.x86_64/usr/lib/debug/usr/lib64/libpango-1.0.so.0.3400.1.debug |& grep BFD | head -5 BFD: Dwarf Error: Invalid or unhandled FORM value: 7969. BFD: Dwarf Error: found dwarf version '0', this reader only handles version 2, 3 and 4 information. BFD: Dwarf Error: found dwarf version '0', this reader only handles version 2, 3 and 4 information. BFD: Dwarf Error: found dwarf version '56191', this reader only handles version 2, 3 and 4 information. BFD: Dwarf Error: found dwarf version '6912', this reader only handles version 2, 3 and 4 information. Locally rebuilding pango with %global _find_debuginfo_dwz_opts %{nil} produces a .debug file without this problem. I'm not entirely sure what the rpmbuild-generated dwz command line comes out to. My attempts to divine it from reading find-debuginfo.sh seem to result in output files that all work correctly.
Looks like objdump bug. readelf -wi handles this just fine. FORM 7969 is valid (DW_FORM_GNU_strp_alt).
I have checked in a patch (to rawhide) to add support in the BFD library for handling the alternate debuginfo files produced by the DWZ program. Please try out: binutils-2.23.88.0.1-5.fc20 and let me know if the problem still exists. Cheers Nick
% objdump -Dl ~/dwz/pango-debuginfo-1.34.1-1.fc19.x86_64/usr/lib/debug/usr/lib64/libpango-1.0.so.0.3400.1.debug |& grep -c BFD 0 % rpm -q binutils binutils-2.23.88.0.1-6.fc20.x86_64 Looks good, thanks!
Fixed in F20 is good enough for me, especially since the elfutils tools don't seem to have this issue.
Nick, can you backport the fix also to f19 (and maybe also f18) and release an update thru bodhi?
binutils-2.23.52.0.1-9.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/binutils-2.23.52.0.1-9.fc19
binutils-2.23.51.0.1-10.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/binutils-2.23.51.0.1-10.fc18
thanks Nick, Dan
binutils-2.23.52.0.1-9.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
binutils-2.23.51.0.1-10.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.