Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rocm-runtime.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672339082.566120/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.vhx2s172:/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.vhx2s172:/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', '9c94539b10ff4e6a8d048ff0e622c7d1', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672339082.566120/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vhx2s172:/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/rocm-runtime.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/rocm-runtime-5.4.1-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/rocm-runtime.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1672339082.566120/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.vhx2s172:/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.vhx2s172:/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', '5332e90865a84bda9a2360eba35961e4', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1672339082.566120/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vhx2s172:/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/rocm-runtime.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.UeWVbJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ROCR-Runtime-rocm-5.4.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rocm-runtime-5.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ROCR-Runtime-rocm-5.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-fix-link-time-ordering-condition.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|\({CLANG_ARG_LIST}\)|\1 --hip-device-lib-path=/usr/lib64/amdgcn/bitcode|' src/image/blit_src/CMakeLists.txt src/core/runtime/trap_handler/CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uvuC1Y + 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 ROCR-Runtime-rocm-5.4.1 + 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 -S . -B redhat-linux-build -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 -S src -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_LIBDIR=lib64 -DINCLUDE_PATH_COMPATIBILITY=OFF -DIMAGE_SUPPORT=OFF CMake Warning: Ignoring extra path from command line: "/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1" -- 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") -- Found LibElf: /usr/lib64/libelf.so -- Performing Test ELF_GETSHDRSTRNDX -- Performing Test ELF_GETSHDRSTRNDX - Success -- Checking for module 'libdrm' -- Found libdrm, version 2.4.114 -- Looking for __NR_memfd_create -- Looking for __NR_memfd_create - found -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib64/libffi.so -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib64/libtinfo.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") Using clang from: /usr/bin/clang-15 Using llvm-objcopy from: /usr/bin/llvm-objcopy Trap handlers assembled for: gfx900;gfx1010;gfx1030;gfx1100 Generating: gfx900 ... Trap Handler Source: /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_9 Generating: gfx1010 ... Trap Handler Source: /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_1010 Generating: gfx1030 ... Trap Handler Source: /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_10 Generating: gfx1100 ... Trap Handler Source: /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_11 Using CPACK_DEBIAN_PACKAGE_RELEASE local RESULT_VARIABLE 0 OUTPUT_VARIABLE: .fc38 CPACK_RPM_PACKAGE_RELEASE: local%{?dist} -- 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/ROCR-Runtime-rocm-5.4.1/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j5 --verbose /usr/bin/cmake -S/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -B/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/CMakeFiles /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build' /usr/bin/gmake -f core/runtime/trap_handler/CMakeFiles/amd_trap_handler_v2.dir/build.make core/runtime/trap_handler/CMakeFiles/amd_trap_handler_v2.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build' cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/trap_handler /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler/CMakeFiles/amd_trap_handler_v2.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build' /usr/bin/gmake -f core/runtime/trap_handler/CMakeFiles/amd_trap_handler_v2.dir/build.make core/runtime/trap_handler/CMakeFiles/amd_trap_handler_v2.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build' [ 4%] BUILDING bitcode for kCodeTrapHandlerV2_1010... [ 4%] BUILDING bitcode for kCodeTrapHandlerV2_9... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler && /usr/bin/clang-15 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx900 -o kCodeTrapHandlerV2_9.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/trap_handler/trap_handler.s --hip-device-lib-path=/usr/lib64/amdgcn/bitcode cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler && /usr/bin/clang-15 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1010 -o kCodeTrapHandlerV2_1010.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/trap_handler/trap_handler.s --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 6%] BUILDING bitcode for kCodeTrapHandlerV2_11... [ 8%] BUILDING bitcode for kCodeTrapHandlerV2_10... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler && /usr/bin/clang-15 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1030 -o kCodeTrapHandlerV2_10.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/trap_handler/trap_handler.s --hip-device-lib-path=/usr/lib64/amdgcn/bitcode cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler && /usr/bin/clang-15 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1100 -o kCodeTrapHandlerV2_11.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/trap_handler/trap_handler.s --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 12%] Extracting binary for kCodeTrapHandlerV2_1010... [ 12%] Extracting binary for kCodeTrapHandlerV2_9... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_9 kCodeTrapHandlerV2_9.hsaco [ 14%] Extracting binary for kCodeTrapHandlerV2_10... [ 16%] Extracting binary for kCodeTrapHandlerV2_11... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_1010 kCodeTrapHandlerV2_1010.hsaco cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_11 kCodeTrapHandlerV2_11.hsaco cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_10 kCodeTrapHandlerV2_10.hsaco [ 18%] Collating trap handlers... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler && /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/trap_handler/create_trap_handler_header.sh /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler/amd_trap_handler_v2.h kCodeTrapHandlerV2_9 kCodeTrapHandlerV2_1010 kCodeTrapHandlerV2_10 kCodeTrapHandlerV2_11 gmake[2]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build' [ 18%] Built target amd_trap_handler_v2 /usr/bin/gmake -f CMakeFiles/hsa-runtime64.dir/build.make CMakeFiles/hsa-runtime64.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build' cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/CMakeFiles/hsa-runtime64.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/hsa-runtime64.dir/build.make CMakeFiles/hsa-runtime64.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build' [ 20%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o [ 22%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_blit_kernel.cpp [ 25%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o [ 27%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/timer.cpp [ 29%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/small_heap.cpp /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/flag.cpp /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp [ 31%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_blit_sdma.cpp [ 33%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_cpu_agent.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp: In constructor 'rocr::os::os_thread::os_thread(rocr::os::ThreadEntry, void*, rocr::uint)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp:99:11: warning: unused variable 'err' [-Wunused-variable] 99 | int err = pthread_attr_setstacksize(&attrib, stackSize); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp:110:11: warning: unused variable 'err' [-Wunused-variable] 110 | int err = pthread_attr_setaffinity_np(&attrib, CPU_ALLOC_SIZE(cores), cpuset); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp: In function 'void* rocr::os::GetExportAddress(LibHandle, std::string)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp:193:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] 193 | int err = dlinfo(*(void**)&lib, RTLD_DI_LINKMAP, &map); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp: In function 'uint64_t rocr::os::ReadAccurateClock()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp:454:7: warning: unused variable 'err' [-Wunused-variable] 454 | int err = clock_gettime(CLOCK_MONOTONIC_RAW, &time); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp: In function 'uint64_t rocr::os::AccurateClockFrequency()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp:483:7: warning: unused variable 'err' [-Wunused-variable] 483 | int err = clock_getres(clock, &time); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp: In function 'void rocr::os::ReleaseSharedMutex(SharedMutex)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp:527:7: warning: unused variable 'err' [-Wunused-variable] 527 | int err = pthread_rwlock_unlock(*(pthread_rwlock_t**)&lock); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp: In function 'void rocr::os::SharedReleaseSharedMutex(SharedMutex)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/lnx/os_linux.cpp:542:7: warning: unused variable 'err' [-Wunused-variable] 542 | int err = pthread_rwlock_unlock(*(pthread_rwlock_t**)&lock); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_blit_sdma.cpp: In instantiation of 'hsa_status_t rocr::AMD::BlitSdma::Destroy(const rocr::core::Agent&) [with RingIndexTy = unsigned int; bool HwIndexMonotonic = false; int SizeToCountOffset = 0; bool useGCR = false]': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_blit_sdma.cpp:955:16: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_blit_sdma.cpp:204:10: warning: unused variable 'err' [-Wunused-variable] 204 | auto err = hsaKmtDestroyQueue(queue_resource_.QueueId); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_blit_sdma.cpp: In instantiation of 'hsa_status_t rocr::AMD::BlitSdma::Destroy(const rocr::core::Agent&) [with RingIndexTy = long unsigned int; bool HwIndexMonotonic = true; int SizeToCountOffset = -1; bool useGCR = false]': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_blit_sdma.cpp:956:16: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_blit_sdma.cpp:204:10: warning: unused variable 'err' [-Wunused-variable] /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_blit_sdma.cpp: In instantiation of 'hsa_status_t rocr::AMD::BlitSdma::Destroy(const rocr::core::Agent&) [with RingIndexTy = long unsigned int; bool HwIndexMonotonic = true; int SizeToCountOffset = -1; bool useGCR = true]': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_blit_sdma.cpp:957:16: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_blit_sdma.cpp:204:10: warning: unused variable 'err' [-Wunused-variable] [ 35%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_gpu_agent.cpp [ 37%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_hsa_loader.cpp [ 39%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_aql_queue.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_gpu_agent.cpp: In constructor 'rocr::AMD::GpuAgent::GpuAgent(HSAuint32, const HsaNodeProperties&, bool, uint32_t)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_gpu_agent.cpp:112:17: warning: unused variable 'err' [-Wunused-variable] 112 | HSAKMT_STATUS err = hsaKmtGetClockCounters(node_id(), &t0_); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_gpu_agent.cpp: In destructor 'virtual rocr::AMD::GpuAgent::~GpuAgent()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_gpu_agent.cpp:205:20: warning: unused variable 'status' [-Wunused-variable] 205 | hsa_status_t status = blit->Destroy(*this); | ^~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_gpu_agent.cpp: In member function 'virtual hsa_status_t rocr::AMD::GpuAgent::GetInfo(hsa_agent_info_t, void*) const': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_gpu_agent.cpp:1081:22: warning: unused variable 'err' [-Wunused-variable] 1081 | hsa_status_t err = GetInfo((hsa_agent_info_t)HSA_AMD_AGENT_INFO_COMPUTE_UNIT_COUNT, &count); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_gpu_agent.cpp: In member function 'void rocr::AMD::GpuAgent::SyncClocks()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_gpu_agent.cpp:1507:17: warning: unused variable 'err' [-Wunused-variable] 1507 | HSAKMT_STATUS err = hsaKmtGetClockCounters(node_id(), &t1_); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_gpu_agent.cpp: In member function 'void rocr::AMD::GpuAgent::BindTrapHandler()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_gpu_agent.cpp:1541:17: warning: unused variable 'err' [-Wunused-variable] 1541 | HSAKMT_STATUS err = hsaKmtSetTrapHandler(node_id(), trap_code_buf_, trap_code_buf_size_, | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_aql_queue.cpp: In member function 'void rocr::AMD::AqlQueue::AllocRegisteredRingBuffer(uint32_t)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_aql_queue.cpp:578:11: warning: variable 'ring_buf_upper_half' set but not used [-Wunused-but-set-variable] 578 | void* ring_buf_upper_half = NULL; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_aql_queue.cpp: In member function 'void rocr::AMD::AqlQueue::Suspend()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_aql_queue.cpp:756:8: warning: unused variable 'err' [-Wunused-variable] 756 | auto err = hsaKmtUpdateQueue(queue_id_, 0, priority_, ring_buf_, ring_buf_alloc_bytes_, NULL); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_aql_queue.cpp: In member function 'virtual hsa_status_t rocr::AMD::AqlQueue::Inactivate()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_aql_queue.cpp:763:10: warning: unused variable 'err' [-Wunused-variable] 763 | auto err = hsaKmtDestroyQueue(queue_id_); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_aql_queue.cpp: In static member function 'static bool rocr::AMD::AqlQueue::ExceptionHandler(hsa_signal_value_t, void*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_aql_queue.cpp:1062:17: warning: comparison between 'enum hsa_status_t' and 'enum' [-Wenum-compare] 1062 | if (errorCode == HSA_STATUS_ERROR_MEMORY_FAULT) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 41%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_loader_context.cpp [ 43%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/hsa_ven_amd_loader.cpp [ 45%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_memory_region.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_memory_region.cpp: In static member function 'static void rocr::AMD::MemoryRegion::FreeKfdMemory(void*, size_t)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_memory_region.cpp:72:17: warning: unused variable 'status' [-Wunused-variable] 72 | HSAKMT_STATUS status = hsaKmtFreeMemory(ptr, size); | ^~~~~~ [ 47%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_filter_device.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_filter_device.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_filter_device.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_filter_device.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_filter_device.cpp In file included from /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/inc/amd_memory_region.h:53, from /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_memory_region.cpp:43: /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/simple_heap.h: In instantiation of 'void* rocr::SimpleHeap::alloc(size_t) [with Allocator = rocr::AMD::MemoryRegion::BlockAllocator; size_t = long unsigned int]': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_memory_region.cpp:201:43: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/util/simple_heap.h:192:12: warning: unused variable 'err' [-Wunused-variable] 192 | bool err = discardBlock(reinterpret_cast(base)); | ^~~ [ 50%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_topology.cpp [ 52%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/default_signal.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_topology.cpp: In function 'void rocr::AMD::SurfaceGpuList(std::vector&, bool, bool)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_topology.cpp:259:19: warning: unused variable 'err_val' [-Wunused-variable] 259 | HSAKMT_STATUS err_val = hsaKmtGetNodeProperties(gpu_list[idx], &node_prop); | ^~~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_topology.cpp: In function 'void rocr::AMD::BuildTopology()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/amd_topology.cpp:325:21: warning: unused variable 'cpu' [-Wunused-variable] 325 | const CpuAgent* cpu = DiscoverCpu(node_id, node_prop); | ^~~ [ 54%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/host_queue.cpp [ 56%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/hsa.cpp [ 58%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/hsa_api_trace.cpp [ 60%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/hsa_ext_amd.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/hsa.cpp: In function 'hsa_status_t rocr::HSA::hsa_system_extension_supported(uint16_t, uint16_t, uint16_t, bool*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/hsa.cpp:282:16: warning: unused variable 'status' [-Wunused-variable] 282 | hsa_status_t status = core::Runtime::runtime_singleton_->GetSystemInfo( | ^~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/hsa.cpp: In function 'hsa_status_t rocr::HSA::hsa_agent_extension_supported(uint16_t, hsa_agent_t, uint16_t, uint16_t, bool*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/hsa.cpp:623:18: warning: unused variable 'status' [-Wunused-variable] 623 | hsa_status_t status = | ^~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/hsa.cpp: In function 'hsa_status_t rocr::HSA::hsa_agent_major_extension_supported(uint16_t, hsa_agent_t, uint16_t, uint16_t*, bool*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/hsa.cpp:658:18: warning: unused variable 'status' [-Wunused-variable] 658 | hsa_status_t status = agent->GetInfo(HSA_AGENT_INFO_VERSION_MAJOR, &agent_version_major); | ^~~~~~ [ 62%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/hsa_ext_interface.cpp [ 64%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/interrupt_signal.cpp [ 66%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/intercept_queue.cpp [ 68%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/ipc_signal.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/ipc_signal.cpp: In destructor 'rocr::core::SharedMemory::~SharedMemory()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/ipc_signal.cpp:68:8: warning: unused variable 'err' [-Wunused-variable] 68 | auto err = Runtime::runtime_singleton_->IPCDetach(ptr_); | ^~~ [ 70%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/isa.cpp [ 72%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/runtime.cpp [ 75%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/signal.cpp [ 77%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/queue.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/isa.cpp: In static member function 'static const rocr::core::IsaRegistry::IsaMap rocr::core::IsaRegistry::GetSupportedIsas()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/isa.cpp:224:18: warning: unused variable 'hsa_name_size' [-Wunused-variable] 224 | constexpr size_t hsa_name_size = 63; | ^~~~~~~~~~~~~ [ 79%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/cache.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/runtime.cpp: In member function 'hsa_status_t rocr::core::Runtime::PtrInfo(const void*, hsa_amd_pointer_info_t*, void* (*)(size_t), uint32_t*, hsa_agent_t**, PtrInfoBlockData*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/runtime.cpp:784:10: warning: unused variable 'err' [-Wunused-variable] 784 | auto err = hsaKmtQueryPointerInfo(ptr, &thunkInfo); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/signal.cpp: In member function 'void rocr::core::SharedSignalPool_t::free(rocr::core::SharedSignal*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/signal.cpp:109:10: warning: variable 'valid' set but not used [-Wunused-but-set-variable] 109 | bool valid = false; | ^~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/runtime.cpp: In lambda function: /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/runtime.cpp:2165:19: warning: unused variable 'error' [-Wunused-variable] 2165 | HSAKMT_STATUS error = hsaKmtSVMSetAttr(op->base, op->size, 1, &attrib); | ^~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/runtime.cpp: In member function 'rocr::core::Agent* rocr::core::Runtime::GetSVMPrefetchAgent(void*, size_t)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/runtime.cpp:2234:19: warning: unused variable 'error' [-Wunused-variable] 2234 | HSAKMT_STATUS error = | ^~~~~ [ 81%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/svm_profiler.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/svm_profiler.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/svm_profiler.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/svm_profiler.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/svm_profiler.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/svm_profiler.cpp: In lambda function: /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/svm_profiler.cpp:139:12: warning: unused variable 'err' [-Wunused-variable] 139 | auto err = | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/svm_profiler.cpp:145:12: warning: unused variable 'wrote' [-Wunused-variable] 145 | auto wrote = write(files[i + 1].fd, &events, sizeof(events)); | ^~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/runtime/svm_profiler.cpp:205:19: warning: variable 'args' set but not used [-Wunused-but-set-variable] 205 | int args = sscanf(cursor, "%x %lu -%u%n", &event_id, &time, &pid, &offset); | ^~~~ [ 83%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/common/shared.cpp [ 85%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/core/common/hsa_table_interface.cpp [ 87%] Building CXX object CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o -MF CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/loader/executable.cpp [ 89%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o -MF CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode/amd_elf_image.cpp [ 91%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o -MF CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode/amd_hsa_code_util.cpp [ 93%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o -MF CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode/amd_hsa_locks.cpp [ 95%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o -MF CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode/amd_options.cpp [ 97%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.7.0-local-build-unknown\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/core/runtime/trap_handler -isystem /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 -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o -MF CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode/amd_hsa_code.cpp [100%] Linking CXX shared library libhsa-runtime64.so /usr/bin/cmake -E cmake_link_script CMakeFiles/hsa-runtime64.dir/link.txt --verbose=1 /usr/bin/g++ -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,-Bdynamic -Wl,-z,noexecstack -Wl,/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/hsacore.so.link -Wl,--version-script=/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/hsacore.so.def -Wl,--enable-new-dtags -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,libhsa-runtime64.so.1 -o libhsa-runtime64.so.1.7.0 "CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/amd_filter_device.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/runtime/svm_profiler.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o" "CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o" "CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o" "CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o" "CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o" "CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o" "CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o" "CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o" -Wl,-rpath,:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /usr/lib64/libhsakmt.so.1.0.6 /usr/lib64/libelf.so -ldl -lpthread -lrt /usr/lib64/libdrm.so /usr/bin/ld: /tmp/ccxooo5n.ltrans8.ltrans.o: in function `rocr::amd::elf::FileImage::create()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/src/libamdhsacode/amd_hsa_code_util.cpp:963: warning: the use of `tempnam' is dangerous, better use `mkstemp' /usr/bin/cmake -E cmake_symlink_library libhsa-runtime64.so.1.7.0 libhsa-runtime64.so.1 libhsa-runtime64.so gmake[2]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build' [100%] Built target hsa-runtime64 gmake[1]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xer1ij + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rocm-runtime-5.4.1-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 ROCR-Runtime-rocm-5.4.1 + DESTDIR=/builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/lib64/libhsa-runtime64.so.1.7.0 -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/lib64/libhsa-runtime64.so.1 -- Set runtime path of "/builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/lib64/libhsa-runtime64.so.1.7.0" to "$ORIGIN:$ORIGIN/../../lib:$ORIGIN/../../lib64:$ORIGIN/../lib64" -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/lib64/libhsa-runtime64.so -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/share/doc/hsa-runtime64/LICENSE.md -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/hsa_ven_amd_loader.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/hsa_ven_amd_aqlprofile.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/hsa_ext_image.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/hsa_ext_finalize.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/hsa_ext_amd.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/hsa_api_trace.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/hsa.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/amd_hsa_signal.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/amd_hsa_queue.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/amd_hsa_kernel_code.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/amd_hsa_elf.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/amd_hsa_common.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/include/hsa/Brig.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/lib64/cmake/hsa-runtime64/hsa-runtime64Targets.cmake -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/lib64/cmake/hsa-runtime64/hsa-runtime64Targets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/lib64/cmake/hsa-runtime64/hsa-runtime64-config.cmake -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/lib64/cmake/hsa-runtime64/hsa-runtime64-config-version.cmake + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 5.4.1-1.fc38 --unique-debug-suffix -5.4.1-1.fc38.ppc64le --unique-debug-src-base rocm-runtime-5.4.1-1.fc38.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ROCR-Runtime-rocm-5.4.1 extracting debug info from /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/lib64/libhsa-runtime64.so.1.7.0 original debug info size: 17280kB, size after compression: 14336kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 3863 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 *** WARNING: ./usr/src/debug/rocm-runtime-5.4.1-1.fc38.ppc64le/src/core/runtime/isa.cpp is executable but has no shebang, removing executable bit + /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: rocm-runtime-5.4.1-1.fc38.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qI4bb3 + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-rocm-5.4.1 + DOCDIR=/builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/share/doc/rocm-runtime + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/share/doc/rocm-runtime + cp -pr README.md /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/share/doc/rocm-runtime + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.V13HA3 + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-rocm-5.4.1 + LICENSEDIR=/builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/share/licenses/rocm-runtime + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/share/licenses/rocm-runtime + cp -pr LICENSE.txt /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le/usr/share/licenses/rocm-runtime + RPM_EC=0 ++ jobs -p + exit 0 Provides: libhsa-runtime64.so.1()(64bit) libhsa-runtime64.so.1(ROCR_1)(64bit) rocm-runtime = 5.4.1-1.fc38 rocm-runtime(ppc-64) = 5.4.1-1.fc38 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.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libdrm.so.2()(64bit) libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(64bit) libelf.so.1(ELFUTILS_1.6)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libhsakmt.so.1()(64bit) libhsakmt.so.1(HSAKMT_1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: rocm-runtime-devel-5.4.1-1.fc38.ppc64le Provides: cmake(hsa-runtime64) = 1.7.0 rocm-runtime-devel = 5.4.1-1.fc38 rocm-runtime-devel(ppc-64) = 5.4.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cmake-filesystem(ppc-64) libhsa-runtime64.so.1()(64bit) Processing files: rocm-runtime-debugsource-5.4.1-1.fc38.ppc64le Provides: rocm-runtime-debugsource = 5.4.1-1.fc38 rocm-runtime-debugsource(ppc-64) = 5.4.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rocm-runtime-debuginfo-5.4.1-1.fc38.ppc64le Provides: debuginfo(build-id) = 60bc56d9f86e798672f674a3e65e77e1d0be89ef libhsa-runtime64.so.1.7.0-5.4.1-1.fc38.ppc64le.debug()(64bit) rocm-runtime-debuginfo = 5.4.1-1.fc38 rocm-runtime-debuginfo(ppc-64) = 5.4.1-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rocm-runtime-debugsource(ppc-64) = 5.4.1-1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le Wrote: /builddir/build/RPMS/rocm-runtime-devel-5.4.1-1.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/rocm-runtime-5.4.1-1.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/rocm-runtime-debugsource-5.4.1-1.fc38.ppc64le.rpm Wrote: /builddir/build/RPMS/rocm-runtime-debuginfo-5.4.1-1.fc38.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bk5w3g + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-rocm-5.4.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rocm-runtime-5.4.1-1.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Hmg2Pp + umask 022 + cd /builddir/build/BUILD + rm -rf ROCR-Runtime-rocm-5.4.1 ROCR-Runtime-rocm-5.4.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0