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)
Note for QE: for a nice reproducer, see https://sourceware.org/bugzilla/show_bug.cgi?id=28266#c5
Fixed in binutils-2.35.2-17.el9
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.
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