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.Ux7qHT
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VRp4cv
+ 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.VHGnQ1
+ 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 15.1.0
-- The CXX compiler identification is GNU 15.1.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.6s)
-- 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/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]: 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]: 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
gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build'
[  1%] BUILDING bitcode for kCodeTrapHandlerV2_941...
[  1%] BUILDING bitcode for ocl_blit_object_gfx802...
[  4%] BUILDING bitcode for ocl_blit_object_gfx902...
[  5%] BUILDING bitcode for ocl_blit_object_gfx702...
[  5%] 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/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
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
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
[  6%] BUILDING bitcode for ocl_blit_object_gfx805...
[  7%] BUILDING bitcode for ocl_blit_object_gfx810...
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/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
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/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
[  8%] BUILDING bitcode for ocl_blit_object_gfx904...
[  9%] BUILDING bitcode for ocl_blit_object_gfx701...
[ 10%] BUILDING bitcode for kCodeTrapHandlerV2_940...
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
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
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
[ 12%] BUILDING bitcode for ocl_blit_object_gfx906...
[ 13%] BUILDING bitcode for kCodeTrapHandlerV2_9...
[  1%] BUILDING bitcode for ocl_blit_object_gfx803...
[  1%] BUILDING bitcode for ocl_blit_object_gfx908...
[ 13%] BUILDING bitcode for ocl_blit_object_gfx900...
[ 13%] BUILDING bitcode for ocl_blit_object_gfx700...
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=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
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
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/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/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
[ 15%] BUILDING bitcode for ocl_blit_object_gfx909...
[ 15%] BUILDING bitcode for kCodeTrapHandlerV2_942...
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
[ 16%] 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=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
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
[ 17%] BUILDING bitcode for kCodeTrapHandlerV2_10...
[ 18%] BUILDING bitcode 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/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
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
[ 19%] Extracting binary for kCodeTrapHandlerV2_9...
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
[ 20%] 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
[ 21%] BUILDING bitcode for ocl_blit_object_gfx90a...
[ 22%] 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=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
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
[ 22%] Extracting binary 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/llvm-objcopy --dump-section=.text=kCodeTrapHandlerV2_941 kCodeTrapHandlerV2_941.hsaco
[ 23%] 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
[ 24%] BUILDING bitcode for ocl_blit_object_gfx940...
[ 25%] BUILDING bitcode for ocl_blit_object_gfx941...
[ 26%] 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=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
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
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
[ 29%] BUILDING bitcode for ocl_blit_object_gfx942...
[ 29%] BUILDING bitcode for ocl_blit_object_gfx1010...
[ 29%] 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=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
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
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
[ 31%] Extracting binary for kCodeTrapHandlerV2_11...
[ 31%] BUILDING bitcode for ocl_blit_object_gfx1012...
[ 33%] BUILDING bitcode for ocl_blit_object_gfx1013...
[ 33%] 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/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=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
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
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
[ 34%] 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
[ 35%] 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
[ 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
gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/build'
[ 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
[ 38%] Built target amd_trap_handler_v2
[ 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'
[ 44%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/flag.cpp.o
[ 44%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/lnx/os_linux.cpp.o
[ 45%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/timer.cpp.o
[ 46%] 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/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
[ 48%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/util/small_heap.cpp.o
[ 48%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_gpu_agent.cpp.o
[ 51%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_blit_kernel.cpp.o
[ 51%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_aql_queue.cpp.o
[ 51%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_hsa_loader.cpp.o
[ 51%] 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/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
[ 52%] 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/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
[ 53%] 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/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
/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
/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
/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
/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
/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
/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
[ 56%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/amd_memory_region.cpp.o
[ 56%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/default_signal.cpp.o
[ 56%] 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
[ 56%] 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/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
/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
[ 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<unnamed>' [-Wenum-compare]
 1065 |   if (errorCode == HSA_STATUS_ERROR_MEMORY_FAULT) {
      |       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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<int>&, 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;
      |                ^~~
/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);
      |                 ^~~
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<Allocator>::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<void*>(base));
      |            ^~~
/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_blit_sdma.cpp: In instantiation of 'hsa_status_t rocr::AMD::BlitSdma<RingIndexTy, HwIndexMonotonic, SizeToCountOffset, useGCR>::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<uint32_t, false, 0, false>;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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_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_,
      |                 ^~~
/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<RingIndexTy, HwIndexMonotonic, SizeToCountOffset, useGCR>::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<uint64_t, true, -1, false>;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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<RingIndexTy, HwIndexMonotonic, SizeToCountOffset, useGCR>::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<uint64_t, true, -1, true>;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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);
      |          ^~~
[ 59%] Building CXX object CMakeFiles/hsa-runtime64.dir/core/runtime/hsa_api_trace.cpp.o
[ 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_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
/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
[ 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
[ 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
[ 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
[ 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/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
/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
[ 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
[ 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/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
/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
[ 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
/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;
      |                  ^~~~~~~~~~~~~
/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);
      |                  ^~~~~~
[ 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
[ 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
/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_);
      |        ^~~
[ 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
/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;
      |          ^~~~~
[ 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
/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 =
      |                   ^~~~~
[ 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
In file included from /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:43:
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:62:15: error: 'uint64_t' does not name a type
   62 |       virtual uint64_t type() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:50:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   49 | #include <memory>
  +++ |+#include <cstdint>
   50 | 
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:63:15: error: 'uint64_t' does not name a type
   63 |       virtual uint64_t memSize() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:63:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:64:15: error: 'uint64_t' does not name a type
   64 |       virtual uint64_t align() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:64:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:65:15: error: 'uint64_t' does not name a type
   65 |       virtual uint64_t imageSize() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:65:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:66:15: error: 'uint64_t' does not name a type
   66 |       virtual uint64_t vaddr() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:66:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:67:15: error: 'uint64_t' does not name a type
   67 |       virtual uint64_t flags() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:67:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:68:15: error: 'uint64_t' does not name a type
   68 |       virtual uint64_t offset() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:68:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:70:15: error: 'uint16_t' does not name a type
   70 |       virtual uint16_t getSegmentIndex() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:70:15: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:77:15: error: 'uint16_t' does not name a type
   77 |       virtual uint16_t getSectionIndex() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:77:15: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:78:15: error: 'uint32_t' does not name a type
   78 |       virtual uint32_t type() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:78:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:80:15: error: 'uint64_t' does not name a type
   80 |       virtual uint64_t offset() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:80:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:81:15: error: 'uint64_t' does not name a type
   81 |       virtual uint64_t addr() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:81:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:31: error: 'uint64_t' has not been declared
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:31: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:83:15: error: 'uint64_t' does not name a type
   83 |       virtual uint64_t addralign() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:83:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:84:15: error: 'uint64_t' does not name a type
   84 |       virtual uint64_t flags() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:84:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:85:15: error: 'uint64_t' does not name a type
   85 |       virtual uint64_t size() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:85:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:86:15: error: 'uint64_t' does not name a type
   86 |       virtual uint64_t nextDataOffset(uint64_t align) const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:86:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:87:15: error: 'uint64_t' does not name a type
   87 |       virtual uint64_t addData(const void *src, uint64_t size, uint64_t align) = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:87:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:28: error: 'uint64_t' has not been declared
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:28: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:57: error: 'uint64_t' has not been declared
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                                                         ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:57: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:31: error: 'uint64_t' has not been declared
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:31: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:94:15: error: 'uint64_t' does not name a type
   94 |       virtual uint64_t memSize() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:94:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:29: error: 'uint64_t' has not been declared
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                             ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:29: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:96:15: error: 'uint64_t' does not name a type
   96 |       virtual uint64_t memAlign() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:96:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:103:15: error: 'uint32_t' does not name a type
  103 |       virtual uint32_t type() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:103:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:104:15: error: 'uint32_t' does not name a type
  104 |       virtual uint32_t symbolIndex() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:104:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:106:15: error: 'uint64_t' does not name a type
  106 |       virtual uint64_t offset() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:106:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:112:41: error: 'uint32_t' has not been declared
  112 |       virtual Relocation* addRelocation(uint32_t type, Symbol* symbol, uint64_t offset, int64_t addend) = 0;
      |                                         ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:112:41: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:112:72: error: 'uint64_t' has not been declared
  112 |       virtual Relocation* addRelocation(uint32_t type, Symbol* symbol, uint64_t offset, int64_t addend) = 0;
      |                                                                        ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:112:72: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:129:15: error: 'uint32_t' does not name a type
  129 |       virtual uint32_t index() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:129:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:130:15: error: 'uint32_t' does not name a type
  130 |       virtual uint32_t type() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:130:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:131:15: error: 'uint32_t' does not name a type
  131 |       virtual uint32_t binding() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:131:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:132:15: error: 'uint64_t' does not name a type
  132 |       virtual uint64_t size() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:132:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:133:15: error: 'uint64_t' does not name a type
  133 |       virtual uint64_t value() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:133:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:137:29: error: 'uint64_t' has not been declared
  137 |       virtual void setValue(uint64_t value) = 0;
      |                             ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:137:29: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:138:28: error: 'uint64_t' has not been declared
  138 |       virtual void setSize(uint64_t size) = 0;
      |                            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:138:28: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:143:76: error: 'uint64_t' has not been declared
  143 |       virtual Symbol* addSymbol(Section* section, const std::string& name, uint64_t value, uint64_t size, unsigned char type, unsigned char binding, unsigned char other = 0) = 0;
      |                                                                            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:143:76: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:143:92: error: 'uint64_t' has not been declared
  143 |       virtual Symbol* addSymbol(Section* section, const std::string& name, uint64_t value, uint64_t size, unsigned char type, unsigned char binding, unsigned char other = 0) = 0;
      |                                                                                            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:143:92: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:150:53: error: 'uint32_t' has not been declared
  150 |       virtual bool addNote(const std::string& name, uint32_t type, const void* desc = 0, uint32_t desc_size = 0) = 0;
      |                                                     ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:150:53: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:150:90: error: 'uint32_t' has not been declared
  150 |       virtual bool addNote(const std::string& name, uint32_t type, const void* desc = 0, uint32_t desc_size = 0) = 0;
      |                                                                                          ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:150:90: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:151:53: error: 'uint32_t' has not been declared
  151 |       virtual bool getNote(const std::string& name, uint32_t type, void** desc, uint32_t* desc_size) = 0;
      |                                                     ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:151:53: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:151:81: error: 'uint32_t' has not been declared
  151 |       virtual bool getNote(const std::string& name, uint32_t type, void** desc, uint32_t* desc_size) = 0;
      |                                                                                 ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:151:81: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:28: error: 'uint16_t' has not been declared
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:28: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:46: error: 'uint16_t' has not been declared
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                                              ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:46: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:61: error: 'uint8_t' has not been declared
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                                                             ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:61: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:81: error: 'uint8_t' has not been declared
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                                                                                 ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:81: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:106: error: 'uint32_t' has not been declared
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                                                                                                          ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:106: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:168:15: error: 'uint64_t' does not name a type
  168 |       virtual uint64_t size() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:168:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:170:15: error: 'uint16_t' does not name a type
  170 |       virtual uint16_t Machine() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:170:15: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:171:15: error: 'uint16_t' does not name a type
  171 |       virtual uint16_t Type() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:171:15: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:172:15: error: 'uint32_t' does not name a type
  172 |       virtual uint32_t EFlags() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:172:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:173:15: error: 'uint32_t' does not name a type
  173 |       virtual uint32_t ABIVersion() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:173:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:174:15: error: 'uint32_t' does not name a type
  174 |       virtual uint32_t EClass() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:174:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:175:15: error: 'uint32_t' does not name a type
  175 |       virtual uint32_t OsAbi() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:175:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:185:38: error: 'uint16_t' has not been declared
  185 |       virtual SymbolTable* getSymtab(uint16_t index) = 0;
      |                                      ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:185:38: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:187:38: error: 'uint16_t' has not been declared
  187 |       virtual SymbolTable* getDynsym(uint16_t index) = 0;
      |                                      ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:187:38: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:189:43: error: 'uint16_t' has not been declared
  189 |       virtual SymbolTable* getSymbolTable(uint16_t index) = 0;
      |                                           ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:189:43: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:192:43: error: 'uint16_t' has not been declared
  192 |       virtual StringTable* getStringTable(uint16_t index) = 0;
      |                                           ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:192:43: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:198:39: error: 'uint64_t' has not been declared
  198 |       virtual Segment* segmentByVAddr(uint64_t vaddr) = 0;
      |                                       ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:198:39: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:202:39: error: 'uint64_t' has not been declared
  202 |       virtual Section* sectionByVAddr(uint64_t vaddr) = 0;
      |                                       ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:202:39: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:36: error: 'uint32_t' has not been declared
  207 |       virtual Segment* initSegment(uint32_t type, uint32_t flags, uint64_t paddr = 0) = 0;
      |                                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:36: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:51: error: 'uint32_t' has not been declared
  207 |       virtual Segment* initSegment(uint32_t type, uint32_t flags, uint64_t paddr = 0) = 0;
      |                                                   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:51: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:67: error: 'uint64_t' has not been declared
  207 |       virtual Segment* initSegment(uint32_t type, uint32_t flags, uint64_t paddr = 0) = 0;
      |                                                                   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:67: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:211:35: error: 'uint32_t' has not been declared
  211 |                                   uint32_t type,
      |                                   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:211:35: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:212:35: error: 'uint64_t' has not been declared
  212 |                                   uint64_t flags = 0,
      |                                   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:212:35: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:213:35: error: 'uint64_t' has not been declared
  213 |                                   uint64_t entsize = 0,
      |                                   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:213:35: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:225:5: error: 'uint64_t' does not name a type
  225 |     uint64_t ElfSize(const void* buffer);
      |     ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:225:5: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:227:31: error: 'uint32_t' was not declared in this scope
  227 |     std::string GetNoteString(uint32_t s_size, const char* s);
      |                               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:227:31: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:227:48: error: expected primary-expression before 'const'
  227 |     std::string GetNoteString(uint32_t s_size, const char* s);
      |                                                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:432:16: error: 'uint16_t rocr::amd::elf::GElfSection::getSectionIndex() const' marked 'override', but does not override
  432 |       uint16_t getSectionIndex() const override;
      |                ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:433:16: error: 'uint32_t rocr::amd::elf::GElfSection::type() const' marked 'override', but does not override
  433 |       uint32_t type() const override { return hdr.sh_type; }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:435:16: error: 'uint64_t rocr::amd::elf::GElfSection::offset() const' marked 'override', but does not override
  435 |       uint64_t offset() const override { return hdr.sh_offset; }
      |                ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:436:16: error: 'uint64_t rocr::amd::elf::GElfSection::addr() const' marked 'override', but does not override
  436 |       uint64_t addr() const override { return hdr.sh_addr; }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:437:12: error: 'bool rocr::amd::elf::GElfSection::updateAddr(uint64_t)' marked 'override', but does not override
  437 |       bool updateAddr(uint64_t addr) override;
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:438:16: error: 'uint64_t rocr::amd::elf::GElfSection::addralign() const' marked 'override', but does not override
  438 |       uint64_t addralign() const override { return data0.size() == 0 ? data.align() : data0.align(); }
      |                ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:439:16: error: 'uint64_t rocr::amd::elf::GElfSection::flags() const' marked 'override', but does not override
  439 |       uint64_t flags() const override { return hdr.sh_flags; }
      |                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:440:16: error: 'uint64_t rocr::amd::elf::GElfSection::size() const' marked 'override', but does not override
  440 |       uint64_t size() const override { return data0.size() == 0 ? data.size() : data0.size(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:441:16: error: 'uint64_t rocr::amd::elf::GElfSection::nextDataOffset(uint64_t) const' marked 'override', but does not override
  441 |       uint64_t nextDataOffset(uint64_t align) const override;
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:442:16: error: 'uint64_t rocr::amd::elf::GElfSection::addData(const void*, uint64_t, uint64_t)' marked 'override', but does not override
  442 |       uint64_t addData(const void *src, uint64_t size, uint64_t align) override;
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:443:12: error: 'bool rocr::amd::elf::GElfSection::getData(uint64_t, void*, uint64_t)' marked 'override', but does not override
  443 |       bool getData(uint64_t offset, void* dest, uint64_t size) override;
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:448:12: error: 'bool rocr::amd::elf::GElfSection::setMemSize(uint64_t)' marked 'override', but does not override
  448 |       bool setMemSize(uint64_t s) override { memsize_ = s; return true; }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:449:16: error: 'uint64_t rocr::amd::elf::GElfSection::memSize() const' marked 'override', but does not override
  449 |       uint64_t memSize() const override { return memsize_ ? memsize_ : size(); }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:450:12: error: 'bool rocr::amd::elf::GElfSection::setAlign(uint64_t)' marked 'override', but does not override
  450 |       bool setAlign(uint64_t a) override { align_ = a; return true; }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:451:16: error: 'uint64_t rocr::amd::elf::GElfSection::memAlign() const' marked 'override', but does not override
  451 |       uint64_t memAlign() const override { return align_ ? align_ : addralign(); }
      |                ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: warning: 'virtual bool rocr::amd::elf::Section::setAlign(int)' was hidden [-Woverloaded-virtual=]
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:450:12: note:   by 'bool rocr::amd::elf::GElfSection::setAlign(uint64_t)'
  450 |       bool setAlign(uint64_t a) override { align_ = a; return true; }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: warning: 'virtual bool rocr::amd::elf::Section::setMemSize(int)' was hidden [-Woverloaded-virtual=]
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:448:12: note:   by 'bool rocr::amd::elf::GElfSection::setMemSize(uint64_t)'
  448 |       bool setMemSize(uint64_t s) override { memsize_ = s; return true; }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: warning: 'virtual bool rocr::amd::elf::Section::getData(int, void*, int)' was hidden [-Woverloaded-virtual=]
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:443:12: note:   by 'bool rocr::amd::elf::GElfSection::getData(uint64_t, void*, uint64_t)'
  443 |       bool getData(uint64_t offset, void* dest, uint64_t size) override;
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: warning: 'virtual bool rocr::amd::elf::Section::updateAddr(int)' was hidden [-Woverloaded-virtual=]
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:437:12: note:   by 'bool rocr::amd::elf::GElfSection::updateAddr(uint64_t)'
  437 |       bool updateAddr(uint64_t addr) override;
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:475:16: error: 'uint64_t rocr::amd::elf::GElfSegment::type() const' marked 'override', but does not override
  475 |       uint64_t type() const override { return phdr.p_type; }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:476:16: error: 'uint64_t rocr::amd::elf::GElfSegment::memSize() const' marked 'override', but does not override
  476 |       uint64_t memSize() const override { return phdr.p_memsz; }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:477:16: error: 'uint64_t rocr::amd::elf::GElfSegment::align() const' marked 'override', but does not override
  477 |       uint64_t align() const override { return phdr.p_align; }
      |                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:478:16: error: 'uint64_t rocr::amd::elf::GElfSegment::imageSize() const' marked 'override', but does not override
  478 |       uint64_t imageSize() const override { return phdr.p_filesz; }
      |                ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:479:16: error: 'uint64_t rocr::amd::elf::GElfSegment::vaddr() const' marked 'override', but does not override
  479 |       uint64_t vaddr() const override { return phdr.p_vaddr; }
      |                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:480:16: error: 'uint64_t rocr::amd::elf::GElfSegment::flags() const' marked 'override', but does not override
  480 |       uint64_t flags() const override { return phdr.p_flags; }
      |                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:481:16: error: 'uint64_t rocr::amd::elf::GElfSegment::offset() const' marked 'override', but does not override
  481 |       uint64_t offset() const override { return phdr.p_offset; }
      |                ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:483:16: error: 'uint16_t rocr::amd::elf::GElfSegment::getSegmentIndex()' marked 'override', but does not override
  483 |       uint16_t getSegmentIndex() override;
      |                ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:503:16: error: 'uint16_t rocr::amd::elf::GElfStringTable::getSectionIndex() const' marked 'override', but does not override
  503 |       uint16_t getSectionIndex() const override { return GElfSection::getSectionIndex(); }
      |                ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:504:16: error: 'uint32_t rocr::amd::elf::GElfStringTable::type() const' marked 'override', but does not override
  504 |       uint32_t type() const override { return GElfSection::type(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:506:16: error: 'uint64_t rocr::amd::elf::GElfStringTable::addr() const' marked 'override', but does not override
  506 |       uint64_t addr() const override { return GElfSection::addr(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:507:16: error: 'uint64_t rocr::amd::elf::GElfStringTable::offset() const' marked 'override', but does not override
  507 |       uint64_t offset() const override { return GElfSection::offset(); }
      |                ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:508:12: error: 'bool rocr::amd::elf::GElfStringTable::updateAddr(uint64_t)' marked 'override', but does not override
  508 |       bool updateAddr(uint64_t addr) override { return GElfSection::updateAddr(addr); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:509:16: error: 'uint64_t rocr::amd::elf::GElfStringTable::addralign() const' marked 'override', but does not override
  509 |       uint64_t addralign() const override { return GElfSection::addralign(); }
      |                ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:510:16: error: 'uint64_t rocr::amd::elf::GElfStringTable::flags() const' marked 'override', but does not override
  510 |       uint64_t flags() const override { return GElfSection::flags(); }
      |                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:511:16: error: 'uint64_t rocr::amd::elf::GElfStringTable::size() const' marked 'override', but does not override
  511 |       uint64_t size() const override { return GElfSection::size(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:513:16: error: 'uint64_t rocr::amd::elf::GElfStringTable::nextDataOffset(uint64_t) const' marked 'override', but does not override
  513 |       uint64_t nextDataOffset(uint64_t align) const override { return GElfSection::nextDataOffset(align); }
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:514:16: error: 'uint64_t rocr::amd::elf::GElfStringTable::addData(const void*, uint64_t, uint64_t)' marked 'override', but does not override
  514 |       uint64_t addData(const void *src, uint64_t size, uint64_t align) override { return GElfSection::addData(src, size, align); }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:515:12: error: 'bool rocr::amd::elf::GElfStringTable::getData(uint64_t, void*, uint64_t)' marked 'override', but does not override
  515 |       bool getData(uint64_t offset, void* dest, uint64_t size) override { return GElfSection::getData(offset, dest, size); }
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:519:16: error: 'uint64_t rocr::amd::elf::GElfStringTable::memSize() const' marked 'override', but does not override
  519 |       uint64_t memSize() const override { return GElfSection::memSize(); }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:520:12: error: 'bool rocr::amd::elf::GElfStringTable::setMemSize(uint64_t)' marked 'override', but does not override
  520 |       bool setMemSize(uint64_t s) override { return GElfSection::setMemSize(s); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:521:16: error: 'uint64_t rocr::amd::elf::GElfStringTable::memAlign() const' marked 'override', but does not override
  521 |       uint64_t memAlign() const override { return GElfSection::memAlign(); }
      |                ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:522:12: error: 'bool rocr::amd::elf::GElfStringTable::setAlign(uint64_t)' marked 'override', but does not override
  522 |       bool setAlign(uint64_t a) override { return GElfSection::setAlign(a); }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: warning: 'virtual bool rocr::amd::elf::Section::setAlign(int)' was hidden [-Woverloaded-virtual=]
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:522:12: note:   by 'bool rocr::amd::elf::GElfStringTable::setAlign(uint64_t)'
  522 |       bool setAlign(uint64_t a) override { return GElfSection::setAlign(a); }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: warning: 'virtual bool rocr::amd::elf::Section::setMemSize(int)' was hidden [-Woverloaded-virtual=]
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:520:12: note:   by 'bool rocr::amd::elf::GElfStringTable::setMemSize(uint64_t)'
  520 |       bool setMemSize(uint64_t s) override { return GElfSection::setMemSize(s); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: warning: 'virtual bool rocr::amd::elf::Section::getData(int, void*, int)' was hidden [-Woverloaded-virtual=]
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:515:12: note:   by 'bool rocr::amd::elf::GElfStringTable::getData(uint64_t, void*, uint64_t)'
  515 |       bool getData(uint64_t offset, void* dest, uint64_t size) override { return GElfSection::getData(offset, dest, size); }
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: warning: 'virtual bool rocr::amd::elf::Section::updateAddr(int)' was hidden [-Woverloaded-virtual=]
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:508:12: note:   by 'bool rocr::amd::elf::GElfStringTable::updateAddr(uint64_t)'
  508 |       bool updateAddr(uint64_t addr) override { return GElfSection::updateAddr(addr); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:533:16: error: 'uint32_t rocr::amd::elf::GElfSymbol::index()' marked 'override', but does not override
  533 |       uint32_t index() override { return eindex / sizeof(GElf_Rela); }
      |                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:534:16: error: 'uint32_t rocr::amd::elf::GElfSymbol::type()' marked 'override', but does not override
  534 |       uint32_t type() override { return GELF_ST_TYPE(Sym()->st_info); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:535:16: error: 'uint32_t rocr::amd::elf::GElfSymbol::binding()' marked 'override', but does not override
  535 |       uint32_t binding() override { return GELF_ST_BIND(Sym()->st_info); }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:536:16: error: 'uint64_t rocr::amd::elf::GElfSymbol::size()' marked 'override', but does not override
  536 |       uint64_t size() override { return Sym()->st_size; }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:537:16: error: 'uint64_t rocr::amd::elf::GElfSymbol::value()' marked 'override', but does not override
  537 |       uint64_t value() override { return Sym()->st_value; }
      |                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:542:12: error: 'void rocr::amd::elf::GElfSymbol::setValue(uint64_t)' marked 'override', but does not override
  542 |       void setValue(uint64_t value) override { Sym()->st_value = value; }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:543:12: error: 'void rocr::amd::elf::GElfSymbol::setSize(uint64_t)' marked 'override', but does not override
  543 |       void setSize(uint64_t size) override { Sym()->st_size = size; }
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:138:20: warning: 'virtual void rocr::amd::elf::Symbol::setSize(int)' was hidden [-Woverloaded-virtual=]
  138 |       virtual void setSize(uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:543:12: note:   by 'void rocr::amd::elf::GElfSymbol::setSize(uint64_t)'
  543 |       void setSize(uint64_t size) override { Sym()->st_size = size; }
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:137:20: warning: 'virtual void rocr::amd::elf::Symbol::setValue(int)' was hidden [-Woverloaded-virtual=]
  137 |       virtual void setValue(uint64_t value) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:542:12: note:   by 'void rocr::amd::elf::GElfSymbol::setValue(uint64_t)'
  542 |       void setValue(uint64_t value) override { Sym()->st_value = value; }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:565:16: error: 'uint16_t rocr::amd::elf::GElfSymbolTable::getSectionIndex() const' marked 'override', but does not override
  565 |       uint16_t getSectionIndex() const override { return GElfSection::getSectionIndex(); }
      |                ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:566:16: error: 'uint32_t rocr::amd::elf::GElfSymbolTable::type() const' marked 'override', but does not override
  566 |       uint32_t type() const override { return GElfSection::type(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:568:16: error: 'uint64_t rocr::amd::elf::GElfSymbolTable::offset() const' marked 'override', but does not override
  568 |       uint64_t offset() const override { return GElfSection::offset(); }
      |                ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:569:16: error: 'uint64_t rocr::amd::elf::GElfSymbolTable::addr() const' marked 'override', but does not override
  569 |       uint64_t addr() const override { return GElfSection::addr(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:570:12: error: 'bool rocr::amd::elf::GElfSymbolTable::updateAddr(uint64_t)' marked 'override', but does not override
  570 |       bool updateAddr(uint64_t addr) override { return GElfSection::updateAddr(addr); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:571:16: error: 'uint64_t rocr::amd::elf::GElfSymbolTable::addralign() const' marked 'override', but does not override
  571 |       uint64_t addralign() const override { return GElfSection::addralign(); }
      |                ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:572:16: error: 'uint64_t rocr::amd::elf::GElfSymbolTable::flags() const' marked 'override', but does not override
  572 |       uint64_t flags() const override { return GElfSection::flags(); }
      |                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:573:16: error: 'uint64_t rocr::amd::elf::GElfSymbolTable::size() const' marked 'override', but does not override
  573 |       uint64_t size() const override { return GElfSection::size(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:575:16: error: 'uint64_t rocr::amd::elf::GElfSymbolTable::nextDataOffset(uint64_t) const' marked 'override', but does not override
  575 |       uint64_t nextDataOffset(uint64_t align) const override { return GElfSection::nextDataOffset(align); }
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:576:16: error: 'uint64_t rocr::amd::elf::GElfSymbolTable::addData(const void*, uint64_t, uint64_t)' marked 'override', but does not override
  576 |       uint64_t addData(const void *src, uint64_t size, uint64_t align) override { return GElfSection::addData(src, size, align); }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:577:12: error: 'bool rocr::amd::elf::GElfSymbolTable::getData(uint64_t, void*, uint64_t)' marked 'override', but does not override
  577 |       bool getData(uint64_t offset, void* dest, uint64_t size) override { return GElfSection::getData(offset, dest, size); }
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:580:15: error: 'rocr::amd::elf::Symbol* rocr::amd::elf::GElfSymbolTable::addSymbol(rocr::amd::elf::Section*, const std::string&, uint64_t, uint64_t, unsigned char, unsigned char, unsigned char)' marked 'override', but does not override
  580 |       Symbol* addSymbol(Section* section, const std::string& name, uint64_t value, uint64_t size, unsigned char type, unsigned char binding, unsigned char other = 0) override;
      |               ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:584:16: error: 'uint64_t rocr::amd::elf::GElfSymbolTable::memSize() const' marked 'override', but does not override
  584 |       uint64_t memSize() const override { return GElfSection::memSize(); }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:585:12: error: 'bool rocr::amd::elf::GElfSymbolTable::setMemSize(uint64_t)' marked 'override', but does not override
  585 |       bool setMemSize(uint64_t s) override { return GElfSection::setMemSize(s); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:586:16: error: 'uint64_t rocr::amd::elf::GElfSymbolTable::memAlign() const' marked 'override', but does not override
  586 |       uint64_t memAlign() const override { return GElfSection::memAlign(); }
      |                ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:587:12: error: 'bool rocr::amd::elf::GElfSymbolTable::setAlign(uint64_t)' marked 'override', but does not override
  587 |       bool setAlign(uint64_t a) override { return GElfSection::setAlign(a); }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:143:23: warning: 'virtual rocr::amd::elf::Symbol* rocr::amd::elf::SymbolTable::addSymbol(rocr::amd::elf::Section*, const std::string&, int, int, unsigned char, unsigned char, unsigned char)' was hidden [-Woverloaded-virtual=]
  143 |       virtual Symbol* addSymbol(Section* section, const std::string& name, uint64_t value, uint64_t size, unsigned char type, unsigned char binding, unsigned char other = 0) = 0;
      |                       ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:580:15: note:   by 'rocr::amd::elf::Symbol* rocr::amd::elf::GElfSymbolTable::addSymbol(rocr::amd::elf::Section*, const std::string&, uint64_t, uint64_t, unsigned char, unsigned char, unsigned char)'
  580 |       Symbol* addSymbol(Section* section, const std::string& name, uint64_t value, uint64_t size, unsigned char type, unsigned char binding, unsigned char other = 0) override;
      |               ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: warning: 'virtual bool rocr::amd::elf::Section::setAlign(int)' was hidden [-Woverloaded-virtual=]
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:587:12: note:   by 'bool rocr::amd::elf::GElfSymbolTable::setAlign(uint64_t)'
  587 |       bool setAlign(uint64_t a) override { return GElfSection::setAlign(a); }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: warning: 'virtual bool rocr::amd::elf::Section::setMemSize(int)' was hidden [-Woverloaded-virtual=]
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:585:12: note:   by 'bool rocr::amd::elf::GElfSymbolTable::setMemSize(uint64_t)'
  585 |       bool setMemSize(uint64_t s) override { return GElfSection::setMemSize(s); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: warning: 'virtual bool rocr::amd::elf::Section::getData(int, void*, int)' was hidden [-Woverloaded-virtual=]
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:577:12: note:   by 'bool rocr::amd::elf::GElfSymbolTable::getData(uint64_t, void*, uint64_t)'
  577 |       bool getData(uint64_t offset, void* dest, uint64_t size) override { return GElfSection::getData(offset, dest, size); }
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: warning: 'virtual bool rocr::amd::elf::Section::updateAddr(int)' was hidden [-Woverloaded-virtual=]
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:570:12: note:   by 'bool rocr::amd::elf::GElfSymbolTable::updateAddr(uint64_t)'
  570 |       bool updateAddr(uint64_t addr) override { return GElfSection::updateAddr(addr); }
      |            ^~~~~~~~~~
[ 76%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/addrinterface.cpp.o
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:594:16: error: 'uint16_t rocr::amd::elf::GElfNoteSection::getSectionIndex() const' marked 'override', but does not override
  594 |       uint16_t getSectionIndex() const override { return GElfSection::getSectionIndex(); }
      |                ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:595:16: error: 'uint32_t rocr::amd::elf::GElfNoteSection::type() const' marked 'override', but does not override
  595 |       uint32_t type() const override { return GElfSection::type(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:597:16: error: 'uint64_t rocr::amd::elf::GElfNoteSection::addr() const' marked 'override', but does not override
  597 |       uint64_t addr() const override { return GElfSection::addr(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:598:12: error: 'bool rocr::amd::elf::GElfNoteSection::updateAddr(uint64_t)' marked 'override', but does not override
  598 |       bool updateAddr(uint64_t addr) override { return GElfSection::updateAddr(addr); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:599:16: error: 'uint64_t rocr::amd::elf::GElfNoteSection::offset() const' marked 'override', but does not override
  599 |       uint64_t offset() const override { return GElfSection::offset(); }
      |                ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:600:16: error: 'uint64_t rocr::amd::elf::GElfNoteSection::addralign() const' marked 'override', but does not override
  600 |       uint64_t addralign() const override { return GElfSection::addralign(); }
      |                ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:601:16: error: 'uint64_t rocr::amd::elf::GElfNoteSection::flags() const' marked 'override', but does not override
  601 |       uint64_t flags() const override { return GElfSection::flags(); }
      |                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:602:16: error: 'uint64_t rocr::amd::elf::GElfNoteSection::size() const' marked 'override', but does not override
  602 |       uint64_t size() const override { return GElfSection::size(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:604:16: error: 'uint64_t rocr::amd::elf::GElfNoteSection::nextDataOffset(uint64_t) const' marked 'override', but does not override
  604 |       uint64_t nextDataOffset(uint64_t align) const override { return GElfSection::nextDataOffset(align); }
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:605:16: error: 'uint64_t rocr::amd::elf::GElfNoteSection::addData(const void*, uint64_t, uint64_t)' marked 'override', but does not override
  605 |       uint64_t addData(const void *src, uint64_t size, uint64_t align) override { return GElfSection::addData(src, size, align); }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:606:12: error: 'bool rocr::amd::elf::GElfNoteSection::getData(uint64_t, void*, uint64_t)' marked 'override', but does not override
  606 |       bool getData(uint64_t offset, void* dest, uint64_t size) override { return GElfSection::getData(offset, dest, size); }
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:609:12: error: 'bool rocr::amd::elf::GElfNoteSection::addNote(const std::string&, uint32_t, const void*, uint32_t)' marked 'override', but does not override
  609 |       bool addNote(const std::string& name, uint32_t type, const void* desc, uint32_t desc_size) override;
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:610:12: error: 'bool rocr::amd::elf::GElfNoteSection::getNote(const std::string&, uint32_t, void**, uint32_t*)' marked 'override', but does not override
  610 |       bool getNote(const std::string& name, uint32_t type, void** desc, uint32_t* desc_size) override;
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:612:16: error: 'uint64_t rocr::amd::elf::GElfNoteSection::memSize() const' marked 'override', but does not override
  612 |       uint64_t memSize() const override { return GElfSection::memSize(); }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:613:12: error: 'bool rocr::amd::elf::GElfNoteSection::setMemSize(uint64_t)' marked 'override', but does not override
  613 |       bool setMemSize(uint64_t s) override { return GElfSection::setMemSize(s); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:614:16: error: 'uint64_t rocr::amd::elf::GElfNoteSection::memAlign() const' marked 'override', but does not override
  614 |       uint64_t memAlign() const override { return GElfSection::memAlign(); }
      |                ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:615:12: error: 'bool rocr::amd::elf::GElfNoteSection::setAlign(uint64_t)' marked 'override', but does not override
  615 |       bool setAlign(uint64_t a) override { return GElfSection::setAlign(a); }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:151:20: warning: 'virtual bool rocr::amd::elf::NoteSection::getNote(const std::string&, int, void**, int*)' was hidden [-Woverloaded-virtual=]
  151 |       virtual bool getNote(const std::string& name, uint32_t type, void** desc, uint32_t* desc_size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:610:12: note:   by 'bool rocr::amd::elf::GElfNoteSection::getNote(const std::string&, uint32_t, void**, uint32_t*)'
  610 |       bool getNote(const std::string& name, uint32_t type, void** desc, uint32_t* desc_size) override;
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:150:20: warning: 'virtual bool rocr::amd::elf::NoteSection::addNote(const std::string&, int, const void*, int)' was hidden [-Woverloaded-virtual=]
  150 |       virtual bool addNote(const std::string& name, uint32_t type, const void* desc = 0, uint32_t desc_size = 0) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:609:12: note:   by 'bool rocr::amd::elf::GElfNoteSection::addNote(const std::string&, uint32_t, const void*, uint32_t)'
  609 |       bool addNote(const std::string& name, uint32_t type, const void* desc, uint32_t desc_size) override;
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: warning: 'virtual bool rocr::amd::elf::Section::setAlign(int)' was hidden [-Woverloaded-virtual=]
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:615:12: note:   by 'bool rocr::amd::elf::GElfNoteSection::setAlign(uint64_t)'
  615 |       bool setAlign(uint64_t a) override { return GElfSection::setAlign(a); }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: warning: 'virtual bool rocr::amd::elf::Section::setMemSize(int)' was hidden [-Woverloaded-virtual=]
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:613:12: note:   by 'bool rocr::amd::elf::GElfNoteSection::setMemSize(uint64_t)'
  613 |       bool setMemSize(uint64_t s) override { return GElfSection::setMemSize(s); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: warning: 'virtual bool rocr::amd::elf::Section::getData(int, void*, int)' was hidden [-Woverloaded-virtual=]
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:606:12: note:   by 'bool rocr::amd::elf::GElfNoteSection::getData(uint64_t, void*, uint64_t)'
  606 |       bool getData(uint64_t offset, void* dest, uint64_t size) override { return GElfSection::getData(offset, dest, size); }
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: warning: 'virtual bool rocr::amd::elf::Section::updateAddr(int)' was hidden [-Woverloaded-virtual=]
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:598:12: note:   by 'bool rocr::amd::elf::GElfNoteSection::updateAddr(uint64_t)'
  598 |       bool updateAddr(uint64_t addr) override { return GElfSection::updateAddr(addr); }
      |            ^~~~~~~~~~
/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/libamdhsacode/amd_elf_image.cpp:638:16: error: 'uint32_t rocr::amd::elf::GElfRelocation::type()' marked 'override', but does not override
  638 |       uint32_t type() override { return GELF_R_TYPE(Rela()->r_info); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:639:16: error: 'uint32_t rocr::amd::elf::GElfRelocation::symbolIndex()' marked 'override', but does not override
  639 |       uint32_t symbolIndex() override { return GELF_R_SYM(Rela()->r_info); }
      |                ^~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:641:16: error: 'uint64_t rocr::amd::elf::GElfRelocation::offset()' marked 'override', but does not override
  641 |       uint64_t offset() override { return Rela()->r_offset; }
      |                ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:655:16: error: 'uint16_t rocr::amd::elf::GElfRelocationSection::getSectionIndex() const' marked 'override', but does not override
  655 |       uint16_t getSectionIndex() const override { return GElfSection::getSectionIndex(); }
      |                ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:656:16: error: 'uint32_t rocr::amd::elf::GElfRelocationSection::type() const' marked 'override', but does not override
  656 |       uint32_t type() const override { return GElfSection::type(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:658:16: error: 'uint64_t rocr::amd::elf::GElfRelocationSection::addr() const' marked 'override', but does not override
  658 |       uint64_t addr() const override { return GElfSection::addr(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:659:16: error: 'uint64_t rocr::amd::elf::GElfRelocationSection::offset() const' marked 'override', but does not override
  659 |       uint64_t offset() const override { return GElfSection::offset(); }
      |                ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:660:12: error: 'bool rocr::amd::elf::GElfRelocationSection::updateAddr(uint64_t)' marked 'override', but does not override
  660 |       bool updateAddr(uint64_t addr) override { return GElfSection::updateAddr(addr); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:661:16: error: 'uint64_t rocr::amd::elf::GElfRelocationSection::addralign() const' marked 'override', but does not override
  661 |       uint64_t addralign() const override { return GElfSection::addralign(); }
      |                ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:662:16: error: 'uint64_t rocr::amd::elf::GElfRelocationSection::flags() const' marked 'override', but does not override
  662 |       uint64_t flags() const override { return GElfSection::flags(); }
      |                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:663:16: error: 'uint64_t rocr::amd::elf::GElfRelocationSection::size() const' marked 'override', but does not override
  663 |       uint64_t size() const override { return GElfSection::size(); }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:665:16: error: 'uint64_t rocr::amd::elf::GElfRelocationSection::nextDataOffset(uint64_t) const' marked 'override', but does not override
  665 |       uint64_t nextDataOffset(uint64_t align) const override { return GElfSection::nextDataOffset(align); }
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:666:16: error: 'uint64_t rocr::amd::elf::GElfRelocationSection::addData(const void*, uint64_t, uint64_t)' marked 'override', but does not override
  666 |       uint64_t addData(const void *src, uint64_t size, uint64_t align) override { return GElfSection::addData(src, size, align); }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:667:12: error: 'bool rocr::amd::elf::GElfRelocationSection::getData(uint64_t, void*, uint64_t)' marked 'override', but does not override
  667 |       bool getData(uint64_t offset, void* dest, uint64_t size) override { return GElfSection::getData(offset, dest, size); }
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:674:19: error: 'rocr::amd::elf::Relocation* rocr::amd::elf::GElfRelocationSection::addRelocation(uint32_t, rocr::amd::elf::Symbol*, uint64_t, int64_t)' marked 'override', but does not override
  674 |       Relocation* addRelocation(uint32_t type, Symbol* symbol, uint64_t offset, int64_t addend) override;
      |                   ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:676:16: error: 'uint64_t rocr::amd::elf::GElfRelocationSection::memSize() const' marked 'override', but does not override
  676 |       uint64_t memSize() const override { return GElfSection::memSize(); }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:677:12: error: 'bool rocr::amd::elf::GElfRelocationSection::setMemSize(uint64_t)' marked 'override', but does not override
  677 |       bool setMemSize(uint64_t s) override { return GElfSection::setMemSize(s); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:678:16: error: 'uint64_t rocr::amd::elf::GElfRelocationSection::memAlign() const' marked 'override', but does not override
  678 |       uint64_t memAlign() const override { return GElfSection::memAlign(); }
      |                ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:679:12: error: 'bool rocr::amd::elf::GElfRelocationSection::setAlign(uint64_t)' marked 'override', but does not override
  679 |       bool setAlign(uint64_t a) override { return GElfSection::setAlign(a); }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:112:27: warning: 'virtual rocr::amd::elf::Relocation* rocr::amd::elf::RelocationSection::addRelocation(int, rocr::amd::elf::Symbol*, int, int64_t)' was hidden [-Woverloaded-virtual=]
  112 |       virtual Relocation* addRelocation(uint32_t type, Symbol* symbol, uint64_t offset, int64_t addend) = 0;
      |                           ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:674:19: note:   by 'rocr::amd::elf::Relocation* rocr::amd::elf::GElfRelocationSection::addRelocation(uint32_t, rocr::amd::elf::Symbol*, uint64_t, int64_t)'
  674 |       Relocation* addRelocation(uint32_t type, Symbol* symbol, uint64_t offset, int64_t addend) override;
      |                   ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: warning: 'virtual bool rocr::amd::elf::Section::setAlign(int)' was hidden [-Woverloaded-virtual=]
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:679:12: note:   by 'bool rocr::amd::elf::GElfRelocationSection::setAlign(uint64_t)'
  679 |       bool setAlign(uint64_t a) override { return GElfSection::setAlign(a); }
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: warning: 'virtual bool rocr::amd::elf::Section::setMemSize(int)' was hidden [-Woverloaded-virtual=]
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:677:12: note:   by 'bool rocr::amd::elf::GElfRelocationSection::setMemSize(uint64_t)'
  677 |       bool setMemSize(uint64_t s) override { return GElfSection::setMemSize(s); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: warning: 'virtual bool rocr::amd::elf::Section::getData(int, void*, int)' was hidden [-Woverloaded-virtual=]
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:667:12: note:   by 'bool rocr::amd::elf::GElfRelocationSection::getData(uint64_t, void*, uint64_t)'
  667 |       bool getData(uint64_t offset, void* dest, uint64_t size) override { return GElfSection::getData(offset, dest, size); }
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: warning: 'virtual bool rocr::amd::elf::Section::updateAddr(int)' was hidden [-Woverloaded-virtual=]
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:660:12: note:   by 'bool rocr::amd::elf::GElfRelocationSection::updateAddr(uint64_t)'
  660 |       bool updateAddr(uint64_t addr) override { return GElfSection::updateAddr(addr); }
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:687:12: error: 'bool rocr::amd::elf::GElfImage::initNew(uint16_t, uint16_t, uint8_t, uint8_t, uint32_t)' marked 'override', but does not override
  687 |       bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) override;
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:698:16: error: 'uint64_t rocr::amd::elf::GElfImage::size()' marked 'override', but does not override
  698 |       uint64_t size() override;
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:705:16: error: 'uint16_t rocr::amd::elf::GElfImage::Machine()' marked 'override', but does not override
  705 |       uint16_t Machine() override { return ehdr.e_machine; }
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:706:16: error: 'uint16_t rocr::amd::elf::GElfImage::Type()' marked 'override', but does not override
  706 |       uint16_t Type() override { return ehdr.e_type; }
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:707:16: error: 'uint32_t rocr::amd::elf::GElfImage::EFlags()' marked 'override', but does not override
  707 |       uint32_t EFlags() override { return ehdr.e_flags; }
      |                ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:708:16: error: 'uint32_t rocr::amd::elf::GElfImage::ABIVersion()' marked 'override', but does not override
  708 |       uint32_t ABIVersion() override { return (uint32_t)(ehdr.e_ident[EI_ABIVERSION]); }
      |                ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:709:16: error: 'uint32_t rocr::amd::elf::GElfImage::EClass()' marked 'override', but does not override
  709 |       uint32_t EClass() override { return (uint32_t)(ehdr.e_ident[EI_CLASS]); }
      |                ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:710:16: error: 'uint32_t rocr::amd::elf::GElfImage::OsAbi()' marked 'override', but does not override
  710 |       uint32_t OsAbi() override { return (uint32_t)(ehdr.e_ident[EI_OSABI]); }
      |                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:718:24: error: 'rocr::amd::elf::GElfSymbolTable* rocr::amd::elf::GElfImage::getSymtab(uint16_t)' marked 'override', but does not override
  718 |       GElfSymbolTable* getSymtab(uint16_t index) override
      |                        ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:724:24: error: 'rocr::amd::elf::GElfSymbolTable* rocr::amd::elf::GElfImage::getDynsym(uint16_t)' marked 'override', but does not override
  724 |       GElfSymbolTable* getDynsym(uint16_t index) override
      |                        ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:732:24: error: 'rocr::amd::elf::GElfSymbolTable* rocr::amd::elf::GElfImage::getSymbolTable(uint16_t)' marked 'override', but does not override
  732 |       GElfSymbolTable* getSymbolTable(uint16_t index) override
      |                        ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:741:24: error: 'rocr::amd::elf::GElfStringTable* rocr::amd::elf::GElfImage::getStringTable(uint16_t)' marked 'override', but does not override
  741 |       GElfStringTable* getStringTable(uint16_t index) override;
      |                        ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:748:16: error: 'rocr::amd::elf::Segment* rocr::amd::elf::GElfImage::segmentByVAddr(uint64_t)' marked 'override', but does not override
  748 |       Segment* segmentByVAddr(uint64_t vaddr) override;
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:751:16: error: 'rocr::amd::elf::Section* rocr::amd::elf::GElfImage::sectionByVAddr(uint64_t)' marked 'override', but does not override
  751 |       Section* sectionByVAddr(uint64_t vaddr) override;
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:761:16: error: 'rocr::amd::elf::Segment* rocr::amd::elf::GElfImage::initSegment(uint32_t, uint32_t, uint64_t)' marked 'override', but does not override
  761 |       Segment* initSegment(uint32_t type, uint32_t flags, uint64_t paddr = 0) override;
      |                ^~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:764:16: error: 'rocr::amd::elf::Section* rocr::amd::elf::GElfImage::addSection(const std::string&, uint32_t, uint64_t, uint64_t, rocr::amd::elf::Segment*)' marked 'override', but does not override
  764 |       Section* addSection(const std::string &name,
      |                ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:210:24: warning: 'virtual rocr::amd::elf::Section* rocr::amd::elf::Image::addSection(const std::string&, int, int, int, rocr::amd::elf::Segment*)' was hidden [-Woverloaded-virtual=]
  210 |       virtual Section* addSection(const std::string &name,
      |                        ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:764:16: note:   by 'rocr::amd::elf::Section* rocr::amd::elf::GElfImage::addSection(const std::string&, uint32_t, uint64_t, uint64_t, rocr::amd::elf::Segment*)'
  764 |       Section* addSection(const std::string &name,
      |                ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:24: warning: 'virtual rocr::amd::elf::Segment* rocr::amd::elf::Image::initSegment(int, int, int)' was hidden [-Woverloaded-virtual=]
  207 |       virtual Segment* initSegment(uint32_t type, uint32_t flags, uint64_t paddr = 0) = 0;
      |                        ^~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:761:16: note:   by 'rocr::amd::elf::Segment* rocr::amd::elf::GElfImage::initSegment(uint32_t, uint32_t, uint64_t)'
  761 |       Segment* initSegment(uint32_t type, uint32_t flags, uint64_t paddr = 0) override;
      |                ^~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:202:24: warning: 'virtual rocr::amd::elf::Section* rocr::amd::elf::Image::sectionByVAddr(int)' was hidden [-Woverloaded-virtual=]
  202 |       virtual Section* sectionByVAddr(uint64_t vaddr) = 0;
      |                        ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:751:16: note:   by 'rocr::amd::elf::Section* rocr::amd::elf::GElfImage::sectionByVAddr(uint64_t)'
  751 |       Section* sectionByVAddr(uint64_t vaddr) override;
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:198:24: warning: 'virtual rocr::amd::elf::Segment* rocr::amd::elf::Image::segmentByVAddr(int)' was hidden [-Woverloaded-virtual=]
  198 |       virtual Segment* segmentByVAddr(uint64_t vaddr) = 0;
      |                        ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:748:16: note:   by 'rocr::amd::elf::Segment* rocr::amd::elf::GElfImage::segmentByVAddr(uint64_t)'
  748 |       Segment* segmentByVAddr(uint64_t vaddr) override;
      |                ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:192:28: warning: 'virtual rocr::amd::elf::StringTable* rocr::amd::elf::Image::getStringTable(int)' was hidden [-Woverloaded-virtual=]
  192 |       virtual StringTable* getStringTable(uint16_t index) = 0;
      |                            ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:741:24: note:   by 'rocr::amd::elf::GElfStringTable* rocr::amd::elf::GElfImage::getStringTable(uint16_t)'
  741 |       GElfStringTable* getStringTable(uint16_t index) override;
      |                        ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:189:28: warning: 'virtual rocr::amd::elf::SymbolTable* rocr::amd::elf::Image::getSymbolTable(int)' was hidden [-Woverloaded-virtual=]
  189 |       virtual SymbolTable* getSymbolTable(uint16_t index) = 0;
      |                            ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:731:24: note:   by 'virtual rocr::amd::elf::GElfSymbolTable* rocr::amd::elf::GElfImage::getSymbolTable()'
  731 |       GElfSymbolTable* getSymbolTable() override;
      |                        ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:187:28: warning: 'virtual rocr::amd::elf::SymbolTable* rocr::amd::elf::Image::getDynsym(int)' was hidden [-Woverloaded-virtual=]
  187 |       virtual SymbolTable* getDynsym(uint16_t index) = 0;
      |                            ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:724:24: note:   by 'rocr::amd::elf::GElfSymbolTable* rocr::amd::elf::GElfImage::getDynsym(uint16_t)'
  724 |       GElfSymbolTable* getDynsym(uint16_t index) override
      |                        ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:185:28: warning: 'virtual rocr::amd::elf::SymbolTable* rocr::amd::elf::Image::getSymtab(int)' was hidden [-Woverloaded-virtual=]
  185 |       virtual SymbolTable* getSymtab(uint16_t index) = 0;
      |                            ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:718:24: note:   by 'rocr::amd::elf::GElfSymbolTable* rocr::amd::elf::GElfImage::getSymtab(uint16_t)'
  718 |       GElfSymbolTable* getSymtab(uint16_t index) override
      |                        ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:20: warning: 'virtual bool rocr::amd::elf::Image::initNew(int, int, int, int, int)' was hidden [-Woverloaded-virtual=]
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:687:12: note:   by 'bool rocr::amd::elf::GElfImage::initNew(uint16_t, uint16_t, uint8_t, uint8_t, uint32_t)'
  687 |       bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) override;
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'bool rocr::amd::elf::GElfSegment::push(uint64_t)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:856:38: error: 'class rocr::amd::elf::Section' has no member named 'offset'
  856 |         phdr.p_offset = sections[0]->offset();
      |                                      ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:859:58: error: 'class rocr::amd::elf::Section' has no member named 'memAlign'; did you mean 'setAlign'?
  859 |         phdr.p_align = (std::max)(phdr.p_align, section->memAlign());
      |                                                          ^~~~~~~~
      |                                                          setAlign
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:865:66: error: 'class rocr::amd::elf::Section' has no member named 'memAlign'; did you mean 'setAlign'?
  865 |         phdr.p_memsz = alignUp(phdr.p_memsz, (std::max)(section->memAlign(), (uint64_t) 1));
      |                                                                  ^~~~~~~~
      |                                                                  setAlign
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:866:68: error: 'class rocr::amd::elf::Section' has no member named 'memAlign'; did you mean 'setAlign'?
  866 |         phdr.p_filesz = alignUp(phdr.p_filesz, (std::max)(section->memAlign(), (uint64_t) 1));
      |                                                                    ^~~~~~~~
      |                                                                    setAlign
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:868:36: error: 'class rocr::amd::elf::Section' has no member named 'type'
  868 |         phdr.p_filesz += (section->type() == SHT_NOBITS) ? 0 : section->size();
      |                                    ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:868:73: error: 'class rocr::amd::elf::Section' has no member named 'size'
  868 |         phdr.p_filesz += (section->type() == SHT_NOBITS) ? 0 : section->size();
      |                                                                         ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:869:34: error: 'class rocr::amd::elf::Section' has no member named 'memSize'; did you mean 'setMemSize'?
  869 |         phdr.p_memsz += section->memSize();
      |                                  ^~~~~~~
      |                                  setMemSize
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'virtual bool rocr::amd::elf::GElfSymbolTable::pullData()':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1140:103: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfSymbol'
 1140 |         symbols.push_back(std::unique_ptr<GElfSymbol>(new GElfSymbol(this, data0, i * sizeof(GElf_Sym))));
      |                                                                                                       ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:527:11: note:   because the following virtual functions are pure within 'rocr::amd::elf::GElfSymbol':
  527 |     class GElfSymbol : public Symbol {
      |           ^~~~~~~~~~
[ 77%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/coord.cpp.o
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:137:20: note:     'virtual void rocr::amd::elf::Symbol::setValue(int)'
  137 |       virtual void setValue(uint64_t value) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:138:20: note:     'virtual void rocr::amd::elf::Symbol::setSize(int)'
  138 |       virtual void setSize(uint64_t size) = 0;
      |                    ^~~~~~~
/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
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'rocr::amd::elf::Symbol* rocr::amd::elf::GElfSymbolTable::addSymbolInternal(rocr::amd::elf::Section*, const std::string&, uint64_t, uint64_t, unsigned char, unsigned char, unsigned char)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1147:91: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfSymbol'
 1147 |       GElfSymbol *sym = new (std::nothrow) GElfSymbol(this, data, data.reserve<GElf_Sym>());
      |                                                                                           ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1148:43: error: 'class rocr::amd::elf::Section' has no member named 'getSectionIndex'
 1148 |       uint16_t shndx = section ? section->getSectionIndex() : (uint16_t) SHN_UNDEF;
      |                                           ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'bool rocr::amd::elf::GElfNoteSection::getNote(const std::string&, uint32_t, void**, uint32_t*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1211:50: error: no match for call to '(std::string {aka std::__cxx11::basic_string<char>}) (Elf64_Word&, char*)'
 1211 |             std::string note_name = GetNoteString(note->n_namesz, notec + sizeof(Elf64_Nhdr));
      |                                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libelf.h:36,
                 from /usr/include/gelf.h:32,
                 from /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:45:
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'bool rocr::amd::elf::GElfRelocation::push(uint32_t, rocr::amd::elf::Symbol*, uint64_t, int64_t)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1226:55: error: 'class rocr::amd::elf::Symbol' has no member named 'index'
 1226 |       Rela()->r_info = GELF_R_INFO((uint64_t) symbol->index(), type);
      |                                                       ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'bool rocr::amd::elf::GElfRelocationSection::push(const std::string&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1251:95: error: 'class rocr::amd::elf::Section' has no member named 'getSectionIndex'
 1251 |       return GElfSection::push(name.c_str(), SHT_RELA, 0, symtab->getSectionIndex(), section->getSectionIndex(), 0, sizeof(Elf64_Rela));
      |                                                                                               ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'virtual bool rocr::amd::elf::GElfImage::initFromBuffer(const void*, size_t)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1371:31: error: 'ElfSize' was not declared in this scope
 1371 |       if (size == 0) { size = ElfSize(buffer); }
      |                               ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'virtual bool rocr::amd::elf::GElfImage::initAsBuffer(const void*, size_t)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1380:31: error: 'ElfSize' was not declared in this scope
 1380 |       if (size == 0) { size = ElfSize(buffer); }
      |                               ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'bool rocr::amd::elf::GElfImage::pullElf()':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1404:49: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfStringTable'
 1404 |       shstrtabSection = new GElfStringTable(this);
      |                                                 ^
/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;
      |                       ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:493:11: note:   because the following virtual functions are pure within 'rocr::amd::elf::GElfStringTable':
  493 |     class GElfStringTable : public GElfSection, public StringTable {
      |           ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: note:     'virtual bool rocr::amd::elf::Section::updateAddr(int)'
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: note:     'virtual bool rocr::amd::elf::Section::getData(int, void*, int)'
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: note:     'virtual bool rocr::amd::elf::Section::setMemSize(int)'
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: note:     'virtual bool rocr::amd::elf::Section::setAlign(int)'
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: note:     'virtual bool rocr::amd::elf::Section::updateAddr(int)'
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: note:     'virtual bool rocr::amd::elf::Section::getData(int, void*, int)'
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: note:     'virtual bool rocr::amd::elf::Section::setMemSize(int)'
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: note:     'virtual bool rocr::amd::elf::Section::setAlign(int)'
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1417:45: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfNoteSection'
 1417 |           section = new GElfNoteSection(this);
      |                                             ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:590:11: note:   because the following virtual functions are pure within 'rocr::amd::elf::GElfNoteSection':
  590 |     class GElfNoteSection : public GElfSection, public NoteSection {
      |           ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: note:     'virtual bool rocr::amd::elf::Section::updateAddr(int)'
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: note:     'virtual bool rocr::amd::elf::Section::getData(int, void*, int)'
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: note:     'virtual bool rocr::amd::elf::Section::setMemSize(int)'
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: note:     'virtual bool rocr::amd::elf::Section::setAlign(int)'
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:150:20: note:     'virtual bool rocr::amd::elf::NoteSection::addNote(const std::string&, int, const void*, int)'
  150 |       virtual bool addNote(const std::string& name, uint32_t type, const void* desc = 0, uint32_t desc_size = 0) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:151:20: note:     'virtual bool rocr::amd::elf::NoteSection::getNote(const std::string&, int, void**, int*)'
  151 |       virtual bool getNote(const std::string& name, uint32_t type, void** desc, uint32_t* desc_size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: note:     'virtual bool rocr::amd::elf::Section::updateAddr(int)'
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: note:     'virtual bool rocr::amd::elf::Section::getData(int, void*, int)'
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: note:     'virtual bool rocr::amd::elf::Section::setMemSize(int)'
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: note:     'virtual bool rocr::amd::elf::Section::setAlign(int)'
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1419:51: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfRelocationSection'
 1419 |           section = new GElfRelocationSection(this);
      |                                                   ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:645:11: note:   because the following virtual functions are pure within 'rocr::amd::elf::GElfRelocationSection':
  645 |     class GElfRelocationSection : public GElfSection, public RelocationSection {
      |           ^~~~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: note:     'virtual bool rocr::amd::elf::Section::updateAddr(int)'
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: note:     'virtual bool rocr::amd::elf::Section::getData(int, void*, int)'
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: note:     'virtual bool rocr::amd::elf::Section::setMemSize(int)'
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: note:     'virtual bool rocr::amd::elf::Section::setAlign(int)'
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:112:27: note:     'virtual rocr::amd::elf::Relocation* rocr::amd::elf::RelocationSection::addRelocation(int, rocr::amd::elf::Symbol*, int, int64_t)'
  112 |       virtual Relocation* addRelocation(uint32_t type, Symbol* symbol, uint64_t offset, int64_t addend) = 0;
      |                           ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: note:     'virtual bool rocr::amd::elf::Section::updateAddr(int)'
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: note:     'virtual bool rocr::amd::elf::Section::getData(int, void*, int)'
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: note:     'virtual bool rocr::amd::elf::Section::setMemSize(int)'
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: note:     'virtual bool rocr::amd::elf::Section::setAlign(int)'
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1421:45: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfStringTable'
 1421 |           section = new GElfStringTable(this);
      |                                             ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1423:45: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfSymbolTable'
 1423 |           section = new GElfSymbolTable(this);
      |                                             ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:553:11: note:   because the following virtual functions are pure within 'rocr::amd::elf::GElfSymbolTable':
  553 |     class GElfSymbolTable : public GElfSection, public SymbolTable {
      |           ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: note:     'virtual bool rocr::amd::elf::Section::updateAddr(int)'
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: note:     'virtual bool rocr::amd::elf::Section::getData(int, void*, int)'
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: note:     'virtual bool rocr::amd::elf::Section::setMemSize(int)'
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: note:     'virtual bool rocr::amd::elf::Section::setAlign(int)'
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:143:23: note:     'virtual rocr::amd::elf::Symbol* rocr::amd::elf::SymbolTable::addSymbol(rocr::amd::elf::Section*, const std::string&, int, int, unsigned char, unsigned char, unsigned char)'
  143 |       virtual Symbol* addSymbol(Section* section, const std::string& name, uint64_t value, uint64_t size, unsigned char type, unsigned char binding, unsigned char other = 0) = 0;
      |                       ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: note:     'virtual bool rocr::amd::elf::Section::updateAddr(int)'
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: note:     'virtual bool rocr::amd::elf::Section::getData(int, void*, int)'
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: note:     'virtual bool rocr::amd::elf::Section::setMemSize(int)'
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: note:     'virtual bool rocr::amd::elf::Section::setAlign(int)'
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1428:41: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfSection'
 1428 |           section = new GElfSection(this);
      |                                         ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:423:11: note:   because the following virtual functions are pure within 'rocr::amd::elf::GElfSection':
  423 |     class GElfSection : public virtual Section {
      |           ^~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:20: note:     'virtual bool rocr::amd::elf::Section::updateAddr(int)'
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:20: note:     'virtual bool rocr::amd::elf::Section::getData(int, void*, int)'
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:20: note:     'virtual bool rocr::amd::elf::Section::setMemSize(int)'
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:20: note:     'virtual bool rocr::amd::elf::Section::setAlign(int)'
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'uint64_t rocr::amd::elf::GElfImage::size()':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1485:16: error: 'ElfSize' was not declared in this scope
 1485 |         return ElfSize(buffer);
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'virtual rocr::amd::elf::GElfStringTable* rocr::amd::elf::GElfImage::addStringTable(const std::string&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1583:55: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfStringTable'
 1583 |       GElfStringTable* stab = new GElfStringTable(this);
      |                                                       ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'virtual rocr::amd::elf::GElfSymbolTable* rocr::amd::elf::GElfImage::addSymbolTable(const std::string&, rocr::amd::elf::StringTable*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1597:57: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfSymbolTable'
 1597 |       GElfSymbolTable* symtab = new GElfSymbolTable(this);
      |                                                         ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'virtual rocr::amd::elf::GElfNoteSection* rocr::amd::elf::GElfImage::addNoteSection(const std::string&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1649:55: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfNoteSection'
 1649 |       GElfNoteSection* note = new GElfNoteSection(this);
      |                                                       ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'rocr::amd::elf::Section* rocr::amd::elf::GElfImage::addSection(const std::string&, uint32_t, uint64_t, uint64_t, rocr::amd::elf::Segment*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1672:65: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfSection'
 1672 |       GElfSection *section = new (std::nothrow) GElfSection(this);
      |                                                                 ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In member function 'rocr::amd::elf::RelocationSection* rocr::amd::elf::GElfImage::addRelocationSection(rocr::amd::elf::Section*, rocr::amd::elf::SymbolTable*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1691:99: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfRelocationSection'
 1691 |       GElfRelocationSection *rsec = new GElfRelocationSection(this, sec, (GElfSymbolTable*) symtab);
      |                                                                                                   ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In function 'rocr::amd::elf::Image* rocr::amd::elf::NewElf32Image()':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1715:61: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfImage'
 1715 |     Image* NewElf32Image() { return new GElfImage(ELFCLASS32); }
      |                                                             ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:683:11: note:   because the following virtual functions are pure within 'rocr::amd::elf::GElfImage':
  683 |     class GElfImage : public Image {
      |           ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:20: note:     'virtual bool rocr::amd::elf::Image::initNew(int, int, int, int, int)'
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:185:28: note:     'virtual rocr::amd::elf::SymbolTable* rocr::amd::elf::Image::getSymtab(int)'
  185 |       virtual SymbolTable* getSymtab(uint16_t index) = 0;
      |                            ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:187:28: note:     'virtual rocr::amd::elf::SymbolTable* rocr::amd::elf::Image::getDynsym(int)'
  187 |       virtual SymbolTable* getDynsym(uint16_t index) = 0;
      |                            ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:189:28: note:     'virtual rocr::amd::elf::SymbolTable* rocr::amd::elf::Image::getSymbolTable(int)'
  189 |       virtual SymbolTable* getSymbolTable(uint16_t index) = 0;
      |                            ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:192:28: note:     'virtual rocr::amd::elf::StringTable* rocr::amd::elf::Image::getStringTable(int)'
  192 |       virtual StringTable* getStringTable(uint16_t index) = 0;
      |                            ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:198:24: note:     'virtual rocr::amd::elf::Segment* rocr::amd::elf::Image::segmentByVAddr(int)'
  198 |       virtual Segment* segmentByVAddr(uint64_t vaddr) = 0;
      |                        ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:202:24: note:     'virtual rocr::amd::elf::Section* rocr::amd::elf::Image::sectionByVAddr(int)'
  202 |       virtual Section* sectionByVAddr(uint64_t vaddr) = 0;
      |                        ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:24: note:     'virtual rocr::amd::elf::Segment* rocr::amd::elf::Image::initSegment(int, int, int)'
  207 |       virtual Segment* initSegment(uint32_t type, uint32_t flags, uint64_t paddr = 0) = 0;
      |                        ^~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:210:24: note:     'virtual rocr::amd::elf::Section* rocr::amd::elf::Image::addSection(const std::string&, int, int, int, rocr::amd::elf::Segment*)'
  210 |       virtual Section* addSection(const std::string &name,
      |                        ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: In function 'rocr::amd::elf::Image* rocr::amd::elf::NewElf64Image()':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1716:61: error: invalid new-expression of abstract class type 'rocr::amd::elf::GElfImage'
 1716 |     Image* NewElf64Image() { return new GElfImage(ELFCLASS64); }
      |                                                             ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp: At global scope:
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_elf_image.cpp:1747:61: error: 'std::string rocr::amd::elf::GetNoteString(uint32_t, const char*)' redeclared as different kind of entity
 1747 |     std::string GetNoteString(uint32_t s_size, const char* s)
      |                                                             ^
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:227:17: note: previous declaration 'std::string rocr::amd::elf::GetNoteString'
  227 |     std::string GetNoteString(uint32_t s_size, const char* s);
      |                 ^~~~~~~~~~~~~
[ 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
In file included from /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:46,
                 from /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:47:
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:62:15: error: 'uint64_t' does not name a type
   62 |       virtual uint64_t type() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:50:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   49 | #include <memory>
  +++ |+#include <cstdint>
   50 | 
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:63:15: error: 'uint64_t' does not name a type
   63 |       virtual uint64_t memSize() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:63:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:64:15: error: 'uint64_t' does not name a type
   64 |       virtual uint64_t align() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:64:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:65:15: error: 'uint64_t' does not name a type
   65 |       virtual uint64_t imageSize() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:65:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:66:15: error: 'uint64_t' does not name a type
   66 |       virtual uint64_t vaddr() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:66:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:67:15: error: 'uint64_t' does not name a type
   67 |       virtual uint64_t flags() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:67:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:68:15: error: 'uint64_t' does not name a type
   68 |       virtual uint64_t offset() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:68:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:70:15: error: 'uint16_t' does not name a type
   70 |       virtual uint16_t getSegmentIndex() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:70:15: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:77:15: error: 'uint16_t' does not name a type
   77 |       virtual uint16_t getSectionIndex() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:77:15: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:78:15: error: 'uint32_t' does not name a type
   78 |       virtual uint32_t type() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:78:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:80:15: error: 'uint64_t' does not name a type
   80 |       virtual uint64_t offset() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:80:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:81:15: error: 'uint64_t' does not name a type
   81 |       virtual uint64_t addr() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:81:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:31: error: 'uint64_t' has not been declared
   82 |       virtual bool updateAddr(uint64_t addr) = 0;
      |                               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:82:31: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:83:15: error: 'uint64_t' does not name a type
   83 |       virtual uint64_t addralign() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:83:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:84:15: error: 'uint64_t' does not name a type
   84 |       virtual uint64_t flags() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:84:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:85:15: error: 'uint64_t' does not name a type
   85 |       virtual uint64_t size() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:85:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:86:15: error: 'uint64_t' does not name a type
   86 |       virtual uint64_t nextDataOffset(uint64_t align) const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:86:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:87:15: error: 'uint64_t' does not name a type
   87 |       virtual uint64_t addData(const void *src, uint64_t size, uint64_t align) = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:87:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:28: error: 'uint64_t' has not been declared
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:28: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:57: error: 'uint64_t' has not been declared
   88 |       virtual bool getData(uint64_t offset, void* dest, uint64_t size) = 0;
      |                                                         ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:88:57: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:31: error: 'uint64_t' has not been declared
   93 |       virtual bool setMemSize(uint64_t s) = 0;
      |                               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:93:31: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:94:15: error: 'uint64_t' does not name a type
   94 |       virtual uint64_t memSize() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:94:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:29: error: 'uint64_t' has not been declared
   95 |       virtual bool setAlign(uint64_t a) = 0;
      |                             ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:95:29: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:96:15: error: 'uint64_t' does not name a type
   96 |       virtual uint64_t memAlign() const = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:96:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:103:15: error: 'uint32_t' does not name a type
  103 |       virtual uint32_t type() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:103:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:104:15: error: 'uint32_t' does not name a type
  104 |       virtual uint32_t symbolIndex() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:104:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:106:15: error: 'uint64_t' does not name a type
  106 |       virtual uint64_t offset() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:106:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:112:41: error: 'uint32_t' has not been declared
  112 |       virtual Relocation* addRelocation(uint32_t type, Symbol* symbol, uint64_t offset, int64_t addend) = 0;
      |                                         ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:112:41: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:112:72: error: 'uint64_t' has not been declared
  112 |       virtual Relocation* addRelocation(uint32_t type, Symbol* symbol, uint64_t offset, int64_t addend) = 0;
      |                                                                        ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:112:72: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:129:15: error: 'uint32_t' does not name a type
  129 |       virtual uint32_t index() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:129:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:130:15: error: 'uint32_t' does not name a type
  130 |       virtual uint32_t type() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:130:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:131:15: error: 'uint32_t' does not name a type
  131 |       virtual uint32_t binding() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:131:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:132:15: error: 'uint64_t' does not name a type
  132 |       virtual uint64_t size() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:132:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:133:15: error: 'uint64_t' does not name a type
  133 |       virtual uint64_t value() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:133:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:137:29: error: 'uint64_t' has not been declared
  137 |       virtual void setValue(uint64_t value) = 0;
      |                             ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:137:29: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:138:28: error: 'uint64_t' has not been declared
  138 |       virtual void setSize(uint64_t size) = 0;
      |                            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:138:28: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
[ 78%] Building CXX object CMakeFiles/hsa-runtime64.dir/image/addrlib/src/core/addrlib1.cpp.o
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:143:76: error: 'uint64_t' has not been declared
  143 |       virtual Symbol* addSymbol(Section* section, const std::string& name, uint64_t value, uint64_t size, unsigned char type, unsigned char binding, unsigned char other = 0) = 0;
      |                                                                            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:143:76: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:143:92: error: 'uint64_t' has not been declared
  143 |       virtual Symbol* addSymbol(Section* section, const std::string& name, uint64_t value, uint64_t size, unsigned char type, unsigned char binding, unsigned char other = 0) = 0;
      |                                                                                            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:143:92: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:150:53: error: 'uint32_t' has not been declared
  150 |       virtual bool addNote(const std::string& name, uint32_t type, const void* desc = 0, uint32_t desc_size = 0) = 0;
      |                                                     ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:150:53: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:150:90: error: 'uint32_t' has not been declared
  150 |       virtual bool addNote(const std::string& name, uint32_t type, const void* desc = 0, uint32_t desc_size = 0) = 0;
      |                                                                                          ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:150:90: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:151:53: error: 'uint32_t' has not been declared
  151 |       virtual bool getNote(const std::string& name, uint32_t type, void** desc, uint32_t* desc_size) = 0;
      |                                                     ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:151:53: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:151:81: error: 'uint32_t' has not been declared
  151 |       virtual bool getNote(const std::string& name, uint32_t type, void** desc, uint32_t* desc_size) = 0;
      |                                                                                 ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:151:81: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:28: error: 'uint16_t' has not been declared
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:28: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:46: error: 'uint16_t' has not been declared
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                                              ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:46: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:61: error: 'uint8_t' has not been declared
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                                                             ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:61: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:81: error: 'uint8_t' has not been declared
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                                                                                 ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:81: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:106: error: 'uint32_t' has not been declared
  158 |       virtual bool initNew(uint16_t machine, uint16_t type, uint8_t os_abi = 0, uint8_t abi_version = 0, uint32_t e_flags = 0) = 0;
      |                                                                                                          ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:158:106: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:168:15: error: 'uint64_t' does not name a type
  168 |       virtual uint64_t size() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:168:15: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:170:15: error: 'uint16_t' does not name a type
  170 |       virtual uint16_t Machine() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:170:15: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:171:15: error: 'uint16_t' does not name a type
  171 |       virtual uint16_t Type() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:171:15: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:172:15: error: 'uint32_t' does not name a type
  172 |       virtual uint32_t EFlags() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:172:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:173:15: error: 'uint32_t' does not name a type
  173 |       virtual uint32_t ABIVersion() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:173:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:174:15: error: 'uint32_t' does not name a type
  174 |       virtual uint32_t EClass() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:174:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:175:15: error: 'uint32_t' does not name a type
  175 |       virtual uint32_t OsAbi() = 0;
      |               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:175:15: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:185:38: error: 'uint16_t' has not been declared
  185 |       virtual SymbolTable* getSymtab(uint16_t index) = 0;
      |                                      ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:185:38: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:187:38: error: 'uint16_t' has not been declared
  187 |       virtual SymbolTable* getDynsym(uint16_t index) = 0;
      |                                      ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:187:38: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:189:43: error: 'uint16_t' has not been declared
  189 |       virtual SymbolTable* getSymbolTable(uint16_t index) = 0;
      |                                           ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:189:43: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:192:43: error: 'uint16_t' has not been declared
  192 |       virtual StringTable* getStringTable(uint16_t index) = 0;
      |                                           ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:192:43: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:198:39: error: 'uint64_t' has not been declared
  198 |       virtual Segment* segmentByVAddr(uint64_t vaddr) = 0;
      |                                       ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:198:39: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:202:39: error: 'uint64_t' has not been declared
  202 |       virtual Section* sectionByVAddr(uint64_t vaddr) = 0;
      |                                       ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:202:39: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:36: error: 'uint32_t' has not been declared
  207 |       virtual Segment* initSegment(uint32_t type, uint32_t flags, uint64_t paddr = 0) = 0;
      |                                    ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:36: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:51: error: 'uint32_t' has not been declared
  207 |       virtual Segment* initSegment(uint32_t type, uint32_t flags, uint64_t paddr = 0) = 0;
      |                                                   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:51: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:67: error: 'uint64_t' has not been declared
  207 |       virtual Segment* initSegment(uint32_t type, uint32_t flags, uint64_t paddr = 0) = 0;
      |                                                                   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:207:67: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:211:35: error: 'uint32_t' has not been declared
  211 |                                   uint32_t type,
      |                                   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:211:35: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:212:35: error: 'uint64_t' has not been declared
  212 |                                   uint64_t flags = 0,
      |                                   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:212:35: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:213:35: error: 'uint64_t' has not been declared
  213 |                                   uint64_t entsize = 0,
      |                                   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:213:35: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/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
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:225:5: error: 'uint64_t' does not name a type
  225 |     uint64_t ElfSize(const void* buffer);
      |     ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:225:5: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:227:31: error: 'uint32_t' was not declared in this scope
  227 |     std::string GetNoteString(uint32_t s_size, const char* s);
      |                               ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:227:31: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:227:48: error: expected primary-expression before 'const'
  227 |     std::string GetNoteString(uint32_t s_size, const char* s);
      |                                                ^~~~~
In file included from /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:47:
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:267:9: error: 'uint16_t' does not name a type
  267 | typedef uint16_t amdgpu_hsa_metadata_kind16_t;
      |         ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:1:1: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
  +++ |+#include <cstdint>
    1 | ////////////////////////////////////////////////////////////////////////////////
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:277:9: error: 'uint8_t' does not name a type
  277 | typedef uint8_t amdgpu_hsa_sampler_coord8_t;
      |         ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:277:9: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:284:9: error: 'uint8_t' does not name a type
  284 | typedef uint8_t amdgpu_hsa_sampler_filter8_t;
      |         ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:284:9: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:291:9: error: 'uint8_t' does not name a type
  291 | typedef uint8_t amdgpu_hsa_sampler_addressing8_t;
      |         ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:291:9: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:302:3: error: 'uint16_t' does not name a type
  302 |   uint16_t size;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:302:3: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:303:3: error: 'amdgpu_hsa_metadata_kind16_t' does not name a type; did you mean 'amdgpu_hsa_metadata_kind_t'?
  303 |   amdgpu_hsa_metadata_kind16_t kind;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   amdgpu_hsa_metadata_kind_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:304:3: error: 'amdgpu_hsa_sampler_coord8_t' does not name a type; did you mean 'amdgpu_hsa_sampler_coord_t'?
  304 |   amdgpu_hsa_sampler_coord8_t coord;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   amdgpu_hsa_sampler_coord_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:305:3: error: 'amdgpu_hsa_sampler_filter8_t' does not name a type; did you mean 'amdgpu_hsa_sampler_filter_t'?
  305 |   amdgpu_hsa_sampler_filter8_t filter;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   amdgpu_hsa_sampler_filter_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:306:3: error: 'amdgpu_hsa_sampler_addressing8_t' does not name a type; did you mean 'amdgpu_hsa_sampler_addressing_t'?
  306 |   amdgpu_hsa_sampler_addressing8_t addressing;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   amdgpu_hsa_sampler_addressing_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:307:3: error: 'uint8_t' does not name a type
  307 |   uint8_t reserved1;
      |   ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:307:3: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:311:9: error: 'uint8_t' does not name a type
  311 | typedef uint8_t amdgpu_hsa_image_geometry8_t;
      |         ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:311:9: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:324:9: error: 'uint8_t' does not name a type
  324 | typedef uint8_t amdgpu_hsa_image_channel_order8_t;
      |         ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:324:9: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:349:9: error: 'uint8_t' does not name a type
  349 | typedef uint8_t amdgpu_hsa_image_channel_type8_t;
      |         ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:349:9: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:371:3: error: 'uint16_t' does not name a type
  371 |   uint16_t size;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:371:3: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:372:3: error: 'amdgpu_hsa_metadata_kind16_t' does not name a type; did you mean 'amdgpu_hsa_metadata_kind_t'?
  372 |   amdgpu_hsa_metadata_kind16_t kind;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   amdgpu_hsa_metadata_kind_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:373:3: error: 'amdgpu_hsa_image_geometry8_t' does not name a type; did you mean 'amdgpu_hsa_image_geometry_t'?
  373 |   amdgpu_hsa_image_geometry8_t geometry;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   amdgpu_hsa_image_geometry_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:374:3: error: 'amdgpu_hsa_image_channel_order8_t' does not name a type; did you mean 'amdgpu_hsa_image_channel_order_t'?
  374 |   amdgpu_hsa_image_channel_order8_t channel_order;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   amdgpu_hsa_image_channel_order_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:375:3: error: 'amdgpu_hsa_image_channel_type8_t' does not name a type; did you mean 'amdgpu_hsa_image_channel_type_t'?
  375 |   amdgpu_hsa_image_channel_type8_t channel_type;
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   amdgpu_hsa_image_channel_type_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:376:3: error: 'uint8_t' does not name a type
  376 |   uint8_t reserved1;
      |   ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:376:3: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:377:3: error: 'uint64_t' does not name a type
  377 |   uint64_t width;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:377:3: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:378:3: error: 'uint64_t' does not name a type
  378 |   uint64_t height;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:378:3: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:379:3: error: 'uint64_t' does not name a type
  379 |   uint64_t depth;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:379:3: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:380:3: error: 'uint64_t' does not name a type
  380 |   uint64_t array;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:380:3: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:384:3: error: 'uint32_t' does not name a type
  384 |   uint32_t major_version;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:384:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:385:3: error: 'uint32_t' does not name a type
  385 |   uint32_t minor_version;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:385:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:389:3: error: 'uint32_t' does not name a type
  389 |   uint32_t hsail_major_version;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:389:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:390:3: error: 'uint32_t' does not name a type
  390 |   uint32_t hsail_minor_version;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:390:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:391:3: error: 'uint8_t' does not name a type
  391 |   uint8_t profile;
      |   ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:391:3: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:392:3: error: 'uint8_t' does not name a type
  392 |   uint8_t machine_model;
      |   ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:392:3: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:393:3: error: 'uint8_t' does not name a type
  393 |   uint8_t default_float_round;
      |   ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:393:3: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:397:3: error: 'uint16_t' does not name a type
  397 |   uint16_t vendor_name_size;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:397:3: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:398:3: error: 'uint16_t' does not name a type
  398 |   uint16_t architecture_name_size;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:398:3: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:399:3: error: 'uint32_t' does not name a type
  399 |   uint32_t major;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:399:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:400:3: error: 'uint32_t' does not name a type
  400 |   uint32_t minor;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:400:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:401:3: error: 'uint32_t' does not name a type
  401 |   uint32_t stepping;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:401:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:406:3: error: 'uint16_t' does not name a type
  406 |   uint16_t producer_name_size;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:406:3: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:407:3: error: 'uint16_t' does not name a type
  407 |   uint16_t reserved;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:407:3: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:408:3: error: 'uint32_t' does not name a type
  408 |   uint32_t producer_major_version;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:408:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:409:3: error: 'uint32_t' does not name a type
  409 |   uint32_t producer_minor_version;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:409:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:414:3: error: 'uint16_t' does not name a type
  414 |   uint16_t producer_options_size;
      |   ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/inc/amd_hsa_elf.h:414:3: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
[ 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
gmake[2]: *** [CMakeFiles/hsa-runtime64.dir/build.make:544: CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp: In member function 'virtual uint64_t rocr::amd::hsa::code::Symbol::SectionOffset() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:129:63: error: 'class rocr::amd::elf::Symbol' has no member named 'value'
  129 |       virtual uint64_t SectionOffset() const { return elfsym->value(); }
      |                                                               ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp: In member function 'virtual uint64_t rocr::amd::hsa::code::Symbol::VAddr() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:130:66: error: 'class rocr::amd::elf::Section' has no member named 'addr'
  130 |       virtual uint64_t VAddr() const { return elfsym->section()->addr() + elfsym->value(); }
      |                                                                  ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:130:83: error: 'class rocr::amd::elf::Symbol' has no member named 'value'
  130 |       virtual uint64_t VAddr() const { return elfsym->section()->addr() + elfsym->value(); }
      |                                                                                   ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp: In member function 'uint32_t rocr::amd::hsa::code::Symbol::Index() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:131:56: error: 'class rocr::amd::elf::Symbol' has no member named 'index'
  131 |       uint32_t Index() const { return elfsym ? elfsym->index() : 0; }
      |                                                        ^~~~~
/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;
      |             ^~~~~~~~~~~~
/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;
      |             ^~~~~~~~~~
/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/inc/amd_hsa_code.hpp: At global scope:
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:307:9: error: 'amdgpu_hsa_metadata_kind16_t' has not been declared; did you mean 'amdgpu_hsa_metadata_kind_t'?
  307 |         amdgpu_hsa_metadata_kind16_t kind,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         amdgpu_hsa_metadata_kind_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:308:9: error: 'amdgpu_hsa_image_geometry8_t' has not been declared; did you mean 'amdgpu_hsa_image_geometry_t'?
  308 |         amdgpu_hsa_image_geometry8_t geometry,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         amdgpu_hsa_image_geometry_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:309:9: error: 'amdgpu_hsa_image_channel_order8_t' has not been declared; did you mean 'amdgpu_hsa_image_channel_order_t'?
  309 |         amdgpu_hsa_image_channel_order8_t channel_order, amdgpu_hsa_image_channel_type8_t channel_type,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         amdgpu_hsa_image_channel_order_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:309:58: error: 'amdgpu_hsa_image_channel_type8_t' has not been declared; did you mean 'amdgpu_hsa_image_channel_type_t'?
  309 |         amdgpu_hsa_image_channel_order8_t channel_order, amdgpu_hsa_image_channel_type8_t channel_type,
      |                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                          amdgpu_hsa_image_channel_type_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:318:9: error: 'amdgpu_hsa_sampler_coord8_t' has not been declared; did you mean 'amdgpu_hsa_sampler_coord_t'?
  318 |         amdgpu_hsa_sampler_coord8_t coord,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         amdgpu_hsa_sampler_coord_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:319:9: error: 'amdgpu_hsa_sampler_filter8_t' has not been declared; did you mean 'amdgpu_hsa_sampler_filter_t'?
  319 |         amdgpu_hsa_sampler_filter8_t filter,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         amdgpu_hsa_sampler_filter_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:320:9: error: 'amdgpu_hsa_sampler_addressing8_t' has not been declared; did you mean 'amdgpu_hsa_sampler_addressing_t'?
  320 |         amdgpu_hsa_sampler_addressing8_t addressing);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         amdgpu_hsa_sampler_addressing_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::GetAmdNote(uint32_t, S**)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:205:63: error: cannot convert 'uint32_t*' {aka 'unsigned int*'} to 'int*' [-Wtemplate-body]
  205 |         if (!img->note()->getNote("AMD", type, (void**) desc, &desc_size)) {
      |                                                               ^~~~~~~~~~
      |                                                               |
      |                                                               uint32_t* {aka unsigned int*}
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_elf_image.hpp:151:91: note: initializing argument 4 of 'virtual bool rocr::amd::elf::NoteSection::getNote(const std::string&, int, void**, int*)'
  151 |       virtual bool getNote(const std::string& name, uint32_t type, void** desc, uint32_t* desc_size) = 0;
      |                                                                                 ~~~~~~~~~~^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp: In member function 'uint16_t rocr::amd::hsa::code::AmdHsaCode::Machine() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:231:46: error: 'class rocr::amd::elf::Image' has no member named 'Machine'
  231 |       uint16_t Machine() const { return img->Machine(); }
      |                                              ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp: In member function 'uint32_t rocr::amd::hsa::code::AmdHsaCode::EFlags() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:232:45: error: 'class rocr::amd::elf::Image' has no member named 'EFlags'
  232 |       uint32_t EFlags() const { return img->EFlags(); }
      |                                             ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp: In member function 'uint32_t rocr::amd::hsa::code::AmdHsaCode::EClass() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:233:45: error: 'class rocr::amd::elf::Image' has no member named 'EClass'
  233 |       uint32_t EClass() const { return img->EClass(); }
      |                                             ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp: In member function 'uint32_t rocr::amd::hsa::code::AmdHsaCode::OsAbi() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:234:44: error: 'class rocr::amd::elf::Image' has no member named 'OsAbi'
  234 |       uint32_t OsAbi() const { return img->OsAbi(); }
      |                                            ^~~~~
/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/core/inc/amd_hsa_code.hpp: In member function 'virtual uint64_t rocr::amd::hsa::code::KernelSymbolV2::SectionOffset() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:378:64: error: 'class rocr::amd::elf::Symbol' has no member named 'value'
  378 |       uint64_t SectionOffset() const override { return elfsym->value() - elfsym->section()->addr(); }
      |                                                                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:378:93: error: 'class rocr::amd::elf::Section' has no member named 'addr'
  378 |       uint64_t SectionOffset() const override { return elfsym->value() - elfsym->section()->addr(); }
      |                                                                                             ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp: In member function 'virtual uint64_t rocr::amd::hsa::code::KernelSymbolV2::VAddr() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:379:56: error: 'class rocr::amd::elf::Symbol' has no member named 'value'
  379 |       uint64_t VAddr() const override { return elfsym->value(); }
      |                                                        ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp: In member function 'virtual uint64_t rocr::amd::hsa::code::VariableSymbolV2::SectionOffset() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:387:64: error: 'class rocr::amd::elf::Symbol' has no member named 'value'
  387 |       uint64_t SectionOffset() const override { return elfsym->value() - elfsym->section()->addr(); }
      |                                                                ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:387:93: error: 'class rocr::amd::elf::Section' has no member named 'addr'
  387 |       uint64_t SectionOffset() const override { return elfsym->value() - elfsym->section()->addr(); }
      |                                                                                             ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp: In member function 'virtual uint64_t rocr::amd::hsa::code::VariableSymbolV2::VAddr() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/core/inc/amd_hsa_code.hpp:388:56: error: 'class rocr::amd::elf::Symbol' has no member named 'value'
  388 |       uint64_t VAddr() const override { return elfsym->value(); }
      |                                                        ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::Symbol::IsDeclaration() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:73:22: error: 'class rocr::amd::elf::Symbol' has no member named 'type'
   73 |       return elfsym->type() == STT_COMMON;
      |                      ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'virtual bool rocr::amd::hsa::code::Symbol::IsAgent() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:83:33: error: 'class rocr::amd::elf::Section' has no member named 'flags'
   83 |       return elfsym->section()->flags() & SHF_AMDGPU_HSA_AGENT ? true : false;
      |                                 ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'hsa_symbol_linkage_t rocr::amd::hsa::code::Symbol::Linkage() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:88:22: error: 'class rocr::amd::elf::Symbol' has no member named 'binding'
   88 |       return elfsym->binding() == STB_GLOBAL ? HSA_SYMBOL_LINKAGE_PROGRAM : HSA_SYMBOL_LINKAGE_MODULE;
      |                      ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'hsa_variable_segment_t rocr::amd::hsa::code::Symbol::Segment() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:98:33: error: 'class rocr::amd::elf::Section' has no member named 'flags'
   98 |       return elfsym->section()->flags() & SHF_AMDGPU_HSA_READONLY ? HSA_VARIABLE_SEGMENT_READONLY : HSA_VARIABLE_SEGMENT_GLOBAL;
      |                                 ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'uint64_t rocr::amd::hsa::code::Symbol::Size() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:103:22: error: 'class rocr::amd::elf::Symbol' has no member named 'size'
  103 |       return elfsym->size();
      |                      ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'uint32_t rocr::amd::hsa::code::Symbol::Alignment() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:115:42: error: 'class rocr::amd::elf::Section' has no member named 'addralign'
  115 |       return uint32_t(elfsym->section()->addralign());
      |                                          ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::Symbol::IsConst() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:120:33: error: 'class rocr::amd::elf::Section' has no member named 'flags'
  120 |       return elfsym->section()->flags() & SHF_WRITE ? true : false;
      |                                 ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::PullElfV1()':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:309:16: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'type'
  309 |         if (s->type() == PT_AMDGPU_HSA_LOAD_GLOBAL_PROGRAM ||
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:310:16: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'type'
  310 |             s->type() == PT_AMDGPU_HSA_LOAD_GLOBAL_AGENT ||
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:311:16: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'type'
  311 |             s->type() == PT_AMDGPU_HSA_LOAD_READONLY_AGENT ||
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:312:16: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'type'
  312 |             s->type() == PT_AMDGPU_HSA_LOAD_CODE_AGENT) {
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:319:19: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'type'
  319 |         if ((sec->type() == SHT_PROGBITS || sec->type() == SHT_NOBITS) &&
      |                   ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:319:50: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'type'
  319 |         if ((sec->type() == SHT_PROGBITS || sec->type() == SHT_NOBITS) &&
      |                                                  ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:320:19: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'flags'
  320 |             (sec->flags() & (SHF_AMDGPU_HSA_AGENT | SHF_AMDGPU_HSA_GLOBAL | SHF_AMDGPU_HSA_READONLY | SHF_AMDGPU_HSA_CODE))) {
      |                   ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:322:25: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'type'
  322 |         } else if (sec->type() == SHT_RELA) {
      |                         ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:332:25: error: 'class rocr::amd::elf::Symbol' has no member named 'type'
  332 |         switch (elfsym->type()) {
      |                         ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:340:22: error: 'class rocr::amd::elf::Section' has no member named 'flags'
  340 |           if (!(sec->flags() & (SHF_AMDGPU_HSA_AGENT | SHF_AMDGPU_HSA_CODE | SHF_EXECINSTR))) {
      |                      ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:344:37: error: 'class rocr::amd::elf::Symbol' has no member named 'value'
  344 |           if (!sec->getData(elfsym->value(), &akc, sizeof(amd_kernel_code_t))) {
      |                                     ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'uint64_t rocr::amd::hsa::code::AmdHsaCode::ElfSize()':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:437:19: error: 'class rocr::amd::elf::Image' has no member named 'size'
  437 |       return img->size();
      |                   ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::Validate()':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:443:16: error: 'class rocr::amd::elf::Image' has no member named 'Machine'
  443 |       if (img->Machine() != ELF::EM_AMDGPU) {
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::AddNoteCodeObjectVersion(uint32_t, uint32_t)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:458:12: error: 'amdgpu_hsa_note_code_object_version_t' {aka 'struct amdgpu_hsa_note_code_object_version_s'} has no member named 'major_version'
  458 |       desc.major_version = major;
      |            ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:459:12: error: 'amdgpu_hsa_note_code_object_version_t' {aka 'struct amdgpu_hsa_note_code_object_version_s'} has no member named 'minor_version'
  459 |       desc.minor_version = minor;
      |            ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::GetCodeObjectVersion(uint32_t*, uint32_t*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:465:20: error: 'class rocr::amd::elf::Image' has no member named 'ABIVersion'
  465 |       switch (img->ABIVersion()) {
      |                    ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:469:26: error: 'amdgpu_hsa_note_code_object_version_t' {aka 'struct amdgpu_hsa_note_code_object_version_s'} has no member named 'major_version'
  469 |           *major = desc->major_version;
      |                          ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:470:26: error: 'amdgpu_hsa_note_code_object_version_t' {aka 'struct amdgpu_hsa_note_code_object_version_s'} has no member named 'minor_version'
  470 |           *minor = desc->minor_version;
      |                          ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::GetNoteCodeObjectVersion(std::string&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:496:39: error: 'amdgpu_hsa_note_code_object_version_t' {aka 'struct amdgpu_hsa_note_code_object_version_s'} has no member named 'major_version'
  496 |       version += std::to_string(desc->major_version);
      |                                       ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:498:39: error: 'amdgpu_hsa_note_code_object_version_t' {aka 'struct amdgpu_hsa_note_code_object_version_s'} has no member named 'minor_version'
  498 |       version += std::to_string(desc->minor_version);
      |                                       ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::AddNoteHsail(uint32_t, uint32_t, hsa_profile_t, hsa_machine_model_t, hsa_default_float_rounding_mode_t)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:506:12: error: 'amdgpu_hsa_note_hsail_t' {aka 'struct amdgpu_hsa_note_hsail_s'} has no member named 'hsail_major_version'
  506 |       desc.hsail_major_version = hsail_major;
      |            ^~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:507:12: error: 'amdgpu_hsa_note_hsail_t' {aka 'struct amdgpu_hsa_note_hsail_s'} has no member named 'hsail_minor_version'
  507 |       desc.hsail_minor_version = hsail_minor;
      |            ^~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:508:12: error: 'amdgpu_hsa_note_hsail_t' {aka 'struct amdgpu_hsa_note_hsail_s'} has no member named 'profile'
  508 |       desc.profile = uint8_t(profile);
      |            ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:509:12: error: 'amdgpu_hsa_note_hsail_t' {aka 'struct amdgpu_hsa_note_hsail_s'} has no member named 'machine_model'
  509 |       desc.machine_model = uint8_t(machine_model);
      |            ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:510:12: error: 'amdgpu_hsa_note_hsail_t' {aka 'struct amdgpu_hsa_note_hsail_s'} has no member named 'default_float_round'
  510 |       desc.default_float_round = uint8_t(rounding_mode);
      |            ^~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::GetNoteHsail(uint32_t*, uint32_t*, hsa_profile_t*, hsa_machine_model_t*, hsa_default_float_rounding_mode_t*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:518:28: error: 'amdgpu_hsa_note_hsail_t' {aka 'struct amdgpu_hsa_note_hsail_s'} has no member named 'hsail_major_version'
  518 |       *hsail_major = desc->hsail_major_version;
      |                            ^~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:519:28: error: 'amdgpu_hsa_note_hsail_t' {aka 'struct amdgpu_hsa_note_hsail_s'} has no member named 'hsail_minor_version'
  519 |       *hsail_minor = desc->hsail_minor_version;
      |                            ^~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:520:40: error: 'amdgpu_hsa_note_hsail_t' {aka 'struct amdgpu_hsa_note_hsail_s'} has no member named 'profile'
  520 |       *profile = (hsa_profile_t) desc->profile;
      |                                        ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:521:52: error: 'amdgpu_hsa_note_hsail_t' {aka 'struct amdgpu_hsa_note_hsail_s'} has no member named 'machine_model'
  521 |       *machine_model = (hsa_machine_model_t) desc->machine_model;
      |                                                    ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:522:72: error: 'amdgpu_hsa_note_hsail_t' {aka 'struct amdgpu_hsa_note_hsail_s'} has no member named 'default_float_round'
  522 |       *default_float_round = (hsa_default_float_rounding_mode_t) desc->default_float_round;
      |                                                                        ^~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::AddNoteIsa(const std::string&, const std::string&, uint32_t, uint32_t, uint32_t)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:531:13: error: 'amdgpu_hsa_note_isa_t' {aka 'struct amdgpu_hsa_note_isa_s'} has no member named 'vendor_name_size'
  531 |       desc->vendor_name_size = vendor_name.length()+1;
      |             ^~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:532:13: error: 'amdgpu_hsa_note_isa_t' {aka 'struct amdgpu_hsa_note_isa_s'} has no member named 'architecture_name_size'
  532 |       desc->architecture_name_size = architecture_name.length()+1;
      |             ^~~~~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:533:13: error: 'amdgpu_hsa_note_isa_t' {aka 'struct amdgpu_hsa_note_isa_s'} has no member named 'major'
  533 |       desc->major = major;
      |             ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:534:13: error: 'amdgpu_hsa_note_isa_t' {aka 'struct amdgpu_hsa_note_isa_s'} has no member named 'minor'
  534 |       desc->minor = minor;
      |             ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:535:13: error: 'amdgpu_hsa_note_isa_t' {aka 'struct amdgpu_hsa_note_isa_s'} has no member named 'stepping'
  535 |       desc->stepping = stepping;
      |             ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:537:57: error: 'amdgpu_hsa_note_isa_t' {aka 'struct amdgpu_hsa_note_isa_s'} has no member named 'vendor_name_size'
  537 |       memcpy(desc->vendor_and_architecture_name + desc->vendor_name_size, architecture_name.c_str(), architecture_name.length() + 1);
      |                                                         ^~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::GetNoteIsa(std::string&, std::string&, uint32_t*, uint32_t*, uint32_t*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:545:41: error: 'amdgpu_hsa_note_isa_t' {aka 'struct amdgpu_hsa_note_isa_s'} has no member named 'vendor_name_size'
  545 |       vendor_name = GetNoteString(desc->vendor_name_size, desc->vendor_and_architecture_name);
      |                                         ^~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:546:47: error: 'amdgpu_hsa_note_isa_t' {aka 'struct amdgpu_hsa_note_isa_s'} has no member named 'architecture_name_size'
  546 |       architecture_name = GetNoteString(desc->architecture_name_size, desc->vendor_and_architecture_name + vendor_name.length() + 1);
      |                                               ^~~~~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:547:30: error: 'amdgpu_hsa_note_isa_t' {aka 'struct amdgpu_hsa_note_isa_s'} has no member named 'major'
  547 |       *major_version = desc->major;
      |                              ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:548:30: error: 'amdgpu_hsa_note_isa_t' {aka 'struct amdgpu_hsa_note_isa_s'} has no member named 'minor'
  548 |       *minor_version = desc->minor;
      |                              ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:549:25: error: 'amdgpu_hsa_note_isa_t' {aka 'struct amdgpu_hsa_note_isa_s'} has no member named 'stepping'
  549 |       *stepping = desc->stepping;
      |                         ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::GetIsa(std::string&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:695:20: error: 'class rocr::amd::elf::Image' has no member named 'EClass'
  695 |       switch (img->EClass()) {
      |                    ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:705:16: error: 'class rocr::amd::elf::Image' has no member named 'Machine'
  705 |       if (img->Machine() != ELF::EM_AMDGPU)
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:714:22: error: 'class rocr::amd::elf::Image' has no member named 'OsAbi'
  714 |         switch (img->OsAbi()) {
      |                      ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:725:30: error: 'class rocr::amd::elf::Image' has no member named 'EFlags'
  725 |         unsigned mach = img->EFlags() & ELF::EF_AMDGPU_MACH;
      |                              ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:732:20: error: 'class rocr::amd::elf::Image' has no member named 'EFlags'
  732 |           if (img->EFlags() & ELF::EF_AMDGPU_FEATURE_SRAMECC_V3)
      |                    ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:737:20: error: 'class rocr::amd::elf::Image' has no member named 'EFlags'
  737 |           if (img->EFlags() & ELF::EF_AMDGPU_FEATURE_XNACK_V3)
      |                    ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:742:24: error: 'class rocr::amd::elf::Image' has no member named 'EFlags'
  742 |           switch (img->EFlags() & ELF::EF_AMDGPU_FEATURE_SRAMECC_V4) {
      |                        ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:751:24: error: 'class rocr::amd::elf::Image' has no member named 'EFlags'
  751 |           switch (img->EFlags() & ELF::EF_AMDGPU_FEATURE_XNACK_V4) {
      |                        ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:781:81: error: 'class rocr::amd::elf::Image' has no member named 'EFlags'
  781 |         target_name = ConvertOldTargetNameToNew(target_name, is_finalizer, img->EFlags());
      |                                                                                 ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::AddNoteProducer(uint32_t, uint32_t, const std::string&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:795:13: error: 'amdgpu_hsa_note_producer_t' {aka 'struct amdgpu_hsa_note_producer_s'} has no member named 'producer_name_size'; did you mean 'producer_name'?
  795 |       desc->producer_name_size = producer.length();
      |             ^~~~~~~~~~~~~~~~~~
      |             producer_name
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:796:13: error: 'amdgpu_hsa_note_producer_t' {aka 'struct amdgpu_hsa_note_producer_s'} has no member named 'producer_major_version'
  796 |       desc->producer_major_version = major;
      |             ^~~~~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:797:13: error: 'amdgpu_hsa_note_producer_t' {aka 'struct amdgpu_hsa_note_producer_s'} has no member named 'producer_minor_version'
  797 |       desc->producer_minor_version = minor;
      |             ^~~~~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::GetNoteProducer(uint32_t*, uint32_t*, std::string&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:806:22: error: 'amdgpu_hsa_note_producer_t' {aka 'struct amdgpu_hsa_note_producer_s'} has no member named 'producer_major_version'
  806 |       *major = desc->producer_major_version;
      |                      ^~~~~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:807:22: error: 'amdgpu_hsa_note_producer_t' {aka 'struct amdgpu_hsa_note_producer_s'} has no member named 'producer_minor_version'
  807 |       *minor = desc->producer_minor_version;
      |                      ^~~~~~~~~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:808:43: error: 'amdgpu_hsa_note_producer_t' {aka 'struct amdgpu_hsa_note_producer_s'} has no member named 'producer_name_size'; did you mean 'producer_name'?
  808 |       producer_name = GetNoteString(desc->producer_name_size, desc->producer_name);
      |                                           ^~~~~~~~~~~~~~~~~~
      |                                           producer_name
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::AddNoteProducerOptions(const std::string&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:816:13: error: 'amdgpu_hsa_note_producer_options_t' {aka 'struct amdgpu_hsa_note_producer_options_s'} has no member named 'producer_options_size'; did you mean 'producer_options'?
  816 |       desc->producer_options_size = options.length();
      |             ^~~~~~~~~~~~~~~~~~~~~
      |             producer_options
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::GetNoteProducerOptions(std::string&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:839:37: error: 'amdgpu_hsa_note_producer_options_t' {aka 'struct amdgpu_hsa_note_producer_options_s'} has no member named 'producer_options_size'; did you mean 'producer_options'?
  839 |       options = GetNoteString(desc->producer_options_size, desc->producer_options);
      |                                     ^~~~~~~~~~~~~~~~~~~~~
      |                                     producer_options
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::AddImageInitializer(rocr::amd::hsa::code::Symbol*, uint64_t, const amdgpu_hsa_image_descriptor_t&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:934:45: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'addData'
  934 |       uint64_t offset = ImageInitSection()->addData(&desc, sizeof(desc), 8);
      |                                             ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:937:119: error: 'class rocr::amd::elf::Symbol' has no member named 'value'
  937 |       image->elfSym()->section()->relocationSection()->addRelocation(R_AMDGPU_INIT_IMAGE, imageInit, image->elfSym()->value() + destOffset, 0);
      |                                                                                                                       ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: At global scope:
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:942:7: error: 'amdgpu_hsa_metadata_kind16_t' has not been declared; did you mean 'amdgpu_hsa_metadata_kind_t'?
  942 |       amdgpu_hsa_metadata_kind16_t kind,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       amdgpu_hsa_metadata_kind_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:943:7: error: 'amdgpu_hsa_image_geometry8_t' has not been declared; did you mean 'amdgpu_hsa_image_geometry_t'?
  943 |       amdgpu_hsa_image_geometry8_t geometry,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       amdgpu_hsa_image_geometry_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:944:7: error: 'amdgpu_hsa_image_channel_order8_t' has not been declared; did you mean 'amdgpu_hsa_image_channel_order_t'?
  944 |       amdgpu_hsa_image_channel_order8_t channel_order, amdgpu_hsa_image_channel_type8_t channel_type,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       amdgpu_hsa_image_channel_order_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:944:56: error: 'amdgpu_hsa_image_channel_type8_t' has not been declared; did you mean 'amdgpu_hsa_image_channel_type_t'?
  944 |       amdgpu_hsa_image_channel_order8_t channel_order, amdgpu_hsa_image_channel_type8_t channel_type,
      |                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                        amdgpu_hsa_image_channel_type_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::AddImageInitializer(rocr::amd::hsa::code::Symbol*, uint64_t, int, int, int, int, uint64_t, uint64_t, uint64_t, uint64_t)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:948:12: error: 'amdgpu_hsa_image_descriptor_t' {aka 'struct amdgpu_hsa_image_descriptor_s'} has no member named 'size'
  948 |       desc.size = (uint16_t) sizeof(amdgpu_hsa_image_descriptor_t);
      |            ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:949:12: error: 'amdgpu_hsa_image_descriptor_t' {aka 'struct amdgpu_hsa_image_descriptor_s'} has no member named 'kind'
  949 |       desc.kind = kind;
      |            ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:950:12: error: 'amdgpu_hsa_image_descriptor_t' {aka 'struct amdgpu_hsa_image_descriptor_s'} has no member named 'geometry'
  950 |       desc.geometry = geometry;
      |            ^~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:951:12: error: 'amdgpu_hsa_image_descriptor_t' {aka 'struct amdgpu_hsa_image_descriptor_s'} has no member named 'channel_order'
  951 |       desc.channel_order = channel_order;
      |            ^~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:952:12: error: 'amdgpu_hsa_image_descriptor_t' {aka 'struct amdgpu_hsa_image_descriptor_s'} has no member named 'channel_type'
  952 |       desc.channel_type = channel_type;
      |            ^~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:953:12: error: 'amdgpu_hsa_image_descriptor_t' {aka 'struct amdgpu_hsa_image_descriptor_s'} has no member named 'width'
  953 |       desc.width = width;
      |            ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:954:12: error: 'amdgpu_hsa_image_descriptor_t' {aka 'struct amdgpu_hsa_image_descriptor_s'} has no member named 'height'
  954 |       desc.height = height;
      |            ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:955:12: error: 'amdgpu_hsa_image_descriptor_t' {aka 'struct amdgpu_hsa_image_descriptor_s'} has no member named 'depth'
  955 |       desc.depth = depth;
      |            ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:956:12: error: 'amdgpu_hsa_image_descriptor_t' {aka 'struct amdgpu_hsa_image_descriptor_s'} has no member named 'array'
  956 |       desc.array = array;
      |            ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::AddSamplerInitializer(rocr::amd::hsa::code::Symbol*, uint64_t, const amdgpu_hsa_sampler_descriptor_t&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:975:47: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'addData'
  975 |       uint64_t offset = SamplerInitSection()->addData(&desc, sizeof(desc), 8);
      |                                               ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:978:127: error: 'class rocr::amd::elf::Symbol' has no member named 'value'
  978 |       sampler->elfSym()->section()->relocationSection()->addRelocation(R_AMDGPU_INIT_SAMPLER, samplerInit, sampler->elfSym()->value() + destOffset, 0);
      |                                                                                                                               ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: At global scope:
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:982:9: error: 'amdgpu_hsa_sampler_coord8_t' has not been declared; did you mean 'amdgpu_hsa_sampler_coord_t'?
  982 |         amdgpu_hsa_sampler_coord8_t coord,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         amdgpu_hsa_sampler_coord_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:983:9: error: 'amdgpu_hsa_sampler_filter8_t' has not been declared; did you mean 'amdgpu_hsa_sampler_filter_t'?
  983 |         amdgpu_hsa_sampler_filter8_t filter,
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         amdgpu_hsa_sampler_filter_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:984:9: error: 'amdgpu_hsa_sampler_addressing8_t' has not been declared; did you mean 'amdgpu_hsa_sampler_addressing_t'?
  984 |         amdgpu_hsa_sampler_addressing8_t addressing)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         amdgpu_hsa_sampler_addressing_t
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::AddSamplerInitializer(rocr::amd::hsa::code::Symbol*, uint64_t, int, int, int)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:987:12: error: 'amdgpu_hsa_sampler_descriptor_t' {aka 'struct amdgpu_hsa_sampler_descriptor_s'} has no member named 'size'
  987 |       desc.size = (uint16_t) sizeof(amdgpu_hsa_sampler_descriptor_t);
      |            ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:988:12: error: 'amdgpu_hsa_sampler_descriptor_t' {aka 'struct amdgpu_hsa_sampler_descriptor_s'} has no member named 'kind'
  988 |       desc.kind = AMDGPU_HSA_METADATA_KIND_INIT_SAMP;
      |            ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:989:12: error: 'amdgpu_hsa_sampler_descriptor_t' {aka 'struct amdgpu_hsa_sampler_descriptor_s'} has no member named 'coord'
  989 |       desc.coord = coord;
      |            ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:990:12: error: 'amdgpu_hsa_sampler_descriptor_t' {aka 'struct amdgpu_hsa_sampler_descriptor_s'} has no member named 'filter'
  990 |       desc.filter = filter;
      |            ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:991:12: error: 'amdgpu_hsa_sampler_descriptor_t' {aka 'struct amdgpu_hsa_sampler_descriptor_s'} has no member named 'addressing'
  991 |       desc.addressing = addressing;
      |            ^~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::AddInitVarWithAddress(bool, rocr::amd::hsa::code::Symbol*, uint64_t, rocr::amd::hsa::code::Symbol*, uint64_t)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:998:110: error: 'class rocr::amd::elf::Symbol' has no member named 'value'
  998 |       dest->elfSym()->section()->relocationSection()->addRelocation(rtype, addrOf->elfSym(), dest->elfSym()->value() + destOffset, addrAddend);
      |                                                                                                              ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'uint64_t rocr::amd::hsa::code::AmdHsaCode::NextKernelCodeOffset() const':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1003:25: error: 'const class rocr::amd::elf::Section' has no member named 'nextDataOffset'
 1003 |       return HsaText()->nextDataOffset(256);
      |                         ^~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::AddKernelCode(rocr::amd::hsa::code::KernelSymbol*, const void*, size_t)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1010:36: error: 'class rocr::amd::elf::Section' has no member named 'addData'
 1010 |       uint64_t offset = HsaText()->addData(code, size, 256);
      |                                    ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::AddSectionSymbols()':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1137:49: error: 'class rocr::amd::elf::Section' has no member named 'flags'
 1137 |         if (dataSections[i] && dataSections[i]->flags() & SHF_ALLOC) {
      |                                                 ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'rocr::amd::hsa::code::Section* rocr::amd::hsa::code::AmdHsaCode::AddHsaHlDebug(const std::string&, const void*, size_t)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1195:16: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'addData'
 1195 |       section->addData(data, size, 1);
      |                ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::PrintMachineCode(std::ostream&)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1314:45: error: 'class rocr::amd::elf::Section' has no member named 'size'
 1314 |         std::vector<uint8_t> isa(HsaText()->size(), 0);
      |                                             ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1315:54: error: 'class rocr::amd::elf::Section' has no member named 'size'
 1315 |         HsaText()->getData(0, isa.data(), HsaText()->size());
      |                                                      ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1318:54: error: 'class rocr::amd::elf::Section' has no member named 'size'
 1318 |         PrintDisassembly(out, isa.data(), HsaText()->size(), 0);
      |                                                      ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::PrintSegment(std::ostream&, rocr::amd::hsa::code::Segment*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1327:40: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'getSegmentIndex'
 1327 |       out << "  Segment (" << segment->getSegmentIndex() << ")" << std::endl;
      |                                        ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1328:57: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'type'
 1328 |       out << "    Type: " << AmdPTLoadToString(segment->type())
      |                                                         ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1330:97: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'flags'
 1330 |           << "    Flags: " << "0x" << std::hex << std::setw(8) << std::setfill('0') << segment->flags() << std::dec
      |                                                                                                 ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1332:45: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'imageSize'
 1332 |           << "    Image Size: " << segment->imageSize()
      |                                             ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1334:46: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'memSize'
 1334 |           << "    Memory Size: " << segment->memSize()
      |                                              ^~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1336:40: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'align'
 1336 |           << "    Align: " << segment->align()
      |                                        ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1338:40: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'vaddr'
 1338 |           << "    VAddr: " << segment->vaddr()
      |                                        ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::PrintSection(std::ostream&, rocr::amd::hsa::code::Section*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1345:72: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'getSectionIndex'
 1345 |       out << "  Section " << section->Name() << " (Index " << section->getSectionIndex() << ")" << std::endl;
      |                                                                        ^~~~~~~~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1346:39: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'type'
 1346 |       out << "    Type: " << section->type()
      |                                       ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1348:97: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'flags'
 1348 |           << "    Flags: " << "0x" << std::hex << std::setw(8) << std::setfill('0') << section->flags() << std::dec
      |                                                                                                 ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1350:40: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'size'
 1350 |           << "    Size:  " << section->size()
      |                                        ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1352:42: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'addr'
 1352 |           << "    Address: " << section->addr()
      |                                          ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1354:40: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'addralign'
 1354 |           << "    Align: " << section->addralign()
      |                                        ^~~~~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1358:20: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'flags'
 1358 |       if (section->flags() & SHF_AMDGPU_HSA_CODE) {
      |                    ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1363:24: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'type'
 1363 |       switch (section->type()) {
      |                        ^~~~
In file included from /usr/include/stdlib.h:706,
                 from /usr/include/c++/15/cstdlib:83,
                 from /usr/include/c++/15/ext/string_conversions.h:45,
                 from /usr/include/c++/15/bits/basic_string.h:4444,
                 from /usr/include/c++/15/string:56,
                 from /usr/include/c++/15/bits/locale_classes.h:42,
                 from /usr/include/c++/15/bits/ios_base.h:43,
                 from /usr/include/c++/15/iomanip:47,
                 from /home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:45:
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::PrintRawData(std::ostream&, rocr::amd::hsa::code::Section*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1377:62: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'size'
 1377 |       unsigned char *sdata = (unsigned char*)alloca(section->size());
      |                                                              ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1378:43: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'size'
 1378 |       section->getData(0, sdata, section->size());
      |                                           ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1379:41: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'size'
 1379 |       PrintRawData(out, sdata, section->size());
      |                                         ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::PrintRelocationData(std::ostream&, rocr::amd::hsa::code::RelocationSection*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1415:60: error: 'class rocr::amd::elf::Relocation' has no member named 'type'
 1415 |         out << "        Type: " << section->relocation(i)->type() << std::endl;
      |                                                            ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1417:62: error: 'class rocr::amd::elf::Relocation' has no member named 'offset'
 1417 |         out << "        Offset: " << section->relocation(i)->offset() << " Addend: " << section->relocation(i)->addend() << std::endl;
      |                                                              ^~~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'void rocr::amd::hsa::code::AmdHsaCode::PrintMachineCode(std::ostream&, rocr::amd::hsa::code::KernelSymbol*)':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1453:43: error: 'class rocr::amd::elf::Section' has no member named 'size'
 1453 |       std::vector<uint8_t> isa(HsaText()->size(), 0);
      |                                           ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1454:52: error: 'class rocr::amd::elf::Section' has no member named 'size'
 1454 |       HsaText()->getData(0, isa.data(), HsaText()->size());
      |                                                    ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1458:52: error: 'class rocr::amd::elf::Section' has no member named 'size'
 1458 |       PrintDisassembly(out, isa.data(), HsaText()->size(), isa_offset);
      |                                                    ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: In member function 'bool rocr::amd::hsa::code::AmdHsaCode::PullElfV2()':
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1751:16: error: 'rocr::amd::hsa::code::Segment' {aka 'class rocr::amd::elf::Segment'} has no member named 'type'
 1751 |         if (s->type() == PT_LOAD) {
      |                ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1758:19: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'type'
 1758 |         if ((sec->type() == SHT_PROGBITS || sec->type() == SHT_NOBITS) &&
      |                   ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1758:50: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'type'
 1758 |         if ((sec->type() == SHT_PROGBITS || sec->type() == SHT_NOBITS) &&
      |                                                  ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1759:20: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'flags'
 1759 |             !(sec->flags() & SHF_EXECINSTR)) {
      |                    ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1761:25: error: 'rocr::amd::hsa::code::Section' {aka 'class rocr::amd::elf::Section'} has no member named 'type'
 1761 |         } else if (sec->type() == SHT_RELA) {
      |                         ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1771:25: error: 'class rocr::amd::elf::Symbol' has no member named 'type'
 1771 |         switch (elfsym->type()) {
      |                         ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1779:22: error: 'class rocr::amd::elf::Section' has no member named 'flags'
 1779 |           if (!(sec->flags() & (SHF_ALLOC | SHF_EXECINSTR))) {
      |                      ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1783:37: error: 'class rocr::amd::elf::Symbol' has no member named 'value'
 1783 |           if (!sec->getData(elfsym->value() - sec->addr(), &akc, sizeof(amd_kernel_code_t))) {
      |                                     ^~~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:1783:52: error: 'class rocr::amd::elf::Section' has no member named 'addr'
 1783 |           if (!sec->getData(elfsym->value() - sec->addr(), &akc, sizeof(amd_kernel_code_t))) {
      |                                                    ^~~~
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp: At global scope:
/home/pterjan/rpmbuild/BUILD/rocm-runtime-5.7.1-build/ROCR-Runtime-rocm-5.7.1/src/libamdhsacode/amd_hsa_code.cpp:607:24: warning: 'std::string rocr::amd::hsa::code::ConvertOldTargetNameToNew(const std::string&, bool, uint32_t)' defined but not used [-Wunused-function]
  607 |     static std::string ConvertOldTargetNameToNew(const std::string &old_name, bool is_finalizer, uint32_t e_flags) {
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [CMakeFiles/hsa-runtime64.dir/build.make:600: CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o] 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.VHGnQ1 (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.VHGnQ1 (%build)
I: [iurt_root_command] ERROR: chroot