Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rocm-runtime.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1688133408.480068/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.nohnbia5:/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.nohnbia5:/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', '0c99adb096b7421d98cc99bb889474f0', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1688133408.480068/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nohnbia5:/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1687996800 Wrote: /builddir/build/SRPMS/rocm-runtime-5.6.0-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rocm-runtime.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1688133408.480068/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.nohnbia5:/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.nohnbia5:/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', 'bf08839a0e294609be1a8102fb98ea80', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1688133408.480068/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nohnbia5:/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1687996800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HsgQ3X + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ROCR-Runtime-rocm-5.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rocm-runtime-5.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ROCR-Runtime-rocm-5.6.0 + /usr/bin/mkdir -p SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Only-install-asan-license-when-enabled.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /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 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fix-non-x86-builds.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rsEJtW + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ROCR-Runtime-rocm-5.6.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -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.6.0" -- The C compiler identification is GNU 13.1.1 -- The CXX compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.4") -- 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-16 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.6.0/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.6.0/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.6.0/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.6.0/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_11 Using CPACK_DEBIAN_PACKAGE_RELEASE local RESULT_VARIABLE 0 OUTPUT_VARIABLE: .fc39 CPACK_RPM_PACKAGE_RELEASE: local%{?dist} -- Configuring done (1.7s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j4 /usr/bin/cmake -S/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -B/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build/CMakeFiles /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/redhat-linux-build' cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/trap_handler /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build/core/runtime/trap_handler /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/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.6.0/redhat-linux-build' [ 4%] BUILDING bitcode for kCodeTrapHandlerV2_1010... [ 4%] BUILDING bitcode for kCodeTrapHandlerV2_9... [ 6%] BUILDING bitcode for kCodeTrapHandlerV2_11... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build/core/runtime/trap_handler && /usr/bin/clang-16 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx900 -o kCodeTrapHandlerV2_9.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/trap_handler/trap_handler.s [ 8%] BUILDING bitcode for kCodeTrapHandlerV2_10... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build/core/runtime/trap_handler && /usr/bin/clang-16 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1010 -o kCodeTrapHandlerV2_1010.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/trap_handler/trap_handler.s cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build/core/runtime/trap_handler && /usr/bin/clang-16 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1100 -o kCodeTrapHandlerV2_11.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/trap_handler/trap_handler.s cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build/core/runtime/trap_handler && /usr/bin/clang-16 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1030 -o kCodeTrapHandlerV2_10.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/trap_handler/trap_handler.s [ 12%] Extracting binary for kCodeTrapHandlerV2_1010... [ 12%] Extracting binary for kCodeTrapHandlerV2_9... [ 14%] Extracting binary for kCodeTrapHandlerV2_11... [ 16%] Extracting binary for kCodeTrapHandlerV2_10... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_9 kCodeTrapHandlerV2_9.hsaco cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/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.6.0/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.6.0/redhat-linux-build/core/runtime/trap_handler && /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/trap_handler/create_trap_handler_header.sh /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/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.6.0/redhat-linux-build' cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build/CMakeFiles/hsa-runtime64.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/redhat-linux-build' [ 20%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o [ 25%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o [ 25%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o [ 27%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/flag.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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/util/lnx/os_linux.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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/util/timer.cpp [ 29%] 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/amd_blit_kernel.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/src/core/util/lnx/os_linux.cpp:102:11: warning: unused variable 'err' [-Wunused-variable] 102 | int err = pthread_attr_setstacksize(&attrib, stackSize); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/lnx/os_linux.cpp:113:11: warning: unused variable 'err' [-Wunused-variable] 113 | int err = pthread_attr_setaffinity_np(&attrib, CPU_ALLOC_SIZE(cores), cpuset); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/lnx/os_linux.cpp: In function 'void* rocr::os::GetExportAddress(LibHandle, std::string)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/lnx/os_linux.cpp:196:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] 196 | int err = dlinfo(*(void**)&lib, RTLD_DI_LINKMAP, &map); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/lnx/os_linux.cpp: In function 'uint64_t rocr::os::ReadAccurateClock()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/lnx/os_linux.cpp:533:7: warning: unused variable 'err' [-Wunused-variable] 533 | int err = clock_gettime(CLOCK_MONOTONIC_RAW, &time); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/lnx/os_linux.cpp: In function 'uint64_t rocr::os::AccurateClockFrequency()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/lnx/os_linux.cpp:562:7: warning: unused variable 'err' [-Wunused-variable] 562 | int err = clock_getres(clock, &time); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/lnx/os_linux.cpp: In function 'void rocr::os::ReleaseSharedMutex(SharedMutex)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/lnx/os_linux.cpp:606:7: warning: unused variable 'err' [-Wunused-variable] 606 | int err = pthread_rwlock_unlock(*(pthread_rwlock_t**)&lock); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/lnx/os_linux.cpp: In function 'void rocr::os::SharedReleaseSharedMutex(SharedMutex)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/lnx/os_linux.cpp:621:7: warning: unused variable 'err' [-Wunused-variable] 621 | int err = pthread_rwlock_unlock(*(pthread_rwlock_t**)&lock); | ^~~ [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/amd_cpu_agent.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/src/core/runtime/amd_blit_sdma.cpp:1014:16: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_blit_sdma.cpp:207:10: warning: unused variable 'err' [-Wunused-variable] 207 | auto err = hsaKmtDestroyQueue(queue_resource_.QueueId); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/src/core/runtime/amd_blit_sdma.cpp:1015:16: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_blit_sdma.cpp:207: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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/amd_gpu_agent.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/src/core/runtime/amd_blit_sdma.cpp:1016:16: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_blit_sdma.cpp:207:10: warning: unused variable 'err' [-Wunused-variable] [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/amd_hsa_loader.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/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.6.0/src/core/runtime/amd_gpu_agent.cpp: In destructor 'virtual rocr::AMD::GpuAgent::~GpuAgent()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/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.6.0/src/core/runtime/amd_gpu_agent.cpp:1189:22: warning: unused variable 'err' [-Wunused-variable] 1189 | hsa_status_t err = GetInfo((hsa_agent_info_t)HSA_AMD_AGENT_INFO_COMPUTE_UNIT_COUNT, &count); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_gpu_agent.cpp: In member function 'void rocr::AMD::GpuAgent::SyncClocks()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_gpu_agent.cpp:1643:17: warning: unused variable 'err' [-Wunused-variable] 1643 | HSAKMT_STATUS err = hsaKmtGetClockCounters(node_id(), &t1_); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_gpu_agent.cpp: In member function 'void rocr::AMD::GpuAgent::BindTrapHandler()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_gpu_agent.cpp:1677:17: warning: unused variable 'err' [-Wunused-variable] 1677 | HSAKMT_STATUS err = hsaKmtSetTrapHandler(node_id(), trap_code_buf_, trap_code_buf_size_, | ^~~ [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/amd_aql_queue.cpp [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/hsa_ven_amd_loader.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_aql_queue.cpp: In member function 'void rocr::AMD::AqlQueue::AllocRegisteredRingBuffer(uint32_t)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_aql_queue.cpp:581:11: warning: variable 'ring_buf_upper_half' set but not used [-Wunused-but-set-variable] 581 | void* ring_buf_upper_half = NULL; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_aql_queue.cpp: In member function 'void rocr::AMD::AqlQueue::Suspend()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_aql_queue.cpp:759:8: warning: unused variable 'err' [-Wunused-variable] 759 | auto err = hsaKmtUpdateQueue(queue_id_, 0, priority_, ring_buf_, ring_buf_alloc_bytes_, NULL); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/src/core/runtime/amd_aql_queue.cpp:766:10: warning: unused variable 'err' [-Wunused-variable] 766 | auto err = hsaKmtDestroyQueue(queue_id_); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/src/core/runtime/amd_aql_queue.cpp:1065:17: warning: comparison between 'enum hsa_status_t' and 'enum' [-Wenum-compare] 1065 | if (errorCode == HSA_STATUS_ERROR_MEMORY_FAULT) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_aql_queue.cpp: In member function 'virtual void rocr::AMD::AqlQueue::ExecutePM4(uint32_t*, size_t)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_aql_queue.cpp:1284:24: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 1284 | hsa_signal_value_t ret; | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_aql_queue.cpp:1198:16: warning: variable 'err' set but not used [-Wunused-but-set-variable] 1198 | hsa_status_t err; | ^~~ [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/amd_memory_region.cpp [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/amd_filter_device.cpp [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/amd_topology.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/src/core/runtime/amd_memory_region.cpp:72:17: warning: unused variable 'status' [-Wunused-variable] 72 | HSAKMT_STATUS status = hsaKmtFreeMemory(ptr, size); | ^~~~~~ In file included from /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/inc/amd_memory_region.h:53, from /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_memory_region.cpp:43: /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/src/core/runtime/amd_memory_region.cpp:201:43: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/util/simple_heap.h:192:12: warning: unused variable 'err' [-Wunused-variable] 192 | bool err = discardBlock(reinterpret_cast(base)); | ^~~ [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/default_signal.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/amd_topology.cpp: In function 'void rocr::AMD::SurfaceGpuList(std::vector&, bool, bool)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/src/core/runtime/amd_topology.cpp: In function 'void rocr::AMD::BuildTopology()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/hsa_api_trace.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/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.6.0/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.6.0/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.6.0/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.6.0/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); | ^~~~~~ [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/hsa_ext_amd.cpp [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/ipc_signal.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/ipc_signal.cpp: In destructor 'rocr::core::SharedMemory::~SharedMemory()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/signal.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/src/core/runtime/isa.cpp:224:18: warning: unused variable 'hsa_name_size' [-Wunused-variable] 224 | constexpr size_t hsa_name_size = 63; | ^~~~~~~~~~~~~ [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/queue.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/runtime.cpp: In member function 'hsa_status_t rocr::core::Runtime::GetSystemInfo(hsa_system_info_t, void*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/runtime.cpp:693:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 693 | kfd_version.KernelInterfaceMajorVersion == 1 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 694 | kfd_version.KernelInterfaceMinorVersion >= 12) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/runtime.cpp: In lambda function: /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/runtime.cpp:2232:19: warning: unused variable 'error' [-Wunused-variable] 2232 | HSAKMT_STATUS error = hsaKmtSVMSetAttr(op->base, op->size, 1, &attrib); | ^~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.6.0/src/core/runtime/runtime.cpp:2301:19: warning: unused variable 'error' [-Wunused-variable] 2301 | HSAKMT_STATUS error = | ^~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/signal.cpp: In member function 'void rocr::core::SharedSignalPool_t::free(rocr::core::SharedSignal*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/signal.cpp:109:10: warning: variable 'valid' set but not used [-Wunused-but-set-variable] 109 | bool valid = false; | ^~~~~ [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/cache.cpp [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/runtime/svm_profiler.cpp [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/src/core/common/hsa_table_interface.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/svm_profiler.cpp: In member function 'void rocr::AMD::SvmProfileControl::PollSmi()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/svm_profiler.cpp:146:10: warning: unused variable 'err' [-Wunused-variable] 146 | auto err = hsaKmtOpenSMI(core::Runtime::runtime_singleton_->gpu_agents()[i]->node_id(), | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/svm_profiler.cpp:152:10: warning: unused variable 'wrote' [-Wunused-variable] 152 | auto wrote = write(files[i + 1].fd, &events, sizeof(events)); | ^~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/core/runtime/svm_profiler.cpp:212:17: warning: variable 'args' set but not used [-Wunused-but-set-variable] 212 | int args = sscanf(cursor, "%x %lu -%u%n", &event_id, &time, &pid, &offset); | ^~~~ [ 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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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.9.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.6.0/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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.6.0/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -Wl,-Bdynamic -Wl,-z,noexecstack -Wl,/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/hsacore.so.link -Wl,--version-script=/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/src/hsacore.so.def -Wl,--enable-new-dtags -Wl,--dependency-file,CMakeFiles/hsa-runtime64.dir/link.d -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libhsa-runtime64.so.1 -o libhsa-runtime64.so.1.9.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/ccYkN66o.ltrans9.ltrans.o: in function `rocr::amd::elf::FileImage::create()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/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.9.0 libhsa-runtime64.so.1 libhsa-runtime64.so gmake[2]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build' [100%] Built target hsa-runtime64 gmake[1]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SA918G + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64 ++ dirname /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ROCR-Runtime-rocm-5.6.0 + DESTDIR=/builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/libhsa-runtime64.so.1.9.0 -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/libhsa-runtime64.so.1 -- Set runtime path of "/builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/libhsa-runtime64.so.1.9.0" to "$ORIGIN:$ORIGIN/../../lib:$ORIGIN/../../lib64:$ORIGIN/../lib64" -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/libhsa-runtime64.so -- Up-to-date: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/libhsa-runtime64.so.1.9.0 -- Up-to-date: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/libhsa-runtime64.so.1 -- Up-to-date: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/libhsa-runtime64.so -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/share/doc/hsa-runtime64/LICENSE.md -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/hsa_ven_amd_loader.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/hsa_ven_amd_aqlprofile.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/hsa_ext_image.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/hsa_ext_finalize.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/hsa_ext_amd.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/hsa_api_trace.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/hsa.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/amd_hsa_signal.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/amd_hsa_queue.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/amd_hsa_kernel_code.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/amd_hsa_elf.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/amd_hsa_common.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/include/hsa/Brig.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/cmake/hsa-runtime64/hsa-runtime64Targets.cmake -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/cmake/hsa-runtime64/hsa-runtime64Targets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/cmake/hsa-runtime64/hsa-runtime64-config.cmake -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/cmake/hsa-runtime64/hsa-runtime64-config-version.cmake + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 5.6.0-1.fc39 --unique-debug-suffix -5.6.0-1.fc39.aarch64 --unique-debug-src-base rocm-runtime-5.6.0-1.fc39.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0 extracting debug info from /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/lib64/libhsa-runtime64.so.1.9.0 /usr/bin/gdb.minimal original debug info size: 19144kB, size after compression: 16176kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 3966 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.6.0-1.fc39.aarch64/src/core/runtime/isa.cpp is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rocm-runtime-5.6.0-1.fc39.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AT2wtZ + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-rocm-5.6.0 + DOCDIR=/builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/share/doc/rocm-runtime + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/share/doc/rocm-runtime + cp -pr /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/README.md /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/share/doc/rocm-runtime + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uO0qIH + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-rocm-5.6.0 + LICENSEDIR=/builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/share/licenses/rocm-runtime + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/usr/share/licenses/rocm-runtime + cp -pr /builddir/build/BUILD/ROCR-Runtime-rocm-5.6.0/LICENSE.txt /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64/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.6.0-1.fc39 rocm-runtime(aarch-64) = 5.6.0-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: glibc >= 2.37.9000-14 ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(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) libc.so.6(GLIBC_2.38)(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.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: rocm-runtime-devel-5.6.0-1.fc39.aarch64 Provides: cmake(hsa-runtime64) = 1.9.0 rocm-runtime-devel = 5.6.0-1.fc39 rocm-runtime-devel(aarch-64) = 5.6.0-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cmake-filesystem(aarch-64) libhsa-runtime64.so.1()(64bit) Processing files: rocm-runtime-debugsource-5.6.0-1.fc39.aarch64 Provides: rocm-runtime-debugsource = 5.6.0-1.fc39 rocm-runtime-debugsource(aarch-64) = 5.6.0-1.fc39 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.6.0-1.fc39.aarch64 Provides: debuginfo(build-id) = f4b6ea6157b28fe05dcf77ed2bef479e7784531e libhsa-runtime64.so.1.9.0-5.6.0-1.fc39.aarch64.debug()(64bit) rocm-runtime-debuginfo = 5.6.0-1.fc39 rocm-runtime-debuginfo(aarch-64) = 5.6.0-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rocm-runtime-debugsource(aarch-64) = 5.6.0-1.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64 Wrote: /builddir/build/RPMS/rocm-runtime-devel-5.6.0-1.fc39.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-runtime-5.6.0-1.fc39.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-runtime-debugsource-5.6.0-1.fc39.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-runtime-debuginfo-5.6.0-1.fc39.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2vZ0se + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-rocm-5.6.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rocm-runtime-5.6.0-1.fc39.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.vcuIgO + umask 022 + cd /builddir/build/BUILD + rm -rf ROCR-Runtime-rocm-5.6.0 ROCR-Runtime-rocm-5.6.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0