Red Hat Bugzilla – Bug 156342
eu-strip mangles separate debuginfo with relocation sections
Last modified: 2007-11-30 17:07:17 EST
+++ This bug was initially created as a clone of Bug #156341 +++
Description of problem:
When eu-strip writes separate debuginfo from an ET_REL object such as a kernel
module (.ko file), it doesn't fix up the relocs referring to section symbols
removed from the symbol table.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install kernel-debuginfo package.
2. Try to use foo.ko.debug.
3. See bad relocs.
This is a blocker for SystemTAP.
This is fixed upstream/for Fedora (Bug #156341).
Needs backport fix or perhaps just upgrade of elfutils.
The RHEL4 eu-strip actually just uses the binutils objcopy/strip.
The binutils strip-to-debug works differently and the debuginfo produced should
be fine for systemtap.
Removing from proposed list.
Turns out I was wrong. I confused myself trying to make sense of the insane
elfutils multi-stream errata situation in RHEL. In fact, the elfutils being
used for RHEL4 builds is the real non-stub one, and eu-strip is the real one
with this bug rather than the binutils wrapper.
This is an unrelated bug. This error message is never the failure mode of the
As long as the buildroots don't change, this is not an issue for RHEL4.
0.97.1-3 should fix this.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.