Bug 980536 - /usr/lib/debug/ needs also bin/lib/lib64 symlinks
Summary: /usr/lib/debug/ needs also bin/lib/lib64 symlinks
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: filesystem
Version: 7.0
Hardware: Unspecified
OS: Linux
Target Milestone: rc
: ---
Assignee: Ondrej Vasik
QA Contact: Jan Ščotka
Depends On: 974130
TreeView+ depends on / blocked
Reported: 2013-07-02 16:05 UTC by Jan Kratochvil
Modified: 2014-06-13 10:10 UTC (History)
4 users (show)

Fixed In Version: filesystem-3.2-13.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 974130
Last Closed: 2014-06-13 10:10:34 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Jan Kratochvil 2013-07-02 16:05:18 UTC
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
debuginfo-install keyutils
mv /usr/lib/debug/.build-id /usr/lib/debug/.build-id-x
gdb keyctl

Actual results:
Reading symbols from /usr/bin/keyctl...Reading symbols from /usr/bin/keyctl...(no debugging symbols found)...done.
(no debugging symbols found)...done.

Expected results:
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).

Additional info:
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 [...]

Comment 1 Ondrej Vasik 2013-07-08 10:36:32 UTC
Commited to distgit -> http://bulk-mail.corp.redhat.com/archives/cvs-commits-list/2013-July/msg01679.html -> MODIFIED .

Comment 3 Jan Kratochvil 2014-01-23 15:13:38 UTC
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.
(gdb) q

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.

Comment 10 Ludek Smid 2014-06-13 10:10:34 UTC
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.

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