Bug 1455687
Summary: | Multiple .shstrtab sections since eu-readelf 0.166 | ||
---|---|---|---|
Product: | Red Hat Developer Toolset | Reporter: | Paulo Andrade <pandrade> |
Component: | elfutils | Assignee: | Mark Wielaard <mjw> |
Status: | CLOSED ERRATA | QA Contact: | Martin Cermak <mcermak> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | DTS 6.1 RHEL 6 | CC: | jakub, kanderso, mbenitez, mcermak, mjw, mnewsome |
Target Milestone: | alpha | ||
Target Release: | 7.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | devtoolset-7-elfutils-0.169-3.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-10-24 09:46:09 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Paulo Andrade
2017-05-25 19:55:47 UTC
Replicated. There are indeed two .shstrtab sections. Only the second is used (and it is what ELF section header string table points at). The first is the old unused copy from the original file with the old section names in it. This is indeed unfortunate for tools selecting sections by name. It isn't guaranteed that two sections cannot have the same name. But tools might still make that assumption. Posted an upstream fix: https://sourceware.org/ml/elfutils-devel/2017-q2/msg00235.html Replicated using elfutils-0.168-8.el7, verified using devtoolset-7-elfutils-0.170-1.el{6,7} both using the initial reproducer and using provided/packaged run-strip-test.sh. 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. https://access.redhat.com/errata/RHEA-2017:3010 |