Bug 1730906
Summary: | ld -r fails to handle .init_array section in comdat group | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | H.J. Lu <hongjiu.lu> | ||||
Component: | binutils | Assignee: | Nick Clifton <nickc> | ||||
binutils sub component: | system-version | QA Contact: | Miloš Prchlík <mprchlik> | ||||
Status: | CLOSED ERRATA | Docs Contact: | |||||
Severity: | unspecified | ||||||
Priority: | unspecified | CC: | fweimer, law, mprchlik, ohudlick | ||||
Version: | 8.2 | ||||||
Target Milestone: | rc | ||||||
Target Release: | 8.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | binutils-2.30-59.el8 | Doc Type: | No Doc Update | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-04-28 16:45:36 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1746913, 1755139 | ||||||
Attachments: |
|
Description
H.J. Lu
2019-07-17 20:25:41 UTC
Created attachment 1592601 [details]
Proposed patch
Hi H.J.
Thanks for raising this bug, and providing a patch.
I have updated Fedora rawhide (binutils-2.32-18), and this attachment
is the patch for RHEL-8.2 once that opens.
Cheers
Nick
Fixed in binutils-2.30-59.el8 Verified with binutils-2.30-73.el8. [root@opicee-1 ~]# ./x init1: 30 init2: 2 init3: 3 PASS [root@opicee-1 ~]# ./y init1: 30 init2: 2 init3: 3 PASS [root@opicee-1 ~]# 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/RHSA-2020:1797 |