Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rocm-smi.spec'], chrootPath='/var/lib/mock/f43-build-side-110214-58990976-6569996/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0cwp7hbj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0cwp7hbj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'd37c4e89b75a46b6a82b6b85c460feeb', '-D', '/var/lib/mock/f43-build-side-110214-58990976-6569996/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0cwp7hbj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rocm-smi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1745020800 Wrote: /builddir/build/SRPMS/rocm-smi-6.4.0-2.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rocm-smi.spec'], chrootPath='/var/lib/mock/f43-build-side-110214-58990976-6569996/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0cwp7hbj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0cwp7hbj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '98b6aa6fcc3742b18cc5623c9de603df', '-D', '/var/lib/mock/f43-build-side-110214-58990976-6569996/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0cwp7hbj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rocm-smi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1745020800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.wGDe4n Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.efsDye + umask 022 + cd /builddir/build/BUILD/rocm-smi-6.4.0-build + cd /builddir/build/BUILD/rocm-smi-6.4.0-build + rm -rf rocm_smi_lib-rocm-6.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rocm_smi_lib-6.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rocm_smi_lib-rocm-6.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-rocm-smi-fix-empty-return.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i '/CMAKE_C.*_FLAGS/d' CMakeLists.txt + sed -i -e 's@env python3@python3@' python_smi_tools/rocm_smi.py python_smi_tools/rsmiBindings.py + sed -i -e 's@env python3@python3@' python_smi_tools/rsmiBindingsInit.py.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GUKk7r + umask 022 + cd /builddir/build/BUILD/rocm-smi-6.4.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rocm_smi_lib-rocm-6.4.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_FULL_SBINDIR:PATH=/usr/bin -DCMAKE_INSTALL_SBINDIR:PATH=bin -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 -DFILE_REORG_BACKWARD_COMPATIBILITY=OFF -DCMAKE_INSTALL_LIBDIR=lib64 -DCMAKE_SKIP_INSTALL_RPATH=TRUE -DBUILD_TESTS=OFF -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0") -- Checking for module 'libdrm' -- Found libdrm, version 2.4.124 -- Checking for module 'libdrm_amdgpu' -- Found libdrm_amdgpu, version 2.4.124 /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/cmake_modules/version_util.sh: line 18: git: command not found /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/cmake_modules/version_util.sh: line 22: git: command not found /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/cmake_modules/version_util.sh: line 23: git: command not found 0 were found since previous release Package version: 7.6.0.0-local-build-0-unknown -- The C compiler identification is GNU 15.0.1 -- The CXX compiler identification is GNU 15.0.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 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& CMake ROCm SMI (Library) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Build Configuration: --------Proj Src Dir: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0 Package version: 7.6.0.0-local-build-0-unknown SOVERSION: 1.0 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& CMake OAM (Library) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Build Configuration: --------Proj Src Dir: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0 Package version: 7.6.0.0-local-build-0-unknown SOVERSION: 1.0 -- Configuring done (1.9s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j12 --verbose Change Dir: '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j12 /usr/bin/cmake -S/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0 -B/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/CMakeFiles /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' /usr/bin/gmake -f rocm_smi/CMakeFiles/rocm_smi64.dir/build.make rocm_smi/CMakeFiles/rocm_smi64.dir/depend /usr/bin/gmake -f rocm_smi/CMakeFiles/link-rocm-smi.dir/build.make rocm_smi/CMakeFiles/link-rocm-smi.dir/depend /usr/bin/gmake -f oam/CMakeFiles/oam.dir/build.make oam/CMakeFiles/oam.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0 /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi/CMakeFiles/link-rocm-smi.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0 /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi/CMakeFiles/rocm_smi64.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0 /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam/CMakeFiles/oam.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' /usr/bin/gmake -f rocm_smi/CMakeFiles/link-rocm-smi.dir/build.make rocm_smi/CMakeFiles/link-rocm-smi.dir/build /usr/bin/gmake -f oam/CMakeFiles/oam.dir/build.make oam/CMakeFiles/oam.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' /usr/bin/gmake -f rocm_smi/CMakeFiles/rocm_smi64.dir/build.make rocm_smi/CMakeFiles/rocm_smi64.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/cmake -E create_symlink ../libexec/rocm_smi/rocm_smi.py /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi/bin/rocm-smi gmake[2]: Entering directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' [ 9%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o [ 9%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o [ 15%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o [ 18%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o [ 21%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o [ 24%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o [ 24%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o [ 9%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_counters.cc.o [ 27%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o gmake[2]: Leaving directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_monitor.cc cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_device.cc cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_power_mon.cc cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_monitor.cc cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_device.cc cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_utils.cc cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc [ 30%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_counters.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_counters.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_counters.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_counters.cc cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_kfd.cc [ 30%] Built target link-rocm-smi [ 33%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_io_link.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_io_link.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_io_link.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_io_link.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_io_link.cc [ 36%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_power_mon.cc /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc: In member function ‘uint32_t amd::smi::RocmSMI::DiscoverAmdgpuDevices()’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:781:47: warning: ‘~’ on an expression of type ‘bool’ [-Wbool-operation] 781 | ~(ret_unique_id != 0 || ret_loc_id != 0 || ret_unique_id != 0)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:781:47: note: did you mean to use logical not (‘!’)? /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:778:9: warning: unused variable ‘ret_domain’ [-Wunused-variable] 778 | int ret_domain = | ^~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:827:36: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 827 | for (uint32_t cardId = 0; cardId <= max_cardId; cardId++) { | ~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:989:14: warning: unused variable ‘erasedNodes’ [-Wunused-variable] 989 | auto erasedNodes = allSystemNodes.erase(0); | ^~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:940:16: warning: variable ‘primary_location_id’ set but not used [-Wunused-but-set-variable] 940 | uint64_t primary_location_id = 0; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_device.cc: In member function ‘rsmi_status_t amd::smi::Device::restartAMDGpuDriver()’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_device.cc:1425:8: warning: unused variable ‘restartInProgress’ [-Wunused-variable] 1425 | bool restartInProgress = true; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_device.cc: In member function ‘rsmi_status_t amd::smi::Device::isRestartInProgress(bool*, bool*)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_device.cc:1511:8: warning: unused variable ‘restartSuccessful’ [-Wunused-variable] 1511 | bool restartSuccessful = true; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc: In member function ‘uint32_t amd::smi::RocmSMI::DiscoverAmdgpuDevices()’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:781:47: warning: ‘~’ on an expression of type ‘bool’ [-Wbool-operation] 781 | ~(ret_unique_id != 0 || ret_loc_id != 0 || ret_unique_id != 0)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:781:47: note: did you mean to use logical not (‘!’)? /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:778:9: warning: unused variable ‘ret_domain’ [-Wunused-variable] 778 | int ret_domain = | ^~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:827:36: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 827 | for (uint32_t cardId = 0; cardId <= max_cardId; cardId++) { | ~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:989:14: warning: unused variable ‘erasedNodes’ [-Wunused-variable] 989 | auto erasedNodes = allSystemNodes.erase(0); | ^~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:940:16: warning: variable ‘primary_location_id’ set but not used [-Wunused-but-set-variable] 940 | uint64_t primary_location_id = 0; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_device.cc: In member function ‘rsmi_status_t amd::smi::Device::restartAMDGpuDriver()’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_device.cc:1425:8: warning: unused variable ‘restartInProgress’ [-Wunused-variable] 1425 | bool restartInProgress = true; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_device.cc: In member function ‘rsmi_status_t amd::smi::Device::isRestartInProgress(bool*, bool*)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_device.cc:1511:8: warning: unused variable ‘restartSuccessful’ [-Wunused-variable] 1511 | bool restartSuccessful = true; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_utils.cc: In function ‘std::string amd::smi::find_file_in_folder(const std::string&, const std::string&)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_utils.cc:1274:59: warning: ignoring attributes on template argument ‘int (*)(DIR*)’ [-Wignored-attributes] 1274 | using dir_ptr = std::unique_ptr; | ^ [ 39%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_utils.cc [ 42%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_gpu_metrics.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_gpu_metrics.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_gpu_metrics.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_gpu_metrics.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_utils.cc: At global scope: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_utils.cc:1112:20: warning: ‘std::string amd::smi::pt_vddc_curve(rsmi_od_volt_curve*)’ defined but not used [-Wunused-function] 1112 | static std::string pt_vddc_curve(rsmi_od_volt_curve *c) { | ^~~~~~~~~~~~~ [ 45%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_utils.cc: In function ‘std::string amd::smi::find_file_in_folder(const std::string&, const std::string&)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_utils.cc:1274:59: warning: ignoring attributes on template argument ‘int (*)(DIR*)’ [-Wignored-attributes] 1274 | using dir_ptr = std::unique_ptr; | ^ [ 48%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_logger.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_logger.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_logger.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_logger.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_logger.cc /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc: In lambda function: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:493:58: warning: captured structured bindings are a C++20 extension [-Wc++20-extensions] 493 | amdgpu_dynamic_metric_value_init.m_original_type = data_type; | ^~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:480:15: note: declared here 480 | const auto [data_type, num_values] = get_data_type_info(); | ^~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc: In member function ‘virtual void amd::smi::GpuMetricsBase_v17_t::dump_internal_metrics_table()’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:607:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 607 | if (idy + 1 != (std::end(row.gfx_busy_inst) - std::end(row.gfx_busy_inst) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:610:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 610 | if (idx + 1 != | ~~~~~~~~^~ 611 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:630:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 630 | if (idy + 1 != (std::end(row.vcn_busy) - std::end(row.vcn_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:633:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 633 | if (idx + 1 != | ~~~~~~~~^~ 634 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:653:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 653 | if (idy + 1 != (std::end(row.jpeg_busy) - std::end(row.jpeg_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:656:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 656 | if (idx + 1 != | ~~~~~~~~^~ 657 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:676:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 676 | if (idy + 1 != (std::end(row.gfx_busy_acc) - std::end(row.gfx_busy_acc) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:679:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 679 | if (idx + 1 != | ~~~~~~~~^~ 680 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc: In member function ‘virtual void amd::smi::GpuMetricsBase_v16_t::dump_internal_metrics_table()’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:794:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 794 | if (idy + 1 != (std::end(row.gfx_busy_inst) - std::end(row.gfx_busy_inst) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:797:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 797 | if (idx + 1 != | ~~~~~~~~^~ 798 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:817:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 817 | if (idy + 1 != (std::end(row.vcn_busy) - std::end(row.vcn_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:820:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 820 | if (idx + 1 != | ~~~~~~~~^~ 821 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:840:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 840 | if (idy + 1 != (std::end(row.jpeg_busy) - std::end(row.jpeg_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:843:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 843 | if (idx + 1 != | ~~~~~~~~^~ 844 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:863:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 863 | if (idy + 1 != (std::end(row.gfx_busy_acc) - std::end(row.gfx_busy_acc) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:866:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 866 | if (idx + 1 != | ~~~~~~~~^~ 867 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc: In function ‘rsmi_status_t rsmi_dev_gpu_metrics_info_get(uint32_t, rsmi_gpu_metrics_t*)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:4730:8: warning: unused variable ‘ret’ [-Wunused-variable] 4730 | auto ret = rsmi_dev_partition_id_get(dv_ind, &partition_id); | ^~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_gpu_clk_freq_set(uint32_t, rsmi_clk_type_t, uint64_t)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:1895:9: warning: unused variable ‘perms’ [-Wunused-variable] 1895 | int perms = amd::smi::isReadOnlyForAll(dev->path(), &read_only); | ^~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_pci_bandwidth_get(uint32_t, rsmi_pcie_bandwidth_t*)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:2447:19: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2447 | if (width_index == -1 || speed_index == -1) { | ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:2447:40: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2447 | if (width_index == -1 || speed_index == -1) { | ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_utils.cc: At global scope: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_utils.cc:1112:20: warning: ‘std::string amd::smi::pt_vddc_curve(rsmi_od_volt_curve*)’ defined but not used [-Wunused-function] 1112 | static std::string pt_vddc_curve(rsmi_od_volt_curve *c) { | ^~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_memory_partition_set(uint32_t, rsmi_memory_partition_type_t)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:4974:8: warning: unused variable ‘isCorrectDevice’ [-Wunused-variable] 4974 | bool isCorrectDevice = false; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:4975:8: warning: variable ‘boardName’ set but not used [-Wunused-but-set-variable] 4975 | char boardName[kMaxBoardLength]; | ^~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: In lambda function: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5922:33: warning: format ‘%llx’ expects argument of type ‘long long unsigned int*’, but argument 3 has type ‘uint64_t*’ {aka ‘long unsigned int*’} [-Wformat=] 5922 | sscanf(message, "%llx:%llx\n", &bitmask, &counter); | ~~~^ ~~~~~~~~ | | | | | uint64_t* {aka long unsigned int*} | long long unsigned int* | %lx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5922:38: warning: format ‘%llx’ expects argument of type ‘long long unsigned int*’, but argument 4 has type ‘uint64_t*’ {aka ‘long unsigned int*’} [-Wformat=] 5922 | sscanf(message, "%llx:%llx\n", &bitmask, &counter); | ~~~^ ~~~~~~~~ | | | | | uint64_t* {aka long unsigned int*} | long long unsigned int* | %lx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5948:36: warning: format ‘%[^ ’ expects a matching ‘char*’ argument [-Wformat=] 5948 | sscanf(message, "%x %[^\n]\n", &reset_seq_num); | ~~~^~ | | | char* /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:42: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 5 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~~^ ~~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:46: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 6 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:50: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 7 has type ‘uint16_t*’ {aka ‘short unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~^ ~~~~~ | | | | unsigned int* uint16_t* {aka short unsigned int*} | %hx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:54: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 8 has type ‘uint16_t*’ {aka ‘short unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~^ ~~~ | | | | unsigned int* uint16_t* {aka short unsigned int*} | %hx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:57: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 9 has type ‘uint16_t*’ {aka ‘short unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~^ ~~~~~~~~~~~~~ | | | | unsigned int* uint16_t* {aka short unsigned int*} | %hx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:60: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 10 has type ‘uint16_t*’ {aka ‘short unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~^ ~~~~~~~~~~~~~~ | | | | unsigned int* uint16_t* {aka short unsigned int*} | %hx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5993:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 5993 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %d %d\n", &ns, &pid, &start, &size, &from, &to, &migrate_trigger, &error_code); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5993:42: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 5 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 5993 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %d %d\n", &ns, &pid, &start, &size, &from, &to, &migrate_trigger, &error_code); | ~~^ ~~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5993:46: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 6 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 5993 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %d %d\n", &ns, &pid, &start, &size, &from, &to, &migrate_trigger, &error_code); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6015:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 6015 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, rw); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6015:42: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 5 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 6015 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, rw); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6034:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 6034 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, migrate_update); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6034:42: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 5 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 6034 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, migrate_update); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6052:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 6052 | sscanf(message, "%lld -%d %x %d\n", &ns, &pid, &node, &evict_trigger); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6069:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 6069 | sscanf(message, "%lld -%d %x %c\n", &ns, &pid, &node, rescheduled); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6088:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 6088 | sscanf(message, "%lld -%d @%lx(%lx) %x %d\n", &ns, &pid, &addr, &size, &node, &unmap_trigger); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6088:42: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 5 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 6088 | sscanf(message, "%lld -%d @%lx(%lx) %x %d\n", &ns, &pid, &addr, &size, &node, &unmap_trigger); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6088:46: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 6 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 6088 | sscanf(message, "%lld -%d @%lx(%lx) %x %d\n", &ns, &pid, &addr, &size, &node, &unmap_trigger); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: At global scope: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:200:13: warning: ‘void freq_volt_string_to_point(std::string, rsmi_od_vddc_point_t*)’ defined but not used [-Wunused-function] 200 | static void freq_volt_string_to_point(std::string in_line, | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 51%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_counters.cc [ 54%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_kfd.cc In file included from /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:64: In member function ‘amd::smi::Device::set_bdfid(unsigned long)’, inlined from ‘amd::smi::RocmSMI::Initialize(unsigned long)’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:301:24: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include/rocm_smi/rocm_smi_device.h:211:42: warning: ‘bdfid’ may be used uninitialized [-Wmaybe-uninitialized] 211 | void set_bdfid(uint64_t val) {bdfid_ = val;} | ~~~~~~~^~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc: In member function ‘amd::smi::RocmSMI::Initialize(unsigned long)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:276:12: note: ‘bdfid’ was declared here 276 | uint64_t bdfid; | ^~~~~ [ 60%] Building CXX object oam/CMakeFiles/oam.dir/__/third_party/shared_mutex/shared_mutex.cc.o [ 60%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_properties.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_properties.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_properties.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_properties.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_properties.cc cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/third_party/shared_mutex/shared_mutex.cc.o -MF CMakeFiles/oam.dir/__/third_party/shared_mutex/shared_mutex.cc.o.d -o CMakeFiles/oam.dir/__/third_party/shared_mutex/shared_mutex.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex/shared_mutex.cc In file included from /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:64: In member function ‘amd::smi::Device::set_bdfid(unsigned long)’, inlined from ‘amd::smi::RocmSMI::Initialize(unsigned long)’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:301:24: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include/rocm_smi/rocm_smi_device.h:211:42: warning: ‘bdfid’ may be used uninitialized [-Wmaybe-uninitialized] 211 | void set_bdfid(uint64_t val) {bdfid_ = val;} | ~~~~~~~^~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc: In member function ‘amd::smi::RocmSMI::Initialize(unsigned long)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_main.cc:276:12: note: ‘bdfid’ was declared here 276 | uint64_t bdfid; | ^~~~~ [ 63%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_io_link.cc [ 66%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc [ 69%] Building CXX object oam/CMakeFiles/oam.dir/src/amd_oam.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/g++ -Doam_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/src/amd_oam.cc.o -MF CMakeFiles/oam.dir/src/amd_oam.cc.o.d -o CMakeFiles/oam.dir/src/amd_oam.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/src/amd_oam.cc [ 72%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc: In lambda function: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:493:58: warning: captured structured bindings are a C++20 extension [-Wc++20-extensions] 493 | amdgpu_dynamic_metric_value_init.m_original_type = data_type; | ^~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:480:15: note: declared here 480 | const auto [data_type, num_values] = get_data_type_info(); | ^~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc: In member function ‘virtual void amd::smi::GpuMetricsBase_v17_t::dump_internal_metrics_table()’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:607:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 607 | if (idy + 1 != (std::end(row.gfx_busy_inst) - std::end(row.gfx_busy_inst) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:610:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 610 | if (idx + 1 != | ~~~~~~~~^~ 611 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:630:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 630 | if (idy + 1 != (std::end(row.vcn_busy) - std::end(row.vcn_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:633:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 633 | if (idx + 1 != | ~~~~~~~~^~ 634 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:653:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 653 | if (idy + 1 != (std::end(row.jpeg_busy) - std::end(row.jpeg_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:656:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 656 | if (idx + 1 != | ~~~~~~~~^~ 657 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:676:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 676 | if (idy + 1 != (std::end(row.gfx_busy_acc) - std::end(row.gfx_busy_acc) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:679:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 679 | if (idx + 1 != | ~~~~~~~~^~ 680 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc: In member function ‘virtual void amd::smi::GpuMetricsBase_v16_t::dump_internal_metrics_table()’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:794:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 794 | if (idy + 1 != (std::end(row.gfx_busy_inst) - std::end(row.gfx_busy_inst) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:797:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 797 | if (idx + 1 != | ~~~~~~~~^~ 798 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:817:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 817 | if (idy + 1 != (std::end(row.vcn_busy) - std::end(row.vcn_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:820:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 820 | if (idx + 1 != | ~~~~~~~~^~ 821 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:840:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 840 | if (idy + 1 != (std::end(row.jpeg_busy) - std::end(row.jpeg_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:843:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 843 | if (idx + 1 != | ~~~~~~~~^~ 844 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:863:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 863 | if (idy + 1 != (std::end(row.gfx_busy_acc) - std::end(row.gfx_busy_acc) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:866:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 866 | if (idx + 1 != | ~~~~~~~~^~ 867 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc: In function ‘rsmi_status_t rsmi_dev_gpu_metrics_info_get(uint32_t, rsmi_gpu_metrics_t*)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_gpu_metrics.cc:4730:8: warning: unused variable ‘ret’ [-Wunused-variable] 4730 | auto ret = rsmi_dev_partition_id_get(dv_ind, &partition_id); | ^~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_gpu_clk_freq_set(uint32_t, rsmi_clk_type_t, uint64_t)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:1895:9: warning: unused variable ‘perms’ [-Wunused-variable] 1895 | int perms = amd::smi::isReadOnlyForAll(dev->path(), &read_only); | ^~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_pci_bandwidth_get(uint32_t, rsmi_pcie_bandwidth_t*)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:2447:19: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2447 | if (width_index == -1 || speed_index == -1) { | ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:2447:40: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2447 | if (width_index == -1 || speed_index == -1) { | ~~~~~~~~~~~~^~~~~ [ 75%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_logger.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_logger.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_logger.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_logger.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_logger.cc In file included from /usr/include/string.h:548, from /usr/include/c++/15/cstring:48, from /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:60: In function ‘memcpy’, inlined from ‘rsmi_event_notification_get::{lambda(bool)#1}::operator()(bool) const’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5888:13: /usr/include/bits/string_fortified.h:29:33: warning: ‘memcpy’ forming offset [2, 95] is out of the bounds [0, 2] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘memcpy’, inlined from ‘rsmi_event_notification_get::{lambda(bool)#1}::operator()(bool) const’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5907:19: /usr/include/bits/string_fortified.h:29:33: warning: ‘memcpy’ forming offset [2, 95] is out of the bounds [0, 2] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘memcpy’, inlined from ‘rsmi_event_notification_get::{lambda(bool)#1}::operator()(bool) const’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5934:19: /usr/include/bits/string_fortified.h:29:33: warning: ‘memcpy’ forming offset [2, 95] is out of the bounds [0, 2] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘memcpy’, inlined from ‘rsmi_event_notification_get::{lambda(bool)#1}::operator()(bool) const’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6109:15: /usr/include/bits/string_fortified.h:29:33: warning: ‘memcpy’ forming offset [2, 95] is out of the bounds [0, 2] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: In member function ‘rsmi_event_notification_get::{lambda(bool)#1}::operator()(bool) const’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6015:19: warning: ‘rw’ may be used uninitialized [-Wmaybe-uninitialized] 6015 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, rw); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6013:19: note: ‘rw’ was declared here 6013 | char *rw; | ^~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6034:19: warning: ‘migrate_update’ may be used uninitialized [-Wmaybe-uninitialized] 6034 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, migrate_update); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6032:19: note: ‘migrate_update’ was declared here 6032 | char *migrate_update; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6069:19: warning: ‘rescheduled’ may be used uninitialized [-Wmaybe-uninitialized] 6069 | sscanf(message, "%lld -%d %x %c\n", &ns, &pid, &node, rescheduled); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6067:19: note: ‘rescheduled’ was declared here 6067 | char *rescheduled; | ^~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_memory_partition_set(uint32_t, rsmi_memory_partition_type_t)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:4974:8: warning: unused variable ‘isCorrectDevice’ [-Wunused-variable] 4974 | bool isCorrectDevice = false; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:4975:8: warning: variable ‘boardName’ set but not used [-Wunused-but-set-variable] 4975 | char boardName[kMaxBoardLength]; | ^~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: In lambda function: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5922:33: warning: format ‘%llx’ expects argument of type ‘long long unsigned int*’, but argument 3 has type ‘uint64_t*’ {aka ‘long unsigned int*’} [-Wformat=] 5922 | sscanf(message, "%llx:%llx\n", &bitmask, &counter); | ~~~^ ~~~~~~~~ | | | | | uint64_t* {aka long unsigned int*} | long long unsigned int* | %lx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5922:38: warning: format ‘%llx’ expects argument of type ‘long long unsigned int*’, but argument 4 has type ‘uint64_t*’ {aka ‘long unsigned int*’} [-Wformat=] 5922 | sscanf(message, "%llx:%llx\n", &bitmask, &counter); | ~~~^ ~~~~~~~~ | | | | | uint64_t* {aka long unsigned int*} | long long unsigned int* | %lx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5948:36: warning: format ‘%[^ ’ expects a matching ‘char*’ argument [-Wformat=] 5948 | sscanf(message, "%x %[^\n]\n", &reset_seq_num); | ~~~^~ | | | char* /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:42: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 5 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~~^ ~~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:46: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 6 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:50: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 7 has type ‘uint16_t*’ {aka ‘short unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~^ ~~~~~ | | | | unsigned int* uint16_t* {aka short unsigned int*} | %hx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:54: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 8 has type ‘uint16_t*’ {aka ‘short unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~^ ~~~ | | | | unsigned int* uint16_t* {aka short unsigned int*} | %hx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:57: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 9 has type ‘uint16_t*’ {aka ‘short unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~^ ~~~~~~~~~~~~~ | | | | unsigned int* uint16_t* {aka short unsigned int*} | %hx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5967:60: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 10 has type ‘uint16_t*’ {aka ‘short unsigned int*’} [-Wformat=] 5967 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %x:%x %d\n", &ns, &pid, &start, &size, &from, &to, &prefetch_loc, &preferred_loc, &migrate_trigger); | ~^ ~~~~~~~~~~~~~~ | | | | unsigned int* uint16_t* {aka short unsigned int*} | %hx /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5993:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 5993 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %d %d\n", &ns, &pid, &start, &size, &from, &to, &migrate_trigger, &error_code); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5993:42: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 5 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 5993 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %d %d\n", &ns, &pid, &start, &size, &from, &to, &migrate_trigger, &error_code); | ~~^ ~~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5993:46: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 6 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 5993 | sscanf(message, "%lld -%d @%lx(%lx) %x->%x %d %d\n", &ns, &pid, &start, &size, &from, &to, &migrate_trigger, &error_code); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6015:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 6015 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, rw); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6015:42: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 5 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 6015 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, rw); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6034:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 6034 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, migrate_update); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6034:42: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 5 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 6034 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, migrate_update); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6052:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 6052 | sscanf(message, "%lld -%d %x %d\n", &ns, &pid, &node, &evict_trigger); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6069:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 6069 | sscanf(message, "%lld -%d %x %c\n", &ns, &pid, &node, rescheduled); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6088:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int64_t*’ {aka ‘long int*’} [-Wformat=] 6088 | sscanf(message, "%lld -%d @%lx(%lx) %x %d\n", &ns, &pid, &addr, &size, &node, &unmap_trigger); | ~~~^ ~~~ | | | | long long int* int64_t* {aka long int*} | %ld /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6088:42: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 5 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 6088 | sscanf(message, "%lld -%d @%lx(%lx) %x %d\n", &ns, &pid, &addr, &size, &node, &unmap_trigger); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6088:46: warning: format ‘%lx’ expects argument of type ‘long unsigned int*’, but argument 6 has type ‘uint32_t*’ {aka ‘unsigned int*’} [-Wformat=] 6088 | sscanf(message, "%lld -%d @%lx(%lx) %x %d\n", &ns, &pid, &addr, &size, &node, &unmap_trigger); | ~~^ ~~~~~ | | | | long unsigned int* uint32_t* {aka unsigned int*} | %x [ 78%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_properties.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_properties.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_properties.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_properties.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi_properties.cc /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: At global scope: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:200:13: warning: ‘void freq_volt_string_to_point(std::string, rsmi_od_vddc_point_t*)’ defined but not used [-Wunused-function] 200 | static void freq_volt_string_to_point(std::string in_line, | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 81%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/common/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o -MF CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex/shared_mutex.cc In file included from /usr/include/string.h:548, from /usr/include/c++/15/cstring:48, from /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:60: In function ‘memcpy’, inlined from ‘rsmi_event_notification_get::{lambda(bool)#1}::operator()(bool) const’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5888:13: /usr/include/bits/string_fortified.h:29:33: warning: ‘memcpy’ forming offset [2, 95] is out of the bounds [0, 2] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘memcpy’, inlined from ‘rsmi_event_notification_get::{lambda(bool)#1}::operator()(bool) const’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5907:19: /usr/include/bits/string_fortified.h:29:33: warning: ‘memcpy’ forming offset [2, 95] is out of the bounds [0, 2] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘memcpy’, inlined from ‘rsmi_event_notification_get::{lambda(bool)#1}::operator()(bool) const’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5934:19: /usr/include/bits/string_fortified.h:29:33: warning: ‘memcpy’ forming offset [2, 95] is out of the bounds [0, 2] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘memcpy’, inlined from ‘rsmi_event_notification_get::{lambda(bool)#1}::operator()(bool) const’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6109:15: /usr/include/bits/string_fortified.h:29:33: warning: ‘memcpy’ forming offset [2, 95] is out of the bounds [0, 2] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc: In member function ‘rsmi_event_notification_get::{lambda(bool)#1}::operator()(bool) const’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6015:19: warning: ‘rw’ may be used uninitialized [-Wmaybe-uninitialized] 6015 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, rw); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6013:19: note: ‘rw’ was declared here 6013 | char *rw; | ^~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6034:19: warning: ‘migrate_update’ may be used uninitialized [-Wmaybe-uninitialized] 6034 | sscanf(message, "%lld -%d @%lx(%x) %c\n", &ns, &pid, &addr, &node, migrate_update); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6032:19: note: ‘migrate_update’ was declared here 6032 | char *migrate_update; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6069:19: warning: ‘rescheduled’ may be used uninitialized [-Wmaybe-uninitialized] 6069 | sscanf(message, "%lld -%d %x %c\n", &ns, &pid, &node, rescheduled); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6067:19: note: ‘rescheduled’ was declared here 6067 | char *rescheduled; | ^~~~~~~~~~~ [ 84%] Linking CXX shared library liboam.so cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/cmake -E cmake_link_script CMakeFiles/oam.dir/link.txt --verbose=1 In function ‘memcpy’, inlined from ‘operator()’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5888:13: /usr/include/bits/string_fortified.h:29:33: warning: ‘__builtin_memcpy’ reading 96 bytes from a region of size 2 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ In function ‘memcpy’, inlined from ‘operator()’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5907:19: /usr/include/bits/string_fortified.h:29:33: warning: ‘__builtin_memcpy’ reading 96 bytes from a region of size 2 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ In function ‘memcpy’, inlined from ‘operator()’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5934:19: /usr/include/bits/string_fortified.h:29:33: warning: ‘__builtin_memcpy’ reading 96 bytes from a region of size 2 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ In function ‘memcpy’, inlined from ‘operator()’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6109:15: /usr/include/bits/string_fortified.h:29:33: warning: ‘__builtin_memcpy’ reading 96 bytes from a region of size 2 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--dependency-file=CMakeFiles/oam.dir/link.d -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,liboam.so.1 -o liboam.so.1.0 CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o CMakeFiles/oam.dir/__/src/rocm_smi_counters.cc.o CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o CMakeFiles/oam.dir/__/src/rocm_smi_io_link.cc.o CMakeFiles/oam.dir/__/src/rocm_smi_gpu_metrics.cc.o CMakeFiles/oam.dir/__/src/rocm_smi.cc.o CMakeFiles/oam.dir/__/src/rocm_smi_logger.cc.o CMakeFiles/oam.dir/__/src/rocm_smi_properties.cc.o CMakeFiles/oam.dir/__/third_party/shared_mutex/shared_mutex.cc.o CMakeFiles/oam.dir/src/amd_oam.cc.o -lpthread -lrt -ldl -ldrm -ldrm_amdgpu cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/cmake -E cmake_symlink_library liboam.so.1.0 liboam.so.1 liboam.so gmake[2]: Leaving directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' [ 84%] Built target oam /usr/bin/gmake -f oam/CMakeFiles/oam_ex.dir/build.make oam/CMakeFiles/oam_ex.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0 /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam/CMakeFiles/oam_ex.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' /usr/bin/gmake -f oam/CMakeFiles/oam_ex.dir/build.make oam/CMakeFiles/oam_ex.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' [ 87%] Building C object oam/CMakeFiles/oam_ex.dir/example/oam_example.c.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/gcc -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include/rocm_smi -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MT oam/CMakeFiles/oam_ex.dir/example/oam_example.c.o -MF CMakeFiles/oam_ex.dir/example/oam_example.c.o.d -o CMakeFiles/oam_ex.dir/example/oam_example.c.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/example/oam_example.c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/example/oam_example.c: In function ‘main’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/oam/example/oam_example.c:40:28: warning: unused variable ‘version’ [-Wunused-variable] 40 | oam_mapi_version_t version; | ^~~~~~~ [ 90%] Linking C executable oam_ex cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam && /usr/bin/cmake -E cmake_link_script CMakeFiles/oam_ex.dir/link.txt --verbose=1 [ 93%] Linking CXX shared library librocm_smi64.so cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/cmake -E cmake_link_script CMakeFiles/rocm_smi64.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=CMakeFiles/oam_ex.dir/link.d CMakeFiles/oam_ex.dir/example/oam_example.c.o -o oam_ex -Wl,-rpath,/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/oam liboam.so.1.0 -lpthread -lrt -ldl -ldrm -ldrm_amdgpu gmake[2]: Leaving directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' [ 93%] Built target oam_ex In function ‘memcpy’, inlined from ‘operator()’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5888:13: /usr/include/bits/string_fortified.h:29:33: warning: ‘__builtin_memcpy’ reading 96 bytes from a region of size 2 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ In function ‘memcpy’, inlined from ‘operator()’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5907:19: /usr/include/bits/string_fortified.h:29:33: warning: ‘__builtin_memcpy’ reading 96 bytes from a region of size 2 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ In function ‘memcpy’, inlined from ‘operator()’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:5934:19: /usr/include/bits/string_fortified.h:29:33: warning: ‘__builtin_memcpy’ reading 96 bytes from a region of size 2 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ In function ‘memcpy’, inlined from ‘operator()’ at /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/src/rocm_smi.cc:6109:15: /usr/include/bits/string_fortified.h:29:33: warning: ‘__builtin_memcpy’ reading 96 bytes from a region of size 2 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--dependency-file=CMakeFiles/rocm_smi64.dir/link.d -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,librocm_smi64.so.1 -o librocm_smi64.so.1.0 CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_logger.cc.o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_properties.cc.o CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o -lpthread -lrt -ldl -ldrm -ldrm_amdgpu cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/cmake -E cmake_symlink_library librocm_smi64.so.1.0 librocm_smi64.so.1 librocm_smi64.so gmake[2]: Leaving directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' [ 93%] Built target rocm_smi64 /usr/bin/gmake -f rocm_smi/CMakeFiles/rocm_smi_ex.dir/build.make rocm_smi/CMakeFiles/rocm_smi_ex.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0 /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi/CMakeFiles/rocm_smi_ex.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' /usr/bin/gmake -f rocm_smi/CMakeFiles/rocm_smi_ex.dir/build.make rocm_smi/CMakeFiles/rocm_smi_ex.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' [ 96%] Building CXX object rocm_smi/CMakeFiles/rocm_smi_ex.dir/example/rocm_smi_example.cc.o cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/include -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/third_party/shared_mutex -I/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu++17 -MD -MT rocm_smi/CMakeFiles/rocm_smi_ex.dir/example/rocm_smi_example.cc.o -MF CMakeFiles/rocm_smi_ex.dir/example/rocm_smi_example.cc.o.d -o CMakeFiles/rocm_smi_ex.dir/example/rocm_smi_example.cc.o -c /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc: In function ‘rsmi_status_t test_set_compute_partitioning(uint32_t)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:634:44: warning: the address of ‘originalComputePartition’ will never be NULL [-Waddress] 634 | << (((originalComputePartition == nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:622:8: note: ‘originalComputePartition’ declared here 622 | char originalComputePartition[kLength]; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:635:47: warning: the address of ‘originalComputePartition’ will never be NULL [-Waddress] 635 | || ((originalComputePartition != nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:622:8: note: ‘originalComputePartition’ declared here 622 | char originalComputePartition[kLength]; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc: In function ‘rsmi_status_t test_set_memory_partition(uint32_t)’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:682:43: warning: the address of ‘originalMemoryPartition’ will never be NULL [-Waddress] 682 | << (((originalMemoryPartition == nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:671:8: note: ‘originalMemoryPartition’ declared here 671 | char originalMemoryPartition[kLength]; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:683:46: warning: the address of ‘originalMemoryPartition’ will never be NULL [-Waddress] 683 | || ((originalMemoryPartition != nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:671:8: note: ‘originalMemoryPartition’ declared here 671 | char originalMemoryPartition[kLength]; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc: In function ‘int main()’: /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:784:47: warning: the address of ‘current_compute_partition’ will never be NULL [-Waddress] 784 | << (((current_compute_partition == nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:780:10: note: ‘current_compute_partition’ declared here 780 | char current_compute_partition[256]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:785:50: warning: the address of ‘current_compute_partition’ will never be NULL [-Waddress] 785 | || ((current_compute_partition != nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:780:10: note: ‘current_compute_partition’ declared here 780 | char current_compute_partition[256]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:800:38: warning: the address of ‘memory_partition’ will never be NULL [-Waddress] 800 | << (((memory_partition == nullptr) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:796:10: note: ‘memory_partition’ declared here 796 | char memory_partition[kLength]; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:801:41: warning: the address of ‘memory_partition’ will never be NULL [-Waddress] 801 | || ((memory_partition != nullptr) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/rocm_smi/example/rocm_smi_example.cc:796:10: note: ‘memory_partition’ declared here 796 | char memory_partition[kLength]; | ^~~~~~~~~~~~~~~~ [100%] Linking CXX executable rocm_smi_ex cd /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi && /usr/bin/cmake -E cmake_link_script CMakeFiles/rocm_smi_ex.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file=CMakeFiles/rocm_smi_ex.dir/link.d CMakeFiles/rocm_smi_ex.dir/example/rocm_smi_example.cc.o -o rocm_smi_ex -Wl,-rpath,/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/rocm_smi librocm_smi64.so.1.0 -lpthread -lrt -ldl -ldrm -ldrm_amdgpu gmake[2]: Leaving directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' [100%] Built target rocm_smi_ex gmake[1]: Leaving directory '/builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tH9BJV + umask 022 + cd /builddir/build/BUILD/rocm-smi-6.4.0-build + '[' /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rocm-smi-6.4.0-build + mkdir /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rocm_smi_lib-rocm-6.4.0 + DESTDIR=/builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/librocm_smi64.so.1.0 -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/librocm_smi64.so.1 -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/librocm_smi64.so -- Up-to-date: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/librocm_smi64.so.1.0 -- Up-to-date: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/librocm_smi64.so.1 -- Up-to-date: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/librocm_smi64.so -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/include/rocm_smi/rocm_smi.h -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/include/rocm_smi/rocm_smi64Config.h -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/include/rocm_smi/kfd_ioctl.h -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/libexec/rocm_smi/rsmiBindingsInit.py -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/libexec/rocm_smi/rsmiBindings.py -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/libexec/rocm_smi/rocm_smi.py -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/bin/rocm-smi -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/liboam.so.1.0 -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/liboam.so.1 -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/liboam.so -- Up-to-date: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/liboam.so.1.0 -- Up-to-date: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/liboam.so.1 -- Up-to-date: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/liboam.so -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/include/oam/oam_mapi.h -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/include/oam/amd_oam.h -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/cmake/rocm_smi/rocm_smi-config.cmake -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/cmake/rocm_smi/rocm_smi-config-version.cmake -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/cmake/rocm_smi/rocm_smiTargets.cmake -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/lib64/cmake/rocm_smi/rocm_smiTargets-noconfig.cmake -- Installing: /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/share/doc/rocm_smi/LICENSE.txt + install -D -m 644 README.md /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/share/doc/rocm_smi/README.md + F=/builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/share/doc/rocm_smi/LICENSE.txt + '[' -f /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/share/doc/rocm_smi/LICENSE.txt ']' + rm /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/share/doc/rocm_smi/LICENSE.txt + /usr/bin/find-debuginfo -j12 --strict-build-id -m -i --build-id-seed 6.4.0-2.fc43 --unique-debug-suffix -6.4.0-2.fc43.aarch64 --unique-debug-src-base rocm-smi-6.4.0-2.fc43.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/kfd_ioctl.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/rocm_smi.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/rocm_smi_common.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/rocm_smi_counters.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/rocm_smi_device.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/rocm_smi_exception.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/rocm_smi_io_link.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/rocm_smi_kfd.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/rocm_smi_main.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/rocm_smi_monitor.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/rocm_smi_power_mon.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/include/rocm_smi/rocm_smi_utils.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/oam/include/oam/amd_oam.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/oam/include/oam/oam_mapi.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/oam/src/amd_oam.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/src/rocm_smi.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/src/rocm_smi_counters.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/src/rocm_smi_device.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/src/rocm_smi_gpu_metrics.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/src/rocm_smi_io_link.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/src/rocm_smi_kfd.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/src/rocm_smi_main.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/src/rocm_smi_monitor.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/src/rocm_smi_power_mon.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/src/rocm_smi_utils.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/third_party/shared_mutex/shared_mutex.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/rocm-smi-6.4.0-2.fc43.aarch64/third_party/shared_mutex/shared_mutex.h is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT Scanned 34 directories and 55 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rocm-smi-6.4.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: rocm-smi-6.4.0-2.fc43.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nKPKEK + umask 022 + cd /builddir/build/BUILD/rocm-smi-6.4.0-build + cd rocm_smi_lib-rocm-6.4.0 + LICENSEDIR=/builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/share/licenses/rocm-smi + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/share/licenses/rocm-smi + cp -pr /builddir/build/BUILD/rocm-smi-6.4.0-build/rocm_smi_lib-rocm-6.4.0/License.txt /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT/usr/share/licenses/rocm-smi + RPM_EC=0 ++ jobs -p + exit 0 Provides: liboam.so.1()(64bit) librocm_smi64.so.1()(64bit) rocm-smi = 6.4.0-2.fc43 rocm-smi(aarch-64) = 6.4.0-2.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 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.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libdrm_amdgpu.so.1()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(CXXABI_1.3.5)(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.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(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.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: rocm-smi-devel-6.4.0-2.fc43.aarch64 Provides: cmake(rocm_smi) rocm-smi-devel = 6.4.0-2.fc43 rocm-smi-devel(aarch-64) = 6.4.0-2.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cmake-filesystem(aarch-64) liboam.so.1()(64bit) librocm_smi64.so.1()(64bit) Processing files: rocm-smi-debugsource-6.4.0-2.fc43.aarch64 Provides: rocm-smi-debugsource = 6.4.0-2.fc43 rocm-smi-debugsource(aarch-64) = 6.4.0-2.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rocm-smi-debuginfo-6.4.0-2.fc43.aarch64 Provides: debuginfo(build-id) = 0ff3569a11a16ec29f2719584df57ae9056f59b0 debuginfo(build-id) = 5e5672bcb1f0348b8e53b1e464cf7501f32bf14d liboam.so.1.0-6.4.0-2.fc43.aarch64.debug()(64bit) librocm_smi64.so.1.0-6.4.0-2.fc43.aarch64.debug()(64bit) rocm-smi-debuginfo = 6.4.0-2.fc43 rocm-smi-debuginfo(aarch-64) = 6.4.0-2.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rocm-smi-debugsource(aarch-64) = 6.4.0-2.fc43 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rocm-smi-6.4.0-build/BUILDROOT Wrote: /builddir/build/RPMS/rocm-smi-devel-6.4.0-2.fc43.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-smi-debugsource-6.4.0-2.fc43.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-smi-6.4.0-2.fc43.aarch64.rpm Wrote: /builddir/build/RPMS/rocm-smi-debuginfo-6.4.0-2.fc43.aarch64.rpm Child return code was: 0