Bug 2259243

Summary: s390x-only failure on gcc14 with LTO
Product: [Fedora] Fedora Reporter: Gwyn Ciesla <gwync>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: dmalcolm, fweimer, jakub, jlaw, jwakely, mcermak, mpolacek, msebor, nickc, nixuser, sipoyare
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-16 19:34:49 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:

Description Gwyn Ciesla 2024-01-19 17:34:22 UTC
Duplicity 2.1.5 builds fine on f39 all arches with LTO. On f40 it only builds on s390x if LTO is off. If not, there's a test failure.

https://kojipkgs.fedoraproject.org//work/tasks/1506/111981506/build.log

Reproducible: Always

Comment 1 Aoife Moloney 2024-02-15 23:10:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 2 Jakub Jelinek 2024-02-16 17:26:41 UTC
Can't reproduce with gcc-14.0.1-0.6.fc40, when I remove the
# https://bugzilla.redhat.com/show_bug.cgi?id=2259243
%ifarch s390x
%global _lto_cflags %nil
%endif
hunk from duplicity-2.1.5-6.fc40's duplicity.spec, it built just fine in mock.

Comment 3 Gwyn Ciesla 2024-02-16 19:34:49 UTC
Confirmed, thank you!