Hide Forgot
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.)
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.
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?
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.
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
*** This bug has been marked as a duplicate of bug 594279 ***