Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.
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.
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.