Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ocl-icd.spec'], chrootPath='/var/lib/mock/centos-stream-9-ppc64le-1672965636.149591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3n3qsygk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3n3qsygk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0e773d24c1524b66836aa27cdd5eb1a5', '-D', '/var/lib/mock/centos-stream-9-ppc64le-1672965636.149591/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3n3qsygk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ocl-icd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/ocl-icd-2.2.13-4.eln_clang_unknown.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/ocl-icd.spec'], chrootPath='/var/lib/mock/centos-stream-9-ppc64le-1672965636.149591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3n3qsygk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3n3qsygk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7a2bc98a70b049d1b588384fa5176a03', '-D', '/var/lib/mock/centos-stream-9-ppc64le-1672965636.149591/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3n3qsygk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/ocl-icd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OF4HGU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocl-icd-2.2.13 + /usr/bin/gzip -dc /builddir/build/SOURCES/ocl-icd-2.2.13.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ocl-icd-2.2.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' -e /usr/lib/rpm/clang/ocl-icd-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TI4z87 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd ocl-icd-2.2.13 + autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:17: installing 'build-aux/ar-lib' configure.ac:17: installing 'build-aux/compile' configure.ac:18: installing 'build-aux/config.guess' configure.ac:18: installing 'build-aux/config.sub' configure.ac:14: installing 'build-aux/install-sh' configure.ac:14: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory `.' + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + '[' -fltox '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-01-06 00:43:33.654714494 +0000 +++ ./configure 2023-01-06 00:43:35.084672263 +0000 @@ -1786,7 +1786,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-01-06 00:43:35.084672263 +0000 +++ ./configure 2023-01-06 00:43:35.114671378 +0000 @@ -6355,7 +6355,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -14350,7 +14350,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now ' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now "~' ./build-aux/ltmain.sh + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for powerpc64le-redhat-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking for powerpc64le-redhat-linux-gnu-ar... ar checking the archiver (ar) interface... ar checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... nm checking the name lister (nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert powerpc64le-redhat-linux-gnu file names to powerpc64le-redhat-linux-gnu format... func_convert_file_noop checking how to convert powerpc64le-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for powerpc64le-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for powerpc64le-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for powerpc64le-redhat-linux-gnu-ar... (cached) ar checking for archiver @FILE support... @ checking for powerpc64le-redhat-linux-gnu-strip... no checking for strip... strip checking for powerpc64le-redhat-linux-gnu-ranlib... ranlib checking command to parse nm output from clang object... ./configure: line 6361: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for powerpc64le-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... clang -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for clang option to accept ISO C89... (cached) none needed checking whether ln -s works... yes checking for asciidoc... no checking for a2x... no checking for xmlto... no configure: documentation generation disabled checking for dlopen in -ldl... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking CL/opencl.h usability... yes checking CL/opencl.h presence... yes checking for CL/opencl.h... yes checking whether OpenCL headers 3.0 are available... no checking for inline... inline checking for size_t... yes checking for an ANSI C-conforming const... yes checking whether C compiler accepts -Wno-deprecated-declarations... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for strstr... yes configure: using internal copy of OpenCL headers configure: using the official default vendors directory (/etc/OpenCL/vendors) checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating tests/Makefile config.status: creating OpenCL.pc config.status: creating ocl-icd.pc config.status: creating tests/atlocal config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing tests/atconfig commands + /usr/bin/make -O -j5 V=1 VERBOSE=1 ruby icd_generator.rb --mode generate --database ./ocl_interface.yaml echo "timestamp" > stamp-generator-dummy ruby icd_generator.rb --mode database --database ./ocl_interface.yaml \ echo "timestamp" > stamp-generator /usr/bin/make all-recursive Making all in . make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -DOCL_ICD_PRINT_EXPECTED -Wno-deprecated-declarations -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o run_dummy_icd_through_our_ICDL-run_dummy_icd.o `test -f 'run_dummy_icd.c' || echo './'`run_dummy_icd.c make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -DOCL_ICD_PRINT_EXPECTED -Wno-deprecated-declarations -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o run_dummy_icd_through_our_ICDL-run_dummy_icd_gen.o `test -f 'run_dummy_icd_gen.c' || echo './'`run_dummy_icd_gen.c make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -DOCL_ICD_PRINT_EXPECTED -Wno-deprecated-declarations -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o run_dummy_icd_through_our_ICDL-run_dummy_icd_weak_gen.o `test -f 'run_dummy_icd_weak_gen.c' || echo './'`run_dummy_icd_weak_gen.c make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libdummy_icd.lo libdummy_icd.c libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c libdummy_icd.c -fPIC -DPIC -o .libs/libdummy_icd.o make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libdummy_icd_gen.lo libdummy_icd_gen.c libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c libdummy_icd_gen.c -fPIC -DPIC -o .libs/libdummy_icd_gen.o make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -DICD_SUFFIX=\"2\" -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libdummycl2_la-libdummy_icd.lo `test -f 'libdummy_icd.c' || echo './'`libdummy_icd.c libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -DICD_SUFFIX=\"2\" -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c libdummy_icd.c -fPIC -DPIC -o .libs/libdummycl2_la-libdummy_icd.o make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -DICD_WITHOUT_EXTENSION -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libdummycl_noext_la-libdummy_icd.lo `test -f 'libdummy_icd.c' || echo './'`libdummy_icd.c libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -DICD_WITHOUT_EXTENSION -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c libdummy_icd.c -fPIC -DPIC -o .libs/libdummycl_noext_la-libdummy_icd.o make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -Wno-deprecated-declarations -DETC_OPENCL_VENDORS=\"/etc/OpenCL/vendors\" -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libOpenCL_la-ocl_icd_loader.lo `test -f 'ocl_icd_loader.c' || echo './'`ocl_icd_loader.c libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -Wno-deprecated-declarations -DETC_OPENCL_VENDORS=\"/etc/OpenCL/vendors\" -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ocl_icd_loader.c -fPIC -DPIC -o .libs/libOpenCL_la-ocl_icd_loader.o make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -DICD_WITHOUT_EXTENSION -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libdummycl_noext_la-libdummy_icd_gen.lo `test -f 'libdummy_icd_gen.c' || echo './'`libdummy_icd_gen.c libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -DICD_WITHOUT_EXTENSION -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c libdummy_icd_gen.c -fPIC -DPIC -o .libs/libdummycl_noext_la-libdummy_icd_gen.o make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -DICD_SUFFIX=\"2\" -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libdummycl2_la-libdummy_icd_gen.lo `test -f 'libdummy_icd_gen.c' || echo './'`libdummy_icd_gen.c libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -DICD_SUFFIX=\"2\" -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c libdummy_icd_gen.c -fPIC -DPIC -o .libs/libdummycl2_la-libdummy_icd_gen.o make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -Wno-deprecated-declarations -DETC_OPENCL_VENDORS=\"/etc/OpenCL/vendors\" -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libOpenCL_la-ocl_icd_loader_gen.lo `test -f 'ocl_icd_loader_gen.c' || echo './'`ocl_icd_loader_gen.c libtool: compile: clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -Wno-deprecated-declarations -DETC_OPENCL_VENDORS=\"/etc/OpenCL/vendors\" -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ocl_icd_loader_gen.c -fPIC -DPIC -o .libs/libOpenCL_la-ocl_icd_loader_gen.o make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=link clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o libdummycl.la -rpath /usr/lib64/ocl-icd libdummy_icd.lo libdummy_icd_gen.lo -ldl libtool: link: clang -shared -fPIC -DPIC .libs/libdummy_icd.o .libs/libdummy_icd_gen.o -ldl -Wl,-z,now -O2 -flto -g -grecord-gcc-switches -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -flto -Wl,-soname -Wl,libdummycl.so.0 -o .libs/libdummycl.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libdummycl.so.0" && ln -s "libdummycl.so.0.0.0" "libdummycl.so.0") libtool: link: (cd ".libs" && rm -f "libdummycl.so" && ln -s "libdummycl.so.0.0.0" "libdummycl.so") libtool: link: ( cd ".libs" && rm -f "libdummycl.la" && ln -s "../libdummycl.la" "libdummycl.la" ) make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=link clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o libdummycl-noext.la -rpath /usr/lib64/ocl-icd libdummycl_noext_la-libdummy_icd.lo libdummycl_noext_la-libdummy_icd_gen.lo -ldl libtool: link: clang -shared -fPIC -DPIC .libs/libdummycl_noext_la-libdummy_icd.o .libs/libdummycl_noext_la-libdummy_icd_gen.o -ldl -Wl,-z,now -O2 -flto -g -grecord-gcc-switches -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -flto -Wl,-soname -Wl,libdummycl-noext.so.0 -o .libs/libdummycl-noext.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libdummycl-noext.so.0" && ln -s "libdummycl-noext.so.0.0.0" "libdummycl-noext.so.0") libtool: link: (cd ".libs" && rm -f "libdummycl-noext.so" && ln -s "libdummycl-noext.so.0.0.0" "libdummycl-noext.so") libtool: link: ( cd ".libs" && rm -f "libdummycl-noext.la" && ln -s "../libdummycl-noext.la" "libdummycl-noext.la" ) make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=link clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o libdummycl2.la -rpath /usr/lib64/ocl-icd libdummycl2_la-libdummy_icd.lo libdummycl2_la-libdummy_icd_gen.lo -ldl libtool: link: clang -shared -fPIC -DPIC .libs/libdummycl2_la-libdummy_icd.o .libs/libdummycl2_la-libdummy_icd_gen.o -ldl -Wl,-z,now -O2 -flto -g -grecord-gcc-switches -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -flto -Wl,-soname -Wl,libdummycl2.so.0 -o .libs/libdummycl2.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libdummycl2.so.0" && ln -s "libdummycl2.so.0.0.0" "libdummycl2.so.0") libtool: link: (cd ".libs" && rm -f "libdummycl2.so" && ln -s "libdummycl2.so.0.0.0" "libdummycl2.so") libtool: link: ( cd ".libs" && rm -f "libdummycl2.la" && ln -s "../libdummycl2.la" "libdummycl2.la" ) make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=link clang -Wno-deprecated-declarations -DETC_OPENCL_VENDORS=\"/etc/OpenCL/vendors\" -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -version-info 1:0:0 -Wl,--version-script,ocl_icd_loader_gen.map -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o libOpenCL.la -rpath /usr/lib64 libOpenCL_la-ocl_icd_loader.lo libOpenCL_la-ocl_icd_loader_gen.lo -ldl libtool: link: clang -shared -fPIC -DPIC .libs/libOpenCL_la-ocl_icd_loader.o .libs/libOpenCL_la-ocl_icd_loader_gen.o -ldl -Wl,-z,now -O2 -flto -g -grecord-gcc-switches -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -Wl,--version-script -Wl,ocl_icd_loader_gen.map -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -flto -Wl,-soname -Wl,libOpenCL.so.1 -o .libs/libOpenCL.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libOpenCL.so.1" && ln -s "libOpenCL.so.1.0.0" "libOpenCL.so.1") libtool: link: (cd ".libs" && rm -f "libOpenCL.so" && ln -s "libOpenCL.so.1.0.0" "libOpenCL.so") libtool: link: ( cd ".libs" && rm -f "libOpenCL.la" && ln -s "../libOpenCL.la" "libOpenCL.la" ) make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /bin/sh ./libtool --tag=CC --mode=link clang -Wno-deprecated-declarations -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o run_dummy_icd_through_our_ICDL run_dummy_icd_through_our_ICDL-run_dummy_icd.o run_dummy_icd_through_our_ICDL-run_dummy_icd_gen.o run_dummy_icd_through_our_ICDL-run_dummy_icd_weak_gen.o libOpenCL.la -ldl libtool: link: clang -Wno-deprecated-declarations -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -flto -o .libs/run_dummy_icd_through_our_ICDL run_dummy_icd_through_our_ICDL-run_dummy_icd.o run_dummy_icd_through_our_ICDL-run_dummy_icd_gen.o run_dummy_icd_through_our_ICDL-run_dummy_icd_weak_gen.o ./.libs/libOpenCL.so -ldl make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' Making all in doc make[2]: Nothing to be done for 'all'. Making all in tests make[2]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9o2zCd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le ++ dirname /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd ocl-icd-2.2.13 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le 'INSTALL=/usr/bin/install -p' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' Making install in . make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[3]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -p libOpenCL.la '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64' libtool: install: /usr/bin/install -p .libs/libOpenCL.so.1.0.0 /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/libOpenCL.so.1.0.0 libtool: install: (cd /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64 && { ln -s -f libOpenCL.so.1.0.0 libOpenCL.so.1 || { rm -f libOpenCL.so.1 && ln -s libOpenCL.so.1.0.0 libOpenCL.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64 && { ln -s -f libOpenCL.so.1.0.0 libOpenCL.so || { rm -f libOpenCL.so && ln -s libOpenCL.so.1.0.0 libOpenCL.so; }; }) libtool: install: /usr/bin/install -p .libs/libOpenCL.lai /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/libOpenCL.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd' /bin/sh ./libtool --mode=install /usr/bin/install -p libdummycl.la libdummycl2.la libdummycl-noext.la '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd' libtool: install: /usr/bin/install -p .libs/libdummycl.so.0.0.0 /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd/libdummycl.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd && { ln -s -f libdummycl.so.0.0.0 libdummycl.so.0 || { rm -f libdummycl.so.0 && ln -s libdummycl.so.0.0.0 libdummycl.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd && { ln -s -f libdummycl.so.0.0.0 libdummycl.so || { rm -f libdummycl.so && ln -s libdummycl.so.0.0.0 libdummycl.so; }; }) libtool: install: /usr/bin/install -p .libs/libdummycl.lai /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd/libdummycl.la libtool: install: /usr/bin/install -p .libs/libdummycl2.so.0.0.0 /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd/libdummycl2.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd && { ln -s -f libdummycl2.so.0.0.0 libdummycl2.so.0 || { rm -f libdummycl2.so.0 && ln -s libdummycl2.so.0.0.0 libdummycl2.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd && { ln -s -f libdummycl2.so.0.0.0 libdummycl2.so || { rm -f libdummycl2.so && ln -s libdummycl2.so.0.0.0 libdummycl2.so; }; }) libtool: install: /usr/bin/install -p .libs/libdummycl2.lai /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd/libdummycl2.la libtool: install: /usr/bin/install -p .libs/libdummycl-noext.so.0.0.0 /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd/libdummycl-noext.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd && { ln -s -f libdummycl-noext.so.0.0.0 libdummycl-noext.so.0 || { rm -f libdummycl-noext.so.0 && ln -s libdummycl-noext.so.0.0.0 libdummycl-noext.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd && { ln -s -f libdummycl-noext.so.0.0.0 libdummycl-noext.so || { rm -f libdummycl-noext.so && ln -s libdummycl-noext.so.0.0.0 libdummycl-noext.so; }; }) libtool: install: /usr/bin/install -p .libs/libdummycl-noext.lai /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd/libdummycl-noext.la libtool: warning: remember to run 'libtool --finish /usr/lib64/ocl-icd' /usr/bin/make install-exec-hook make[4]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' rm -f -r /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/ocl-icd make[4]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/include' /usr/bin/install -p -m 644 ocl_icd.h '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 OpenCL.pc ocl-icd.pc '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/pkgconfig' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd/examples' /usr/bin/install -p -m 644 ocl_icd_bindings.c '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd/examples' make[3]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' Making install in doc make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13/doc' make[3]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13/doc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13/doc' make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13/doc' Making install in tests make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13/tests' make[3]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13/tests' make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13/tests' make[1]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' + rm -vf /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/libOpenCL.la removed '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/libOpenCL.la' + rm -vrf /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc removed '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd/examples/ocl_icd_bindings.c' removed directory '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd/examples' removed directory '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd' removed directory '/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc' + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/libOpenCL.so.1.0.0 error: write on a pipe with no reader error: write on a pipe with no reader [ 2e] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/libOpenCL.so.1.0.0 built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto Checking for LLVM bitcode artifacts + /usr/lib/rpm/find-debuginfo.sh -j5 --strict-build-id -m -i --build-id-seed 2.2.13-4.eln_clang_unknown --unique-debug-suffix -2.2.13-4.eln_clang_unknown.ppc64le --unique-debug-src-base ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/ocl-icd-2.2.13 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/libOpenCL.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/libOpenCL.so.1.0.0 original debug info size: 192kB, size after compression: 192kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 736 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib/debug/usr/lib64/libOpenCL.so.1.0.0-2.2.13-4.eln_clang_unknown.ppc64le.debug error: write on a pipe with no reader [ 2e] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib/debug/usr/lib64/libOpenCL.so.1.0.0-2.2.13-4.eln_clang_unknown.ppc64le.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib64/libOpenCL.so.1.0.0 error: write on a pipe with no reader [ 2e] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/lib/debug/usr/lib64/libOpenCL.so.1.0.0-2.2.13-4.eln_clang_unknown.ppc64le.debug built with clang + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GaKrF3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd ocl-icd-2.2.13 + make check make check-recursive make[1]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' Making check in . make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' make ocl_test ocl_test_icdl vendors/dummycl.icd vendors/dummycl2.icd vendors/dummycl-noext.icd make[3]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13' clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ocl_test.o ocl_test.c /bin/sh ./libtool --tag=CC --mode=link clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o ocl_test ocl_test.o libOpenCL.la -ldl libtool: link: clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -flto -o .libs/ocl_test ocl_test.o ./.libs/libOpenCL.so -ldl clang -DHAVE_CONFIG_H -I. -Wall -I/builddir/build/BUILD/ocl-icd-2.2.13/khronos-headers -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ocl_test_icdl.o ocl_test_icdl.c /bin/sh ./libtool --tag=CC --mode=link clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o ocl_test_icdl ocl_test_icdl.o libOpenCL.la -ldl libtool: link: clang -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -flto -o .libs/ocl_test_icdl ocl_test_icdl.o ./.libs/libOpenCL.so -ldl /usr/bin/mkdir -p vendors echo "/builddir/build/BUILD/ocl-icd-2.2.13/.libs/libdummycl.so" > vendors/dummycl.icd /usr/bin/mkdir -p vendors echo "/builddir/build/BUILD/ocl-icd-2.2.13/.libs/libdummycl2.so" > vendors/dummycl2.icd /usr/bin/mkdir -p vendors echo "/builddir/build/BUILD/ocl-icd-2.2.13/.libs/libdummycl-noext.so" > vendors/dummycl-noext.icd make[3]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' Making check in doc make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13/doc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13/doc' Making check in tests make[2]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13/tests' make check-local make[3]: Entering directory '/builddir/build/BUILD/ocl-icd-2.2.13/tests' :;{ \ echo '# Signature of the current package.' && \ echo 'm4_define([AT_PACKAGE_NAME],' && \ echo ' [OpenCL ICD Loader])' && \ echo 'm4_define([AT_PACKAGE_TARNAME],' && \ echo ' [ocl-icd])' && \ echo 'm4_define([AT_PACKAGE_VERSION],' && \ echo ' [2.2.13])' && \ echo 'm4_define([AT_PACKAGE_STRING],' && \ echo ' [OpenCL ICD Loader 2.2.13])' && \ echo 'm4_define([AT_PACKAGE_BUGREPORT],' && \ echo ' [ocl-icd-devel@lists.forge.imag.fr])'; \ echo 'm4_define([AT_PACKAGE_URL],' && \ echo ' [])'; \ echo 'm4_define([AT_PACKAGE_OPENCL_VERSION],' && \ echo ' [3.0])'; \ } >'./package.m4' /bin/sh ../build-aux/missing --run autom4te --language=autotest -I '.' -o testsuite.tmp testsuite.at mv testsuite.tmp testsuite /bin/sh './testsuite' ## ------------------------------------ ## ## OpenCL ICD Loader 2.2.13 test suite. ## ## ------------------------------------ ## Standard compliant ocl-icd libOpenCL.so 1: invalid OCL_ICD_VENDORS ok 2: OCL_ICD_VENDORS as directory ok 3: OCL_ICD_VENDORS as library file ok 4: OCL_ICD_VENDORS as ICD file (.icd) ok 5: OPENCL_VENDOR_PATH as directory ok 6: invalid OPENCL_VENDOR_PATH (unknown path) ok 7: invalid OPENCL_VENDOR_PATH (.icd) ok 8: invalid OPENCL_VENDOR_PATH (library file) ok 9: OCL_ICD_VENDORS priority over OPENCL_VENDOR_PATH ok 10: Our dummy ICD through our ICD loader ok 11: ICD Loader extension ok Default platform selection 12: No choice, among 0 => CL_INVALID_PLATFORM ok 13: Choice 0, among 0 => CL_INVALID_PLATFORM ok 14: Choice 1, among 0 => CL_INVALID_PLATFORM ok 15: No choice, among 1 => default platform ok 16: Choice 0, among 1 => default platform ok 17: Choice 1, among 1 => CL_INVALID_PLATFORM ok 18: No choice, among 2 => one platform ok 19: Choice 0, among 2 => first platform ok 20: Choice 1, among 2 => second platform ok 21: Choice 2, among 2 => CL_INVALID_PLATFORM ok 22: Sort by GPU ok 23: Sort by GPU (rev) ok 24: Sort by CPU ok 25: Sort by CPU (rev) ok 26: Sort by devices ok 27: Sort by devices (rev) ok ocl-icd with workaround for intel bug 28: OCL_ICD_VENDORS as directory, two ICD ok 29: OCL_ICD_VENDORS as file, buggy ICD with workaround ok 30: OCL_ICD_VENDORS as file, buggy ICD without workaround ok ## ------------- ## ## Test results. ## ## ------------- ## All 30 tests were successful. make[3]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13/tests' make[2]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13/tests' make[1]: Leaving directory '/builddir/build/BUILD/ocl-icd-2.2.13' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.b6JDi6 + umask 022 + cd /builddir/build/BUILD + cd ocl-icd-2.2.13 + DOCDIR=/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd + cp -pr NEWS /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd + cp -pr README /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NI05vF + umask 022 + cd /builddir/build/BUILD + cd ocl-icd-2.2.13 + LICENSEDIR=/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/licenses/ocl-icd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/licenses/ocl-icd + cp -pr COPYING /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/licenses/ocl-icd + RPM_EC=0 ++ jobs -p + exit 0 Provides: libOpenCL.so.1()(64bit) libOpenCL.so.1(OPENCL_1.0)(64bit) libOpenCL.so.1(OPENCL_1.1)(64bit) libOpenCL.so.1(OPENCL_1.2)(64bit) libOpenCL.so.1(OPENCL_2.0)(64bit) libOpenCL.so.1(OPENCL_2.1)(64bit) libOpenCL.so.1(OPENCL_2.2)(64bit) libOpenCL.so.1(OPENCL_3.0)(64bit) ocl-icd = 2.2.13-4.eln_clang_unknown ocl-icd(ppc-64) = 2.2.13-4.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld64.so.2()(64bit) ld64.so.2(GLIBC_2.22)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) Processing files: ocl-icd-devel-2.2.13-4.eln_clang_unknown.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EtY8CE + umask 022 + cd /builddir/build/BUILD + cd ocl-icd-2.2.13 + DOCDIR=/builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd-devel + cp -pr ocl_icd_loader_gen.map /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd-devel + cp -pr ocl_icd_bindings.c /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le/usr/share/doc/ocl-icd-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocl-icd-devel = 2.2.13-4.eln_clang_unknown ocl-icd-devel(ppc-64) = 2.2.13-4.eln_clang_unknown pkgconfig(OpenCL) = 3.0 pkgconfig(ocl-icd) = 2.2.13 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libOpenCL.so.1()(64bit) Processing files: ocl-icd-debugsource-2.2.13-4.eln_clang_unknown.ppc64le Provides: ocl-icd-debugsource = 2.2.13-4.eln_clang_unknown ocl-icd-debugsource(ppc-64) = 2.2.13-4.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocl-icd-debuginfo-2.2.13-4.eln_clang_unknown.ppc64le Provides: debuginfo(build-id) = 3f353d4df20d248fe53b7125d1a58c777f1fe4e9 ocl-icd-debuginfo = 2.2.13-4.eln_clang_unknown ocl-icd-debuginfo(ppc-64) = 2.2.13-4.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ocl-icd-debugsource(ppc-64) = 2.2.13-4.eln_clang_unknown Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le Wrote: /builddir/build/RPMS/ocl-icd-devel-2.2.13-4.eln_clang_unknown.ppc64le.rpm Wrote: /builddir/build/RPMS/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le.rpm Wrote: /builddir/build/RPMS/ocl-icd-debuginfo-2.2.13-4.eln_clang_unknown.ppc64le.rpm Wrote: /builddir/build/RPMS/ocl-icd-debugsource-2.2.13-4.eln_clang_unknown.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4rjYXL + umask 022 + cd /builddir/build/BUILD + cd ocl-icd-2.2.13 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocl-icd-2.2.13-4.eln_clang_unknown.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0