Bug 2084131

Summary: Version mismatch between gcc-epel and gcc on centos-stream9 causes LTO errors
Product: [Fedora] Fedora EPEL Reporter: Diego Herrera <dherrera>
Component: gcc-epelAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: carl, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-epel-11.3.1-2.el9.next Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-21 02:07:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Diego Herrera 2022-05-11 13:47:11 UTC
Description of problem:

There is a version mismatch between gcc-epel (gcc-11.2.1-9.4.el9) and gcc on centos-stream (gcc-11.3.1-2.el9). This can cause LTO exceptions when building packages that depend on gccgo.

Version-Release number of selected component (if applicable):

gcc-epel-11.2.1-12.el9

Steps to Reproduce:

fedpkg clone uwsgi
cd uwsgi
fedpkg --release epel9 mockbuild


Actual results:

...
lto1: fatal error: bytecode stream in file ‘/tmp/ccqibh4V.o’ generated with LTO version 11.2 instead of the expected 11.3
...


Additional info:

That reference package currently builds in Koji because Koji uses a reference snapshot image from February to build EPEL packages, this might change in the following weeks.

Comment 1 Robert Scheck 2022-05-11 15:33:50 UTC
Thanks for the report! I'm currently already building gcc-epel-11.3.1-2.el9 (started before your report) to get the version in sync due to upcoming RHEL 9 GA.

Comment 2 Fedora Update System 2022-05-12 23:55:09 UTC
FEDORA-EPEL-NEXT-2022-903d9726ba has been submitted as an update to Fedora EPEL 9 Next. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-NEXT-2022-903d9726ba

Comment 3 Fedora Update System 2022-05-13 03:01:12 UTC
FEDORA-EPEL-NEXT-2022-903d9726ba has been pushed to the Fedora EPEL 9 Next testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-NEXT-2022-903d9726ba

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-05-21 02:07:38 UTC
FEDORA-EPEL-NEXT-2022-903d9726ba has been pushed to the Fedora EPEL 9 Next stable repository.
If problem still persists, please make note of it in this bug report.