Bug 698005
Summary: | eu-unstrip: do not seem to match | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan Kratochvil <jan.kratochvil> | ||||
Component: | binutils | Assignee: | Andreas Schwab <schwab> | ||||
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-tools-bugs | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6.1 | CC: | drepper, jan.kratochvil, mnowak, pmachata, pmuller | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | binutils-2.20.51.0.2-5.21 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-12-06 17:00:18 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jan Kratochvil
2011-04-19 21:38:53 UTC
EI_OSABI field of the debug file has value of 3 (Linux), in the stripped file it's 0 (UNIX - System V). I think there was a fix recently regarding the ABI value in ELF file, so what happens might be that strip doesn't copy the header properly. The problem is in binutils' strip, which is run as part of brp-strip-comment-note. This zeroes the EI_OSABI value in ELF header. Only non-debuginfo files are stripped this way, which explains why it can be here and not there. # file ble ble: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped # strip -R .comment ble # file ble ble: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped # rpm -q binutils binutils-2.20.51.0.2-5.19.el6.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1523.html |