Bug 2043970 - Backport binutils fix that allows ccache to be compiled
Summary: Backport binutils fix that allows ccache to be compiled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: binutils
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Nick Clifton
QA Contact: Miloš Prchlík
URL:
Whiteboard:
Depends On: 1996936
Blocks: 2033147
TreeView+ depends on / blocked
 
Reported: 2022-01-22 23:50 UTC by Michel Alexandre Salim
Modified: 2023-07-18 14:25 UTC (History)
13 users (show)

Fixed In Version: binutils-2.35.2-17.el9
Doc Type: No Doc Update
Doc Text:
Clone Of: 1884432
Environment:
Last Closed: 2022-05-17 15:58:36 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/rpms binutils merge_requests 23 0 None None None 2022-01-22 23:54:59 UTC
Red Hat Issue Tracker RHELPLAN-109268 0 None None None 2022-01-22 23:51:20 UTC
Red Hat Product Errata RHBA-2022:3985 0 None None None 2022-05-17 15:59:00 UTC

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


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