RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 729000 - Failed to find the .debug_info section in a debuginfo file
Summary: Failed to find the .debug_info section in a debuginfo file
Keywords:
Status: CLOSED DUPLICATE of bug 594279
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nfs-utils-lib
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Filesystem QE
URL:
Whiteboard:
Depends On:
Blocks: 727919
TreeView+ depends on / blocked
 
Reported: 2011-08-08 15:18 UTC by Karel Klíč
Modified: 2014-05-01 21:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-01 21:18:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Karel Klíč 2011-08-08 15:18:57 UTC
A problem related to debuginfo was found in the nfs-utils-lib-1.1.5-3.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.

path: /usr/lib/debug/usr/lib/libnfsidmap/umich_ldap.so.debug
package: nfs-utils-lib-debuginfo-1.1.5-3.el6.i686

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.)

Comment 5 RHEL Program Management 2012-09-07 05:08:22 UTC
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 unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 6 Steve Dickson 2012-10-12 13:31:11 UTC
I'm not understanding what the problem is here or how to fix it... Can you be a bit more explicit as to what you are asking for?

Comment 7 Karel Klíč 2012-10-15 08:54:47 UTC
Hi Steve,

/usr/lib/debug/usr/lib/libnfsidmap/umich_ldap.so.debug is supposed to contain debugging symbols for umich_ldap.so shared library, but it doesn't contain them.

This is usually caused by a missing compiler/linker flag -g during the package build.

Is nfs-utils-lib build with -g?

Ideally, $RPM_OPT_FLAGS, which includes -g, are added to the compiler flags.

Comment 8 Steve Dickson 2012-10-15 20:51:08 UTC
So something like this:

diff --git a/nfs-utils-lib.spec b/nfs-utils-lib.spec
index fa152a5..7c06576 100644
--- a/nfs-utils-lib.spec
+++ b/nfs-utils-lib.spec
@@ -72,7 +72,8 @@ mv %{librpcsecgss}-%{rpcsecgssvers} %{librpcsecgss}
 
 pushd  %{libnfsidmap}
 ./autogen.sh
-%configure 
+CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS -fno-strict-aliasing`"
+%configure CFLAGS="$CFLAGS"
 make %{?_smp_mflags} all
 popd

Comment 13 Steve Dickson 2014-05-01 21:18:14 UTC

*** This bug has been marked as a duplicate of bug 594279 ***


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