D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/rocm-runtime-5.7.1-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zaxNeY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build + test -d /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2390uu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build + rm -rf ROCR-Runtime-rocm-5.7.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ROCR-Runtime-rocm-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 . + sed -i 's|\({CLANG_ARG_LIST}\)|\1 --hip-device-lib-path=/usr/lib64/amdgcn/bitcode|' src/image/blit_src/CMakeLists.txt src/core/runtime/trap_handler/CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CiqoNy + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + 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 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ldrm' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ldrm' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ldrm' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -Wno-dev -B build -S ./src -DINCLUDE_PATH_COMPATIBILITY=OFF -DClang_DIR=/usr/lib64/rocm/llvm/lib/cmake/clang -DLLD_DIR=/usr/lib64/rocm/llvm/lib/cmake/lld CMake Warning: Ignoring extra path from command line: "/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1" -- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0") -- Found LibElf: /usr/lib64/libelf.so -- Performing Test ELF_GETSHDRSTRNDX -- Performing Test ELF_GETSHDRSTRNDX - Success -- Checking for module 'libdrm' -- Found libdrm, version 2.4.124 -- Looking for __NR_memfd_create -- Looking for __NR_memfd_create - found -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib64/libtinfo.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) Using clang from: /usr/lib64/rocm/llvm/bin/clang-17 Using llvm-objcopy from: /usr/lib64/rocm/llvm/bin/llvm-objcopy Trap handlers assembled for: gfx900;gfx940;gfx941;gfx942;gfx1010;gfx1030;gfx1100 Generating: gfx900 ... Trap Handler Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s Trap Handler Binary: kCodeTrapHandlerV2_11 -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) Using clang from: /usr/lib64/rocm/llvm/bin/clang-17 Build Setting: Target Devices*: gfx700;gfx701;gfx702;gfx801;gfx802;gfx803;gfx805;gfx810;gfx900;gfx902;gfx904;gfx906;gfx908;gfx909;gfx90a;gfx90c;gfx940;gfx941;gfx942;gfx1010;gfx1011;gfx1012;gfx1013;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103 (Specify ";" separated list of target IDs.) Clang path: /usr/lib64/rocm/llvm/bin/clang-17 Generating: gfx700 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx700 Generating: gfx701 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx701 Generating: gfx702 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx702 Generating: gfx801 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx801 Generating: gfx802 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx802 Generating: gfx803 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx803 Generating: gfx805 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx805 Generating: gfx810 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx810 Generating: gfx900 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx900 Generating: gfx902 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx902 Generating: gfx904 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx904 Generating: gfx906 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx906 Generating: gfx908 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx908 Generating: gfx909 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx909 Generating: gfx90a ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx90a Generating: gfx90c ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx90c Generating: gfx940 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx940 Generating: gfx941 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx941 Generating: gfx942 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx942 Generating: gfx1010 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1010 Generating: gfx1011 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1011 Generating: gfx1012 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1012 Generating: gfx1013 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1013 Generating: gfx1030 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1030 Generating: gfx1031 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1031 Generating: gfx1032 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1032 Generating: gfx1033 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1033 Generating: gfx1034 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1034 Generating: gfx1035 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1035 Generating: gfx1036 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1036 Generating: gfx1100 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1100 Generating: gfx1101 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1101 Generating: gfx1102 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1102 Generating: gfx1103 ... Kernel Source: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl Kernel Bitcode: ocl_blit_object_gfx1103 Using CPACK_DEBIAN_PACKAGE_RELEASE local RESULT_VARIABLE 0 OUTPUT_VARIABLE: .mga10 CPACK_RPM_PACKAGE_RELEASE: local%{?dist} -- Configuring done (3.3s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX LLD_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build + /usr/bin/cmake --build build -j16 --verbose Change Dir: '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16 /usr/bin/cmake -S/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -B/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' /usr/bin/gmake -f image/blit_src/CMakeFiles/opencl_blit_objects.dir/build.make image/blit_src/CMakeFiles/opencl_blit_objects.dir/depend /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 '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src/CMakeFiles/opencl_blit_objects.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler/CMakeFiles/amd_trap_handler_v2.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' /usr/bin/gmake -f image/blit_src/CMakeFiles/opencl_blit_objects.dir/build.make image/blit_src/CMakeFiles/opencl_blit_objects.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' /usr/bin/gmake -f core/runtime/trap_handler/CMakeFiles/amd_trap_handler_v2.dir/build.make core/runtime/trap_handler/CMakeFiles/amd_trap_handler_v2.dir/build [ 1%] BUILDING bitcode for ocl_blit_object_gfx700... gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx700 -mcode-object-version=4 -o ocl_blit_object_gfx700 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 3%] BUILDING bitcode for kCodeTrapHandlerV2_9... [ 3%] BUILDING bitcode for ocl_blit_object_gfx701... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx900 -o kCodeTrapHandlerV2_9.hsaco /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s --hip-device-lib-path=/usr/lib64/amdgcn/bitcode cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx701 -mcode-object-version=4 -o ocl_blit_object_gfx701 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 4%] BUILDING bitcode for kCodeTrapHandlerV2_940... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx940 -o kCodeTrapHandlerV2_940.hsaco /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 4%] BUILDING bitcode for kCodeTrapHandlerV2_941... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx941 -o kCodeTrapHandlerV2_941.hsaco /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 5%] BUILDING bitcode for ocl_blit_object_gfx702... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx702 -mcode-object-version=4 -o ocl_blit_object_gfx702 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 7%] BUILDING bitcode for kCodeTrapHandlerV2_942... [ 7%] BUILDING bitcode for ocl_blit_object_gfx801... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx801 -mcode-object-version=4 -o ocl_blit_object_gfx801 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx942 -o kCodeTrapHandlerV2_942.hsaco /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 8%] BUILDING bitcode for kCodeTrapHandlerV2_10... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1030 -o kCodeTrapHandlerV2_10.hsaco /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 9%] BUILDING bitcode for kCodeTrapHandlerV2_1010... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1010 -o kCodeTrapHandlerV2_1010.hsaco /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 10%] BUILDING bitcode for ocl_blit_object_gfx802... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx802 -mcode-object-version=4 -o ocl_blit_object_gfx802 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 10%] BUILDING bitcode for ocl_blit_object_gfx803... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx803 -mcode-object-version=4 -o ocl_blit_object_gfx803 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 12%] BUILDING bitcode for ocl_blit_object_gfx805... [ 12%] BUILDING bitcode for kCodeTrapHandlerV2_11... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx805 -mcode-object-version=4 -o ocl_blit_object_gfx805 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/clang-17 -x assembler -target amdgcn-amd-amdhsa -mcpu=gfx1100 -o kCodeTrapHandlerV2_11.hsaco /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/trap_handler.s --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 13%] BUILDING bitcode for ocl_blit_object_gfx810... [ 15%] BUILDING bitcode for ocl_blit_object_gfx900... [ 15%] Extracting binary for kCodeTrapHandlerV2_9... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx810 -mcode-object-version=4 -o ocl_blit_object_gfx810 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx900 -mcode-object-version=4 -o ocl_blit_object_gfx900 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_9 kCodeTrapHandlerV2_9.hsaco [ 16%] BUILDING bitcode for ocl_blit_object_gfx904... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx904 -mcode-object-version=4 -o ocl_blit_object_gfx904 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 17%] BUILDING bitcode for ocl_blit_object_gfx902... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx902 -mcode-object-version=4 -o ocl_blit_object_gfx902 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 18%] Extracting binary for kCodeTrapHandlerV2_940... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_940 kCodeTrapHandlerV2_940.hsaco [ 18%] Extracting binary for kCodeTrapHandlerV2_941... [ 19%] BUILDING bitcode for ocl_blit_object_gfx906... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx906 -mcode-object-version=4 -o ocl_blit_object_gfx906 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_941 kCodeTrapHandlerV2_941.hsaco [ 20%] Extracting binary for kCodeTrapHandlerV2_942... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_942 kCodeTrapHandlerV2_942.hsaco [ 20%] BUILDING bitcode for ocl_blit_object_gfx908... [ 21%] Extracting binary for kCodeTrapHandlerV2_1010... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx908 -mcode-object-version=4 -o ocl_blit_object_gfx908 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_1010 kCodeTrapHandlerV2_1010.hsaco [ 22%] Extracting binary for kCodeTrapHandlerV2_10... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_10 kCodeTrapHandlerV2_10.hsaco [ 23%] BUILDING bitcode for ocl_blit_object_gfx909... [ 24%] Extracting binary for kCodeTrapHandlerV2_11... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /usr/lib64/rocm/llvm/bin/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_11 kCodeTrapHandlerV2_11.hsaco cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx909 -mcode-object-version=4 -o ocl_blit_object_gfx909 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 25%] BUILDING bitcode for ocl_blit_object_gfx90a... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx90a -mcode-object-version=4 -o ocl_blit_object_gfx90a /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 25%] Collating trap handlers... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler && /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/trap_handler/create_trap_handler_header.sh /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler/amd_trap_handler_v2.h kCodeTrapHandlerV2_9 kCodeTrapHandlerV2_940 kCodeTrapHandlerV2_941 kCodeTrapHandlerV2_942 kCodeTrapHandlerV2_1010 kCodeTrapHandlerV2_10 kCodeTrapHandlerV2_11 [ 26%] BUILDING bitcode for ocl_blit_object_gfx90c... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx90c -mcode-object-version=4 -o ocl_blit_object_gfx90c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' [ 27%] BUILDING bitcode for ocl_blit_object_gfx940... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx940 -mcode-object-version=4 -o ocl_blit_object_gfx940 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 27%] Built target amd_trap_handler_v2 [ 28%] BUILDING bitcode for ocl_blit_object_gfx941... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx941 -mcode-object-version=4 -o ocl_blit_object_gfx941 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 29%] BUILDING bitcode for ocl_blit_object_gfx942... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx942 -mcode-object-version=4 -o ocl_blit_object_gfx942 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 30%] BUILDING bitcode for ocl_blit_object_gfx1010... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1010 -mcode-object-version=4 -o ocl_blit_object_gfx1010 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 31%] BUILDING bitcode for ocl_blit_object_gfx1011... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1011 -mcode-object-version=4 -o ocl_blit_object_gfx1011 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 32%] BUILDING bitcode for ocl_blit_object_gfx1012... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1012 -mcode-object-version=4 -o ocl_blit_object_gfx1012 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 33%] BUILDING bitcode for ocl_blit_object_gfx1013... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1013 -mcode-object-version=4 -o ocl_blit_object_gfx1013 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 34%] BUILDING bitcode for ocl_blit_object_gfx1030... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1030 -mcode-object-version=4 -o ocl_blit_object_gfx1030 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 35%] BUILDING bitcode for ocl_blit_object_gfx1031... [ 35%] BUILDING bitcode for ocl_blit_object_gfx1032... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1031 -mcode-object-version=4 -o ocl_blit_object_gfx1031 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1032 -mcode-object-version=4 -o ocl_blit_object_gfx1032 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 36%] BUILDING bitcode for ocl_blit_object_gfx1033... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1033 -mcode-object-version=4 -o ocl_blit_object_gfx1033 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 37%] BUILDING bitcode for ocl_blit_object_gfx1034... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1034 -mcode-object-version=4 -o ocl_blit_object_gfx1034 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 38%] BUILDING bitcode for ocl_blit_object_gfx1035... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1035 -mcode-object-version=4 -o ocl_blit_object_gfx1035 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 39%] BUILDING bitcode for ocl_blit_object_gfx1036... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1036 -mcode-object-version=4 -o ocl_blit_object_gfx1036 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 40%] BUILDING bitcode for ocl_blit_object_gfx1100... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1100 -mcode-object-version=4 -o ocl_blit_object_gfx1100 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 41%] BUILDING bitcode for ocl_blit_object_gfx1101... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1101 -mcode-object-version=4 -o ocl_blit_object_gfx1101 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 41%] BUILDING bitcode for ocl_blit_object_gfx1102... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1102 -mcode-object-version=4 -o ocl_blit_object_gfx1102 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 42%] BUILDING bitcode for ocl_blit_object_gfx1103... cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /usr/lib64/rocm/llvm/bin/clang-17 -O2 -x cl -Xclang -finclude-default-header -cl-denorms-are-zero -cl-std=CL2.0 -target amdgcn-amd-amdhsa -mcpu=gfx1103 -mcode-object-version=4 -o ocl_blit_object_gfx1103 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/imageblit_kernels.cl --hip-device-lib-path=/usr/lib64/amdgcn/bitcode [ 42%] Generating opencl_blit_objects.cpp cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src && /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_src/create_hsaco_ascii_file.sh /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src/opencl_blit_objects.cpp gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' [ 42%] Built target opencl_blit_objects /usr/bin/gmake -f CMakeFiles/hsa-runtime64.dir/build.make CMakeFiles/hsa-runtime64.dir/depend gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' cd /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/CMakeFiles/hsa-runtime64.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' /usr/bin/gmake -f CMakeFiles/hsa-runtime64.dir/build.make CMakeFiles/hsa-runtime64.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' [ 43%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/util/lnx/os_linux.cpp [ 44%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/util/small_heap.cpp [ 45%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/util/timer.cpp [ 46%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o [ 47%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/util/flag.cpp /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_kernel.cpp [ 47%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_sdma.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp [ 48%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_cpu_agent.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_cpu_agent.cpp [ 49%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp [ 50%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_hsa_loader.cpp [ 51%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o [ 52%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_loader_context.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp [ 53%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ven_amd_loader.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_loader_context.cpp /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_ven_amd_loader.cpp [ 53%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o [ 54%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_filter_device.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_memory_region.cpp [ 55%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_topology.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_filter_device.cpp /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_topology.cpp [ 56%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/default_signal.cpp [ 57%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/host_queue.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/host_queue.cpp [ 58%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_memory_region.cpp:43: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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&)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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_; | ^~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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, | ^~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp: In member function 'void rocr::AMD::AqlQueue::AllocRegisteredRingBuffer(uint32_t)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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; | ^~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_aql_queue.cpp: In member function 'void rocr::AMD::AqlQueue::Suspend()': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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()': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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_); | ^~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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*)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_memory_region.h:53: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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]': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_memory_region.cpp:221:43: required from here 221 | *address = fragment_allocator_.alloc(size); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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)); | ^~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_topology.cpp: In function 'void rocr::AMD::SurfaceGpuList(std::vector&, bool, bool)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_topology.cpp: In function 'void rocr::AMD::BuildTopology()': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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; | ^~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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; | ^~~ [ 59%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_amd.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_ext_amd.cpp [ 59%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_api_trace.cpp [ 60%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_ext_interface.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/hsa_ext_interface.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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]': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:1014:16: required from here 1014 | template class BlitSdma; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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]': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:1015:16: required from here 1015 | template class BlitSdma; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~ [ 61%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/interrupt_signal.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/interrupt_signal.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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]': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_blit_sdma.cpp:1016:16: required from here 1016 | template class BlitSdma; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~ [ 62%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/intercept_queue.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/intercept_queue.cpp [ 63%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/ipc_signal.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/ipc_signal.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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_); | ^~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp: In destructor 'virtual rocr::AMD::GpuAgent::~GpuAgent()': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp: In member function 'void rocr::AMD::GpuAgent::ReserveScratch()': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~ [ 64%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/isa.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/isa.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp: In member function 'void rocr::AMD::GpuAgent::SyncClocks()': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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_); | ^~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp: In member function 'void rocr::AMD::GpuAgent::BindTrapHandler()': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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_, | ^~~ [ 65%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/runtime.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/runtime.cpp [ 65%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/signal.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/signal.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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*)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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( | ^~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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*)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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 = | ^~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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*)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~~~~ [ 66%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/queue.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/queue.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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()': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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; | ^~~~~~~~~~~~~ [ 67%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/cache.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/cache.cpp [ 68%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/svm_profiler.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/svm_profiler.cpp [ 69%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/common/shared.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/common/shared.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/ipc_signal.cpp: In destructor 'rocr::core::SharedMemory::~SharedMemory()': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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_); | ^~~ [ 70%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/common/hsa_table_interface.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/common/hsa_table_interface.cpp [ 71%] Building CXX object CMakeFiles/hsa-runtime64.dir/loader/executable.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/loader/executable.cpp [ 71%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp [ 72%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code_util.cpp.o [ 73%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_locks.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_locks.cpp /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code_util.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/signal.cpp: In member function 'void rocr::core::SharedSignalPool_t::free(rocr::core::SharedSignal*)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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; | ^~~~~ [ 74%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_options.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_options.cpp [ 75%] Building CXX object CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -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 /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp [ 76%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/addrinterface.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/addrinterface.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/addrinterface.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/addrinterface.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/addrinterface.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/runtime.cpp: In lambda function: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/runtime.cpp:2311:19: warning: unused variable 'error' [-Wunused-variable] 2311 | HSAKMT_STATUS error = | ^~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/addrinterface.cpp: In function 'int rocr::ElemGetExportNorm(ADDR_HANDLE, const ELEM_GETEXPORTNORM_INPUT*)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/addrinterface.cpp:836:23: warning: variable 'returnCode' set but not used [-Wunused-but-set-variable] 836 | ADDR_E_RETURNCODE returnCode = ADDR_OK; | ^~~~~~~~~~ [ 77%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/coord.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/coord.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/coord.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/coord.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/coord.cpp [ 77%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrlib.cpp [ 78%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib1.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib1.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib1.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib1.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrlib1.cpp [ 79%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib2.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib2.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib2.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib2.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrlib2.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrlib1.cpp: In member function 'virtual VOID rocr::Addr::V1::Lib::HwlComputeXmaskCoordFromAddr(long long unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, int, int, int, rocr::ADDR_TILEINFO*, unsigned int*, unsigned int*, unsigned int*) const': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrlib1.cpp:2191:13: warning: variable 'numGroupBits' set but not used [-Wunused-but-set-variable] 2191 | UINT_32 numGroupBits; | ^~~~~~~~~~~~ [ 80%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrobject.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrobject.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrobject.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrobject.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrobject.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrlib1.cpp: In member function 'VOID rocr::Addr::V1::Lib::ComputeMipLevel(rocr::ADDR_COMPUTE_SURFACE_INFO_INPUT*) const': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrlib1.cpp:3536:13: warning: variable 'hwlHandled' set but not used [-Wunused-but-set-variable] 3536 | BOOL_32 hwlHandled = FALSE; | ^~~~~~~~~~ In static member function 'static VOID rocr::Addr::Object::ClientFree(VOID*, const rocr::Addr::Client*)', inlined from 'static VOID rocr::Addr::Object::operator delete(VOID*)' at /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrobject.cpp:198:15, inlined from 'virtual rocr::Addr::Object::~Object()' at /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrobject.cpp:79:1: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrobject.cpp:137:28: warning: '*(const rocr::Addr::Client*)((char*)this + 8).rocr::Addr::Client::callbacks.rocr::_ADDR_CALLBACKS::freeSysMem' is used uninitialized [-Wuninitialized] 137 | if (pClient->callbacks.freeSysMem != NULL) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrobject.cpp:144:44: warning: '*(const rocr::Addr::Client*)((char*)this + 8).rocr::Addr::Client::handle' may be used uninitialized [-Wmaybe-uninitialized] 144 | freeInput.hClient = pClient->handle; | ~~~~~~~~~^~~~~~ [ 81%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrelemlib.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrelemlib.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrelemlib.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrelemlib.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrelemlib.cpp [ 82%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/ciaddrlib.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/ciaddrlib.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/ciaddrlib.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/ciaddrlib.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800/ciaddrlib.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrelemlib.cpp: In member function 'VOID rocr::Addr::ElemLib::RestoreSurfaceInfo(rocr::Addr::ElemMode, unsigned int, unsigned int, unsigned int*, unsigned int*, unsigned int*)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core/addrelemlib.cpp:1274:13: warning: variable 'bBCnFormat' set but not used [-Wunused-but-set-variable] 1274 | BOOL_32 bBCnFormat = FALSE; | ^~~~~~~~~~ [ 82%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/egbaddrlib.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/egbaddrlib.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/egbaddrlib.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/egbaddrlib.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800/egbaddrlib.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/svm_profiler.cpp: In member function 'void rocr::AMD::SvmProfileControl::PollSmi()': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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(), | ^~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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)); | ^~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-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); | ^~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800/egbaddrlib.cpp: In member function 'int rocr::Addr::V1::EgBasedLib::SanityCheckMacroTiled(rocr::ADDR_TILEINFO*) const': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800/egbaddrlib.cpp:977:13: warning: unused variable 'numPipes' [-Wunused-variable] 977 | UINT_32 numPipes = HwlGetPipes(pTileInfo); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800/egbaddrlib.cpp: In member function 'AddrTileMode rocr::Addr::V1::EgBasedLib::ComputeSurfaceMipLevelTileMode(AddrTileMode, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, rocr::ADDR_TILEINFO*) const': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800/egbaddrlib.cpp:1090:13: warning: variable 'bytesPerSlice' set but not used [-Wunused-but-set-variable] 1090 | UINT_64 bytesPerSlice; | ^~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800/egbaddrlib.cpp: In member function 'virtual ADDR_E_RETURNCODE rocr::Addr::V1::EgBasedLib::HwlComputeBaseSwizzle(const rocr::ADDR_COMPUTE_BASE_SWIZZLE_INPUT*, rocr::ADDR_COMPUTE_BASE_SWIZZLE_OUTPUT*) const': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800/egbaddrlib.cpp:2729:13: warning: unused variable 'pipes' [-Wunused-variable] 2729 | UINT_32 pipes = HwlGetPipes(pTileInfo); | ^~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800/egbaddrlib.cpp: In member function 'virtual long long unsigned int rocr::Addr::V1::EgBasedLib::HwlGetSizeAdjustmentMicroTiled(unsigned int, unsigned int, rocr::ADDR_SURFACE_FLAGS, unsigned int, unsigned int, unsigned int, unsigned int*, unsigned int*) const': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800/egbaddrlib.cpp:4103:13: warning: variable 'physicalSliceSize' set but not used [-Wunused-but-set-variable] 4103 | UINT_64 physicalSliceSize; | ^~~~~~~~~~~~~~~~~ [ 83%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/siaddrlib.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/siaddrlib.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/siaddrlib.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/siaddrlib.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800/siaddrlib.cpp [ 84%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx9/gfx9addrlib.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx9/gfx9addrlib.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx9/gfx9addrlib.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx9/gfx9addrlib.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9/gfx9addrlib.cpp [ 85%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx10/gfx10addrlib.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx10/gfx10addrlib.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx10/gfx10addrlib.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx10/gfx10addrlib.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10/gfx10addrlib.cpp [ 86%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx11/gfx11addrlib.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx11/gfx11addrlib.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx11/gfx11addrlib.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx11/gfx11addrlib.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11/gfx11addrlib.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9/gfx9addrlib.cpp: In member function 'virtual ADDR_E_RETURNCODE rocr::Addr::V2::Gfx9Lib::HwlComputeBlock256Equation(AddrResourceType, AddrSwizzleMode, unsigned int, rocr::ADDR_EQUATION*) const': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9/gfx9addrlib.cpp:2585:15: warning: variable 'microBlockDim' set but not used [-Wunused-but-set-variable] 2585 | Dim2d microBlockDim = Block256_2d[elementBytesLog2]; | ^~~~~~~~~~~~~ [ 87%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/device_info.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/device_info.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/device_info.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/device_info.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/device_info.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9/gfx9addrlib.cpp: In member function 'ADDR_E_RETURNCODE rocr::Addr::V2::Gfx9Lib::ComputeStereoInfo(const rocr::ADDR2_COMPUTE_SURFACE_INFO_INPUT*, rocr::ADDR2_COMPUTE_SURFACE_INFO_OUTPUT*, unsigned int*) const': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9/gfx9addrlib.cpp:4026:34: warning: unused variable 'pEqToCheck' [-Wunused-variable] 4026 | const ADDR_EQUATION *pEqToCheck = &m_equationTable[eqIndex]; | ^~~~~~~~~~ [ 88%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/hsa_ext_image.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/hsa_ext_image.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/hsa_ext_image.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/hsa_ext_image.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/hsa_ext_image.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10/gfx10addrlib.cpp: In member function 'VOID rocr::Addr::V2::Gfx10Lib::ConvertSwizzlePatternToEquation(unsigned int, AddrResourceType, AddrSwizzleMode, const rocr::Addr::V2::ADDR_SW_PATINFO*, rocr::ADDR_EQUATION*) const': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10/gfx10addrlib.cpp:1520:23: warning: unused variable 'blkXLog2' [-Wunused-variable] 1520 | const UINT_32 blkXLog2 = Log2(dim.w); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10/gfx10addrlib.cpp:1521:23: warning: unused variable 'blkYLog2' [-Wunused-variable] 1521 | const UINT_32 blkYLog2 = Log2(dim.h); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10/gfx10addrlib.cpp:1625:23: warning: unused variable 'pipeIntMask' [-Wunused-variable] 1625 | const UINT_32 pipeIntMask = (1 << m_pipeInterleaveLog2) - 1; | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10/gfx10addrlib.cpp:1854:23: warning: unused variable 'pipeIntMask' [-Wunused-variable] 1854 | const UINT_32 pipeIntMask = (1 << m_pipeInterleaveLog2) - 1; | ^~~~~~~~~~~ [ 88%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/image_runtime.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/image_runtime.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/image_runtime.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/image_runtime.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_runtime.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11/gfx11addrlib.cpp: In member function 'VOID rocr::Addr::V2::Gfx11Lib::ConvertSwizzlePatternToEquation(unsigned int, AddrResourceType, AddrSwizzleMode, const rocr::Addr::V2::ADDR_SW_PATINFO*, rocr::ADDR_EQUATION*) const': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11/gfx11addrlib.cpp:1158:23: warning: unused variable 'blkXLog2' [-Wunused-variable] 1158 | const UINT_32 blkXLog2 = Log2(dim.w); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11/gfx11addrlib.cpp:1159:23: warning: unused variable 'blkYLog2' [-Wunused-variable] 1159 | const UINT_32 blkYLog2 = Log2(dim.h); | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11/gfx11addrlib.cpp:1263:23: warning: unused variable 'pipeIntMask' [-Wunused-variable] 1263 | const UINT_32 pipeIntMask = (1 << m_pipeInterleaveLog2) - 1; | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11/gfx11addrlib.cpp:1496:23: warning: unused variable 'pipeIntMask' [-Wunused-variable] 1496 | const UINT_32 pipeIntMask = (1 << m_pipeInterleaveLog2) - 1; | ^~~~~~~~~~~ [ 89%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/image_manager.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/image_manager.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/image_manager.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/image_manager.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager.cpp [ 90%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/image_manager_kv.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/image_manager_kv.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/image_manager_kv.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/image_manager_kv.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager_kv.cpp [ 91%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/image_manager_ai.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/image_manager_ai.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/image_manager_ai.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/image_manager_ai.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager_ai.cpp [ 92%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/image_manager_nv.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/image_manager_nv.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/image_manager_nv.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/image_manager_nv.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager_nv.cpp [ 93%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/image_manager_gfx11.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/image_manager_gfx11.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/image_manager_gfx11.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/image_manager_gfx11.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager_gfx11.cpp [ 94%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/image_lut_kv.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/image_lut_kv.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/image_lut_kv.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/image_lut_kv.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_lut_kv.cpp [ 94%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/image_lut_gfx11.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/image_lut_gfx11.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/image_lut_gfx11.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/image_lut_gfx11.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_lut_gfx11.cpp [ 95%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx7xx.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx7xx.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx7xx.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx7xx.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_object_gfx7xx.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager.cpp: In static member function 'static void rocr::image::Image::Destroy(const rocr::image::Image*)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager.cpp:90:16: warning: unused variable 'status' [-Wunused-variable] 90 | hsa_status_t status = AMD::hsa_amd_memory_pool_free(const_cast(image)); | ^~~~~~ [ 96%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx8xx.cpp.o /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager.cpp: In static member function 'static void rocr::image::Sampler::Destroy(const rocr::image::Sampler*)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager.cpp:121:16: warning: unused variable 'status' [-Wunused-variable] 121 | hsa_status_t status = AMD::hsa_amd_memory_pool_free(const_cast(sampler)); | ^~~~~~ /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx8xx.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx8xx.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx8xx.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_object_gfx8xx.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager.cpp: In member function 'virtual hsa_status_t rocr::image::ImageManager::CopyImage(const rocr::image::Image&, const rocr::image::Image&, const hsa_dim3_t&, const hsa_dim3_t&, hsa_dim3_t)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager.cpp:188:16: warning: unused variable 'dst_element_size' [-Wunused-variable] 188 | const size_t dst_element_size = dst_image_prop.element_size; | ^~~~~~~~~~~~~~~~ [ 97%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx9xx.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx9xx.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx9xx.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx9xx.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_object_gfx9xx.cpp [ 98%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/blit_kernel.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/blit_kernel.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/blit_kernel.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/blit_kernel.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/blit_kernel.cpp [ 99%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/blit_src/opencl_blit_objects.cpp.o /usr/bin/g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.11.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__linux__ -Dhsa_runtime64_EXPORTS -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/core/runtime/trap_handler -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/inc -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/core -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/gfx11 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/r800 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx9 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx10 -I/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/addrlib/src/chip/gfx11 -isystem /usr/include/libdrm -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -fPIC -Wall -std=c++11 -fPIC -Wl,--unresolved-symbols=ignore-in-shared-libs -fno-strict-aliasing -m64 -msse -msse2 -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 -mmwaitx -Wno-deprecated-declarations -Wno-error=maybe-uninitialized -Wno-error=unused-but-set-variable -MD -MT CMakeFiles/hsa-runtime64.dir/image/blit_src/opencl_blit_objects.cpp.o -MF CMakeFiles/hsa-runtime64.dir/image/blit_src/opencl_blit_objects.cpp.o.d -o CMakeFiles/hsa-runtime64.dir/image/blit_src/opencl_blit_objects.cpp.o -c /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build/image/blit_src/opencl_blit_objects.cpp /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager_kv.cpp: In member function 'virtual hsa_status_t rocr::image::ImageManagerKv::Initialize(hsa_agent_t)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager_kv.cpp:92:16: warning: variable 'status' set but not used [-Wunused-but-set-variable] 92 | hsa_status_t status = GetGPUAsicID(agent_, &chip_id_); | ^~~~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_manager_kv.cpp:111:17: warning: unused variable 'stat' [-Wunused-variable] 111 | HSAKMT_STATUS stat = hsaKmtGetTileConfig(node_id, &tileConfig); | ^~~~ /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_runtime.cpp: In function 'hsa_status_t rocr::image::FindKernelArgPool(hsa_amd_memory_pool_t, void*)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/image/image_runtime.cpp:69:16: warning: variable 'err' set but not used [-Wunused-but-set-variable] 69 | hsa_status_t err; | ^~~ [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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DNDEBUG -Wl,-Bdynamic -Wl,-z,noexecstack -Wl,/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/hsacore.so.link -Wl,--version-script=/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/hsacore.so.def -Wl,--enable-new-dtags -Wl,--dependency-file=CMakeFiles/hsa-runtime64.dir/link.d -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ldrm -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" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/addrinterface.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/coord.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib1.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib2.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrobject.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrelemlib.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/ciaddrlib.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/egbaddrlib.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/r800/siaddrlib.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx9/gfx9addrlib.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx10/gfx10addrlib.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/addrlib/src/gfx11//usr/bin/ld: CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o: in function `rocr::AMD::GpuAgent::GpuAgent(unsigned int, _HsaNodeProperties const&, bool, unsigned int)': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:193:(.text+0x8720): undefined reference to `amdgpu_device_initialize' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:199:(.text+0x8735): undefined reference to `amdgpu_query_gpu_info' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:196:(.text+0x876c): undefined reference to `amdgpu_device_deinitialize' /usr/bin/ld: CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o: in function `rocr::AMD::GpuAgent::GpuAgent(unsigned int, _HsaNodeProperties const&, bool, unsigned int) [clone .cold]': /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/runtime/amd_gpu_agent.cpp:196:(.text.unlikely+0xea9): undefined reference to `amdgpu_device_deinitialize' collect2: error: ld returned 1 exit status gfx11addrlib.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/device_info.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/hsa_ext_image.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/image_runtime.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/image_manager.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/image_manager_kv.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/image_manager_ai.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/image_manager_nv.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/image_manager_gfx11.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/image_lut_kv.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/image_lut_gfx11.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx7xx.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx8xx.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/blit_object_gfx9xx.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/blit_kernel.cpp.o" "CMakeFiles/hsa-runtime64.dir/image/blit_src/opencl_blit_objects.cpp.o" /usr/lib64/libhsakmt.so.1.0.6 /usr/lib64/libelf.so -ldl -lpthread -lrt /usr/lib64/libdrm.so gmake[2]: *** [CMakeFiles/hsa-runtime64.dir/build.make:1147: libhsa-runtime64.so.1.11.0] Error 1 gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' gmake[1]: *** [CMakeFiles/Makefile2:141: CMakeFiles/hsa-runtime64.dir/all] Error 2 gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build' gmake: *** [Makefile:159: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CiqoNy (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CiqoNy (%build) I: [iurt_root_command] ERROR: chroot