Bug 2040825

Summary: Compile fails on ppc64le due to missing header file
Product: [Fedora] Fedora Reporter: Susi Lehtola <susi.lehtola>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aoliva, code, dmalcolm, fweimer, jakub, jwakely, law, mpolacek, msebor, nickc, sipoyare
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-12.0.0-0.5.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-15 16:15:32 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: 2040887    

Description Susi Lehtola 2022-01-14 18:58:01 UTC
Compiling mrcpp on rawhide, the ppc64le build fails in

In file included from /usr/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h:370,
                 from /usr/include/eigen3/Eigen/Core:22,
                 from /builddir/build/BUILD/mrcpp-1.4.1/src/core/GaussQuadrature.h:28,
                 from /builddir/build/BUILD/mrcpp-1.4.1/src/core/GaussQuadrature.cpp:29:
/usr/lib/gcc/ppc64le-redhat-linux/12/include/altivec.h:58:10: fatal error: rs6000-vecdefines.h: No such file or directory
   58 | #include "rs6000-vecdefines.h"
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Comment 1 Ben Beasley 2022-01-14 19:28:07 UTC
This is breaking sleef on ppc64le, too.

Comment 2 Ben Beasley 2022-01-14 19:29:45 UTC
To be clear, this appears to be a GCC 12 regression.

Comment 3 Jakub Jelinek 2022-01-14 20:30:44 UTC
I'll start a fixed gcc build tomorrow morning UTC, still waiting for some other fixes to be tested.

Comment 4 Ben Beasley 2022-01-14 20:37:11 UTC
Thanks!