While trying to build ghc (ghc9.4 and ghc9.6) today in rawhide buildroot, I hit: | Run Ghc CompileCWithGhc (Stage0 InTreeLibs): libraries/bytestring/cbits/itoa.c => _build/stage0/libraries/bytestring/build/c/cbits/itoa.o Command line: /usr/bin/ghc-9.2 -Wall -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db '-package-env -' '-package-db _build/stage0/inplace/package.conf.d' '-this-unit-id bytestring-0.11.4.0' '-package-id base-4.16.4.0' '-package-id deepseq-1.4.6.1' '-package-id ghc-prim-0.8.0' '-package-id template-haskell-2.20.0.0' -i -i/builddir/build/BUILD/ghc-9.6.1/_build/stage0/libraries/bytestring/build -i/builddir/build/BUILD/ghc-9.6.1/_build/stage0/libraries/bytestring/build/autogen -i/builddir/build/BUILD/ghc-9.6.1/libraries/bytestring -I_build/stage0/libraries/bytestring/build -I_build/stage0/libraries/bytestring/build/include -Ilibraries/bytestring/include -I/usr/lib64/ghc-9.2.7/lib/x86_64-linux-ghc-9.2.7/base-4.16.4.0/include -I/usr/lib64/ghc-9.2.7/lib/x86_64-linux-ghc-9.2.7/ghc-bignum-1.2/include -I/usr/lib64/ghc-9.2.7/lib/x86_64-linux-ghc-9.2.7/rts-1.0.2/include -optP-include -optP_build/stage0/libraries/bytestring/build/autogen/cabal_macros.h -outputdir _build/stage0/libraries/bytestring/build -optc-std=c11 -optc-DNDEBUG=1 -optc-I_build/stage0/libraries/bytestring/build -optc-I_build/stage0/libraries/bytestring/build/include -optc-Ilibraries/bytestring/include -optc-I/usr/lib64/ghc-9.2.7/lib/x86_64-linux-ghc-9.2.7/base-4.16.4.0/include -optc-I/usr/lib64/ghc-9.2.7/lib/x86_64-linux-ghc-9.2.7/ghc-bignum-1.2/include -optc-I/usr/lib64/ghc-9.2.7/lib/x86_64-linux-ghc-9.2.7/rts-1.0.2/include -optc-Wno-error=inline -optP-Wno-nonportable-include-path -c libraries/bytestring/cbits/is-valid-utf8.c -o _build/stage0/libraries/bytestring/build/c/cbits/is-valid-utf8.o -O0 -H64m -Wall -fwarn-tabs -Wincomplete-uni-patterns -O2 -fmax-simplifier-iterations=10 -fdicts-cheap -fspec-constr-count=6 -XHaskell2010 -fno-warn-deprecated-flags ===> Command failed with error code: 1 In file included from libraries/bytestring/cbits/is-valid-utf8.c:39:0: error: /usr/lib/gcc/x86_64-redhat-linux/13/include/immintrin.h:135:10: error: fatal error: amxcomplexintrin.h: No such file or directory 135 | #include <amxcomplexintrin.h> | ^~~~~~~~~~~~~~~~~~~~ | 135 | #include <amxcomplexintrin.h> | ^ compilation terminated. `gcc' failed in phase `C Compiler'. (Exit code: 1) Command failed Build failed. error: Bad exit status from /var/tmp/rpm-tmp.XW0EtS (%build) Reproducible: Always
I was able to do a scratch yesterday so this looks related to the latest builds: glibc-2.37.9000-6.fc39 gcc-13.0.1-0.15.fc39 gcc-13.0.1-0.14.fc39
Successful scratch build yesterday: https://koji.fedoraproject.org/koji/taskinfo?taskID=100177777 Failing build today: https://koji.fedoraproject.org/koji/taskinfo?taskID=100208161
https://koji.fedoraproject.org/koji/taskinfo?taskID=100212541 fix is building, but it will take 12-36 hours to finish.
*** Bug 2188699 has been marked as a duplicate of this bug. ***
I tested the x86_64 rpms locally and it looks good now, thanks (The build hasn't finished yet: s390x is still going)
*** Bug 2188788 has been marked as a duplicate of this bug. ***
Should be fixed in rawhide now.
Yes it just actually appeared in the buildroot moments ago
*** Bug 2188921 has been marked as a duplicate of this bug. ***
Can we please have this done on F38 as well please, it was also affected.
No, it wasn't. amxcomplexintrin.h has been added upstream on April 10th, but $ koji latest-pkg f38-updates gcc Build Tag Built by ---------------------------------------- -------------------- ---------------- gcc-13.0.1-0.12.fc38 f38 jakub $ koji latest-pkg f38-updates-candidate gcc Build Tag Built by ---------------------------------------- -------------------- ---------------- gcc-13.0.1-0.13.fc38 f38-updates-candidate jakub where 0.12 is an April 1st and 0.13 April 4th snapshot. gcc-13.0.1-0.14 has been built only for f39/eln and has not been tagged anywhere (intentionally), -0.15 and -0.16 have been built only for f39/eln and tagged there. f38 will only get gcc-13.1.1-1.fc38 hopefully tomorrow after official GCC 13.1 release.
Ah my apologies I misread my build, it is in Rawhide, not F38. Thank you for the fix!