Red Hat Bugzilla – Bug 1278547
RFC: Conflict of multilib debuginfo packages
Last modified: 2016-04-20 09:46:33 EDT
debuginfo packages are not split to match subpackages,
so, if installing 32 bit and 64 bit ones, they frequently
This bug report is just a Request For Comments, on
suggestions on how to have usable debuginfo packages
installed in the same computer, for i686 and x86_64
In this bug report I just describe what I think could
be an initial idea for a solution:
1. From gdb documentation, for a "/usr/bin/ls" binary,
with build-id abcdef1234, it searches in the order:
2. Since it searches first the .build-id directory, a
possible, but incomplete solution could be to change
/usr/lib/rpm/find-debuginfo.sh to instead of creating
/usr/lib/debug/.build-id/ab/cdef1234.debug -> ../../usr/bin/ls.debug
have it as:
/usr/lib/debug/usr/bin/ls.debug -> ../../.build-id/ab/cdef1234.debug
that is, have the file under .build-id the real file.
The above would still have conflicts in symlinks, .e.g
/usr/lib/debug/usr/bin/ls.debug would be in both, i686 and
x86_64 packages, but it would be a symlink, and gdb should
find the proper .debug anyway. Renaming the base directory
would need patching gdb, and possibly other tools.
Changing the setup of all the debuginfo packages probably cannot be done in an update release. Still leaving this open for now for consideration
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.