Bug 2293207

Summary: Internal compiler error on s390x platform building xcfun-2.1.1-14
Product: [Fedora] Fedora Reporter: Susi Lehtola <susi.lehtola>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmalcolm, fweimer, jakub, jlaw, josmyers, jwakely, mcermak, mpolacek, msebor, nickc, nixuser, sipoyare
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-14.1.1-6.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-20 10:38:12 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:
Bug Depends On:    
Bug Blocks: 2292021    

Description Susi Lehtola 2024-06-20 10:26:50 UTC
The rebuild xcfun for the new version of Python on rawhide fails in a reproducible manner on the s390x architecture in an internal compiler error, see

https://koji.fedoraproject.org/koji/taskinfo?taskID=119331397
https://koji.fedoraproject.org/koji/taskinfo?taskID=119331798

The relevant part of the build log is as follows

[  5%] Building CXX object src/CMakeFiles/xcfun.dir/functionals/apbec.cpp.o
cd /builddir/build/BUILD/xcfun-2.1.1-build/xcfun-2.1.1/s390x-redhat-linux-gnu/src && /usr/bin/g++ -DXCFUN_MAX_ORDER=6 -Dxcfun_EXPORTS -I/builddir/build/BUILD/xcfun-2.1.1-build/xcfun-2.1.1/api -I/builddir/build/BUILD/xcfun-2.1.1-build/xcfun-2.1.1/s390x-redhat-linux-gnu/include -I/builddir/build/BUILD/xcfun-2.1.1-build/xcfun-2.1.1/src -isystem /builddir/build/BUILD/xcfun-2.1.1-build/xcfun-2.1.1/external/upstream/taylor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection  -O2 -g -DNDEBUG -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -ffloat-store -fno-rtti -fno-exceptions -MD -MT src/CMakeFiles/xcfun.dir/functionals/apbec.cpp.o -MF CMakeFiles/xcfun.dir/functionals/apbec.cpp.o.d -o CMakeFiles/xcfun.dir/functionals/apbec.cpp.o -c /builddir/build/BUILD/xcfun-2.1.1-build/xcfun-2.1.1/src/functionals/apbec.cpp
In file included from /builddir/build/BUILD/xcfun-2.1.1-build/xcfun-2.1.1/src/functionals/apbec.cpp:17:
/builddir/build/BUILD/xcfun-2.1.1-build/xcfun-2.1.1/src/functionals/pw92eps.hpp: In function ‘pw92eps::eopt<ctaylor<double, 2> >(ctaylor<double, 2> const&, double const*)ctaylor<double, 2>’:
/builddir/build/BUILD/xcfun-2.1.1-build/xcfun-2.1.1/src/functionals/pw92eps.hpp:25:1: error: unrecognizable insn:
   25 | }
      | ^
(insn 81 80 82 2 (set (reg:V2DF 96 [ _105 ])
        (vec_duplicate:V2DF (vec_select:DF (mem/c:V2DF (reg/f:DI 95) [4 vect__71.1251+0 S16 A64])
                (parallel [
                        (const_int 0 [0])
                    ])))) -1
     (nil))
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | annobin: Generate final annotations
PLUGIN_START_UNIT                | annobin: Generate global annotations
PLUGIN_ALL_PASSES_START          | annobin: Generate per-function annotations
PLUGIN_ALL_PASSES_END            | annobin: Register per-function end symbols
during RTL pass: vregs
/builddir/build/BUILD/xcfun-2.1.1-build/xcfun-2.1.1/src/functionals/pw92eps.hpp:25:1: internal compiler error: in extract_insn, at recog.cc:2812
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.

Comment 1 Jakub Jelinek 2024-06-20 10:38:12 UTC

*** This bug has been marked as a duplicate of bug 2292501 ***

Comment 2 Fedora Update System 2024-06-21 07:15:10 UTC
FEDORA-2024-7dca52f634 (gcc-14.1.1-6.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-7dca52f634

Comment 3 Fedora Update System 2024-06-22 06:36:09 UTC
FEDORA-2024-7dca52f634 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7dca52f634`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7dca52f634

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

Comment 4 Fedora Update System 2024-06-23 06:52:13 UTC
FEDORA-2024-7dca52f634 (gcc-14.1.1-6.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.