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.

Bug 2043970

Summary: Backport binutils fix that allows ccache to be compiled
Product: Red Hat Enterprise Linux 9 Reporter: Michel Lind <michel>
Component: binutilsAssignee: Nick Clifton <nickc>
binutils sub component: system-version QA Contact: Miloš Prchlík <mprchlik>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: adev88, bstinson, extras-qa, fweimer, jwboyer, michael, mprchlik, nickc, ohudlick, orion, tschelle, upstream-release-monitoring, xose.vazquez
Version: CentOS StreamKeywords: Bugfix, FutureFeature, Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: binutils-2.35.2-17.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1884432 Environment:
Last Closed: 2022-05-17 15:58:36 UTC Type: ---
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: 1996936    
Bug Blocks: 2033147    

Description Michel Lind 2022-01-22 23:50:01 UTC
binutils in F34 is the same version as in Stream 9, but containing a patch that fixes this issue: https://sourceware.org/bugzilla/show_bug.cgi?id=28266

Can this be backported to Stream 9? This will allow ccache to be built, which will save a lot of time for developers doing local C/C++ compilations (and would allow me to stop enabling and disabling ccache in mock depending on which target I'm building against)

Comment 1 Miloš Prchlík 2022-01-24 13:51:45 UTC
Note for QE: for a nice reproducer, see https://sourceware.org/bugzilla/show_bug.cgi?id=28266#c5

Comment 2 Nick Clifton 2022-01-24 15:49:23 UTC
Fixed in binutils-2.35.2-17.el9

Comment 6 Miloš Prchlík 2022-01-25 15:27:35 UTC
Besides the reproducer, I believe the actual ccache build should work as well. Following the upstream howto, `make test` finished with "100% tests passed, 0 tests failed out of 45". I've been able to reproduce the ccache test failure (https://github.com/ccache/ccache/issues/919) with older binutils, with binutils-2.35.2-17.el9 everything's looking good.

Comment 8 errata-xmlrpc 2022-05-17 15:58:36 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 (new packages: binutils), 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/RHBA-2022:3985