Red Hat Bugzilla – Bug 980536
/usr/lib/debug/ needs also bin/lib/lib64 symlinks
Last modified: 2014-06-13 06:10:34 EDT
Tracker for Fedora Bug:
+++ This bug was initially created as a clone of Bug #974130 +++
Description of problem:
Since the /bin etc. symlinks debuginfos stopped working unless one uses them via build-id.
Steps to Reproduce:
yum install keyutils
mv /usr/lib/debug/.build-id /usr/lib/debug/.build-id-x
Reading symbols from /usr/bin/keyctl...Reading symbols from /usr/bin/keyctl...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Reading symbols from /usr/bin/keyctl...
warning: the debug information found in "/usr/lib/debug//usr/bin/keyctl.debug" does not match "/usr/bin/keyctl" (CRC mismatch).
The warning is a different bug (tracked as Bug 971119); that is caused by dwz.
--- Additional comment from Jan Kratochvil on 2013-07-02 08:20:40 CEST ---
This issue is not closed.
[...] .dwz symlink should be added [...]
Commited to distgit -> http://bulk-mail.corp.redhat.com/archives/cvs-commits-list/2013-July/msg01679.html -> MODIFIED .
Works for me.
# yum install /usr/bin/debuginfo-install
# debuginfo-install keyutils
# mv /usr/lib/debug/.build-id /usr/lib/debug/.build-id-x
# gdb keyctl
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-48.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/bin/keyctl...Reading symbols from /usr/lib/debug/usr/bin/keyctl.debug...done.
I have verified also your tested gdb-7.6.1-46.el7.x86_64 works on this box.
I have returned the machine to beaker now but it should be reprooducible with DISTRO=RHEL-7.0-20140123.n.0 I think.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.