Mock Version: 3.0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rocm-hip.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1654905782.918107/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffb7758640>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.k87fxc02:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.k87fxc02:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b7800ce43e7144fc85b3971c1050c552', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1654905782.918107/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.k87fxc02:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rocm-hip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: aarch64
Building for target aarch64
setting SOURCE_DATE_EPOCH=1654819200
Wrote: /builddir/build/SRPMS/rocm-hip-5.1.3-1.fc37.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rocm-hip.spec'], chrootPath='/var/lib/mock/fedora-rawhide-aarch64-1654905782.918107/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffb7758640>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.k87fxc02:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.k87fxc02:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3df7f9f187964e9189b1c47a8b715c11', '-D', '/var/lib/mock/fedora-rawhide-aarch64-1654905782.918107/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.k87fxc02:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rocm-hip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: aarch64
Building for target aarch64
setting SOURCE_DATE_EPOCH=1654819200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0AGvKy
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf hipamd-rocm-5.1.3
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ROCm-OpenCL-Runtime-5.1.3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hipamd-5.1.3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hipamd-rocm-5.1.3
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/HIP-5.1.3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ gzip -dc /builddir/build/SOURCES/ROCclr-5.1.3.tar.gz
+ tar -xof -
+ pushd ROCclr-rocm-5.1.3
~/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3 ~/build/BUILD/hipamd-rocm-5.1.3
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-SWDEV-323669-Fix-linux-arch-detection.patch
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-SWDEV-323669-Improve-arch-detection.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ popd
~/build/BUILD/hipamd-rocm-5.1.3
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Revert-hip-Fix-and-install-cmake-targets-for-hip-pac.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Revert-hip-Switch-to-component-based-packaging.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Fix-CL-icd-header-include.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-GNUInstallDirs.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ sed -i 's/-${HIP_VERSION_GITHASH}//' CMakeLists.txt
+ sed -i /CMAKE_INSTALL_RPATH/d CMakeLists.txt
+ pushd ../ROCm-OpenCL-Runtime-rocm-5.1.3
~/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3 ~/build/BUILD/hipamd-rocm-5.1.3
+ ls -d khronos/headers khronos/icd
+ xargs rm -r
+ grep -v headers
+ grep -v opencl2.2
+ ls -d khronos/headers/EGL khronos/headers/GL khronos/headers/KHR khronos/headers/opencl1.2 khronos/headers/opencl2.0 khronos/headers/opencl2.1 khronos/headers/opencl2.2
+ xargs rm -r
+ rm -r khronos/headers/opencl2.2/tests/
+ popd
~/build/BUILD/hipamd-rocm-5.1.3
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XpbGh0
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/hipamd-rocm-5.1.3/.package_note-rocm-hip-5.1.3-1.fc37.aarch64.ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ '[' -f /usr/lib/rpm/generate-rpm-note.sh ']'
+ /usr/lib/rpm/generate-rpm-note.sh rocm-hip 5.1.3-1.fc37 aarch64
+ cd hipamd-rocm-5.1.3
+ export HIP_CLANG_PATH=/usr/bin
+ HIP_CLANG_PATH=/usr/bin
+ mkdir build
+ cd build
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/hipamd-rocm-5.1.3/.package_note-rocm-hip-5.1.3-1.fc37.aarch64.ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
++ pwd
++ pwd
+ /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -S.. -B. -DHIP_COMMON_DIR=/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3 -DCMAKE_INSTALL_LIBDIR=lib64 -DAMD_OPENCL_PATH=/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../../ROCm-OpenCL-Runtime-rocm-5.1.3 -DROCCLR_INCLUDE_DIR=../ROCclr-rocm-5.1.3/include -DHIP_COMPILER=clang -DCMAKE_BUILD_TYPE=RelWithDebInfo
-- The C compiler identification is GNU 12.1.1
-- The CXX compiler identification is GNU 12.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- HIPCC_BIN_DIR found at 
-- HIP_COMMON_DIR found at /builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3
-- Found Perl: /usr/bin/perl (found version "5.34.1") 
-- Found Git: /usr/bin/git (found version "2.36.1") 
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
-- Using CPACK_DEBIAN_PACKAGE_RELEASE local
-- CPACK_RPM_PACKAGE_RELEASE: local%{?dist}
-- HIP Platform: amd
-- HIP Runtime: rocclr
-- HIP Compiler: clang
-- ROCM Installation path(ROCM_PATH): /opt/rocm
-- HIP will be installed in: /usr
-- Found ROCclr: /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/include  
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Found AMD_OPENCL: /builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL  
-- Found NUMA: /usr/lib64/libnuma.so  
-- Performing Test HAVE_FFI_CALL
-- Performing Test HAVE_FFI_CALL - Success
-- Found FFI: /usr/lib64/libffi.so  
-- Performing Test Terminfo_LINKABLE
-- Performing Test Terminfo_LINKABLE - Success
-- Found Terminfo: /usr/lib64/libtinfo.so  
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 
'sh' '-c' '/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/bin/hip_embed_pch.sh /builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include /builddir/build/BUILD/hipamd-rocm-5.1.3/build/include /builddir/build/BUILD/hipamd-rocm-5.1.3/include /usr/lib64/cmake/llvm/../../..'
+ /usr/lib64/cmake/llvm/../../../bin/clang -O3 --rocm-path=/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include/.. -std=c++17 -nogpulib -isystem /builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -isystem /builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -isystem /builddir/build/BUILD/hipamd-rocm-5.1.3/include --cuda-device-only -x hip /tmp/hip_pch.280/hip_pch.h -E
+ cat /tmp/hip_pch.280/hip_macros.h
+ /usr/lib64/cmake/llvm/../../../bin/clang -cc1 -O3 -emit-pch -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -fcuda-is-device -std=c++17 -fgnuc-version=4.2.1 -o /tmp/hip_pch.280/hip.pch -x hip-cpp-output -
+ /usr/lib64/cmake/llvm/../../../bin/llvm-mc -o hip_pch.o /tmp/hip_pch.280/hip_pch.mcin --filetype=obj
+ rm -rf /tmp/hip_pch.280
-- HIP RTC enabled.
CMake Deprecation Warning at CMakeLists.txt:488 (cmake_policy):
  The OLD behavior for policy CMP0037 will be removed from a future version
  of CMake.
  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
-- Found HIP: /builddir/build/BUILD/hipamd-rocm-5.1.3/build (found version "5.1.20532") 
-- host interface - found
-- HIP runtime lib type - shared
-- CMAKE_TESTING_TOOL: 
-- CMAKE HIP ARCHITECTURES: OFF
-- ROCm Agent Enumurator Not Found
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:
    CMAKE_C_FLAGS_RELEASE
    CMAKE_Fortran_FLAGS_RELEASE
    CMAKE_INSTALL_DO_STRIP
    LIB_SUFFIX
    SHARE_INSTALL_PREFIX
    SYSCONF_INSTALL_DIR
-- Build files have been written to: /builddir/build/BUILD/hipamd-rocm-5.1.3/build
+ /usr/bin/cmake --build . -j4 --verbose
/usr/bin/cmake -S/builddir/build/BUILD/hipamd-rocm-5.1.3 -B/builddir/build/BUILD/hipamd-rocm-5.1.3/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/hipamd-rocm-5.1.3/build/CMakeFiles /builddir/build/BUILD/hipamd-rocm-5.1.3/build//CMakeFiles/progress.marks
/usr/bin/gmake  -f CMakeFiles/Makefile2 all
gmake[1]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
/usr/bin/gmake  -f src/CMakeFiles/rocclr.dir/build.make src/CMakeFiles/rocclr.dir/depend
/usr/bin/gmake  -f src/CMakeFiles/hiprtc-builtins.dir/build.make src/CMakeFiles/hiprtc-builtins.dir/depend
gmake[2]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
gmake[2]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/hipamd-rocm-5.1.3 /builddir/build/BUILD/hipamd-rocm-5.1.3/src /builddir/build/BUILD/hipamd-rocm-5.1.3/build /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src/CMakeFiles/rocclr.dir/DependInfo.cmake --color=
[  0%] Generating hip_rtc_gen/hipRTC
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/clang-14 -O3 --rocm-path=/builddir/build/BUILD/hipamd-rocm-5.1.3/include/.. -std=c++17 -nogpulib --hip-version=3.6 -isystem /builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -isystem /builddir/build/BUILD/hipamd-rocm-5.1.3/include -isystem /builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -isystem /builddir/build/BUILD/hipamd-rocm-5.1.3/src/include --cuda-device-only -D__HIPCC_RTC__ -x hip /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src/hip_rtc_gen/hipRTC_header.h -E -o /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src/hip_rtc_gen/hipRTC
gmake[2]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
/usr/bin/gmake  -f src/CMakeFiles/rocclr.dir/build.make src/CMakeFiles/rocclr.dir/build
gmake[2]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
[  0%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/appprofile.cpp.o
[  0%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/compiler/lib/utils/options.cpp.o
[  0%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/blit.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/compiler/lib/utils/options.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/compiler/lib/utils/options.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/compiler/lib/utils/options.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/compiler/lib/utils/options.cpp
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/blit.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/blit.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/blit.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/blit.cpp
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/appprofile.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/appprofile.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/appprofile.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/appprofile.cpp
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/cmake -DHIPRTC_ADD_MACROS=1 -DHIPRTC_PREPROCESSED_FILE=/builddir/build/BUILD/hipamd-rocm-5.1.3/build/src/hip_rtc_gen/hipRTC -P /builddir/build/BUILD/hipamd-rocm-5.1.3/src/cmake/HIPRTC.cmake
-- Appending hiprtc macros to /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src/hip_rtc_gen/hipRTC.
[  0%] Generating hip_rtc_gen/hipRTC_header.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/llvm-mc -o /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src/hip_rtc_gen/hipRTC_header.o /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src/hip_rtc_gen/hipRTC_header.mcin --filetype=obj
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/hipamd-rocm-5.1.3 /builddir/build/BUILD/hipamd-rocm-5.1.3/src /builddir/build/BUILD/hipamd-rocm-5.1.3/build /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src/CMakeFiles/hiprtc-builtins.dir/DependInfo.cmake --color=
gmake[2]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
/usr/bin/gmake  -f src/CMakeFiles/hiprtc-builtins.dir/build.make src/CMakeFiles/hiprtc-builtins.dir/build
gmake[2]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
[  0%] Linking CXX shared library ../lib/libhiprtc-builtins.so
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/hiprtc-builtins.dir/link.txt --verbose=1
/usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/hipamd-rocm-5.1.3/.package_note-rocm-hip-5.1.3-1.fc37.aarch64.ld -shared -Wl,-soname,libhiprtc-builtins.so.5 -o ../lib/libhiprtc-builtins.so.5.1.20532 hip_rtc_gen/hipRTC_header.o 
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/cmake -E cmake_symlink_library ../lib/libhiprtc-builtins.so.5.1.20532 ../lib/libhiprtc-builtins.so.5 ../lib/libhiprtc-builtins.so
gmake[2]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
[  0%] Built target hiprtc-builtins
[  0%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/blitcl.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/blitcl.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/blitcl.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/blitcl.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/blitcl.cpp
[  0%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/comgrctx.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/comgrctx.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/comgrctx.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/comgrctx.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/comgrctx.cpp
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/compiler/lib/utils/options.cpp: In function 'void {anonymous}::ShowOptionsHelp(const char*, amd::option::Options&)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/compiler/lib/utils/options.cpp:316:16: warning: unused variable 'sz' [-Wunused-variable]
  316 |         size_t sz = 0;
      |                ^~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/compiler/lib/utils/options.cpp: In function 'std::string amd::option::getValidDumpPath(const std::string&)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/compiler/lib/utils/options.cpp:1515:10: warning: unused variable 'pathname_max' [-Wunused-variable]
 1515 |     long pathname_max = pathconf(curPath.c_str(), _PC_PATH_MAX);
      |          ^~~~~~~~~~~~
[ 11%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhcmessages.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhcmessages.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhcmessages.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhcmessages.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devhcmessages.cpp
[ 11%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhcprintf.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhcprintf.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhcprintf.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhcprintf.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devhcprintf.cpp
[ 11%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhostcall.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhostcall.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhostcall.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhostcall.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devhostcall.cpp
[ 11%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/device.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/device.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/device.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/device.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/device.cpp
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/device.cpp: In constructor 'amd::Device::Device()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/device.cpp:465:9: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct device::Info' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  465 |   memset(&info_, '\0', sizeof(info_));
      |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/device.cpp:21:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/device.hpp:240:8: note: 'struct device::Info' declared here
  240 | struct Info : public amd::EmbeddedObject {
      |        ^~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/device.cpp: In member function 'bool device::ClBinary::loadCompileOptions(std::string&) const':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/device.cpp:1107:9: warning: unused variable 'options' [-Wunused-variable]
 1107 |   char* options = nullptr;
      |         ^~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/device.cpp:1108:10: warning: unused variable 'sz' [-Wunused-variable]
 1108 |   size_t sz;
      |          ^~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/device.cpp: In member function 'bool device::ClBinary::loadLinkOptions(std::string&) const':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/device.cpp:1123:9: warning: unused variable 'options' [-Wunused-variable]
 1123 |   char* options = nullptr;
      |         ^~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/device.cpp:1124:10: warning: unused variable 'sz' [-Wunused-variable]
 1124 |   size_t sz;
      |          ^~
[ 11%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devkernel.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devkernel.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devkernel.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devkernel.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp
[ 11%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devprogram.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devprogram.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devprogram.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devprogram.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devprogram.cpp
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp: In function 'amd_comgr_status_t device::populateArgs(amd_comgr_metadata_node_t, amd_comgr_metadata_node_t, void*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp:77:10: warning: unused variable 'size' [-Wunused-variable]
   77 |   size_t size = 0;
      |          ^~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp: In function 'amd_comgr_status_t device::populateCodeProps(amd_comgr_metadata_node_t, amd_comgr_metadata_node_t, void*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp:326:14: warning: unused variable 'mIsDynamicCallStack' [-Wunused-variable]
  326 |       size_t mIsDynamicCallStack = (buf.compare("true") == 0);
      |              ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp:330:14: warning: unused variable 'mIsXNACKEnabled' [-Wunused-variable]
  330 |       size_t mIsXNACKEnabled = (buf.compare("true") == 0);
      |              ^~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp:334:14: warning: unused variable 'mNumSpilledSGPRs' [-Wunused-variable]
  334 |       size_t mNumSpilledSGPRs = atoi(buf.c_str());
      |              ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp:338:14: warning: unused variable 'mNumSpilledVGPRs' [-Wunused-variable]
  338 |       size_t mNumSpilledVGPRs = atoi(buf.c_str());
      |              ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp: In function 'amd_comgr_status_t device::populateArgsV3(amd_comgr_metadata_node_t, amd_comgr_metadata_node_t, void*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp:355:10: warning: unused variable 'size' [-Wunused-variable]
  355 |   size_t size = 0;
      |          ^~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp: In function 'amd_comgr_status_t device::populateKernelMetaV3(amd_comgr_metadata_node_t, amd_comgr_metadata_node_t, void*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp:556:14: warning: unused variable 'mNumSpilledSGPRs' [-Wunused-variable]
  556 |       size_t mNumSpilledSGPRs = atoi(buf.c_str());
      |              ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devkernel.cpp:560:14: warning: unused variable 'mNumSpilledVGPRs' [-Wunused-variable]
  560 |       size_t mNumSpilledVGPRs = atoi(buf.c_str());
      |              ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devprogram.cpp: In member function 'bool device::Program::setBinary(const char*, size_t, const device::Program*, amd::Os::FileDesc, size_t, std::string)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devprogram.cpp:2216:13: warning: unused variable 'sect' [-Wunused-variable]
 2216 |       char* sect = nullptr;
      |             ^~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devprogram.cpp:2217:14: warning: unused variable 'sz' [-Wunused-variable]
 2217 |       size_t sz = 0;
      |              ^~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devprogram.cpp: In function 'amd_comgr_status_t device::getSymbolFromModule(amd_comgr_symbol_t, void*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devprogram.cpp:2797:11: warning: unused variable 'userDataInfo' [-Wunused-variable]
 2797 |   size_t* userDataInfo = nullptr;
      |           ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devprogram.cpp:2800:29: warning: unused variable 'var_names' [-Wunused-variable]
 2800 |   std::vector<std::string>* var_names = nullptr;
      |                             ^~~~~~~~~
[ 11%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devwavelimiter.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devwavelimiter.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devwavelimiter.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devwavelimiter.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/devwavelimiter.cpp
[ 11%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/hsailctx.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/hsailctx.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/hsailctx.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/hsailctx.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/hsailctx.cpp
[ 11%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/hwdebug.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/hwdebug.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/hwdebug.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/hwdebug.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/hwdebug.cpp
[ 22%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/elf/elf.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/elf/elf.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/elf/elf.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/elf/elf.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/elf/elf.cpp
[ 22%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/alloc.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/alloc.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/alloc.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/alloc.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/os/alloc.cpp
[ 22%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os_posix.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os_posix.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os_posix.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os_posix.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/os/os_posix.cpp
[ 22%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os_win32.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os_win32.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os_win32.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os_win32.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/os/os_win32.cpp
[ 22%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/os/os.cpp
[ 22%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/activity.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/activity.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/activity.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/activity.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/activity.cpp
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/os/os_posix.cpp: In function 'void amd::divisionErrorHandler(int, siginfo_t*, void*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/os/os_posix.cpp:102:15: warning: unused variable 'uc' [-Wunused-variable]
  102 |   ucontext_t* uc = (ucontext_t*)ptr;
      |               ^~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/os/os_posix.cpp: In static member function 'static bool amd::Os::MemoryMapFileTruncated(const char*, const void**, size_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/os/os_posix.cpp:850:15: warning: unused variable 'stat_buf' [-Wunused-variable]
  850 |   struct stat stat_buf;
      |               ^~~~~~~~
[ 22%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/agent.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/agent.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/agent.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/agent.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/agent.cpp
[ 22%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/command.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/command.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/command.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/command.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/command.cpp
[ 22%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/commandqueue.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/commandqueue.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/commandqueue.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/commandqueue.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/commandqueue.cpp
[ 33%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/context.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/context.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/context.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/context.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/context.cpp
[ 33%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/kernel.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/kernel.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/kernel.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/kernel.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/kernel.cpp
[ 33%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/memory.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/memory.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/memory.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/memory.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp
[ 33%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/ndrange.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/ndrange.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/ndrange.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/ndrange.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/ndrange.cpp
[ 33%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/program.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/program.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/program.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/program.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/program.cpp
[ 33%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/runtime.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/runtime.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/runtime.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/runtime.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/runtime.cpp
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp: In member function 'bool amd::Memory::allocHostMemory(void*, bool, bool)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp:209:31: warning: unused variable 'devices' [-Wunused-variable]
  209 |   const std::vector<Device*>& devices = context_().devices();
      |                               ^~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp: In member function 'virtual amd::Image* amd::Image::createView(const amd::Context&, const Format&, device::VirtualDevice*, uint, cl_mem_flags)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp:1200:27: warning: unused variable 'mem' [-Wunused-variable]
 1200 |           device::Memory* mem = view->getDeviceMemory(*(deviceMemories_[i].ref_));
      |                           ^~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp: In function 'int amd::round_to_even(float)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp:1268:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1268 |   if (fabsf(v) < *reinterpret_cast<const float*>(&magic[0])) {
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp:1269:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1269 |     float magicVal = *reinterpret_cast<const float*>(&magic[v < 0.0f]);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp: In function 'uint16_t amd::float2half_rtz(float)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp:1294:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1294 |   if (x >= *reinterpret_cast<float*>(&values[0])) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp:1295:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1295 |     if (x == *reinterpret_cast<float*>(&values[4])) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp:1302:12: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1302 |   if (x < *reinterpret_cast<float*>(&values[1])) {
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp:1307:12: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1307 |   if (x < *reinterpret_cast<float*>(&values[2])) {
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp:1308:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
 1308 |     x *= *reinterpret_cast<float*>(&values[3]);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp: In static member function 'static void* amd::SvmBuffer::malloc(amd::Context&, cl_svm_mem_flags, size_t, size_t, const amd::Device*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/platform/memory.cpp:1500:8: warning: unused variable 'atomics' [-Wunused-variable]
 1500 |   bool atomics = (flags & CL_MEM_SVM_ATOMICS) != 0;
      |        ^~~~~~~
[ 33%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/monitor.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/monitor.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/monitor.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/monitor.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/thread/monitor.cpp
[ 33%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/semaphore.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/semaphore.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/semaphore.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/semaphore.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/thread/semaphore.cpp
[ 44%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/thread.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/thread.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/thread.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/thread.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/thread/thread.cpp
[ 44%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/utils/debug.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/utils/debug.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/utils/debug.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/utils/debug.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/utils/debug.cpp
[ 44%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/utils/flags.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/utils/flags.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/utils/flags.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/utils/flags.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/utils/flags.cpp
[ 44%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocappprofile.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocappprofile.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocappprofile.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocappprofile.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocappprofile.cpp
[ 44%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp
[ 44%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocblitcl.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocblitcl.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocblitcl.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocblitcl.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblitcl.cpp
[ 44%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/roccounters.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/roccounters.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/roccounters.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/roccounters.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/roccounters.cpp
[ 44%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocdevice.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocdevice.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocdevice.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocdevice.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocdevice.cpp
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp: In member function 'virtual bool roc::DmaBlitManager::writeBuffer(const void*, device::Memory&, const amd::Coord3D&, const amd::Coord3D&, bool) const':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:237:12: warning: unused variable 'tmpSize' [-Wunused-variable]
  237 |     size_t tmpSize = 0;
      |            ^~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp: In member function 'bool roc::KernelBlitManager::copyBufferToImageKernel(device::Memory&, device::Memory&, const amd::Coord3D&, const amd::Coord3D&, const amd::Coord3D&, bool, size_t, size_t) const':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:979:15: warning: unused variable 'srcImage' [-Wunused-variable]
  979 |   amd::Image* srcImage = static_cast<amd::Image*>(srcMemory.owner());
      |               ^~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp: In member function 'virtual bool roc::KernelBlitManager::copyBufferRect(device::Memory&, device::Memory&, const amd::BufferRect&, const amd::BufferRect&, const amd::Coord3D&, bool) const':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:1585:8: warning: unused variable 'rejected' [-Wunused-variable]
 1585 |   bool rejected = false;
      |        ^~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp: In member function 'virtual bool roc::KernelBlitManager::copyBuffer(device::Memory&, device::Memory&, const amd::Coord3D&, const amd::Coord3D&, const amd::Coord3D&, bool) const':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:2065:12: warning: unused variable 'dim' [-Wunused-variable]
 2065 |     size_t dim = 1;
      |            ^~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocdevice.cpp:36:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocdevice.hpp: In constructor 'roc::Device::Device(hsa_agent_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocdevice.hpp:611:21: warning: 'roc::Device::numOfVgpus_' will be initialized after [-Wreorder]
  611 |   std::atomic<uint> numOfVgpus_;  //!< Virtual gpu unique index
      |                     ^~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocdevice.hpp:561:12: warning:   'uint32_t roc::Device::preferred_numa_node_' [-Wreorder]
  561 |   uint32_t preferred_numa_node_;
      |            ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocdevice.cpp:156:1: warning:   when initialized here [-Wreorder]
  156 | Device::Device(hsa_agent_t bkendDevice)
      | ^~~~~~
[ 44%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocglinterop.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocglinterop.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocglinterop.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocglinterop.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocglinterop.cpp
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocdevice.cpp: In member function 'virtual void* roc::Device::svmAlloc(amd::Context&, size_t, size_t, cl_svm_mem_flags, void*) const':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocdevice.cpp:2229:13: warning: unused variable 'gpuMem' [-Wunused-variable]
 2229 |     Memory* gpuMem = getRocMemory(mem);
      |             ^~~~~~
[ 55%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rockernel.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rockernel.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rockernel.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rockernel.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rockernel.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocdevice.cpp:37:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocblit.hpp: At global scope:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocblit.hpp:485:20: warning: 'roc::BlitName' defined but not used [-Wunused-variable]
  485 | static const char* BlitName[KernelBlitManager::BlitTotal] = {
      |                    ^~~~~~~~
[ 55%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:23:
In member function 'roc::KernelBlitManager::setArgument(amd::Kernel*, unsigned long, unsigned long, void const*, unsigned int, device::Memory const*) const',
    inlined from 'roc::KernelBlitManager::fillBuffer(device::Memory&, void const*, unsigned long, amd::Coord3D const&, amd::Coord3D const&, bool, bool) const' at /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:2028:18:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocblit.hpp:512:32: warning: array subscript 'struct _cl_mem * const[0]' is partly outside array bounds of 'uint32_t[1]' [-Warray-bounds]
  512 |       amd::Memory* mem = as_amd(*static_cast<const cl_mem*>(value));
      |                          ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp: In member function 'roc::KernelBlitManager::fillBuffer(device::Memory&, void const*, unsigned long, amd::Coord3D const&, amd::Coord3D const&, bool, bool) const':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:1966:16: note: object 'kpattern_size32' of size 4
 1966 |       uint32_t kpattern_size32 = (packed_obj.pattern_expanded_) ? sizeof(size_t) : patternSize;
      |                ^~~~~~~~~~~~~~~
In member function 'roc::KernelBlitManager::setArgument(amd::Kernel*, unsigned long, unsigned long, void const*, unsigned int, device::Memory const*) const',
    inlined from 'roc::KernelBlitManager::fillBuffer(device::Memory&, void const*, unsigned long, amd::Coord3D const&, amd::Coord3D const&, bool, bool) const' at /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:2028:18:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocblit.hpp:539:24: warning: array subscript 'const uint64_t[0]' is partly outside array bounds of 'uint32_t[1]' [-Warray-bounds]
  539 |           uint64_value = *static_cast<const uint64_t*>(value);
      |           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp: In member function 'roc::KernelBlitManager::fillBuffer(device::Memory&, void const*, unsigned long, amd::Coord3D const&, amd::Coord3D const&, bool, bool) const':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:1966:16: note: object 'kpattern_size32' of size 4
 1966 |       uint32_t kpattern_size32 = (packed_obj.pattern_expanded_) ? sizeof(size_t) : patternSize;
      |                ^~~~~~~~~~~~~~~
In member function 'roc::KernelBlitManager::setArgument(amd::Kernel*, unsigned long, unsigned long, void const*, unsigned int, device::Memory const*) const',
    inlined from 'roc::KernelBlitManager::RunGwsInit(unsigned int) const' at /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:2573:14:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocblit.hpp:512:32: warning: array subscript 'struct _cl_mem * const[0]' is partly outside array bounds of 'uint32_t[1]' [-Warray-bounds]
  512 |       amd::Memory* mem = as_amd(*static_cast<const cl_mem*>(value));
      |                          ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp: In member function 'roc::KernelBlitManager::RunGwsInit(unsigned int) const':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:2565:12: note: object 'value' of size 4
 2565 |   uint32_t value) const {
      |   ~~~~~~~~~^~~~~
In member function 'roc::KernelBlitManager::setArgument(amd::Kernel*, unsigned long, unsigned long, void const*, unsigned int, device::Memory const*) const',
    inlined from 'roc::KernelBlitManager::RunGwsInit(unsigned int) const' at /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:2573:14:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocblit.hpp:539:24: warning: array subscript 'const uint64_t[0]' is partly outside array bounds of 'uint32_t[1]' [-Warray-bounds]
  539 |           uint64_value = *static_cast<const uint64_t*>(value);
      |           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp: In member function 'roc::KernelBlitManager::RunGwsInit(unsigned int) const':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp:2565:12: note: object 'value' of size 4
 2565 |   uint32_t value) const {
      |   ~~~~~~~~~^~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp: In member function 'bool roc::Memory::allocateMapMemory(size_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp:80:9: warning: unused variable 'mapData' [-Wunused-variable]
   80 |   void* mapData = nullptr;
      |         ^~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp: In member function 'virtual bool roc::Memory::pinSystemMemory(void*, size_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp:299:10: warning: unused variable 'pinAllocSize' [-Wunused-variable]
  299 |   size_t pinAllocSize;
      |          ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp: In member function 'void roc::Memory::mgpuCacheWriteBack()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp:599:10: warning: unused variable 'ok' [-Wunused-variable]
  599 |     bool ok = pinSystemMemory(owner()->getHostMem(), owner()->getSize());
      |          ^~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp: In member function 'virtual void roc::Image::destroy()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp:1345:18: warning: unused variable 'status' [-Wunused-variable]
 1345 |     hsa_status_t status = hsa_ext_image_destroy(dev().getBackendDevice(), hsaImageObject_);
      |                  ^~~~~~
[ 55%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocprintf.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocprintf.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocprintf.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocprintf.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocprintf.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp:33:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocblit.hpp: At global scope:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocblit.hpp:485:20: warning: 'roc::BlitName' defined but not used [-Wunused-variable]
  485 | static const char* BlitName[KernelBlitManager::BlitTotal] = {
      |                    ^~~~~~~~
[ 55%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocprogram.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocprogram.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocprogram.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocprogram.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocprogram.cpp
[ 55%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocsettings.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocsettings.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocsettings.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocsettings.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocsettings.cpp
[ 55%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocsignal.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocsignal.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocsignal.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocsignal.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocsignal.cpp
[ 55%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp
In file included from /usr/include/c++/12/string:40,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../utils/util.hpp:27,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../os/os.hpp:25,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocprintf.cpp:22:
In function 'std::char_traits<char>::copy(char*, char const*, unsigned long)',
    inlined from 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_copy(char*, char const*, unsigned long)' at /usr/include/c++/12/bits/basic_string.h:423:21,
    inlined from 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_copy(char*, char const*, unsigned long)' at /usr/include/c++/12/bits/basic_string.h:418:7,
    inlined from 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)' at /usr/include/c++/12/bits/basic_string.tcc:532:22,
    inlined from 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned long, unsigned long, char const*, unsigned long)' at /usr/include/c++/12/bits/basic_string.h:2171:19,
    inlined from 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned long, unsigned long, char const*)' at /usr/include/c++/12/bits/basic_string.h:2196:22,
    inlined from 'roc::PrintfDbg::outputArgument(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, unsigned long, unsigned int const*) const' at /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocprintf.cpp:180:25:
/usr/include/c++/12/bits/char_traits.h:431:56: warning: 'memcpy' accessing 9223372036854775810 or more bytes at offsets -4611686018427387902 and [-4611686018427387903, 4611686018427387904] may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict]
  431 |         return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n));
      |                                        ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
[ 55%] Building CXX object src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocurilocator.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocurilocator.cpp.o -MF CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocurilocator.cpp.o.d -o CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocurilocator.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocurilocator.cpp
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp: In member function 'bool roc::VirtualGPU::processMemObjects(const amd::Kernel&, const_address, size_t&, bool, bool&, std::vector<device::Memory*>&)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp:714:20: warning: unused variable 'result' [-Wunused-variable]
  714 |               bool result = blitMgr().copyBufferToImage(
      |                    ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp: In member function 'void* roc::VirtualGPU::allocKernArg(size_t, size_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp:1239:19: warning: operation on '((roc::VirtualGPU*)this)->roc::VirtualGPU::active_chunk_' may be undefined [-Wsequence-point]
 1239 |     active_chunk_ = ++active_chunk_ % KernelArgPoolNumSignal;
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp:1241:10: warning: unused variable 'test' [-Wunused-variable]
 1241 |     bool test = WaitForSignal(kernarg_pool_signal_[active_chunk_], ActiveWait());
      |          ^~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp: In member function 'virtual void roc::VirtualGPU::submitStreamOperation(amd::StreamOperationCommand&)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp:2347:20: warning: unused variable 'signal' [-Wunused-variable]
 2347 |       hsa_signal_t signal;
      |                    ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp: In member function 'virtual void roc::VirtualGPU::submitSvmFillMemory(amd::SvmFillMemoryCommand&)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp:2432:13: warning: unused variable 'memory' [-Wunused-variable]
 2432 |     Memory* memory = dev().getRocMemory(dstMemory);
      |             ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp: In member function 'bool roc::VirtualGPU::submitKernelInternal(const amd::NDRangeContainer&, const amd::Kernel&, const_address, void*, uint32_t, amd::NDRangeKernelCommand*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp:2991:12: warning: unused variable 'result' [-Wunused-variable]
 2991 |       bool result = blitMgr().copyImageToBuffer(*cpyImage, *buffer, offs,
      |            ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp:2724:23: warning: unused variable 'memories' [-Wunused-variable]
 2724 |   amd::Memory* const* memories =
      |                       ^~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp: In member function 'virtual void roc::VirtualGPU::submitTransferBufferFromFile(amd::TransferBufferFileCommand&)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp:3223:12: warning: unused variable 'result' [-Wunused-variable]
 3223 |       bool result = blitMgr().copyBuffer(*staging, *mem, 0, dstOffset, dstSize, false);
      |            ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp:3234:12: warning: unused variable 'result' [-Wunused-variable]
 3234 |       bool result = blitMgr().copyBuffer(*mem, *staging, srcOffset, 0, srcSize, false);
      |            ^~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp:26:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocblit.hpp: At global scope:
/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device/rocm/rocblit.hpp:485:20: warning: 'roc::BlitName' defined but not used [-Wunused-variable]
  485 | static const char* BlitName[KernelBlitManager::BlitTotal] = {
      |                    ^~~~~~~~
[ 66%] Linking CXX static library librocclr.a
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/cmake -P CMakeFiles/rocclr.dir/cmake_clean_target.cmake
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/rocclr.dir/link.txt --verbose=1
/usr/bin/ar qc librocclr.a "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/compiler/lib/utils/options.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/appprofile.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/blit.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/blitcl.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/comgrctx.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhcmessages.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhcprintf.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devhostcall.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/device.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devkernel.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devprogram.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/devwavelimiter.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/hsailctx.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/hwdebug.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/elf/elf.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/alloc.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os_posix.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os_win32.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/os/os.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/activity.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/agent.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/command.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/commandqueue.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/context.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/kernel.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/memory.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/ndrange.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/program.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/platform/runtime.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/monitor.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/semaphore.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/thread/thread.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/utils/debug.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/utils/flags.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocappprofile.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocblit.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocblitcl.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/roccounters.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocdevice.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocglinterop.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rockernel.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocmemory.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocprintf.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocprogram.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocsettings.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocsignal.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocvirtual.cpp.o" "CMakeFiles/rocclr.dir/__/ROCclr-rocm-5.1.3/device/rocm/rocurilocator.cpp.o"
/usr/bin/ranlib librocclr.a
gmake[2]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
[ 66%] Built target rocclr
/usr/bin/gmake  -f src/CMakeFiles/amdhip64.dir/build.make src/CMakeFiles/amdhip64.dir/depend
gmake[2]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/hipamd-rocm-5.1.3 /builddir/build/BUILD/hipamd-rocm-5.1.3/src /builddir/build/BUILD/hipamd-rocm-5.1.3/build /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src/CMakeFiles/amdhip64.dir/DependInfo.cmake --color=
gmake[2]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
/usr/bin/gmake  -f src/CMakeFiles/amdhip64.dir/build.make src/CMakeFiles/amdhip64.dir/build
gmake[2]: Entering directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
[ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/cl_gl.cpp.o
[ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/fixme.cpp.o
[ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/cl_lqdflash_amd.cpp.o
[ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_activity.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/fixme.cpp.o -MF CMakeFiles/amdhip64.dir/fixme.cpp.o.d -o CMakeFiles/amdhip64.dir/fixme.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/fixme.cpp
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/cl_gl.cpp.o -MF CMakeFiles/amdhip64.dir/cl_gl.cpp.o.d -o CMakeFiles/amdhip64.dir/cl_gl.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/cl_gl.cpp
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/cl_lqdflash_amd.cpp.o -MF CMakeFiles/amdhip64.dir/cl_lqdflash_amd.cpp.o.d -o CMakeFiles/amdhip64.dir/cl_lqdflash_amd.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/cl_lqdflash_amd.cpp
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_activity.cpp.o -MF CMakeFiles/amdhip64.dir/hip_activity.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_activity.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_activity.cpp
[ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_code_object.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_code_object.cpp.o -MF CMakeFiles/amdhip64.dir/hip_code_object.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_code_object.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/cl_gl.cpp: In function '_cl_mem* amd::clCreateFromGLBufferAMD(Context&, cl_mem_flags, GLuint, cl_int*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/cl_gl.cpp:1404:9: warning: unused variable 'gliMapped' [-Wunused-variable]
 1404 |   GLint gliMapped = 0;
      |         ^~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/cl_gl.cpp: In member function 'bool amd::ClGlEvent::waitForFence()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/cl_gl.cpp:2118:15: warning: unused variable 'tempDrawable_' [-Wunused-variable]
 2118 |   GLXDrawable tempDrawable_ = context().glenv()->glXGetCurrentDrawable_();
      |               ^~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/cl_gl.cpp: At global scope:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/cl_gl.cpp:1357:15: warning: 'GLenum amd::glInternalFormatToGlFormat(GLenum)' defined but not used [-Wunused-function]
 1357 | static GLenum glInternalFormatToGlFormat(GLenum internalFormat) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/cl_gl.cpp:1318:15: warning: 'GLenum amd::clChannelDataTypeToGlType(cl_channel_type)' defined but not used [-Wunused-function]
 1318 | static GLenum clChannelDataTypeToGlType(cl_channel_type channel_type) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.hpp:9,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.hpp:26,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:22:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp: In destructor 'virtual hip::DynCO::~DynCO()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:521:15: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  521 |       ihipFree(elem.second->getManagedVarPtr());
      |       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:36:12: note: in call to 'hipError_t ihipFree(void*)', declared here
   36 | hipError_t ihipFree(void* ptr);
      |            ^~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.hpp:7:
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp: In member function 'hipError_t hip::DynCO::getDeviceVar(hip::DeviceVar**, std::string)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:546:27: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  546 |   it->second->getDeviceVar(dvar, device_id_, module());
      |   ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.hpp:97:14: note: in call to 'hipError_t hip::Var::getDeviceVar(hip::DeviceVar**, int, hipModule_t)', declared here
   97 |   hipError_t getDeviceVar(DeviceVar** dvar, int deviceId, hipModule_t hmod);
      |              ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp: In member function 'hipError_t hip::DynCO::populateDynGlobalVars()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:646:25: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  646 |       initDynManagedVars(managedVar);
      |       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:569:12: note: in call to 'hipError_t hip::DynCO::initDynManagedVars(const std::string&)', declared here
  569 | hipError_t DynCO::initDynManagedVars(const std::string& managedVar) {
      |            ^~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp: In member function 'hip::FatBinaryInfo** hip::StatCO::addFatBinary(const void*, bool)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:709:20: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  709 |     digestFatBinary(data, modules_[data]);
      |     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:691:12: note: in call to 'hipError_t hip::StatCO::digestFatBinary(const void*, hip::FatBinaryInfo*&)', declared here
  691 | hipError_t StatCO::digestFatBinary(const void* data, FatBinaryInfo*& programs) {
      |            ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp: In member function 'hipError_t hip::StatCO::removeFatBinary(hip::FatBinaryInfo**)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:730:15: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  730 |       ihipFree((*it)->getManagedVarPtr());
      |       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:36:12: note: in call to 'hipError_t ihipFree(void*)', declared here
   36 | hipError_t ihipFree(void* ptr);
      |            ^~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp: In member function 'hipError_t hip::StatCO::initStatManagedVarDevicePtr(int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:838:19: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  838 |         ihipMemcpy(reinterpret_cast<address>(dvar->device_ptr()), var->getManagedVarPtr(),
      |         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  839 |                   dvar->size(), hipMemcpyHostToDevice, *queue);
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.cpp:34:12: note: in call to 'hipError_t ihipMemcpy(void*, const void*, size_t, hipMemcpyKind, amd::HostQueue&, bool)', declared here
   34 | hipError_t ihipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind,
      |            ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
[ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_context.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_context.cpp.o -MF CMakeFiles/amdhip64.dir/hip_context.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_context.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_context.cpp
[ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_device_runtime.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_device_runtime.cpp.o -MF CMakeFiles/amdhip64.dir/hip_device_runtime.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_device_runtime.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp
[ 66%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_device.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_device.cpp.o -MF CMakeFiles/amdhip64.dir/hip_device.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_device.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_context.cpp:22:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:25:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_context.cpp: In function 'hipError_t hipCtxSynchronize()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_context.cpp:325:3: note: in expansion of macro 'HIP_INIT_API'
  325 |   HIP_INIT_API(hipCtxSynchronize, 1);
      |   ^~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp: In function 'hipError_t hipChooseDevice(int*, const hipDeviceProp_t*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:36:21: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
   36 |   ihipDeviceGetCount(&count);
      |   ~~~~~~~~~~~~~~~~~~^~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:436:19: note: in call to 'hipError_t ihipDeviceGetCount(int*)', declared here
  436 | extern hipError_t ihipDeviceGetCount(int* count);
      |                   ^~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime.h:113,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:21:
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:42:16: warning: unused variable 'err' [-Wunused-variable]
   42 |     hipError_t err = ihipGetDeviceProperties(&currentProp, i);
      |                ^~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceGetAttribute(int*, hipDeviceAttribute_t, int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:148:21: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  148 |   ihipDeviceGetCount(&count);
      |   ~~~~~~~~~~~~~~~~~~^~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:436:19: note: in call to 'hipError_t ihipDeviceGetCount(int*)', declared here
  436 | extern hipError_t ihipDeviceGetCount(int* count);
      |                   ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceGetByPCIBusId(int*, const char*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:350:23: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  350 |     ihipDeviceGetCount(&count);
      |     ~~~~~~~~~~~~~~~~~~^~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:436:19: note: in call to 'hipError_t ihipDeviceGetCount(int*)', declared here
  436 | extern hipError_t ihipDeviceGetCount(int* count);
      |                   ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:353:20: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  353 |       ihipDeviceGet(&dev, i);
      |       ~~~~~~~~~~~~~^~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:447:19: note: in call to 'hipError_t ihipDeviceGet(hipDevice_t*, int)', declared here
  447 | extern hipError_t ihipDeviceGet(hipDevice_t* device, int deviceId);
      |                   ^~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:355:30: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  355 |       ihipGetDeviceProperties(&prop, dev);
      |       ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:445:19: note: in call to 'hipError_t ihipGetDeviceProperties(hipDeviceProp_t*, hipDevice_t)', declared here
  445 | extern hipError_t ihipGetDeviceProperties(hipDeviceProp_t* props, hipDevice_t device);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceGetLimit(size_t*, hipLimit_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:393:28: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  393 |     ihipGetDeviceProperties(&prop, ihipGetDevice());
      |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:445:19: note: in call to 'hipError_t ihipGetDeviceProperties(hipDeviceProp_t*, hipDevice_t)', declared here
  445 | extern hipError_t ihipGetDeviceProperties(hipDeviceProp_t* props, hipDevice_t device);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceGetPCIBusId(char*, int, int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:407:21: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  407 |   ihipDeviceGetCount(&count);
      |   ~~~~~~~~~~~~~~~~~~^~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:436:19: note: in call to 'hipError_t ihipDeviceGetCount(int*)', declared here
  436 | extern hipError_t ihipDeviceGetCount(int* count);
      |                   ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:417:26: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  417 |   ihipGetDeviceProperties(&prop, device);
      |   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:445:19: note: in call to 'hipError_t ihipGetDeviceProperties(hipDeviceProp_t*, hipDevice_t)', declared here
  445 | extern hipError_t ihipGetDeviceProperties(hipDeviceProp_t* props, hipDevice_t device);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:25:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceReset()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:438:3: note: in expansion of macro 'HIP_INIT_API'
  438 |   HIP_INIT_API(hipDeviceReset);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp: In function 'hipError_t hipDeviceSynchronize()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:468:3: note: in expansion of macro 'HIP_INIT_API'
  468 |   HIP_INIT_API(hipDeviceSynchronize);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp: In function 'hipError_t hipSetValidDevices(int*, int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device_runtime.cpp:568:3: note: in expansion of macro 'HIP_INIT_API'
  568 |   HIP_INIT_API(hipSetValidDevices, device_arr, len);
      |   ^~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:25:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device.cpp: In function 'hipError_t hipDeviceGetCount(int*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device.cpp:95:3: note: in expansion of macro 'HIP_INIT_API'
   95 |   HIP_INIT_API(hipDeviceGetCount, count);
      |   ^~~~~~~~~~~~
[ 77%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_error.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_error.cpp.o -MF CMakeFiles/amdhip64.dir/hip_error.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_error.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_error.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_error.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:25:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_error.cpp: In function 'hipError_t hipGetLastError()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_error.cpp:27:3: note: in expansion of macro 'HIP_INIT_API'
   27 |   HIP_INIT_API(hipGetLastError);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_error.cpp: In function 'hipError_t hipPeekAtLastError()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_error.cpp:35:3: note: in expansion of macro 'HIP_INIT_API'
   35 |   HIP_INIT_API(hipPeekAtLastError);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device.cpp: In function 'hipDeviceGetName':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device.cpp:137:12: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
  137 |   ::strncpy(name, info.boardName_, (nameLen + 1));
      |            ^
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_device.cpp:129:32: note: length computed here
  129 |   const auto nameLen = ::strlen(info.boardName_);
      |                        ~~~~~~~~^~~~~~~~~~~~~~~~~
[ 77%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_event.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_event.cpp.o -MF CMakeFiles/amdhip64.dir/hip_event.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_event.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.cpp
[ 77%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_event_ipc.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_event_ipc.cpp.o -MF CMakeFiles/amdhip64.dir/hip_event_ipc.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_event_ipc.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event_ipc.cpp
[ 77%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_fatbin.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_fatbin.cpp.o -MF CMakeFiles/amdhip64.dir/hip_fatbin.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_fatbin.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_fatbin.cpp
[ 77%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_global.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_global.cpp.o -MF CMakeFiles/amdhip64.dir/hip_global.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_global.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:24,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder]
  152 |   bool recorded_;
      |        ^~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:146:19: warning:   'amd::HostQueue* hip::Event::stream_' [-Wreorder]
  146 |   amd::HostQueue* stream_;
      |                   ^~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:74:3: warning:   when initialized here [-Wreorder]
   74 |   Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true),
      |   ^~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable]
  172 |       int owners = --ipc_evt_.ipc_shmem_->owners;
      |           ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable]
  174 |       hipError_t status = synchronize();
      |                  ^~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:24,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event_ipc.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder]
  152 |   bool recorded_;
      |        ^~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:146:19: warning:   'amd::HostQueue* hip::Event::stream_' [-Wreorder]
  146 |   amd::HostQueue* stream_;
      |                   ^~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:74:3: warning:   when initialized here [-Wreorder]
   74 |   Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true),
      |   ^~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable]
  172 |       int owners = --ipc_evt_.ipc_shmem_->owners;
      |           ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable]
  174 |       hipError_t status = synchronize();
      |                  ^~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_fatbin.hpp:6,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_fatbin.cpp:1:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event_ipc.cpp: In member function 'virtual hipError_t hip::IPCEvent::enqueueRecordCommand(hipStream_t, amd::Command*, bool)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event_ipc.cpp:144:19: warning: unused variable 'queue' [-Wunused-variable]
  144 |   amd::HostQueue* queue = hip::getQueue(stream);
      |                   ^~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.hpp:9,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.cpp:1:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.cpp: In destructor 'hip::DeviceVar::~DeviceVar()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.cpp:65:22: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
   65 |     ihipUnbindTexture(texRef);
      |     ~~~~~~~~~~~~~~~~~^~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:443:19: note: in call to 'hipError_t ihipUnbindTexture(textureReference*)', declared here
  443 | extern hipError_t ihipUnbindTexture(textureReference* texRef);
      |                   ^~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.hpp:7:
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.hpp: In constructor 'hip::Var::Var(const std::string&, DeviceVarKind, void*, size_t, unsigned int, hip::FatBinaryInfo**)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.hpp:123:16: warning: 'hip::Var::align_' will be initialized after [-Wreorder]
  123 |   unsigned int align_;             // Managed memory alignment
      |                ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.hpp:118:7: warning:   'int hip::Var::type_' [-Wreorder]
  118 |   int type_;                       // Type(Textures/Surfaces only)
      |       ^~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_global.cpp:176:1: warning:   when initialized here [-Wreorder]
  176 | Var::Var(const std::string& name, DeviceVarKind dVarKind, void *pointer, size_t size,
      | ^~~
[ 77%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_graph_internal.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_graph_internal.cpp.o -MF CMakeFiles/amdhip64.dir/hip_graph_internal.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_graph_internal.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.cpp
[ 77%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_graph.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_graph.cpp.o -MF CMakeFiles/amdhip64.dir/hip_graph.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_graph.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp
[ 77%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_hmm.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_hmm.cpp.o -MF CMakeFiles/amdhip64.dir/hip_hmm.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_hmm.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_hmm.cpp
[ 77%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_intercept.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_intercept.cpp.o -MF CMakeFiles/amdhip64.dir/hip_intercept.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_intercept.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_intercept.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:31,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.cpp:21:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:33:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder]
  152 |   bool recorded_;
      |        ^~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:146:19: warning:   'amd::HostQueue* hip::Event::stream_' [-Wreorder]
  146 |   amd::HostQueue* stream_;
      |                   ^~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:74:3: warning:   when initialized here [-Wreorder]
   74 |   Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true),
      |   ^~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable]
  172 |       int owners = --ipc_evt_.ipc_shmem_->owners;
      |           ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable]
  174 |       hipError_t status = synchronize();
      |                  ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp: In constructor 'hipGraphNode::hipGraphNode(hipGraphNodeType)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:49:20: warning: 'hipGraphNode::type_' will be initialized after [-Wreorder]
   49 |   hipGraphNodeType type_;
      |                    ^~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:47:12: warning:   'uint32_t hipGraphNode::level_' [-Wreorder]
   47 |   uint32_t level_;
      |            ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:62:3: warning:   when initialized here [-Wreorder]
   62 |   hipGraphNode(hipGraphNodeType type)
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:57:10: warning: 'hipGraphNode::outDegree_' will be initialized after [-Wreorder]
   57 |   size_t outDegree_;
      |          ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:48:16: warning:   'unsigned int hipGraphNode::id_' [-Wreorder]
   48 |   unsigned int id_;
      |                ^~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:62:3: warning:   when initialized here [-Wreorder]
   62 |   hipGraphNode(hipGraphNodeType type)
      |   ^~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:31,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:21:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:33:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder]
  152 |   bool recorded_;
      |        ^~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:146:19: warning:   'amd::HostQueue* hip::Event::stream_' [-Wreorder]
  146 |   amd::HostQueue* stream_;
      |                   ^~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:74:3: warning:   when initialized here [-Wreorder]
   74 |   Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true),
      |   ^~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp: In constructor 'hipGraphExec::hipGraphExec(std::vector<hipGraphNode*>&, std::vector<std::vector<hipGraphNode*> >&, std::unordered_map<hipGraphNode*, std::vector<hipGraphNode*> >&, std::unordered_map<hipGraphNode*, hipGraphNode*>&)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:255:17: warning: 'hipGraphExec::lastEnqueuedCommand_' will be initialized after [-Wreorder]
  255 |   amd::Command* lastEnqueuedCommand_;
      |                 ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:253:8: warning:   'uint hipGraphExec::currentQueueIndex_' [-Wreorder]
  253 |   uint currentQueueIndex_;
      |        ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:258:3: warning:   when initialized here [-Wreorder]
  258 |   hipGraphExec(std::vector<Node>& levelOrder, std::vector<std::vector<Node>>& lists,
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable]
  172 |       int owners = --ipc_evt_.ipc_shmem_->owners;
      |           ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable]
  174 |       hipError_t status = synchronize();
      |                  ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp: In constructor 'hipGraphNode::hipGraphNode(hipGraphNodeType)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:49:20: warning: 'hipGraphNode::type_' will be initialized after [-Wreorder]
   49 |   hipGraphNodeType type_;
      |                    ^~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:47:12: warning:   'uint32_t hipGraphNode::level_' [-Wreorder]
   47 |   uint32_t level_;
      |            ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:62:3: warning:   when initialized here [-Wreorder]
   62 |   hipGraphNode(hipGraphNodeType type)
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:57:10: warning: 'hipGraphNode::outDegree_' will be initialized after [-Wreorder]
   57 |   size_t outDegree_;
      |          ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:48:16: warning:   'unsigned int hipGraphNode::id_' [-Wreorder]
   48 |   unsigned int id_;
      |                ^~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:62:3: warning:   when initialized here [-Wreorder]
   62 |   hipGraphNode(hipGraphNodeType type)
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp: In constructor 'hipGraphExec::hipGraphExec(std::vector<hipGraphNode*>&, std::vector<std::vector<hipGraphNode*> >&, std::unordered_map<hipGraphNode*, std::vector<hipGraphNode*> >&, std::unordered_map<hipGraphNode*, hipGraphNode*>&)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:255:17: warning: 'hipGraphExec::lastEnqueuedCommand_' will be initialized after [-Wreorder]
  255 |   amd::Command* lastEnqueuedCommand_;
      |                 ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:253:8: warning:   'uint hipGraphExec::currentQueueIndex_' [-Wreorder]
  253 |   uint currentQueueIndex_;
      |        ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph_internal.hpp:258:3: warning:   when initialized here [-Wreorder]
  258 |   hipGraphExec(std::vector<Node>& levelOrder, std::vector<std::vector<Node>>& lists,
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp: In function 'hipError_t hipGraphGetNodes(hipGraph_t, hipGraphNode**, size_t*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:955:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  955 |     for (int i = 0; i < *numNodes; i++) {
      |                     ~~^~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:959:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<hipGraphNode*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  959 |     for (int i = 0; i < graphNodes.size(); i++) {
      |                     ~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:962:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  962 |     for (int i = graphNodes.size(); i < *numNodes; i++) {
      |                                     ~~^~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp: In function 'hipError_t hipGraphGetRootNodes(hipGraph_t, hipGraphNode**, size_t*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:982:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  982 |     for (int i = 0; i < *pNumRootNodes; i++) {
      |                     ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:986:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<hipGraphNode*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  986 |     for (int i = 0; i < nodes.size(); i++) {
      |                     ~~^~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:989:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  989 |     for (int i = nodes.size(); i < *pNumRootNodes; i++) {
      |                                ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp: In function 'hipError_t hipStreamUpdateCaptureDependencies(hipStream_t, hipGraphNode**, size_t, unsigned int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:1194:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
 1194 |   for (int i = 0; i < numDependencies; i++) {
      |                   ~~^~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_hmm.cpp:22:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp: In function 'hipError_t hipGraphGetEdges(hipGraph_t, hipGraphNode**, hipGraphNode**, size_t*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:1233:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
 1233 |     for (int i = 0; i < *numEdges; i++) {
      |                     ~~^~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:1238:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<hipGraphNode*, hipGraphNode*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1238 |     for (int i = 0; i < edges.size(); i++) {
      |                     ~~^~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:1244:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
 1244 |     for (int i = edges.size(); i < *numEdges; i++) {
      |                                ~~^~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp: In function 'hipError_t hipGraphNodeGetDependencies(hipGraphNode_t, hipGraphNode**, size_t*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:1265:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
 1265 |     for (int i = 0; i < *pNumDependencies; i++) {
      |                     ~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:1269:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<hipGraphNode*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1269 |     for (int i = 0; i < dependencies.size(); i++) {
      |                     ~~^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:1274:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
 1274 |     for (int i = dependencies.size(); i < *pNumDependencies; i++) {
      |                                       ~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp: In function 'hipError_t hipGraphNodeGetDependentNodes(hipGraphNode_t, hipGraphNode**, size_t*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:1293:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
 1293 |     for (int i = 0; i < *pNumDependentNodes; i++) {
      |                     ~~^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:1297:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<hipGraphNode*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
 1297 |     for (int i = 0; i < dependents.size(); i++) {
      |                     ~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_graph.cpp:1302:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
 1302 |     for (int i = dependents.size(); i < *pNumDependentNodes; i++) {
      |                                     ~~^~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_intercept.cpp:22:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
[ 88%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_memory.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_memory.cpp.o -MF CMakeFiles/amdhip64.dir/hip_memory.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_memory.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp
[ 88%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_module.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_module.cpp.o -MF CMakeFiles/amdhip64.dir/hip_module.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_module.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp
[ 88%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_peer.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_peer.cpp.o -MF CMakeFiles/amdhip64.dir/hip_peer.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_peer.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_peer.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:22:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t ihipMemsetCommand(std::vector<amd::Command*>&, void*, int64_t, size_t, size_t, amd::HostQueue*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2297:8: warning: unused variable 'aligned_dst' [-Wunused-variable]
 2297 |   auto aligned_dst = amd::alignUp(reinterpret_cast<address>(dst), sizeof(uint64_t));
      |        ^~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2300:10: warning: unused variable 'n_head_bytes' [-Wunused-variable]
 2300 |   size_t n_head_bytes = 0;
      |          ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2301:10: warning: unused variable 'n_tail_bytes' [-Wunused-variable]
 2301 |   size_t n_tail_bytes = 0;
      |          ^~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:25:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipIpcOpenMemHandle(void**, hipIpcMemHandle_t, unsigned int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2543:16: warning: unused variable 'amd_mem_obj' [-Wunused-variable]
 2543 |   amd::Memory* amd_mem_obj = nullptr;
      |                ^~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipIpcCloseMemHandle(void*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2573:16: warning: unused variable 'amd_mem_obj' [-Wunused-variable]
 2573 |   amd::Memory* amd_mem_obj = nullptr;
      |                ^~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipPointerGetAttributes(hipPointerAttribute_t*, const void*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2618:7: warning: unused variable 'device' [-Wunused-variable]
 2618 |   int device = 0;
      |       ^~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:25:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipArray3DGetDescriptor(HIP_ARRAY3D_DESCRIPTOR*, hipArray*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2870:3: note: in expansion of macro 'HIP_INIT_API'
 2870 |   HIP_INIT_API(hipArray3DGetDescriptor, pArrayDescriptor, array);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipArrayGetDescriptor(HIP_ARRAY_DESCRIPTOR*, hipArray*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2879:3: note: in expansion of macro 'HIP_INIT_API'
 2879 |   HIP_INIT_API(hipArrayGetDescriptor, pArrayDescriptor, array);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipMemcpy2DArrayToArray(hipArray_t, size_t, size_t, hipArray_const_t, size_t, size_t, size_t, size_t, hipMemcpyKind)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2919:3: note: in expansion of macro 'HIP_INIT_API'
 2919 |   HIP_INIT_API(hipMemcpy2DArrayToArray, dst, wOffsetDst, hOffsetDst, src, wOffsetSrc, hOffsetSrc, width, height, kind);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipMemcpyArrayToArray(hipArray_t, size_t, size_t, hipArray_const_t, size_t, size_t, size_t, size_t, hipMemcpyKind)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2925:3: note: in expansion of macro 'HIP_INIT_API'
 2925 |   HIP_INIT_API(hipMemcpyArrayToArray, dst, wOffsetDst, hOffsetDst, src, wOffsetSrc, hOffsetSrc, width, height, kind);
      |   ^~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:27:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder]
  152 |   bool recorded_;
      |        ^~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:146:19: warning:   'amd::HostQueue* hip::Event::stream_' [-Wreorder]
  146 |   amd::HostQueue* stream_;
      |                   ^~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:74:3: warning:   when initialized here [-Wreorder]
   74 |   Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true),
      |   ^~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipMemcpyFromArrayAsync(void*, hipArray_const_t, size_t, size_t, size_t, hipMemcpyKind, hipStream_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2953:3: note: in expansion of macro 'HIP_INIT_API'
 2953 |   HIP_INIT_API(hipMemcpyFromArrayAsync, dst, src, wOffsetSrc, hOffsetSrc, count, kind, stream);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable]
  172 |       int owners = --ipc_evt_.ipc_shmem_->owners;
      |           ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable]
  174 |       hipError_t status = synchronize();
      |                  ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipMemcpyToArrayAsync(hipArray_t, size_t, size_t, const void*, size_t, hipMemcpyKind, hipStream_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:2980:3: note: in expansion of macro 'HIP_INIT_API'
 2980 |   HIP_INIT_API(hipMemcpyToArrayAsync, dst, wOffset, hOffset, src, count, kind);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipMemcpyAtoA(hipArray*, size_t, hipArray*, size_t, size_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:3000:3: note: in expansion of macro 'HIP_INIT_API'
 3000 |   HIP_INIT_API(hipMemcpyAtoA, dstArray, dstOffset, srcArray, srcOffset, ByteCount);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipMemcpyAtoD(hipDeviceptr_t, hipArray*, size_t, size_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:3009:3: note: in expansion of macro 'HIP_INIT_API'
 3009 |   HIP_INIT_API(hipMemcpyAtoD, dstDevice, srcArray, srcOffset, ByteCount);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipMemcpyAtoHAsync(void*, hipArray*, size_t, size_t, hipStream_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:3019:3: note: in expansion of macro 'HIP_INIT_API'
 3019 |   HIP_INIT_API(hipMemcpyAtoHAsync, dstHost, srcArray, srcOffset, ByteCount, stream);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipMemcpyDtoA(hipArray*, size_t, hipDeviceptr_t, size_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:3028:3: note: in expansion of macro 'HIP_INIT_API'
 3028 |   HIP_INIT_API(hipMemcpyDtoA, dstArray, dstOffset, srcDevice, ByteCount);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp: In function 'hipError_t hipMemcpyHtoAAsync(hipArray*, size_t, const void*, size_t, hipStream_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_memory.cpp:3038:3: note: in expansion of macro 'HIP_INIT_API'
 3038 |   HIP_INIT_API(hipMemcpyHtoAAsync, dstArray, dstOffset, srcHost, ByteCount, stream);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp: In function 'hipError_t ihipLaunchKernel_validate(hipFunction_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, void**, void**, int, uint32_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:268:60: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  268 |     hip_impl::ihipOccupancyMaxActiveBlocksPerMultiprocessor(&num_blocks, &max_blocks_per_grid,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  269 |                                                             &best_block_size, *device, f,
      |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  270 |                                                             block_size, sharedMemBytes, true);
      |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:28:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.hpp:29:12: note: in call to 'hipError_t hip_impl::ihipOccupancyMaxActiveBlocksPerMultiprocessor(int*, int*, int*, const amd::Device&, hipFunction_t, int, size_t, bool)', declared here
   29 | hipError_t ihipOccupancyMaxActiveBlocksPerMultiprocessor(
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime.h:113,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:21:
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp: In function 'hipError_t ihipLaunchKernelCommand(amd::Command*&, hipFunction_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, amd::HostQueue*, void**, void**, hipEvent_t, hipEvent_t, uint32_t, uint32_t, uint32_t, uint32_t, uint64_t, uint64_t, uint32_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:327:11: warning: unused variable 'kernargs' [-Wunused-variable]
  327 |   address kernargs = nullptr;
      |           ^~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:25:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp: In function 'hipError_t ihipModuleLaunchKernel(hipFunction_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, hipStream_t, void**, void**, hipEvent_t, hipEvent_t, uint32_t, uint32_t, uint32_t, uint32_t, uint64_t, uint64_t, uint32_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:360:3: note: in expansion of macro 'HIP_INIT_API'
  360 |   HIP_INIT_API(ihipModuleLaunchKernel, f, globalWorkSizeX, globalWorkSizeY, globalWorkSizeZ,
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:371:16: warning: unused variable 'kernel' [-Wunused-variable]
  371 |   amd::Kernel* kernel = function->kernel();
      |                ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp: In function 'hipError_t hipModuleLaunchKernelExt(hipFunction_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, size_t, hipStream_t, void**, void**, hipEvent_t, hipEvent_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:477:3: note: in expansion of macro 'HIP_INIT_API'
  477 |   HIP_INIT_API(hipModuleLaunchKernelExt, f, globalWorkSizeX, globalWorkSizeY, globalWorkSizeZ,
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp: In function 'hipError_t ihipLaunchCooperativeKernelMultiDevice(hipLaunchParams*, int, unsigned int, uint32_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:547:21: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  547 |   ihipDeviceGetCount(&numActiveGPUs);
      |   ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:436:19: note: in call to 'hipError_t ihipDeviceGetCount(int*)', declared here
  436 | extern hipError_t ihipDeviceGetCount(int* count);
      |                   ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp: In function 'hipError_t hipModuleGetTexRef(textureReference**, hipModule_t, const char*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:686:43: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  686 |   PlatformState::instance().registerTexRef(*texRef, hmod, std::string(name));
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.hpp:55:14: note: in call to 'hipError_t PlatformState::registerTexRef(textureReference*, hipModule_t, std::string)', declared here
   55 |   hipError_t registerTexRef(textureReference* texRef, hipModule_t hmod, std::string name);
      |              ^~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp: At global scope:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_module.cpp:46:17: warning: 'uint64_t ElfSize(const void*)' defined but not used [-Wunused-function]
   46 | static uint64_t ElfSize(const void *emi)
      |                 ^~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_peer.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:25:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_peer.cpp: In function 'hipError_t hipDeviceCanAccessPeer(int*, hipCtx_t, hipCtx_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_peer.cpp:26:3: note: in expansion of macro 'HIP_INIT_API'
   26 |   HIP_INIT_API(NONE, canAccessPeer, thisCtx, peerCtx);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_peer.cpp: In function 'hipError_t hipMemcpyPeer(void*, hipCtx_t, const void*, hipCtx_t, size_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_peer.cpp:35:3: note: in expansion of macro 'HIP_INIT_API'
   35 |   HIP_INIT_API(NONE, dst, dstCtx, src, srcCtx, sizeBytes);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_peer.cpp: In function 'hipError_t hipMemcpyPeerAsync(void*, hipCtx_t, const void*, hipCtx_t, size_t, hipStream_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_peer.cpp:44:3: note: in expansion of macro 'HIP_INIT_API'
   44 |   HIP_INIT_API(NONE, dst, dstDevice, src, srcDevice, sizeBytes, stream);
      |   ^~~~~~~~~~~~
[ 88%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_platform.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_platform.cpp.o -MF CMakeFiles/amdhip64.dir/hip_platform.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_platform.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp
[ 88%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_profile.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_profile.cpp.o -MF CMakeFiles/amdhip64.dir/hip_profile.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_profile.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_profile.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.hpp:22,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: In function 'void __hipRegisterFunction(hip::FatBinaryInfo**, const void*, char*, const char*, unsigned int, uint3*, uint3*, dim3*, dim3*, int*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:104:49: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  104 |   PlatformState::instance().registerStatFunction(hostFunction, func);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.hpp:74:14: note: in call to 'hipError_t PlatformState::registerStatFunction(const void*, hip::Function*)', declared here
   74 |   hipError_t registerStatFunction(const void* hostFunction, hip::Function* func);
      |              ^~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime.h:113,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:21:
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: In function 'void __hipRegisterVar(hip::FatBinaryInfo**, void*, char*, char*, int, size_t, int, int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:133:50: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  133 |   PlatformState::instance().registerStatGlobalVar(var, var_ptr);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.hpp:75:14: note: in call to 'hipError_t PlatformState::registerStatGlobalVar(const void*, hip::Var*)', declared here
   75 |   hipError_t registerStatGlobalVar(const void* hostVar, hip::Var* var);
      |              ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: In function 'void __hipRegisterSurface(hip::FatBinaryInfo**, void*, char*, char*, int, int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:142:50: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  142 |   PlatformState::instance().registerStatGlobalVar(var, var_ptr);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.hpp:75:14: note: in call to 'hipError_t PlatformState::registerStatGlobalVar(const void*, hip::Var*)', declared here
   75 |   hipError_t registerStatGlobalVar(const void* hostVar, hip::Var* var);
      |              ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: In function 'void __hipRegisterManagedVar(void*, void**, void*, const char*, size_t, unsigned int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:157:17: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  157 |       ihipMemcpy(*pointer, init_value, size, hipMemcpyHostToDevice, *queue);
      |       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:37:12: note: in call to 'hipError_t ihipMemcpy(void*, const void*, size_t, hipMemcpyKind, amd::HostQueue&, bool)', declared here
   37 | hipError_t ihipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKind kind,
      |            ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:166:51: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  166 |   PlatformState::instance().registerStatManagedVar(var_ptr);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.hpp:76:14: note: in call to 'hipError_t PlatformState::registerStatManagedVar(hip::Var*)', declared here
   76 |   hipError_t registerStatManagedVar(hip::Var* var);
      |              ^~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: In function 'void __hipRegisterTexture(hip::FatBinaryInfo**, void*, char*, char*, int, int, int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:175:50: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  175 |   PlatformState::instance().registerStatGlobalVar(var, var_ptr);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.hpp:75:14: note: in call to 'hipError_t PlatformState::registerStatGlobalVar(const void*, hip::Var*)', declared here
   75 |   hipError_t registerStatGlobalVar(const void* hostVar, hip::Var* var);
      |              ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: In function 'void __hipUnregisterFatBinary(hip::FatBinaryInfo**)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:180:44: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  180 |   PlatformState::instance().removeFatBinary(modules);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.hpp:71:14: note: in call to 'hipError_t PlatformState::removeFatBinary(hip::FatBinaryInfo**)', declared here
   71 |   hipError_t removeFatBinary(hip::FatBinaryInfo** module);
      |              ^~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: In function 'hipError_t hipGetSymbolAddress(void**, const void*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:273:14: warning: unused variable 'hip_error' [-Wunused-variable]
  273 |   hipError_t hip_error = hipSuccess;
      |              ^~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: In function 'void hip_impl::hipLaunchKernelGGLImpl(uintptr_t, const dim3&, const dim3&, uint32_t, hipStream_t, void**)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:611:24: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  611 |   hipModuleLaunchKernel(func,
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~
  612 |     numBlocks.x, numBlocks.y, numBlocks.z,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  613 |     dimBlocks.x, dimBlocks.y, dimBlocks.z,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  614 |     sharedMemBytes, stream, nullptr, kernarg);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:3799:12: note: in call to 'hipError_t hipModuleLaunchKernel(hipFunction_t, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, hipStream_t, void**, void**)', declared here
 3799 | hipError_t hipModuleLaunchKernel(hipFunction_t f, unsigned int gridDimX, unsigned int gridDimY,
      |            ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: In function 'void hip_impl::hipLaunchCooperativeKernelGGLImpl(uintptr_t, const dim3&, const dim3&, uint32_t, hipStream_t, void**)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:627:29: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  627 |   hipLaunchCooperativeKernel(reinterpret_cast<void*>(function_address),
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  628 |     numBlocks, dimBlocks, kernarg, sharedMemBytes, stream);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:5582:19: note: in call to 'hipError_t hipLaunchCooperativeKernel(T, dim3, dim3, void**, unsigned int, hipStream_t) [with T = void*; hipError_t = hipError_t; dim3 = dim3; hipStream_t = ihipStream_t*]', declared here
 5582 | inline hipError_t hipLaunchCooperativeKernel(T f, dim3 gridDim, dim3 blockDim,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: In member function 'void PlatformState::init()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:733:20: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  733 |     digestFatBinary(it.first, it.second);
      |     ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.hpp:72:14: note: in call to 'hipError_t PlatformState::digestFatBinary(const void*, hip::FatBinaryInfo*&)', declared here
   72 |   hipError_t digestFatBinary(const void* data, hip::FatBinaryInfo*& programs);
      |              ^~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: In member function 'hipError_t PlatformState::getDynGlobalVar(const char*, hipModule_t, void**, size_t*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:822:35: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  822 |   it->second->getManagedVarPointer(hostVar, dev_ptr, size_ptr);
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.hpp:25:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_code_object.hpp:95:14: note: in call to 'hipError_t hip::DynCO::getManagedVarPointer(std::string, void**, size_t*) const', declared here
   95 |   hipError_t getManagedVarPointer(std::string name, void** pointer, size_t* size_ptr) const {
      |              ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp: At global scope:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_platform.cpp:61:13: warning: 'bool isCompatibleCodeObject(const std::string&, const char*)' defined but not used [-Wunused-function]
   61 | static bool isCompatibleCodeObject(const std::string& codeobj_target_id,
      |             ^~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_profile.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:25:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_profile.cpp: In function 'hipError_t hipProfilerStart()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_profile.cpp:26:3: note: in expansion of macro 'HIP_INIT_API'
   26 |   HIP_INIT_API(hipProfilerStart);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_profile.cpp: In function 'hipError_t hipProfilerStop()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_profile.cpp:35:3: note: in expansion of macro 'HIP_INIT_API'
   35 |   HIP_INIT_API(hipProfilerStop);
      |   ^~~~~~~~~~~~
[ 88%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_rtc.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_rtc.cpp.o -MF CMakeFiles/amdhip64.dir/hip_rtc.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_rtc.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_rtc.cpp
[ 88%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_stream_ops.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_stream_ops.cpp.o -MF CMakeFiles/amdhip64.dir/hip_stream_ops.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_stream_ops.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream_ops.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hiprtc_internal.hpp:24,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_rtc.cpp:22:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream_ops.cpp:22:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
[ 88%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_stream.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_stream.cpp.o -MF CMakeFiles/amdhip64.dir/hip_stream.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_stream.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream.cpp:22:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In constructor 'hip::Event::Event(unsigned int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:152:8: warning: 'hip::Event::recorded_' will be initialized after [-Wreorder]
  152 |   bool recorded_;
      |        ^~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:146:19: warning:   'amd::HostQueue* hip::Event::stream_' [-Wreorder]
  146 |   amd::HostQueue* stream_;
      |                   ^~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:74:3: warning:   when initialized here [-Wreorder]
   74 |   Event(unsigned int flags) : flags(flags), lock_("hipEvent_t", true),
      |   ^~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp: In destructor 'virtual hip::IPCEvent::~IPCEvent()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:172:11: warning: unused variable 'owners' [-Wunused-variable]
  172 |       int owners = --ipc_evt_.ipc_shmem_->owners;
      |           ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_event.hpp:174:18: warning: unused variable 'status' [-Wunused-variable]
  174 |       hipError_t status = synchronize();
      |                  ^~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream.cpp: In member function 'hipError_t hip::Stream::EndCapture()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream.cpp:65:18: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
   65 |     s->EndCapture();
      |     ~~~~~~~~~~~~~^~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream.cpp:58:12: note: in call to 'hipError_t hip::Stream::EndCapture()', declared here
   58 | hipError_t Stream::EndCapture() {
      |            ^~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime.h:113,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream.cpp:21:
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream.cpp: In member function 'ihipStream_t*& stream_per_thread::get()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream.cpp:310:23: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  310 |       ihipStreamCreate(&m_stream, hipStreamDefault, hip::Stream::Priority::Normal);
      |       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_stream.cpp:273:19: note: in call to 'hipError_t ihipStreamCreate(ihipStream_t**, unsigned int, hip::Stream::Priority, const std::vector<unsigned int>&)', declared here
  273 | static hipError_t ihipStreamCreate(hipStream_t* stream,
      |                   ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
[100%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_surface.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_surface.cpp.o -MF CMakeFiles/amdhip64.dir/hip_surface.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_surface.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_surface.cpp
[100%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_texture.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_texture.cpp.o -MF CMakeFiles/amdhip64.dir/hip_texture.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_texture.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_surface.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_surface.cpp: In function 'hipError_t ihipCreateSurfaceObject(__hip_surface**, const hipResourceDesc*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_surface.cpp:67:13: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
   67 |   ihipMalloc(&surfObjectBuffer, sizeof(__hip_surface), CL_MEM_SVM_FINE_GRAIN_BUFFER);
      |   ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:439:19: note: in call to 'hipError_t ihipMalloc(void**, size_t, unsigned int)', declared here
  439 | extern hipError_t ihipMalloc(void** ptr, size_t sizeBytes, unsigned int flags);
      |                   ^~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime.h:113,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_surface.cpp:21:
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_surface.cpp:46:23: warning: unused variable 'info' [-Wunused-variable]
   46 |   const device::Info& info = device->info();
      |                       ^~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t ihipCreateTextureObject(__hip_texture**, const hipResourceDesc*, const hipTextureDesc*, const hipResourceViewDesc*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:300:13: warning: ignoring returned value of type 'hipError_t', declared with attribute 'nodiscard' [-Wunused-result]
  300 |   ihipMalloc(&texObjectBuffer, sizeof(__hip_texture), CL_MEM_SVM_FINE_GRAIN_BUFFER);
      |   ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:439:19: note: in call to 'hipError_t ihipMalloc(void**, size_t, unsigned int)', declared here
  439 | extern hipError_t ihipMalloc(void** ptr, size_t sizeBytes, unsigned int flags);
      |                   ^~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime.h:113,
                 from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:21:
/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include/hip/hip_runtime_api.h:317:3: note: 'hipError_t' declared here
  317 | } hipError_t;
      |   ^~~~~~~~~~
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:25:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipCreateTextureObject(__hip_texture**, const hipResourceDesc*, const hipTextureDesc*, const hipResourceViewDesc*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:313:3: note: in expansion of macro 'HIP_INIT_API'
  313 |   HIP_INIT_API(hipCreateTextureObject, pTexObject, pResDesc, pTexDesc, pResViewDesc);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipDestroyTextureObject(hipTextureObject_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:376:3: note: in expansion of macro 'HIP_INIT_API'
  376 |   HIP_INIT_API(hipDestroyTextureObject, texObject);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipGetTextureObjectResourceDesc(hipResourceDesc*, hipTextureObject_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:400:3: note: in expansion of macro 'HIP_INIT_API'
  400 |   HIP_INIT_API(hipGetTextureObjectResourceDesc, pResDesc, texObject);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipGetTextureObjectResourceViewDesc(hipResourceViewDesc*, hipTextureObject_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:407:3: note: in expansion of macro 'HIP_INIT_API'
  407 |   HIP_INIT_API(hipGetTextureObjectResourceViewDesc, pResViewDesc, texObject);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipGetTextureObjectTextureDesc(hipTextureDesc*, hipTextureObject_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:426:3: note: in expansion of macro 'HIP_INIT_API'
  426 |   HIP_INIT_API(hipGetTextureObjectTextureDesc, pTexDesc, texObject);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipBindTexture2D(size_t*, const textureReference*, const void*, const hipChannelFormatDesc*, size_t, size_t, size_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:552:3: note: in expansion of macro 'HIP_INIT_API'
  552 |   HIP_INIT_API(hipBindTexture2D, offset, texref, devPtr, desc, width, height, pitch);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipBindTextureToArray(const textureReference*, hipArray_const_t, const hipChannelFormatDesc*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:602:3: note: in expansion of macro 'HIP_INIT_API'
  602 |   HIP_INIT_API(hipBindTextureToArray, texref, array, desc);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipBindTextureToMipmappedArray(const textureReference*, hipMipmappedArray_const_t, const hipChannelFormatDesc*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:651:3: note: in expansion of macro 'HIP_INIT_API'
  651 |   HIP_INIT_API(hipBindTextureToMipmappedArray, texref, mipmappedArray, desc);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipUnbindTexture(const textureReference*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:670:3: note: in expansion of macro 'HIP_INIT_API'
  670 |   HIP_INIT_API(hipUnbindTexture, texref);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipBindTexture(size_t*, const textureReference*, const void*, const hipChannelFormatDesc*, size_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:680:3: note: in expansion of macro 'HIP_INIT_API'
  680 |   HIP_INIT_API(hipBindTexture, offset, texref, devPtr, desc, size);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipGetChannelDesc(hipChannelFormatDesc*, hipArray_const_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:698:3: note: in expansion of macro 'HIP_INIT_API'
  698 |   HIP_INIT_API(hipGetChannelDesc, desc, array);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipGetTextureAlignmentOffset(size_t*, const textureReference*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:719:3: note: in expansion of macro 'HIP_INIT_API'
  719 |   HIP_INIT_API(hipGetTextureAlignmentOffset, offset, texref);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipGetTextureReference(const textureReference**, const void*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:738:3: note: in expansion of macro 'HIP_INIT_API'
  738 |   HIP_INIT_API(hipGetTextureReference, texref, symbol);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexRefSetFlags(textureReference*, unsigned int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:778:3: note: in expansion of macro 'HIP_INIT_API'
  778 |   HIP_INIT_API(hipTexRefSetFlags, texRef, Flags);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexRefSetFilterMode(textureReference*, hipTextureFilterMode)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:811:3: note: in expansion of macro 'HIP_INIT_API'
  811 |   HIP_INIT_API(hipTexRefSetFilterMode, texRef, fm);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetAddressMode(hipTextureAddressMode*, const textureReference*, int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:832:3: note: in expansion of macro 'HIP_INIT_API'
  832 |   HIP_INIT_API(hipTexRefGetAddressMode, pam, texRef, dim);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexRefSetAddressMode(textureReference*, int, hipTextureAddressMode)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:861:3: note: in expansion of macro 'HIP_INIT_API'
  861 |   HIP_INIT_API(hipTexRefSetAddressMode, texRef, dim, am);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetArray(hipArray**, const textureReference*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:889:3: note: in expansion of macro 'HIP_INIT_API'
  889 |   HIP_INIT_API(hipTexRefGetArray, pArray, texRef);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetBorderColor(float*, const textureReference*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:1093:3: note: in expansion of macro 'HIP_INIT_API'
 1093 |   HIP_INIT_API(hipTexRefGetBorderColor, pBorderColor, texRef);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetFilterMode(hipTextureFilterMode*, const textureReference*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:1115:3: note: in expansion of macro 'HIP_INIT_API'
 1115 |   HIP_INIT_API(hipTexRefGetFilterMode, pfm, texRef);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetMipmapFilterMode(hipTextureFilterMode*, const textureReference*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:1210:3: note: in expansion of macro 'HIP_INIT_API'
 1210 |   HIP_INIT_API(hipTexRefGetMipmapFilterMode, pfm, texRef);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexRefGetMipmappedArray(hipMipmappedArray**, const textureReference*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:1273:3: note: in expansion of macro 'HIP_INIT_API'
 1273 |   HIP_INIT_API(hipTexRefGetMipmappedArray, pArray, &texRef);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexRefSetMipmapFilterMode(textureReference*, hipTextureFilterMode)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:1348:3: note: in expansion of macro 'HIP_INIT_API'
 1348 |   HIP_INIT_API(hipTexRefSetMipmapFilterMode, texRef, fm);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexRefSetMipmapLevelBias(textureReference*, float)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:1367:3: note: in expansion of macro 'HIP_INIT_API'
 1367 |   HIP_INIT_API(hipTexRefSetMipmapLevelBias, texRef, bias);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexObjectCreate(__hip_texture**, const HIP_RESOURCE_DESC*, const HIP_TEXTURE_DESC*, const HIP_RESOURCE_VIEW_DESC*)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:1453:3: note: in expansion of macro 'HIP_INIT_API'
 1453 |   HIP_INIT_API(hipTexObjectCreate, pTexObject, pResDesc, pTexDesc, pResViewDesc);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexObjectDestroy(hipTextureObject_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:1471:3: note: in expansion of macro 'HIP_INIT_API'
 1471 |   HIP_INIT_API(hipTexObjectDestroy, texObject);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexObjectGetResourceDesc(HIP_RESOURCE_DESC*, hipTextureObject_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:1478:3: note: in expansion of macro 'HIP_INIT_API'
 1478 |   HIP_INIT_API(hipTexObjectGetResourceDesc, pResDesc, texObject);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexObjectGetResourceViewDesc(HIP_RESOURCE_VIEW_DESC*, hipTextureObject_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:1497:3: note: in expansion of macro 'HIP_INIT_API'
 1497 |   HIP_INIT_API(hipTexObjectGetResourceViewDesc, pResViewDesc, texObject);
      |   ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp: In function 'hipError_t hipTexObjectGetTextureDesc(HIP_TEXTURE_DESC*, hipTextureObject_t)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_prof_api.h:38:23: warning: unused variable 'api_data_ref' [-Wunused-variable]
   38 |       hip_api_data_t& api_data_ref = *api_data; \
      |                       ^~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:123:3: note: in expansion of macro 'HIP_CB_SPAWNER_OBJECT'
  123 |   HIP_CB_SPAWNER_OBJECT(cid);
      |   ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_texture.cpp:1516:3: note: in expansion of macro 'HIP_INIT_API'
 1516 |   HIP_INIT_API(hipTexObjectGetTextureDesc, pTexDesc, texObject);
      |   ^~~~~~~~~~~~
[100%] Building CXX object src/CMakeFiles/amdhip64.dir/hip_gl.cpp.o
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/g++ -DATI_BITS_32 -DATI_OS_LINUX -DCL_TARGET_OPENCL_VERSION=220 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCOMGR_DYN_DLL -DHAVE_CL2_HPP -DLITTLEENDIAN_CPU -DOPENCL_C_MAJOR=2 -DOPENCL_C_MINOR=0 -DOPENCL_MAJOR=2 -DOPENCL_MINOR=1 -DROCCLR_SUPPORT_NUMA_POLICY -DUSE_COMGR_LIBRARY -DWITH_HSA_DEVICE -DWITH_LIGHTNING_COMPILER -DWITH_LIQUID_FLASH=0 -D__HIP_ENABLE_PCH -D__HIP_ENABLE_RTC -D__HIP_PLATFORM_AMD__ -Damdhip64_EXPORTS -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/../HIP-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/build/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/.. -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/include -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../compiler/lib/backends/common -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../device -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../elf -I/builddir/build/BUILD/hipamd-rocm-5.1.3/ROCclr-rocm-5.1.3/cmake/../include -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../.. -I/builddir/build/BUILD/ROCm-OpenCL-Runtime-rocm-5.1.3/khronos/headers/opencl2.2/CL/../../../../amdocl -isystem /usr/include/hsa -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT src/CMakeFiles/amdhip64.dir/hip_gl.cpp.o -MF CMakeFiles/amdhip64.dir/hip_gl.cpp.o.d -o CMakeFiles/amdhip64.dir/hip_gl.cpp.o -c /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_gl.cpp
In file included from /builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_gl.cpp:23:
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp: In member function 'bool hip::Device::GetActiveStatus()':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_internal.hpp:386:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<amd::HostQueue*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  386 |       for (int i = 0; i < queues_.size(); i++) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_gl.cpp: In function 'hipError_t hipGLGetDevices(unsigned int*, int*, unsigned int, hipGLDeviceList)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_gl.cpp:124:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  124 |       for (int i = 0; i < hipDeviceCount; ++i) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_gl.cpp:137:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  137 |       for (int i = 0; i < hipDeviceCount; ++i) {
      |                       ~~^~~~~~~~~~~~~~~~
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_gl.cpp: In function 'hipError_t hipGraphicsGLRegisterBuffer(hipGraphicsResource**, GLuint, unsigned int)':
/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_gl.cpp:548:9: warning: unused variable 'gliMapped' [-Wunused-variable]
  548 |   GLint gliMapped = 0;
      |         ^~~~~~~~~
[100%] Linking CXX shared library ../lib/libamdhip64.so
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/amdhip64.dir/link.txt --verbose=1
/usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -pthread -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/hipamd-rocm-5.1.3/.package_note-rocm-hip-5.1.3-1.fc37.aarch64.ld -shared -Wl,-soname,libamdhip64.so.5 -o ../lib/libamdhip64.so.5.1.20532 CMakeFiles/amdhip64.dir/cl_gl.cpp.o CMakeFiles/amdhip64.dir/cl_lqdflash_amd.cpp.o CMakeFiles/amdhip64.dir/fixme.cpp.o CMakeFiles/amdhip64.dir/hip_activity.cpp.o CMakeFiles/amdhip64.dir/hip_code_object.cpp.o CMakeFiles/amdhip64.dir/hip_context.cpp.o CMakeFiles/amdhip64.dir/hip_device_runtime.cpp.o CMakeFiles/amdhip64.dir/hip_device.cpp.o CMakeFiles/amdhip64.dir/hip_error.cpp.o CMakeFiles/amdhip64.dir/hip_event.cpp.o CMakeFiles/amdhip64.dir/hip_event_ipc.cpp.o CMakeFiles/amdhip64.dir/hip_fatbin.cpp.o CMakeFiles/amdhip64.dir/hip_global.cpp.o CMakeFiles/amdhip64.dir/hip_graph_internal.cpp.o CMakeFiles/amdhip64.dir/hip_graph.cpp.o CMakeFiles/amdhip64.dir/hip_hmm.cpp.o CMakeFiles/amdhip64.dir/hip_intercept.cpp.o CMakeFiles/amdhip64.dir/hip_memory.cpp.o CMakeFiles/amdhip64.dir/hip_module.cpp.o CMakeFiles/amdhip64.dir/hip_peer.cpp.o CMakeFiles/amdhip64.dir/hip_platform.cpp.o CMakeFiles/amdhip64.dir/hip_profile.cpp.o CMakeFiles/amdhip64.dir/hip_rtc.cpp.o CMakeFiles/amdhip64.dir/hip_stream_ops.cpp.o CMakeFiles/amdhip64.dir/hip_stream.cpp.o CMakeFiles/amdhip64.dir/hip_surface.cpp.o CMakeFiles/amdhip64.dir/hip_texture.cpp.o CMakeFiles/amdhip64.dir/hip_gl.cpp.o ../hip_pch.o  hip_rtc_gen/hipRTC_header.o -Wl,--version-script=/builddir/build/BUILD/hipamd-rocm-5.1.3/src/hip_hcc.map.in -ldl librocclr.a -pthread -lrt /usr/lib64/libamd_comgr.so.2.4.0 /usr/lib64/libhsa-runtime64.so.1.5.0 /usr/lib64/libnuma.so 
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/cmake -E cmake_symlink_library ../lib/libamdhip64.so.5.1.20532 ../lib/libamdhip64.so.5 ../lib/libamdhip64.so
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/cmake -E copy /builddir/build/BUILD/hipamd-rocm-5.1.3/build/.hipInfo /builddir/build/BUILD/hipamd-rocm-5.1.3/build/lib/.hipInfo
cd /builddir/build/BUILD/hipamd-rocm-5.1.3/build/src && /usr/bin/cmake -E copy_directory /builddir/build/BUILD/hipamd-rocm-5.1.3/include /builddir/build/BUILD/hipamd-rocm-5.1.3/build/include
gmake[2]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
[100%] Built target amdhip64
gmake[1]: Leaving directory '/builddir/build/BUILD/hipamd-rocm-5.1.3/build'
/usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/hipamd-rocm-5.1.3/build/CMakeFiles 0
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7T0zzm
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64
++ dirname /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/hipamd-rocm-5.1.3/.package_note-rocm-hip-5.1.3-1.fc37.aarch64.ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd hipamd-rocm-5.1.3
+ cd build
+ DESTDIR=/builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64
+ /usr/bin/cmake --install .
-- Install configuration: "RelWithDebInfo"
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libhiprtc-builtins.so.5.1.20532
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libhiprtc-builtins.so.5
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libhiprtc-builtins.so
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libamdhip64.so.5.1.20532
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libamdhip64.so.5
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libamdhip64.so
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/cmake/hip/hip-targets.cmake
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/cmake/hip/hip-targets-relwithdebinfo.cmake
-- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libamdhip64.so.5.1.20532
-- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libamdhip64.so.5
-- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libamdhip64.so
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/cmake/hip-lang/hip-lang-targets.cmake
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/cmake/hip-lang/hip-lang-targets-relwithdebinfo.cmake
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/cmake/hip-lang/hip-lang-config.cmake
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/cmake/hip-lang/hip-lang-config-version.cmake
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/.hipInfo
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/bin/.hipVersion
-- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin/hipvars.pm
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin/hipdemangleatp
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin/hipconfig.pl
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin/hipconfig
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin/hipcc_cmake_linker_helper
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin/hipcc.pl
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin/hipcc
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin/hip_embed_pch.sh
Removing /usr/include
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/nvidia_detail
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hiprtc.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hip_texture_types.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hip_runtime_api.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hip_runtime.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hip_cooperative_groups.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_hip_complex.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/nvidia_detail/nvidia_channel_descriptor.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/nvcc_detail
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/hcc_detail
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/texture_indirect_functions.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/texture_fetch_functions.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/program_state.hpp
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/ockl_image.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/math_fwd.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/macro_based_grid_launch.hpp
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/llvm_intrinsics.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/hsa_helpers.hpp
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/host_defines.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/hip_runtime_prof.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/hip_prof_str.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/hip_memory.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/hip_ldg.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/hip_fp16_math_fwd.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/hip_fp16_gcc.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/hip_cooperative_groups_helper.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/helpers.hpp
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/grid_launch_GGL.hpp
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/grid_launch.hpp
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/grid_launch.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/functional_grid_launch.hpp
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/device_library_decls.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/concepts.hpp
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_surface_functions.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_math_functions.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_vector_types.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_unsafe_atomics.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_runtime.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_fp16.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_cooperative_groups.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_complex.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_common.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_hip_atomic.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_device_functions.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./include/hip/amd_detail/amd_channel_descriptor.h
-- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip/
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//texture_types.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//surface_types.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//math_functions.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//library_types.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hiprtc.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_vector_types.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_texture_types.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_runtime_api.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_runtime.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_profile.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_hcc.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_fp16.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_ext.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_cooperative_groups.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_complex.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_common.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//hip_bfloat16.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//driver_types.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//device_functions.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip//channel_descriptor.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./cmake
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./cmake/FindHIP
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./cmake/FindHIP/run_make2cmake.cmake
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./cmake/FindHIP/run_hipcc.cmake
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./cmake/FindHIP.cmake
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip/amd_detail/hip_prof_str.h
-- Up-to-date: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin/roc-obj-ls
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin/roc-obj-extract
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/./bin/roc-obj
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/include/hip/hip_version.h
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/cmake/hip/hip-config.cmake
-- Installing: /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/cmake/hip/hip-config-version.cmake
+ mkdir -p /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/share/cmake
+ mv /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/cmake /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/share/cmake/Modules
+ /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 5.1.3-1.fc37 --unique-debug-suffix -5.1.3-1.fc37.aarch64 --unique-debug-src-base rocm-hip-5.1.3-1.fc37.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hipamd-rocm-5.1.3
extracting debug info from /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libamdhip64.so.5.1.20532
extracting debug info from /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libhiprtc-builtins.so.5.1.20532
gdb-add-index: No index was created for /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/lib64/libhiprtc-builtins.so.5.1.20532
gdb-add-index: [Was there no debuginfo? Was there already an index?]
dwz: Too few files for multifile optimization
original debug info size: 43328kB, size after compression: 36720kB
/usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 1 CRC32s did match.
6783 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
mangling shebang in /usr/bin/roc-obj from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/bin/hip_embed_pch.sh from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/bin/hipcc from /usr/bin/env perl to #!/usr/bin/perl
mangling shebang in /usr/bin/hipcc.pl from /usr/bin/env perl to #!/usr/bin/perl
mangling shebang in /usr/bin/hipcc_cmake_linker_helper from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/bin/hipconfig from /usr/bin/env perl to #!/usr/bin/perl
mangling shebang in /usr/bin/hipconfig.pl from /usr/bin/env perl to #!/usr/bin/perl
mangling shebang in /usr/bin/hipdemangleatp from /bin/bash to #!/usr/bin/bash
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: rocm-hip-5.1.3-1.fc37.aarch64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.o2P6aU
+ umask 022
+ cd /builddir/build/BUILD
+ cd hipamd-rocm-5.1.3
+ DOCDIR=/builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/share/doc/rocm-hip
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/share/doc/rocm-hip
+ cp -pr README.md /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/share/doc/rocm-hip
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.M1Vp22
+ umask 022
+ cd /builddir/build/BUILD
+ cd hipamd-rocm-5.1.3
+ LICENSEDIR=/builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/share/licenses/rocm-hip
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/share/licenses/rocm-hip
+ cp -pr LICENSE.txt /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64/usr/share/licenses/rocm-hip
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: bundled(opencl-headers) = 2.2 bundled(rocm-opencl) = 5.1.3 libamdhip64.so.5()(64bit) libamdhip64.so.5(hip_4.2)(64bit) libamdhip64.so.5(hip_4.3)(64bit) libamdhip64.so.5(hip_4.4)(64bit) libamdhip64.so.5(hip_4.5)(64bit) libamdhip64.so.5(hip_5.0)(64bit) libhiprtc-builtins.so.5()(64bit) rocm-hip = 5.1.3-1.fc37 rocm-hip(aarch-64) = 5.1.3-1.fc37
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libhsa-runtime64.so.1()(64bit) libhsa-runtime64.so.1(ROCR_1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libnuma.so.1()(64bit) libnuma.so.1(libnuma_1.1)(64bit) libnuma.so.1(libnuma_1.2)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH)
Processing files: rocm-hip-devel-5.1.3-1.fc37.aarch64
Provides: cmake(hip) = 5.1.22236 cmake(hip-lang) = 5.1.22236 rocm-hip-devel = 5.1.3-1.fc37 rocm-hip-devel(aarch-64) = 5.1.3-1.fc37
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/bash /usr/bin/perl cmake-filesystem(aarch-64) libamdhip64.so.5()(64bit) libhiprtc-builtins.so.5()(64bit)
Processing files: rocm-hip-debugsource-5.1.3-1.fc37.aarch64
Provides: rocm-hip-debugsource = 5.1.3-1.fc37 rocm-hip-debugsource(aarch-64) = 5.1.3-1.fc37
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: rocm-hip-debuginfo-5.1.3-1.fc37.aarch64
Provides: debuginfo(build-id) = 6b70fcb1b71def70976ead8e026eeb46fca8684f debuginfo(build-id) = c0d34fcaf8ec1434db82d292459b17d4903d2b6d libamdhip64.so.5.1.20532-5.1.3-1.fc37.aarch64.debug()(64bit) libhiprtc-builtins.so.5.1.20532-5.1.3-1.fc37.aarch64.debug()(64bit) rocm-hip-debuginfo = 5.1.3-1.fc37 rocm-hip-debuginfo(aarch-64) = 5.1.3-1.fc37
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: rocm-hip-debugsource(aarch-64) = 5.1.3-1.fc37
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64
Wrote: /builddir/build/RPMS/rocm-hip-devel-5.1.3-1.fc37.aarch64.rpm
Wrote: /builddir/build/RPMS/rocm-hip-debugsource-5.1.3-1.fc37.aarch64.rpm
Wrote: /builddir/build/RPMS/rocm-hip-5.1.3-1.fc37.aarch64.rpm
Wrote: /builddir/build/RPMS/rocm-hip-debuginfo-5.1.3-1.fc37.aarch64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eY33c0
+ umask 022
+ cd /builddir/build/BUILD
+ cd hipamd-rocm-5.1.3
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/rocm-hip-5.1.3-1.fc37.aarch64
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0