Bug 1554279

Summary: pconfigintrin.h missing on x86_64
Product: [Fedora] Fedora Reporter: Tom Hughes <tom>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rawhideCC: aoliva, awilliam, dan, davejohansen, dmalcolm, fweimer, jakub, jwakely, law, mpolacek, msebor, nickc, sergio
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-8.0.1-0.18.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-19 18:02:17 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 Tom Hughes 2018-03-12 10:07:14 UTC
Description of problem:

The latest gcc seems to be missing pconfigintrin.h on x86_64 which is causing builds to fail, eg this koschei build log:

https://kojipkgs.fedoraproject.org/work/tasks/8276/25648276/build.log

which errors with:

In file included from /usr/include/gdal/cpl_port.h:762,
                 from /usr/include/gdal/gdal.h:42,
                 from /usr/include/gdal/gdal_priv.h:60,
                 from /builddir/build/BUILD/libosmium-2.13.1/libosmium/include/gdalcpp.hpp:46,
                 from /builddir/build/BUILD/libosmium-2.13.1/libosmium/include/osmium/area/problem_reporter_ogr.hpp:47,
                 from /builddir/build/BUILD/libosmium-2.13.1/libosmium/build/header_check/osmium__area__problem_reporter_ogr.cpp:1:
/usr/lib/gcc/x86_64-redhat-linux/8/include/x86intrin.h:80:10: fatal error: pconfigintrin.h: No such file or directory
 #include <pconfigintrin.h>
          ^~~~~~~~~~~~~~~~~
compilation terminated.

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

8.0.1-0.17.fc29

Comment 1 Marek Polacek 2018-03-12 10:11:57 UTC
Looks like we might need

--- a/gcc.spec
+++ b/gcc.spec
@@ -2230,6 +2230,8 @@ fi
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/vpclmulqdqintrin.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512vpopcntdqvlintrin.h
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512bitalgintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/pconfigintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/wbnoinvdintrin.h
 %endif
 %ifarch ia64
 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/ia64intrin.h

Comment 2 Adam Williamson 2018-03-15 17:34:00 UTC
This is still an issue for F28, apparently, so re-opening and proposing as a Beta FE, I'd be +1 FE for this in case we need to build anything gdal-ish.

Comment 3 Jakub Jelinek 2018-03-15 17:38:54 UTC
How can it be an issue in F28?  koji latest-pkg f28-build shows right now -0.16.fc28, that predates the addition of pconfigintrin.h and wbnoinvdintrin.h headers; only -0.17.fc28 is affected by this bug, and I believe -0.17.fc28 is exactly in the same state as -0.18.fc28, built, but untagged, because f28 is frozen.

Comment 4 Adam Williamson 2018-03-16 00:36:27 UTC
Someone claimed it was on devel@. I didn't check, I've got a zillion things on ATM, I was just forwarding that. See "GCC 8.0.1 updates in F28".

Comment 5 Dan HorĂ¡k 2018-03-16 12:15:42 UTC
Likely my wrong assumption based on Rawhide experience.

Comment 6 Adam Williamson 2018-03-19 18:02:17 UTC
OK, re-closing then. Sorry!

Comment 7 Sergio Basto 2018-03-21 00:06:33 UTC
Anyway Jakub Jelinek , you need do bodhi update to package be included in F28 ,
I see that you built gcc-8.0.1-0.19.fc28 but is not in bodhi as update !