Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rocm-runtime.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-117798-68505/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rocm-runtime-5.7.1-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rocm-runtime.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-117798-68505/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SMsCF3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ROCR-Runtime-rocm-5.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rocm-runtime-5.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ROCR-Runtime-rocm-5.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uMvnWo + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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.7.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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 aarch64-OpenCloudOS-linux-gnu -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.7.1" -- The C compiler identification is GNU 12.3.1 -- The CXX compiler identification is GNU 12.3.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.5") -- Found LibElf: /usr/lib64/libelf.so -- Performing Test ELF_GETSHDRSTRNDX -- Performing Test ELF_GETSHDRSTRNDX - Success -- Checking for module 'libdrm' -- Found libdrm, version 2.4.115 -- 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 -- Looking for histedit.h CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:82 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: elf;/usr/lib64/libedit.so For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): /usr/lib64/cmake/llvm/FindLibEdit.cmake:28 (check_include_file) /usr/lib64/cmake/llvm/LLVMConfig.cmake:262 (find_package) /usr/lib64/cmake/clang/ClangConfig.cmake:10 (find_package) core/runtime/trap_handler/CMakeLists.txt:46 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for histedit.h - found -- Found LibEdit: /usr/include (found version "2.11") -- 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-17 Using llvm-objcopy from: /usr/bin/llvm-objcopy Trap handlers assembled for: gfx900;gfx940;gfx941;gfx942;gfx1010;gfx1030;gfx1100 Generating: gfx900 ... Trap Handler Source: /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_9 Generating: gfx940 ... Trap Handler Source: /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_940 Generating: gfx941 ... Trap Handler Source: /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_941 Generating: gfx942 ... Trap Handler Source: /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_942 Generating: gfx1010 ... Trap Handler Source: /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_1010 Generating: gfx1030 ... Trap Handler Source: /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_10 Generating: gfx1100 ... Trap Handler Source: /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_11 Using CPACK_DEBIAN_PACKAGE_RELEASE local RESULT_VARIABLE 0 OUTPUT_VARIABLE: .oc9 CPACK_RPM_PACKAGE_RELEASE: local%{?dist} -- Configuring done (1.4s) -- 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.7.1/aarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build aarch64-OpenCloudOS-linux-gnu -j8 --verbose /usr/bin/cmake -S/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -B/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/CMakeFiles /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu' /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.7.1/aarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler/CMakeFiles/amd_trap_handler_v2.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu' /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.7.1/aarch64-OpenCloudOS-linux-gnu' [ 5%] BUILDING bitcode for kCodeTrapHandlerV2_9... [ 5%] BUILDING bitcode for kCodeTrapHandlerV2_940... [ 5%] BUILDING bitcode for kCodeTrapHandlerV2_942... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx942 -o kCodeTrapHandlerV2_942.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx900 -o kCodeTrapHandlerV2_9.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx940 -o kCodeTrapHandlerV2_940.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s [ 7%] BUILDING bitcode for kCodeTrapHandlerV2_1010... [ 9%] BUILDING bitcode for kCodeTrapHandlerV2_941... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1010 -o kCodeTrapHandlerV2_1010.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx941 -o kCodeTrapHandlerV2_941.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s [ 11%] BUILDING bitcode for kCodeTrapHandlerV2_10... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1030 -o kCodeTrapHandlerV2_10.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s [ 12%] BUILDING bitcode for kCodeTrapHandlerV2_11... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1100 -o kCodeTrapHandlerV2_11.hsaco /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s [ 14%] Extracting binary for kCodeTrapHandlerV2_10... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_10 kCodeTrapHandlerV2_10.hsaco [ 16%] Extracting binary for kCodeTrapHandlerV2_11... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_11 kCodeTrapHandlerV2_11.hsaco [ 20%] Extracting binary for kCodeTrapHandlerV2_941... [ 20%] Extracting binary for kCodeTrapHandlerV2_940... [ 24%] Extracting binary for kCodeTrapHandlerV2_9... [ 24%] Extracting binary for kCodeTrapHandlerV2_1010... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_941 kCodeTrapHandlerV2_941.hsaco cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_940 kCodeTrapHandlerV2_940.hsaco cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_1010 kCodeTrapHandlerV2_1010.hsaco cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_9 kCodeTrapHandlerV2_9.hsaco [ 25%] Extracting binary for kCodeTrapHandlerV2_942... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /usr/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_942 kCodeTrapHandlerV2_942.hsaco [ 27%] Collating trap handlers... cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler && /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/create_trap_handler_header.sh /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler/amd_trap_handler_v2.h kCodeTrapHandlerV2_9 kCodeTrapHandlerV2_940 kCodeTrapHandlerV2_941 kCodeTrapHandlerV2_942 kCodeTrapHandlerV2_1010 kCodeTrapHandlerV2_10 kCodeTrapHandlerV2_11 gmake[2]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu' [ 27%] 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.7.1/aarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/CMakeFiles/hsa-runtime64.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu' /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.7.1/aarch64-OpenCloudOS-linux-gnu' [ 37%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o [ 37%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o [ 37%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o [ 37%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o [ 37%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/util/flag.cpp /usr/bin/g++ -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/util/small_heap.cpp [ 38%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_kernel.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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp [ 40%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/timer.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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/util/timer.cpp [ 42%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_cpu_agent.cpp [ 44%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_hsa_loader.cpp [ 46%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp: In constructor 'rocr::AMD::GpuAgent::GpuAgent(HSAuint32, const HsaNodeProperties&, bool, uint32_t)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:115:17: warning: unused variable 'err' [-Wunused-variable] 115 | HSAKMT_STATUS err = hsaKmtGetClockCounters(node_id(), &t0_); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp: In destructor 'virtual rocr::AMD::GpuAgent::~GpuAgent()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:218:20: warning: unused variable 'status' [-Wunused-variable] 218 | hsa_status_t status = blit->Destroy(*this); | ^~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp: In member function 'void rocr::AMD::GpuAgent::ReserveScratch()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:532:17: warning: unused variable 'err' [-Wunused-variable] 532 | HSAKMT_STATUS err = hsaKmtAvailableMemory(node_id(), &available); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp: In instantiation of 'hsa_status_t rocr::AMD::BlitSdma::Destroy(const rocr::core::Agent&) [with RingIndexTy = unsigned int; bool HwIndexMonotonic = false; int SizeToCountOffset = 0; bool useGCR = false]': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:1014:16: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/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.7.1/src/core/runtime/amd_gpu_agent.cpp: In member function 'virtual hsa_status_t rocr::AMD::GpuAgent::GetInfo(hsa_agent_info_t, void*) const': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:1317:22: warning: unused variable 'err' [-Wunused-variable] 1317 | hsa_status_t err = GetInfo((hsa_agent_info_t)HSA_AMD_AGENT_INFO_COMPUTE_UNIT_COUNT, &count); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp: In instantiation of 'hsa_status_t rocr::AMD::BlitSdma::Destroy(const rocr::core::Agent&) [with RingIndexTy = long unsigned int; bool HwIndexMonotonic = true; int SizeToCountOffset = -1; bool useGCR = false]': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:1015:16: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:207:10: warning: unused variable 'err' [-Wunused-variable] /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp: In member function 'void rocr::AMD::GpuAgent::SyncClocks()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:1787:17: warning: unused variable 'err' [-Wunused-variable] 1787 | HSAKMT_STATUS err = hsaKmtGetClockCounters(node_id(), &t1_); | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp: In member function 'void rocr::AMD::GpuAgent::BindTrapHandler()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:1827:17: warning: unused variable 'err' [-Wunused-variable] 1827 | HSAKMT_STATUS err = hsaKmtSetTrapHandler(node_id(), trap_code_buf_, trap_code_buf_size_, | ^~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp: In instantiation of 'hsa_status_t rocr::AMD::BlitSdma::Destroy(const rocr::core::Agent&) [with RingIndexTy = long unsigned int; bool HwIndexMonotonic = true; int SizeToCountOffset = -1; bool useGCR = true]': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:1016:16: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:207:10: warning: unused variable 'err' [-Wunused-variable] [ 48%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_loader_context.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp: In member function 'void rocr::AMD::AqlQueue::AllocRegisteredRingBuffer(uint32_t)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/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.7.1/src/core/runtime/amd_aql_queue.cpp: In member function 'void rocr::AMD::AqlQueue::Suspend()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/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.7.1/src/core/runtime/amd_aql_queue.cpp: In member function 'virtual hsa_status_t rocr::AMD::AqlQueue::Inactivate()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/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.7.1/src/core/runtime/amd_aql_queue.cpp: In static member function 'static bool rocr::AMD::AqlQueue::ExceptionHandler(hsa_signal_value_t, void*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/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.7.1/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.7.1/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.7.1/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; | ^~~ [ 50%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_ven_amd_loader.cpp [ 51%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_memory_region.cpp [ 53%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_filter_device.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_filter_device.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_filter_device.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_filter_device.cpp [ 55%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_topology.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_memory_region.cpp: In static member function 'static void rocr::AMD::MemoryRegion::FreeKfdMemory(void*, size_t)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/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.7.1/src/core/runtime/amd_memory_region.cpp:43: /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_memory_region.h: In constructor 'rocr::AMD::MemoryRegion::MemoryRegion(bool, bool, bool, bool, rocr::core::Agent*, const HsaMemoryProperties&)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_memory_region.h:188:14: warning: 'rocr::AMD::MemoryRegion::extended_scope_fine_grain_' will be initialized after [-Wreorder] 188 | const bool extended_scope_fine_grain_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_memory_region.h:185:10: warning: 'size_t rocr::AMD::MemoryRegion::max_single_alloc_size_' [-Wreorder] 185 | size_t max_single_alloc_size_; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_memory_region.cpp:103:1: warning: when initialized here [-Wreorder] 103 | MemoryRegion::MemoryRegion(bool fine_grain, bool kernarg, bool full_profile, | ^~~~~~~~~~~~ [ 57%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/default_signal.cpp In file included from /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_memory_region.h:53: /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/util/simple_heap.h: In instantiation of 'void* rocr::SimpleHeap::alloc(size_t) [with Allocator = rocr::AMD::MemoryRegion::BlockAllocator; size_t = long unsigned int]': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_memory_region.cpp:221:43: required from here /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/util/simple_heap.h:192:12: warning: unused variable 'err' [-Wunused-variable] 192 | bool err = discardBlock(reinterpret_cast(base)); | ^~~ [ 59%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/host_queue.cpp [ 61%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_topology.cpp: In function 'void rocr::AMD::SurfaceGpuList(std::vector&, bool, bool)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_topology.cpp:259:19: warning: unused variable 'err_val' [-Wunused-variable] 259 | HSAKMT_STATUS err_val = hsaKmtGetNodeProperties(gpu_list[idx], &node_prop); | ^~~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_topology.cpp: In function 'void rocr::AMD::BuildTopology()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_topology.cpp:325:21: warning: unused variable 'cpu' [-Wunused-variable] 325 | const CpuAgent* cpu = DiscoverCpu(node_id, node_prop); | ^~~ [ 62%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_api_trace.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa.cpp: In function 'hsa_status_t rocr::HSA::hsa_system_extension_supported(uint16_t, uint16_t, uint16_t, bool*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa.cpp:282:16: warning: unused variable 'status' [-Wunused-variable] 282 | hsa_status_t status = core::Runtime::runtime_singleton_->GetSystemInfo( | ^~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa.cpp: In function 'hsa_status_t rocr::HSA::hsa_agent_extension_supported(uint16_t, hsa_agent_t, uint16_t, uint16_t, bool*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa.cpp:623:18: warning: unused variable 'status' [-Wunused-variable] 623 | hsa_status_t status = | ^~~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa.cpp: In function 'hsa_status_t rocr::HSA::hsa_agent_major_extension_supported(uint16_t, hsa_agent_t, uint16_t, uint16_t*, bool*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa.cpp:658:18: warning: unused variable 'status' [-Wunused-variable] 658 | hsa_status_t status = agent->GetInfo(HSA_AGENT_INFO_VERSION_MAJOR, &agent_version_major); | ^~~~~~ [ 64%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_ext_amd.cpp [ 66%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_ext_interface.cpp [ 68%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/interrupt_signal.cpp [ 70%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/intercept_queue.cpp [ 72%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/ipc_signal.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/ipc_signal.cpp: In destructor 'rocr::core::SharedMemory::~SharedMemory()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/ipc_signal.cpp:68:8: warning: unused variable 'err' [-Wunused-variable] 68 | auto err = Runtime::runtime_singleton_->IPCDetach(ptr_); | ^~~ [ 74%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/isa.cpp [ 75%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/runtime.cpp [ 77%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/signal.cpp [ 79%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/queue.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/isa.cpp: In static member function 'static const rocr::core::IsaRegistry::IsaMap rocr::core::IsaRegistry::GetSupportedIsas()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/isa.cpp:224:18: warning: unused variable 'hsa_name_size' [-Wunused-variable] 224 | constexpr size_t hsa_name_size = 63; | ^~~~~~~~~~~~~ [ 81%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/cache.cpp [ 83%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/runtime/svm_profiler.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/runtime/svm_profiler.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/runtime/svm_profiler.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/svm_profiler.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/runtime.cpp: In lambda function: /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/runtime.cpp:2242:19: warning: unused variable 'error' [-Wunused-variable] 2242 | HSAKMT_STATUS error = hsaKmtSVMSetAttr(op->base, op->size, 1, &attrib); | ^~~~~ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/runtime.cpp: In member function 'rocr::core::Agent* rocr::core::Runtime::GetSVMPrefetchAgent(void*, size_t)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/runtime.cpp:2311:19: warning: unused variable 'error' [-Wunused-variable] 2311 | HSAKMT_STATUS error = | ^~~~~ [ 85%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/common/shared.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/signal.cpp: In member function 'void rocr::core::SharedSignalPool_t::free(rocr::core::SharedSignal*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/signal.cpp:109:10: warning: variable 'valid' set but not used [-Wunused-but-set-variable] 109 | bool valid = false; | ^~~~~ [ 87%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o -MF CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/common/hsa_table_interface.cpp [ 88%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o -MF CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/loader/executable.cpp [ 90%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o -MF CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp [ 92%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o -MF CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code_util.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/svm_profiler.cpp: In member function 'void rocr::AMD::SvmProfileControl::PollSmi()': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/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.7.1/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.7.1/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); | ^~~~ [ 94%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o -MF CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_locks.cpp [ 96%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o -MF CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_options.cpp [ 98%] 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.11.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.7.1/src/inc -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/core/runtime/trap_handler -isystem /usr/include/libdrm -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -fexceptions -fno-rtti -fvisibility=hidden -Wno-error=missing-braces -Wno-error=sign-compare -Wno-sign-compare -Wno-write-strings -Wno-conversion-null -fno-math-errno -fno-threadsafe-statics -fmerge-all-constants -fms-extensions -Wno-error=comment -Wno-comment -Wno-error=pointer-arith -Wno-pointer-arith -Wno-error=unused-variable -Wno-error=unused-function -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o -MF CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o -c /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/runtime.cpp: In member function 'rocr::core::Runtime::PtrInfo(void const*, hsa_amd_pointer_info_s*, void* (*)(unsigned long), unsigned int*, hsa_agent_s**, rocr::core::Runtime::PtrInfoBlockData*)': /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/runtime.cpp:939:49: warning: 'mappedNodes' may be used uninitialized [-Wmaybe-uninitialized] 939 | auto& list = agents_by_node_[mappedNodes[i]]; | ^ /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/core/runtime/runtime.cpp:819:13: note: 'mappedNodes' was declared here 819 | uint32_t* mappedNodes; | ^~~~~~~~~~~ [100%] Linking CXX shared library libhsa-runtime64.so /usr/bin/cmake -E cmake_link_script CMakeFiles/hsa-runtime64.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-Bdynamic -Wl,-z,noexecstack -Wl,/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/hsacore.so.link -Wl,--version-script=/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/src/hsacore.so.def -Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libhsa-runtime64.so.1 -o libhsa-runtime64.so.1.11.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" /usr/lib64/libhsakmt.so.1.0.6 /usr/lib64/libelf.so -ldl -lpthread -lrt /usr/lib64/libdrm.so /usr/bin/cmake -E cmake_symlink_library libhsa-runtime64.so.1.11.0 libhsa-runtime64.so.1 libhsa-runtime64.so gmake[2]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu' [100%] Built target hsa-runtime64 gmake[1]: Leaving directory '/builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1/aarch64-OpenCloudOS-linux-gnu/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mvkp3Y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64 + cd ROCR-Runtime-rocm-5.7.1 + DESTDIR=/builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64 + /usr/bin/cmake --install aarch64-OpenCloudOS-linux-gnu -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/lib64/libhsa-runtime64.so.1.11.0 -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/lib64/libhsa-runtime64.so.1 -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/lib64/libhsa-runtime64.so -- Up-to-date: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/lib64/libhsa-runtime64.so.1.11.0 -- Up-to-date: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/lib64/libhsa-runtime64.so.1 -- Up-to-date: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/lib64/libhsa-runtime64.so -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/share/doc/hsa-runtime64/LICENSE.md -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/amd_hsa_elf.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/amd_hsa_kernel_code.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/hsa_api_trace.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/hsa_ext_image.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/hsa.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/Brig.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/hsa_ext_amd.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/amd_hsa_queue.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/hsa_ext_finalize.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/amd_hsa_signal.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/amd_hsa_common.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/hsa_ven_amd_aqlprofile.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/include/hsa/hsa_ven_amd_loader.h -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/lib64/cmake/hsa-runtime64/hsa-runtime64Targets.cmake -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/lib64/cmake/hsa-runtime64/hsa-runtime64Targets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/lib64/cmake/hsa-runtime64/hsa-runtime64-config.cmake -- Installing: /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/lib64/cmake/hsa-runtime64/hsa-runtime64-config-version.cmake + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 5.7.1-1.oc9 --unique-debug-suffix -5.7.1-1.oc9.aarch64 --unique-debug-src-base rocm-runtime-5.7.1-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/ROCR-Runtime-rocm-5.7.1 extracting debug info from /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/lib64/libhsa-runtime64.so.1.11.0 4052 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs *** WARNING: ./usr/src/debug/rocm-runtime-5.7.1-1.oc9.aarch64/src/core/runtime/isa.cpp is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: rocm-runtime-5.7.1-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.v99h2h + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-rocm-5.7.1 + DOCDIR=/builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.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.7.1-1.oc9.aarch64/usr/share/doc/rocm-runtime + cp -pr README.md /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64/usr/share/doc/rocm-runtime + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.m0YB9W + umask 022 + cd /builddir/build/BUILD + cd ROCR-Runtime-rocm-5.7.1 + LICENSEDIR=/builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.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.7.1-1.oc9.aarch64/usr/share/licenses/rocm-runtime + cp -pr LICENSE.txt /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.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.7.1-1.oc9 rocm-runtime(aarch-64) = 5.7.1-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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.9)(64bit) rtld(GNU_HASH) Processing files: rocm-runtime-devel-5.7.1-1.oc9.aarch64 Provides: cmake(hsa-runtime64) = 1.11.0 rocm-runtime-devel = 5.7.1-1.oc9 rocm-runtime-devel(aarch-64) = 5.7.1-1.oc9 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.7.1-1.oc9.aarch64 Provides: rocm-runtime-debugsource = 5.7.1-1.oc9 rocm-runtime-debugsource(aarch-64) = 5.7.1-1.oc9 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.7.1-1.oc9.aarch64 Provides: debuginfo(build-id) = 78390e613ea37f089448737ab3fbedd7020196cd libhsa-runtime64.so.1.11.0-5.7.1-1.oc9.aarch64.debug()(64bit) rocm-runtime-debuginfo = 5.7.1-1.oc9 rocm-runtime-debuginfo(aarch-64) = 5.7.1-1.oc9 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.7.1-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rocm-runtime-5.7.1-1.oc9.aarch64 Wrote: /builddir/build/RPMS/rocm-runtime-devel-5.7.1-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-runtime-5.7.1-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-runtime-debugsource-5.7.1-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-runtime-debuginfo-5.7.1-1.oc9.aarch64.rpm Child return code was: 0