On Sat, Jan 15, 2022 at 01:06:48PM +0100, Vitaly Zaitsev via devel wrote:
On 14/01/2022 15:31, Jakub Jelinek wrote:
> gcc 12 snapshot has landed as the system compiler into rawhide today.
On ppc64le:
gcc -c -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8
-mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG
-pipe -Iinclude/ -IOpenCL/ -Ideps/LZMA-SDK/C -I/usr/include
-I/usr/include/contrib -I/usr/include -DWITH_BRAIN -I/usr/include
-DWITH_CUBIN -DWITH_HWMON src/affinity.c -o obj/affinity.NATIVE.o -fpic
In file included from /usr/include/CL/cl_platform.h:379,
from /usr/include/CL/cl.h:21,
from include/ext_OpenCL.h:17,
from include/types.h:1095,
from src/affinity.c:7:
/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.
make: *** [src/Makefile:565: obj/affinity.NATIVE.o] Error 1
That is #2040825 and gcc-12.0.0-0.5.fc36 that should fix it is building in
koji for 12 hours already.
Jakub