Bug 2043970

Summary: Backport binutils fix that allows ccache to be compiled
Product: Red Hat Enterprise Linux 9 Reporter: Michel Alexandre Salim <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: rc   
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 Alexandre Salim 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