| Summary: | ld reports .eh_frame_hdr TABLE overlaps while testing whether relocation are not truncated | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Miloš Prchlík <mprchlik> | ||||
| Component: | binutils | Assignee: | Nick Clifton <nickc> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Miloš Prchlík <mprchlik> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.3 | CC: | jcm, jfeeney, law, mcermak, mnewsome, mprchlik, qe-baseos-tools-bugs | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | aarch64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: |
Cause:
When an application is linked, it is possible for it to
contain duplicate blocks of information describing how to
unwind the stack. (Called FDE or Frame Description Entry)
Consequence:
These duplicates, although not harmful, would cause the
linker to emit error messages about overlaps in the
.eh_frame_hdr table.
Fix:
Add code to the linker to detect and ignore duplicate FDE
entries.
Result:
No more spurious error messages from the linker.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-02-08 07:35:20 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: | |||||
| Attachments: |
|
||||||
|
Comment 1
Nick Clifton
2016-02-09 17:20:30 UTC
Nope - that patch has already been applied to the sources. Back to the drawing board... Created attachment 1122796 [details]
Ignore duplicate FDE entries
This patch will solve the problem.
Well maybe solve is not quite the correct word. The problem is not that there
are overlapping FDE entries, but rather there are *duplicate* FDE entries. The
patch works around this by just suppressing the overlap warning for the duplicates but really the correct solution would be to eliminate them altogether. This requires a more extensive change and one that I do not feel comfortable doing without more discussion on the binutils mailing list.
The reason that this problem has come up now is that the code to check for overlapping FDE entries was not present in earlier binutils releases.
Patch applied. I am trying to clean up old AArch64 bugzillas and came across this. What can we do to get this VERIFIED and CLOSED? Thanks. My guess is the bug, while fixed, fell under the table and wasn't added to the 7.3 erratum :( I'm not really sure what process we should follow now, I'm open to suggestions - the issue is gone, either fixed by the patch in the case of 7.3 (test runs for 7.3 builds, binutils-2.25.1-*, are clear), or by rebases in 7.4, 7.5 and Alt. I think it's late to add this to a released erratum. Milos, please, indicate the bug is fixed by flipping to VERIFIED (+ filling in the fixed in field) and the, if noone objects, we can close this one out. Matt, does, the above plan sound good to you? The bug was uncovered by a regression test for another bug, and AFAICT it's been fixed correctly (comment #4) as the corresponding test passed several test runs following the problematic one. Despite not being a part of the erratum, I believe it's been verified. And closing, as it's too late to change erratum that's been already shipped in RHEL-7.3 days. Thanks, Milos. |