Red Hat Bugzilla – Bug 729015
Failed to find the .debug_info section in a debuginfo file
Last modified: 2013-03-03 18:03:05 EST
A problem related to debuginfo was found in the iptables-1.4.7-4.el6 package. This issue might affect crash analysis done by Automatic Bug Reporting Tool and its retrace server, and also prevent proper debugging of crashes via GDB.
When a binary is compiled without gcc's -g option, no debugging information is generated and rpmbuild creates almost-empty debuginfo file, which cannot be used for debugging. Please fix the package build process to use $RPM_OPT_FLAGS, which include the -g option among others.
This issue can be investigated and tested by using eu-readelf tool from the elfutils package. Use `eu-readelf --section-headers /usr/lib/debug/usr/bin/<debuginfofile>.debug` to see if debuginfo file contains .debug_info section. It is supposed to be there.
(This bug was detected and filed by a script.)
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
libiptc can not provide debug informaiton, because there is no code compiled into it. It is an empty library that depends on libip4tc and libip6tc.
The libs libip4tc and libip6tc have debugging symbols.
Closing as not a bug.