Mock Version: 4.1 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-1688132664.515806/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.ri0bzqc4:/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.ri0bzqc4:/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', '6634c05a4b7b4b2383556b8a22a62c7b', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1688132664.515806/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ri0bzqc4:/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=1687996800 Wrote: /builddir/build/SRPMS/hsakmt-1.0.6-30.rocm5.6.0.fc39.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-1688132664.515806/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.ri0bzqc4:/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.ri0bzqc4:/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', 'c0d8d4d424dc4969857fb0e8382ea223', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1688132664.515806/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ri0bzqc4:/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=1687996800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eXsj7R + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ROCT-Thunk-Interface-rocm-5.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hsakmt-rocm-5.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ROCT-Thunk-Interface-rocm-5.6.0 + /usr/bin/mkdir -p SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Don-t-install-asan-license-if-disabled.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8EJDoF + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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.6.0 + mkdir build + cd build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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.1.1 -- The CXX compiler identification is GNU 13.1.1 -- 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.9.4") -- Detected distribution: fedora:39 -- LIBC:/usr/lib64/libc.so -- 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 RESULT_VARIABLE 0 OUTPUT_VARIABLE: .fc39 -- Configuring done (1.6s) -- Generating done (0.0s) 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.6.0/build + /usr/bin/cmake --build . -j5 --verbose Change Dir: '/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j5 /usr/bin/cmake -S/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0 -B/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/build/CMakeFiles /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/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.6.0/build' cd /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0 /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0 /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/build /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/build /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/build/CMakeFiles/hsakmt.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/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.6.0/build' [ 11%] Building C object CMakeFiles/hsakmt.dir/src/debug.c.o [ 11%] Building C object CMakeFiles/hsakmt.dir/src/globals.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/src/debug.c /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/src/globals.c [ 17%] Building C object CMakeFiles/hsakmt.dir/src/events.c.o [ 23%] Building C object CMakeFiles/hsakmt.dir/src/fmm.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/src/events.c /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/src/fmm.c [ 29%] Building C object CMakeFiles/hsakmt.dir/src/libhsakmt.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/src/libhsakmt.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.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/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.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/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.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/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.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/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.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/src/queues.c [ 70%] Building C object CMakeFiles/hsakmt.dir/src/topology.c.o [ 70%] Building C object CMakeFiles/hsakmt.dir/src/time.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/src/time.c /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/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.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/src/rbtree.c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src/topology.c: In function 'topology_parse_cpuinfo': /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src/topology.c:889:16: warning: unused variable 'p_len' [-Wunused-variable] 889 | size_t p_len; | ^~~~~ [ 82%] Building C object CMakeFiles/hsakmt.dir/src/spm.c.o /usr/bin/gcc -Dhsakmt_EXPORTS -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/src/spm.c [ 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.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/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.6.0/include -I/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src -I/usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/src/svm.c /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src/topology.c: In function 'topology_take_snapshot': /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src/topology.c:942:33: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 942 | 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.6.0/src/topology.c:1937:2: /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/src/topology.c:940:29: note: length computed here 940 | 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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.6.0/src/libhsakmt.ver -Wl,-soname=libhsakmt.so.1 -Wl,-z,nodelete -Wl,-no-undefined -Wl,--dependency-file,CMakeFiles/hsakmt.dir/link.d -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 -lc -lnuma /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.6.0/build' [100%] Built target hsakmt gmake[1]: Leaving directory '/builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TFbPqc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le ++ dirname /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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.6.0 + cd build + DESTDIR=/builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le + /usr/bin/cmake --install . -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/lib64/libhsakmt.so.1.0.6 -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/lib64/libhsakmt.so.1 -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/lib64/libhsakmt.so -- Up-to-date: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/lib64/libhsakmt.so.1.0.6 -- Up-to-date: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/lib64/libhsakmt.so.1 -- Up-to-date: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/lib64/libhsakmt.so -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/include/hsakmt -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/include/hsakmt/hsakmttypes.h -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/include/hsakmt/hsakmt.h -- Up-to-date: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/./include -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/./include/hsakmttypes.h -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/./include/hsakmt.h -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/lib64/cmake/hsakmt/hsakmtTargets.cmake -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/lib64/cmake/hsakmt/hsakmtTargets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/lib64/cmake/hsakmt/hsakmt-config.cmake -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/lib64/cmake/hsakmt/hsakmt-config-version.cmake -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/share/pkgconfig/libhsakmt.pc -- Installing: /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/share/doc/hsakmt/LICENSE.md + rm /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/share/doc/hsakmt/LICENSE.md + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 1.0.6-30.rocm5.6.0.fc39 --unique-debug-suffix -1.0.6-30.rocm5.6.0.fc39.ppc64le --unique-debug-src-base hsakmt-1.0.6-30.rocm5.6.0.fc39.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.6.0 extracting debug info from /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/lib64/libhsakmt.so.1.0.6 /usr/bin/gdb.minimal original debug info size: 640kB, size after compression: 576kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1078 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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j5 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SVcjgv + umask 022 + cd /builddir/build/BUILD + cd ROCT-Thunk-Interface-rocm-5.6.0 + DOCDIR=/builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.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-30.rocm5.6.0.fc39.ppc64le/usr/share/doc/hsakmt + cp -pr /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/README.md /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/share/doc/hsakmt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.om5EBP + umask 022 + cd /builddir/build/BUILD + cd ROCT-Thunk-Interface-rocm-5.6.0 + LICENSEDIR=/builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.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-30.rocm5.6.0.fc39.ppc64le/usr/share/licenses/hsakmt + cp -pr /builddir/build/BUILD/ROCT-Thunk-Interface-rocm-5.6.0/LICENSE.md /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le/usr/share/licenses/hsakmt + RPM_EC=0 ++ jobs -p + exit 0 Provides: hsakmt = 1.0.6-30.rocm5.6.0.fc39 hsakmt(ppc-64) = 1.0.6-30.rocm5.6.0.fc39 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-30.rocm5.6.0.fc39.ppc64le Provides: cmake(hsakmt) = 1.0.0 hsakmt(rocm) = 5.6 hsakmt-devel = 1.0.6-30.rocm5.6.0.fc39 hsakmt-devel(ppc-64) = 1.0.6-30.rocm5.6.0.fc39 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-30.rocm5.6.0.fc39.ppc64le Provides: hsakmt-debugsource = 1.0.6-30.rocm5.6.0.fc39 hsakmt-debugsource(ppc-64) = 1.0.6-30.rocm5.6.0.fc39 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-30.rocm5.6.0.fc39.ppc64le Provides: debuginfo(build-id) = 6ad046c158a13b965f6b1033ca4218cda34bcda1 hsakmt-debuginfo = 1.0.6-30.rocm5.6.0.fc39 hsakmt-debuginfo(ppc-64) = 1.0.6-30.rocm5.6.0.fc39 libhsakmt.so.1.0.6-1.0.6-30.rocm5.6.0.fc39.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-30.rocm5.6.0.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le Wrote: /builddir/build/RPMS/hsakmt-debuginfo-1.0.6-30.rocm5.6.0.fc39.ppc64le.rpm Wrote: /builddir/build/RPMS/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le.rpm Wrote: /builddir/build/RPMS/hsakmt-devel-1.0.6-30.rocm5.6.0.fc39.ppc64le.rpm Wrote: /builddir/build/RPMS/hsakmt-debugsource-1.0.6-30.rocm5.6.0.fc39.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MIHune + umask 022 + cd /builddir/build/BUILD + cd ROCT-Thunk-Interface-rocm-5.6.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hsakmt-1.0.6-30.rocm5.6.0.fc39.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ctADCP + umask 022 + cd /builddir/build/BUILD + rm -rf ROCT-Thunk-Interface-rocm-5.6.0 ROCT-Thunk-Interface-rocm-5.6.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0