Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/hsakmt.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672268684.899381/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.r_tkzwsd:/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.r_tkzwsd:/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', '4022ec222aab405ab77e380b42c36d19', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672268684.899381/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r_tkzwsd:/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/hsakmt.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=1671321600 Wrote: /builddir/build/SRPMS/hsakmt-1.0.6-27.rocm5.4.1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/hsakmt.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672268684.899381/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.r_tkzwsd:/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.r_tkzwsd:/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', '924f0ff19ab7439b93ccf1d4ca038f78', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672268684.899381/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r_tkzwsd:/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/hsakmt.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=1671321600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IGENjg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ROCT-Thunk-Interface-rocm-5.4.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hsakmt-rocm-5.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ROCT-Thunk-Interface-rocm-5.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SqHNF8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ROCT-Thunk-Interface-rocm-5.4.1 + mkdir build + cd build + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -- The C compiler identification is GNU 13.0.0 -- The CXX compiler identification is GNU 13.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Detected distribution: fedora:38 -- LIBC:/usr/lib64/libc.so.6 -- NUMA:/usr/lib64/libnuma.so -- Checking for module 'libdrm' -- Found libdrm, version 2.4.114 -- Checking for module 'libdrm_amdgpu' -- Found libdrm_amdgpu, version 2.4.114 -- LIBGCC:/usr/lib64/libgcc_s.so.1 RESULT_VARIABLE 0 OUTPUT_VARIABLE: .fc38 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build + /usr/bin/cmake --build . -j5 --verbose /usr/bin/cmake -S/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1 -B/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build/CMakeFiles /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build' /usr/bin/gmake -f CMakeFiles/hsakmt.dir/build.make CMakeFiles/hsakmt.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build' cd /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1 /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1 /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build/CMakeFiles/hsakmt.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build' /usr/bin/gmake -f CMakeFiles/hsakmt.dir/build.make CMakeFiles/hsakmt.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build' [ 5%] Building C object CMakeFiles/hsakmt.dir/src/debug.c.o [ 17%] Building C object CMakeFiles/hsakmt.dir/src/fmm.c.o [ 17%] Building C object CMakeFiles/hsakmt.dir/src/libhsakmt.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/fmm.c.o -MF CMakeFiles/hsakmt.dir/src/fmm.c.o.d -o CMakeFiles/hsakmt.dir/src/fmm.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/fmm.c /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/libhsakmt.c.o -MF CMakeFiles/hsakmt.dir/src/libhsakmt.c.o.d -o CMakeFiles/hsakmt.dir/src/libhsakmt.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/libhsakmt.c [ 23%] Building C object CMakeFiles/hsakmt.dir/src/globals.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/globals.c.o -MF CMakeFiles/hsakmt.dir/src/globals.c.o.d -o CMakeFiles/hsakmt.dir/src/globals.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/globals.c /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/debug.c.o -MF CMakeFiles/hsakmt.dir/src/debug.c.o.d -o CMakeFiles/hsakmt.dir/src/debug.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/debug.c [ 29%] Building C object CMakeFiles/hsakmt.dir/src/events.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/events.c.o -MF CMakeFiles/hsakmt.dir/src/events.c.o.d -o CMakeFiles/hsakmt.dir/src/events.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/events.c [ 35%] Building C object CMakeFiles/hsakmt.dir/src/memory.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/memory.c.o -MF CMakeFiles/hsakmt.dir/src/memory.c.o.d -o CMakeFiles/hsakmt.dir/src/memory.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/memory.c [ 41%] Building C object CMakeFiles/hsakmt.dir/src/openclose.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/openclose.c.o -MF CMakeFiles/hsakmt.dir/src/openclose.c.o.d -o CMakeFiles/hsakmt.dir/src/openclose.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/openclose.c [ 47%] Building C object CMakeFiles/hsakmt.dir/src/perfctr.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/perfctr.c.o -MF CMakeFiles/hsakmt.dir/src/perfctr.c.o.d -o CMakeFiles/hsakmt.dir/src/perfctr.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/perfctr.c [ 52%] Building C object CMakeFiles/hsakmt.dir/src/pmc_table.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/pmc_table.c.o -MF CMakeFiles/hsakmt.dir/src/pmc_table.c.o.d -o CMakeFiles/hsakmt.dir/src/pmc_table.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/pmc_table.c [ 58%] Building C object CMakeFiles/hsakmt.dir/src/queues.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/queues.c.o -MF CMakeFiles/hsakmt.dir/src/queues.c.o.d -o CMakeFiles/hsakmt.dir/src/queues.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/queues.c [ 64%] Building C object CMakeFiles/hsakmt.dir/src/time.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/time.c.o -MF CMakeFiles/hsakmt.dir/src/time.c.o.d -o CMakeFiles/hsakmt.dir/src/time.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/time.c [ 70%] Building C object CMakeFiles/hsakmt.dir/src/topology.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/topology.c.o -MF CMakeFiles/hsakmt.dir/src/topology.c.o.d -o CMakeFiles/hsakmt.dir/src/topology.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/topology.c [ 76%] Building C object CMakeFiles/hsakmt.dir/src/rbtree.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/rbtree.c.o -MF CMakeFiles/hsakmt.dir/src/rbtree.c.o.d -o CMakeFiles/hsakmt.dir/src/rbtree.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/rbtree.c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/topology.c: In function 'topology_parse_cpuinfo': /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/topology.c:887:16: warning: unused variable 'p_len' [-Wunused-variable] 887 | size_t p_len; | ^~~~~ [ 82%] Building C object CMakeFiles/hsakmt.dir/src/spm.c.o [ 88%] Building C object CMakeFiles/hsakmt.dir/src/version.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/spm.c.o -MF CMakeFiles/hsakmt.dir/src/spm.c.o.d -o CMakeFiles/hsakmt.dir/src/spm.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/spm.c /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/version.c.o -MF CMakeFiles/hsakmt.dir/src/version.c.o.d -o CMakeFiles/hsakmt.dir/src/version.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/version.c [ 94%] Building C object CMakeFiles/hsakmt.dir/src/svm.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src -I/usr/include/libdrm -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 -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/svm.c.o -MF CMakeFiles/hsakmt.dir/src/svm.c.o.d -o CMakeFiles/hsakmt.dir/src/svm.c.o -c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/svm.c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/topology.c: In function 'topology_take_snapshot': /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/topology.c:940:33: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 940 | strncpy(cpuinfo[proc].model_name, p, strlen(p) - 1); | ^ In function 'topology_parse_cpuinfo', inlined from 'topology_take_snapshot' at /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/topology.c:1923:2: /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/topology.c:938:29: note: length computed here 938 | if (strlen(p) < HSA_PUBLIC_NAME_SIZE) { | ^~~~~~~~~ [100%] Linking C shared library libhsakmt.so /usr/bin/cmake -E cmake_link_script CMakeFiles/hsakmt.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -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 -O2 -g -DNDEBUG -Wl,--enable-new-dtags -Wl,--version-script=/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/src/libhsakmt.ver -Wl,-soname=libhsakmt.so.1 -Wl,-z,nodelete -Wl,-no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libhsakmt.so.1 -o libhsakmt.so.1.0.6 CMakeFiles/hsakmt.dir/src/debug.c.o CMakeFiles/hsakmt.dir/src/events.c.o CMakeFiles/hsakmt.dir/src/fmm.c.o CMakeFiles/hsakmt.dir/src/globals.c.o CMakeFiles/hsakmt.dir/src/libhsakmt.c.o CMakeFiles/hsakmt.dir/src/memory.c.o CMakeFiles/hsakmt.dir/src/openclose.c.o CMakeFiles/hsakmt.dir/src/perfctr.c.o CMakeFiles/hsakmt.dir/src/pmc_table.c.o CMakeFiles/hsakmt.dir/src/queues.c.o CMakeFiles/hsakmt.dir/src/time.c.o CMakeFiles/hsakmt.dir/src/topology.c.o CMakeFiles/hsakmt.dir/src/rbtree.c.o CMakeFiles/hsakmt.dir/src/spm.c.o CMakeFiles/hsakmt.dir/src/version.c.o CMakeFiles/hsakmt.dir/src/svm.c.o -L/usr/lib64 -ldrm -L/usr/lib64 -ldrm_amdgpu -lpthread -lrt /usr/lib64/libc.so.6 -lnuma /usr/lib64/libgcc_s.so.1 /usr/bin/cmake -E cmake_symlink_library libhsakmt.so.1.0.6 libhsakmt.so.1 libhsakmt.so gmake[2]: Leaving directory '/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build' [100%] Built target hsakmt gmake[1]: Leaving directory '/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1/build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MD6lye + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ROCT-Thunk-Interface-rocm-5.4.1 + cd build + DESTDIR=/builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le + /usr/bin/cmake --install . -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/lib64/libhsakmt.so.1.0.6 -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/lib64/libhsakmt.so.1 -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/lib64/libhsakmt.so -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/include/hsakmt -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/include/hsakmt/hsakmttypes.h -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/include/hsakmt/hsakmt.h -- Up-to-date: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/./include -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/./include/hsakmttypes.h -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/./include/hsakmt.h -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/lib64/cmake/hsakmt/hsakmtTargets.cmake -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/lib64/cmake/hsakmt/hsakmtTargets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/lib64/cmake/hsakmt/hsakmt-config.cmake -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/lib64/cmake/hsakmt/hsakmt-config-version.cmake -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/share/pkgconfig/libhsakmt.pc -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/share/doc/hsakmt/LICENSE.md + rm /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/share/doc/hsakmt/LICENSE.md + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 1.0.6-27.rocm5.4.1.fc38 --unique-debug-suffix -1.0.6-27.rocm5.4.1.fc38.ppc64le --unique-debug-src-base hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.4.1 extracting debug info from /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/lib64/libhsakmt.so.1.0.6 original debug info size: 576kB, size after compression: 512kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1061 blocks + /usr/lib/rpm/check-buildroot + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WaQc19 + umask 022 + cd /builddir/build/BUILD + cd ROCT-Thunk-Interface-rocm-5.4.1 + DOCDIR=/builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/share/doc/hsakmt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/share/doc/hsakmt + cp -pr README.md /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/share/doc/hsakmt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2L0tnE + umask 022 + cd /builddir/build/BUILD + cd ROCT-Thunk-Interface-rocm-5.4.1 + LICENSEDIR=/builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/share/licenses/hsakmt + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/share/licenses/hsakmt + cp -pr LICENSE.md /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le/usr/share/licenses/hsakmt + RPM_EC=0 ++ jobs -p + exit 0 Provides: hsakmt = 1.0.6-27.rocm5.4.1.fc38 hsakmt(ppc-64) = 1.0.6-27.rocm5.4.1.fc38 libhsakmt.so.1()(64bit) libhsakmt.so.1(HSAKMT_1)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libdrm.so.2()(64bit) libdrm_amdgpu.so.1()(64bit) libnuma.so.1()(64bit) libnuma.so.1(libnuma_1.1)(64bit) libnuma.so.1(libnuma_1.2)(64bit) rtld(GNU_HASH) Processing files: hsakmt-devel-1.0.6-27.rocm5.4.1.fc38.ppc64le Provides: cmake(hsakmt) = 1.0.0 hsakmt(rocm) = 5.4 hsakmt-devel = 1.0.6-27.rocm5.4.1.fc38 hsakmt-devel(ppc-64) = 1.0.6-27.rocm5.4.1.fc38 pkgconfig(libhsakmt) = 1.0.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config cmake-filesystem(ppc-64) libhsakmt.so.1()(64bit) Processing files: hsakmt-debugsource-1.0.6-27.rocm5.4.1.fc38.ppc64le Provides: hsakmt-debugsource = 1.0.6-27.rocm5.4.1.fc38 hsakmt-debugsource(ppc-64) = 1.0.6-27.rocm5.4.1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hsakmt-debuginfo-1.0.6-27.rocm5.4.1.fc38.ppc64le Provides: debuginfo(build-id) = 54d33eddf305a4d8c0e41b11a4aa5e99481bc480 hsakmt-debuginfo = 1.0.6-27.rocm5.4.1.fc38 hsakmt-debuginfo(ppc-64) = 1.0.6-27.rocm5.4.1.fc38 libhsakmt.so.1.0.6-1.0.6-27.rocm5.4.1.fc38.ppc64le.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hsakmt-debugsource(ppc-64) = 1.0.6-27.rocm5.4.1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le Wrote: /builddir/build/RPMS/hsakmt-devel-1.0.6-27.rocm5.4.1.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/hsakmt-debuginfo-1.0.6-27.rocm5.4.1.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/hsakmt-debugsource-1.0.6-27.rocm5.4.1.fc38.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VBx2Si + umask 022 + cd /builddir/build/BUILD + cd ROCT-Thunk-Interface-rocm-5.4.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hsakmt-1.0.6-27.rocm5.4.1.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.W92ofh + umask 022 + cd /builddir/build/BUILD + rm -rf ROCT-Thunk-Interface-rocm-5.4.1 ROCT-Thunk-Interface-rocm-5.4.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0