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.
Bug 1930988 - Backport breaks building with LTO
Summary: Backport breaks building with LTO
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: binutils
Version: CentOS Stream
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Nick Clifton
QA Contact: Miloš Prchlík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-20 01:38 UTC by Anita Zhang
Modified: 2021-11-10 07:06 UTC (History)
8 users (show)

Fixed In Version: binutils-2.30-97.el8
Doc Type: No Doc Update
Doc Text:
If this bug requires documentation, please select an appropriate Doc Type value.
Clone Of:
Environment:
Last Closed: 2021-11-09 19:31:20 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:4364 0 None None None 2021-11-09 19:31:50 UTC

Description Anita Zhang 2021-02-20 01:38:06 UTC
Building systemd with the binutils-2.30-90.el8.x86_64 (in mock's centos-stream-x86_64 chroot) results in the linker error shown in https://pagure.io/centos-sig-hyperscale/sig/issue/13.

This was traced to the inclusion of https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=1e3b96fd6cf (backported since binutils-2.30-81.el8.x86_64 as Patch78: binutils-plugin-as-needed.patch). This was mostly reverted by binutils upstream in https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b1a92c635c1ec10fd703302ce1fc4ab3a8515a04. This should also be backported.

Comment 3 Nick Clifton 2021-03-18 15:56:48 UTC
Fixed in binutils-2.30-94.el8.

Note for QE: The fix includes some new tests in the linker testsuite.  Look for lto-19 and pr26806.

Comment 5 Nick Clifton 2021-03-23 18:54:12 UTC
Ok so the correct version is binutils-2.30-97.el8

Comment 8 Miloš Prchlík 2021-04-09 17:46:41 UTC
Verified with binutils-2.30-99.el8.

Comment 9 Robert Scheck 2021-06-13 20:35:22 UTC
Cross-filed case 02963633 at the Red Hat customer portal, because systemd-extras in EPEL 8 is affected by this bug (quite similar as reported in the initial description).

Comment 12 errata-xmlrpc 2021-11-09 19:31:20 UTC
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 (Moderate: binutils security update), 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-2021:4364


Note You need to log in before you can comment on or make changes to this bug.