Diff of the two buildlogs:
--
--- b1/build.log 2024-11-15 23:27:47.483385423 +0000
+++ b2/build.log 2024-11-15 23:29:07.991725510 +0000
@@ -1,6 +1,6 @@
I: pbuilder: network access will be disabled during build
-I: Current time: Thu Dec 18 17:48:57 -12 2025
-I: pbuilder-time-stamp: 1766123337
+I: Current time: Sat Nov 16 13:27:49 +14 2024
+I: pbuilder-time-stamp: 1731713269
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/experimental-reproducible-base.tgz]
I: copying local configuration
@@ -31,51 +31,83 @@
dpkg-source: info: applying 0005-remove-gtest-installation.patch
I: Not using root during the build.
I: Installing the build-deps
-I: user script /srv/workspace/pbuilder/1952742/tmp/hooks/D02_print_environment starting
+I: user script /srv/workspace/pbuilder/1709871/tmp/hooks/D01_modify_environment starting
+debug: Running on infom01-amd64.
+I: Changing host+domainname to test build reproducibility
+I: Adding a custom variable just for the fun of it...
+I: Changing /bin/sh to bash
+'/bin/sh' -> '/bin/bash'
+lrwxrwxrwx 1 root root 9 Nov 15 23:27 /bin/sh -> /bin/bash
+I: Setting pbuilder2's login shell to /bin/bash
+I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other
+I: user script /srv/workspace/pbuilder/1709871/tmp/hooks/D01_modify_environment finished
+I: user script /srv/workspace/pbuilder/1709871/tmp/hooks/D02_print_environment starting
I: set
- BUILDDIR='/build/reproducible-path'
- BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other'
- BUILDUSERNAME='pbuilder1'
- BUILD_ARCH='amd64'
- DEBIAN_FRONTEND='noninteractive'
+ BASH=/bin/sh
+ BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath
+ BASH_ALIASES=()
+ BASH_ARGC=()
+ BASH_ARGV=()
+ BASH_CMDS=()
+ BASH_LINENO=([0]="12" [1]="0")
+ BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:.
+ BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment")
+ BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
+ BASH_VERSION='5.2.32(1)-release'
+ BUILDDIR=/build/reproducible-path
+ BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other'
+ BUILDUSERNAME=pbuilder2
+ BUILD_ARCH=amd64
+ DEBIAN_FRONTEND=noninteractive
DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 '
- DISTRIBUTION='experimental'
- HOME='/root'
- HOST_ARCH='amd64'
+ DIRSTACK=()
+ DISTRIBUTION=experimental
+ EUID=0
+ FUNCNAME=([0]="Echo" [1]="main")
+ GROUPS=()
+ HOME=/root
+ HOSTNAME=i-capture-the-hostname
+ HOSTTYPE=x86_64
+ HOST_ARCH=amd64
IFS='
'
- INVOCATION_ID='d0fa5d721d224d629aaea3c022eabc51'
- LANG='C'
- LANGUAGE='en_US:en'
- LC_ALL='C'
- MAIL='/var/mail/root'
- OPTIND='1'
- PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
- PBCURRENTCOMMANDLINEOPERATION='build'
- PBUILDER_OPERATION='build'
- PBUILDER_PKGDATADIR='/usr/share/pbuilder'
- PBUILDER_PKGLIBDIR='/usr/lib/pbuilder'
- PBUILDER_SYSCONFDIR='/etc'
- PPID='1952742'
- PS1='# '
- PS2='> '
+ INVOCATION_ID=aeb7ac8e5a1340d9a74eb730f7aa6737
+ LANG=C
+ LANGUAGE=et_EE:et
+ LC_ALL=C
+ MACHTYPE=x86_64-pc-linux-gnu
+ MAIL=/var/mail/root
+ OPTERR=1
+ OPTIND=1
+ OSTYPE=linux-gnu
+ PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path
+ PBCURRENTCOMMANDLINEOPERATION=build
+ PBUILDER_OPERATION=build
+ PBUILDER_PKGDATADIR=/usr/share/pbuilder
+ PBUILDER_PKGLIBDIR=/usr/lib/pbuilder
+ PBUILDER_SYSCONFDIR=/etc
+ PIPESTATUS=([0]="0")
+ POSIXLY_CORRECT=y
+ PPID=1709871
PS4='+ '
- PWD='/'
- SHELL='/bin/bash'
- SHLVL='2'
- SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.eNax1YKl/pbuilderrc_Z9Zg --distribution experimental --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.eNax1YKl/b1 --logfile b1/build.log amdsmi_6.1.2+ds-1.dsc'
- SUDO_GID='109'
- SUDO_UID='104'
- SUDO_USER='jenkins'
- TERM='unknown'
- TZ='/usr/share/zoneinfo/Etc/GMT+12'
- USER='root'
- _='/usr/bin/systemd-run'
+ PWD=/
+ SHELL=/bin/bash
+ SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix
+ SHLVL=3
+ SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.eNax1YKl/pbuilderrc_BJew --distribution experimental --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.eNax1YKl/b2 --logfile b2/build.log amdsmi_6.1.2+ds-1.dsc'
+ SUDO_GID=109
+ SUDO_UID=104
+ SUDO_USER=jenkins
+ TERM=unknown
+ TZ=/usr/share/zoneinfo/Etc/GMT-14
+ UID=0
+ USER=root
+ _='I: set'
I: uname -a
- Linux infom02-amd64 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux
+ Linux i-capture-the-hostname 6.1.0-27-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux
I: ls -l /bin
- lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin
-I: user script /srv/workspace/pbuilder/1952742/tmp/hooks/D02_print_environment finished
+ lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin
+I: user script /srv/workspace/pbuilder/1709871/tmp/hooks/D02_print_environment finished
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
@@ -214,7 +246,7 @@
Get: 87 http://deb.debian.org/debian unstable/main amd64 pkgconf amd64 1.8.1-4 [26.2 kB]
Get: 88 http://deb.debian.org/debian unstable/main amd64 python3-yaml amd64 6.0.2-1+b1 [178 kB]
Get: 89 http://deb.debian.org/debian unstable/main amd64 txt2man all 1.7.1-4 [35.4 kB]
-Fetched 46.7 MB in 1s (44.5 MB/s)
+Fetched 46.7 MB in 1s (63.1 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package readline-common.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19966 files and directories currently installed.)
@@ -529,8 +561,8 @@
Setting up tzdata (2024b-3) ...
Current default time zone: 'Etc/UTC'
-Local time is now: Fri Dec 19 05:49:46 UTC 2025.
-Universal Time is now: Fri Dec 19 05:49:46 UTC 2025.
+Local time is now: Fri Nov 15 23:28:32 UTC 2024.
+Universal Time is now: Fri Nov 15 23:28:32 UTC 2024.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
Setting up autotools-dev (20220109.1) ...
@@ -600,7 +632,11 @@
Building tag database...
-> Finished parsing the build-deps
I: Building the package
-I: Running cd /build/reproducible-path/amdsmi-6.1.2+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../amdsmi_6.1.2+ds-1_source.changes
+I: user script /srv/workspace/pbuilder/1709871/tmp/hooks/A99_set_merged_usr starting
+Not re-configuring usrmerge for experimental
+I: user script /srv/workspace/pbuilder/1709871/tmp/hooks/A99_set_merged_usr finished
+hostname: Name or service not known
+I: Running cd /build/reproducible-path/amdsmi-6.1.2+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../amdsmi_6.1.2+ds-1_source.changes
dpkg-buildpackage: info: source package amdsmi
dpkg-buildpackage: info: source version 6.1.2+ds-1
dpkg-buildpackage: info: source distribution experimental
@@ -681,8 +717,8 @@
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
CMake AMDSMI CLI Install
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
--- Configuring done (1.3s)
--- Generating done (0.1s)
+-- Configuring done (0.4s)
+-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
@@ -702,8 +738,8 @@
make -f rocm_smi/CMakeFiles/rocm_smi64.dir/build.make rocm_smi/CMakeFiles/rocm_smi64.dir/depend
make -f src/CMakeFiles/amd_smi.dir/build.make src/CMakeFiles/amd_smi.dir/depend
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi/CMakeFiles/rocm_smi64.dir/DependInfo.cmake "--color="
+make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/src /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/src /build/reproducible-path/amdsmi-6.1.2+ds/build/src/CMakeFiles/amd_smi.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
make -f rocm_smi/CMakeFiles/rocm_smi64.dir/build.make rocm_smi/CMakeFiles/rocm_smi64.dir/build
@@ -711,74 +747,54 @@
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
make -f src/CMakeFiles/amd_smi.dir/build.make src/CMakeFiles/amd_smi.dir/build
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-[ 1%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o
-[ 3%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o
-[ 5%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_counters.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc
-[ 6%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o
-[ 8%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi.cc.o
+[ 1%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi.cc.o
+[ 3%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_counters.cc.o
+[ 8%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_power_mon.cc.o
+[ 8%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_kfd.cc.o
+[ 8%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_main.cc.o
+[ 10%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_io_link.cc.o
+[ 15%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_utils.cc.o
+[ 15%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_binary_parser.cc.o
+[ 15%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_device.cc.o
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_counters.cc
-[ 10%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_device.cc.o
-[ 13%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o
-[ 13%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_common.cc
+[ 16%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_gpu_metrics.cc.o
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_device.cc
-[ 15%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_gpu_metrics.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_gpu_metrics.cc
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc
-[ 16%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_binary_parser.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_gpu_device.cc
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_lib_loader.cc
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_binary_parser.cc.o -MF CMakeFiles/rocm_smi64.dir/src/rocm_smi_binary_parser.cc.o.d -o CMakeFiles/rocm_smi64.dir/src/rocm_smi_binary_parser.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc
-[ 20%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o
-[ 20%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_system.cc
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_socket.cc
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_socket.h:50,
- from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_socket.cc:45:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
- 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
- | ^~~~~~~~~
-[ 21%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_common.cc:45:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
- 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
- | ^~~~~~~~~
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_lib_loader.h:29,
- from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_lib_loader.cc:44:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
- 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
- | ^~~~~~~~~
-[ 23%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_uuid.cc
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_uuid.cc:23:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
- 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
- | ^~~~~~~~~
-[ 25%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/fdinfo.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/fdinfo.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/fdinfo.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/fdinfo.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/fdinfo.cc
-[ 26%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc: In member function 'std::string amd::smi::AMDSmiDrm::find_file_in_folder(const std::string&, const std::string&)':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc:62:61: warning: ignoring attributes on template argument 'int (*)(DIR*)' [-Wignored-attributes]
- 62 | using dir_ptr = std::unique_ptr
;
- | ^
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc: In member function 'amdsmi_status_t amd::smi::AMDSmiDrm::init()':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc:176:59: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to 'unsigned char:3' may change value [-Wconversion]
- 176 | bdf.fields.function_number = device->businfo.pci->func;
- | ~~~~~~~~~~~~~~~~~~~~~^~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc:177:57: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to 'unsigned char:5' may change value [-Wconversion]
- 177 | bdf.fields.device_number = device->businfo.pci->dev;
- | ~~~~~~~~~~~~~~~~~~~~~^~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc:85:20: warning: unused variable 'dir' [-Wunused-variable]
- 85 | struct dirent *dir = nullptr;
- | ^~~
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_io_link.cc
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_gpu_metrics.cc
+[ 18%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_monitor.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_power_mon.cc
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_monitor.cc
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_utils.cc
+[ 20%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_gpu_board_info(amdsmi_processor_handle, amdsmi_board_info_t*)':
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:399:21: warning: variable 'status' set but not used [-Wunused-but-set-variable]
+ 399 | amdsmi_status_t status;
+ | ^~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_gpu_asic_info(amdsmi_processor_handle, amdsmi_asic_info_t*)':
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:685:28: warning: the address of 'amdsmi_asic_info_t::vendor_name' will never be NULL [-Waddress]
+ 685 | if ((info->vendor_name != NULL && info->vendor_name[0] == '\0') && info->vendor_id == 0x1002) {
+ | ^
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:59:
+/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:578:8: note: 'amdsmi_asic_info_t::vendor_name' declared here
+ 578 | char vendor_name[AMDSMI_MAX_STRING_LENGTH];
+ | ^~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_gpu_device_uuid(amdsmi_processor_handle, unsigned int*, char*)':
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:1956:12: warning: unused variable 'len' [-Wunused-variable]
+ 1956 | size_t len = AMDSMI_GPU_UUID_SIZE;
+ | ^~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_pcie_info(amdsmi_processor_handle, amdsmi_pcie_info_t*)':
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:2019:51: warning: conversion from 'double' to 'uint32_t' {aka 'unsigned int'} may change value [-Wfloat-conversion]
+ 2019 | info->pcie_static.max_pcie_speed = pcie_speed * 1000;
+ | ~~~~~~~~~~~^~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_esmi_err_msg(amdsmi_status_t, const char**)':
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:3199:24: warning: comparison between 'const enum esmi_status_t' and 'enum amdsmi_status_t' [-Wenum-compare]
+ 3199 | if (iter.first == status) {
+ | ~~~~~~~~~~~^~~~~~~~~
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc: In function 'int amd::smi::present_pmmetrics(const char*, rsmi_name_value_t**, uint32_t*)':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:158:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int32_t' {aka 'int'} may change value [-Wconversion]
158 | len = fread(buf1, 1, 65536, infile);
@@ -797,6 +813,21 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:314:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int32_t' {aka 'int'} may change value [-Wconversion]
314 | len = fread(buf, 1, sizeof buf, infile);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc: In member function 'uint32_t amd::smi::RocmSMI::DiscoverAmdgpuDevices()':
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:887:14: warning: unused variable 'erasedNodes' [-Wunused-variable]
+ 887 | auto erasedNodes = allSystemNodes.erase(0);
+ | ^~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:838:16: warning: variable 'primary_location_id' set but not used [-Wunused-but-set-variable]
+ 838 | uint64_t primary_location_id = 0;
+ | ^~~~~~~~~~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc: In member function 'int amd::smi::KFDNode::get_used_memory(uint64_t*)':
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc:892:16: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to '__u32' {aka 'unsigned int'} may change value [-Wconversion]
+ 892 | mem.gpu_id = gpu_id_;
+ | ^~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc: In member function 'int amd::smi::KFDNode::get_cache_info(rsmi_gpu_cache_info_t*)':
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc:939:25: warning: conversion from 'std::__iterator_traits<__gnu_cxx::__normal_iterator >, void>::difference_type' {aka 'long int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
+ 939 | std::count(sibling_map.begin(), sibling_map.end(), '1');
+ | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc: In function 'rsmi_status_t rsmi_ras_feature_info_get(uint32_t, rsmi_ras_feature_info_t*)':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:908:41: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
908 | ras_feature->ras_eeprom_version = eeprom_version;
@@ -804,10 +835,6 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:932:49: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
932 | ras_feature->ecc_correction_schema_flag = schema;
| ^~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_system.cc: In member function 'amdsmi_status_t amd::smi::AMDSmiSystem::get_gpu_socket_id(uint32_t, std::string&)':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_system.cc:243:14: warning: unused variable 'function' [-Wunused-variable]
- 243 | uint64_t function = bdfid & 0x7;
- | ^~~~~~~~
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc: In function 'rsmi_status_t get_od_clk_volt_info(uint32_t, rsmi_od_volt_freq_data_t*)':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:1462:33: warning: conversion from 'std::vector >::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
1462 | int last_item = val_vec.size()-1;
@@ -831,22 +858,26 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:2119:17: warning: unused variable 'ret' [-Wunused-variable]
2119 | rsmi_status_t ret;
| ^~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_gpu_asic_info(amdsmi_processor_handle, amdsmi_asic_info_t*)':
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:650:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
+ 650 | fscanf(fp, "%s", info->asic_serial);
+ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc: In function 'rsmi_status_t rsmi_dev_xgmi_plpd_set(uint32_t, uint32_t)':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:2243:17: warning: unused variable 'ret' [-Wunused-variable]
2243 | rsmi_status_t ret;
| ^~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_gpu_board_info(amdsmi_processor_handle, amdsmi_board_info_t*)':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:399:21: warning: variable 'status' set but not used [-Wunused-but-set-variable]
- 399 | amdsmi_status_t status;
- | ^~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_gpu_asic_info(amdsmi_processor_handle, amdsmi_asic_info_t*)':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:685:28: warning: the address of 'amdsmi_asic_info_t::vendor_name' will never be NULL [-Waddress]
- 685 | if ((info->vendor_name != NULL && info->vendor_name[0] == '\0') && info->vendor_id == 0x1002) {
- | ^
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:59:
-/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:578:8: note: 'amdsmi_asic_info_t::vendor_name' declared here
- 578 | char vendor_name[AMDSMI_MAX_STRING_LENGTH];
- | ^~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_pcie_info(amdsmi_processor_handle, amdsmi_pcie_info_t*)':
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:1999:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
+ 1999 | fscanf(fp, "%d", &pcie_width);
+ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:2011:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
+ 2011 | fscanf(fp, "%lf %s", &pcie_speed, buff);
+ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
+ 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
+ | ^~~~~~~~~
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc: In function 'rsmi_status_t rsmi_dev_pci_bandwidth_get(uint32_t, rsmi_pcie_bandwidth_t*)':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:2938:19: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2938 | if (width_index == -1 || speed_index == -1) {
@@ -854,35 +885,14 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:2938:40: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
2938 | if (width_index == -1 || speed_index == -1) {
| ~~~~~~~~~~~~^~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_gpu_device_uuid(amdsmi_processor_handle, unsigned int*, char*)':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:1956:12: warning: unused variable 'len' [-Wunused-variable]
- 1956 | size_t len = AMDSMI_GPU_UUID_SIZE;
- | ^~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_pcie_info(amdsmi_processor_handle, amdsmi_pcie_info_t*)':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:2019:51: warning: conversion from 'double' to 'uint32_t' {aka 'unsigned int'} may change value [-Wfloat-conversion]
- 2019 | info->pcie_static.max_pcie_speed = pcie_speed * 1000;
- | ~~~~~~~~~~~^~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_esmi_err_msg(amdsmi_status_t, const char**)':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:3199:24: warning: comparison between 'const enum esmi_status_t' and 'enum amdsmi_status_t' [-Wenum-compare]
- 3199 | if (iter.first == status) {
- | ~~~~~~~~~~~^~~~~~~~~
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_gpu_device.h:47,
- from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_gpu_device.cc:44:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
- 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
- | ^~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_gpu_metrics.cc: In member function 'rsmi_status_t amd::smi::Device::dev_read_gpu_metrics_header_data()':
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_gpu_metrics.cc:2687:8: warning: unused variable 'now_ts' [-Wunused-variable]
+ 2687 | auto now_ts = actual_timestamp_in_secs();
+ | ^~~~~~
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc: In function 'rsmi_status_t rsmi_dev_cache_info_get(uint32_t, rsmi_gpu_cache_info_t*)':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:3868:17: warning: unused variable 'ret' [-Wunused-variable]
3868 | rsmi_status_t ret;
| ^~~
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_system.h:49,
- from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_system.cc:45:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
- 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
- | ^~~~~~~~~
In function 'int amd::smi::parse_pmmetric_table(uint8_t*, metric_field*, int32_t, rsmi_name_value_t**, uint32_t*)',
inlined from 'int amd::smi::present_pmmetrics(const char*, rsmi_name_value_t**, uint32_t*)' at /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:171:29:
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:122:33: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
@@ -892,10 +902,6 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:71:14: note: 'v' was declared here
71 | uint64_t v;
| ^
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_gpu_metrics.cc: In member function 'rsmi_status_t amd::smi::Device::dev_read_gpu_metrics_header_data()':
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_gpu_metrics.cc:2687:8: warning: unused variable 'now_ts' [-Wunused-variable]
- 2687 | auto now_ts = actual_timestamp_in_secs();
- | ^~~~~~
In function 'int amd::smi::parse_reg_state_table(uint8_t*, int32_t, metric_field*, rsmi_name_value_t**, uint32_t*)',
inlined from 'int amd::smi::present_reg_state(const char*, rsmi_reg_type_t, rsmi_name_value_t**, uint32_t*)' at /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:316:33:
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:227:34: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
@@ -927,28 +933,145 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:180:39: note: 'cur_smn' was declared here
180 | int skip_smn, x, y, cur_instance, cur_smn,
| ^~~~~~~
+[ 21%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_logger.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_logger.cc
+[ 23%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex/shared_mutex.cc
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_utils.cc: In function 'std::string amd::smi::splitString(std::string, char)':
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_utils.cc:1081:1: warning: control reaches end of non-void function [-Wreturn-type]
+ 1081 | }
+ | ^
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc: At global scope:
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:1677:13: warning: 'void get_vc_region(uint32_t, std::vector >*, rsmi_freq_volt_region_t*)' defined but not used [-Wunused-function]
+ 1677 | static void get_vc_region(uint32_t start_ind,
+ | ^~~~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:210:13: warning: 'void freq_volt_string_to_point(std::string, rsmi_od_vddc_point_t*)' defined but not used [-Wunused-function]
+ 210 | static void freq_volt_string_to_point(std::string in_line,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~
+[ 25%] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi.c.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/cc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi.c.o -MF CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi.c.o.d -o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi.c.o -c /build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/src/e_smi.c
+[ 26%] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_monitor.c.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/cc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_monitor.c.o -MF CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_monitor.c.o.d -o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_monitor.c.o -c /build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/src/e_smi_monitor.c
+[ 28%] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/cc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o -MF CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o.d -o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o -c /build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/src/e_smi_plat.c
+[ 30%] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/cc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o -MF CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o.d -o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o -c /build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/src/e_smi_utils.c
+[ 31%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_common.cc
+[ 33%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc
+[ 35%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_gpu_device.cc
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_common.cc:45:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
+ 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
+ | ^~~~~~~~~
+[ 36%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_lib_loader.cc
+[ 38%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_socket.cc
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_lib_loader.h:29,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_lib_loader.cc:44:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
+ 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
+ | ^~~~~~~~~
+[ 40%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_system.cc
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc: In member function 'std::string amd::smi::AMDSmiDrm::find_file_in_folder(const std::string&, const std::string&)':
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc:62:61: warning: ignoring attributes on template argument 'int (*)(DIR*)' [-Wignored-attributes]
+ 62 | using dir_ptr = std::unique_ptr;
+ | ^
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc: In member function 'amdsmi_status_t amd::smi::AMDSmiDrm::init()':
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc:176:59: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to 'unsigned char:3' may change value [-Wconversion]
+ 176 | bdf.fields.function_number = device->businfo.pci->func;
+ | ~~~~~~~~~~~~~~~~~~~~~^~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc:177:57: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to 'unsigned char:5' may change value [-Wconversion]
+ 177 | bdf.fields.device_number = device->businfo.pci->dev;
+ | ~~~~~~~~~~~~~~~~~~~~~^~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc:85:20: warning: unused variable 'dir' [-Wunused-variable]
+ 85 | struct dirent *dir = nullptr;
+ | ^~~
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_socket.h:50,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_socket.cc:45:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
+ 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
+ | ^~~~~~~~~
+[ 41%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_gpu_device.h:47,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_gpu_device.cc:44:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
+ 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
+ | ^~~~~~~~~
/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_gpu_asic_info(amdsmi_processor_handle, amdsmi_asic_info_t*)':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:650:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
- 650 | fscanf(fp, "%s", info->asic_serial);
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_pcie_info(amdsmi_processor_handle, amdsmi_pcie_info_t*)':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:1999:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
- 1999 | fscanf(fp, "%d", &pcie_width);
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:2011:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
- 2011 | fscanf(fp, "%lf %s", &pcie_speed, buff);
- | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57:
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:687:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 37 bytes from a string of the same length [-Wstringop-truncation]
+ 687 | strncpy(info->vendor_name, "Advanced Micro Devices Inc. [AMD/ATI]", 37);
+ | ^
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_drm.h:52,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc:50:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
+ 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
+ | ^~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_system.cc: In member function 'amdsmi_status_t amd::smi::AMDSmiSystem::get_gpu_socket_id(uint32_t, std::string&)':
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_system.cc:243:14: warning: unused variable 'function' [-Wunused-variable]
+ 243 | uint64_t function = bdfid & 0x7;
+ | ^~~~~~~~
+[ 43%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_uuid.cc
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_uuid.cc:23:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
+ 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
+ | ^~~~~~~~~
+[ 45%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/fdinfo.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/amd_smi/fdinfo.cc.o -MF CMakeFiles/amd_smi.dir/amd_smi/fdinfo.cc.o.d -o CMakeFiles/amd_smi.dir/amd_smi/fdinfo.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/fdinfo.cc
+[ 46%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_system.h:49,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_system.cc:45:
/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
| ^~~~~~~~~
+[ 48%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_counters.cc
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:64:
+In member function 'void amd::smi::Device::set_bdfid(uint64_t)',
+ inlined from 'void amd::smi::RocmSMI::Initialize(uint64_t)' at /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:298:24:
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include/rocm_smi/rocm_smi_device.h:228:42: warning: 'bdfid' may be used uninitialized [-Wmaybe-uninitialized]
+ 228 | void set_bdfid(uint64_t val) {bdfid_ = val;}
+ | ~~~~~~~^~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc: In member function 'void amd::smi::RocmSMI::Initialize(uint64_t)':
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:275:12: note: 'bdfid' was declared here
+ 275 | uint64_t bdfid;
+ | ^~~~~
/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc: In function 'amdsmi_status_t smi_amdgpu_get_driver_version(amd::smi::AMDSmiGPUDevice*, int*, char*)':
/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:482:46: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
482 | *length = version[len-1] == '\n' ? len - 1 : len;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
-[ 28%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_io_link.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_io_link.cc
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc: In function 'amdsmi_status_t smi_amdgpu_get_board_info(amd::smi::AMDSmiGPUDevice*, amdsmi_board_info_t*)':
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:130:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
+ 130 | fgets(info->model_number, sizeof(info->model_number), fp);
+ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:136:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
+ 136 | fgets(info->product_serial, sizeof(info->product_serial), fp);
+ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:142:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
+ 142 | fgets(info->fru_id, sizeof(info->fru_id), fp);
+ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:148:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
+ 148 | fgets(info->manufacturer_name, sizeof(info->manufacturer_name), fp);
+ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:154:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
+ 154 | fgets(info->product_name, sizeof(info->product_name), fp);
+ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/fdinfo.cc: In function 'amdsmi_status_t gpuvsmi_get_pids(const amdsmi_bdf_t&, std::vector&, uint64_t*)':
/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/fdinfo.cc:76:35: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
76 | snprintf(bdf_str, 13, "%04x:%02x:%02x.%d",
@@ -978,12 +1101,22 @@
| | char (*)[13]
| char*
In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_drm.h:52,
- from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_drm.cc:50:
+ from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_utils.h:27,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:44:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
+ 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
+ | ^~~~~~~~~
+[ 50%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_device.cc
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/fdinfo.cc:31:
/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
| ^~~~~~~~~
+[ 51%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_gpu_metrics.cc
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc: In function 'rsmi_status_t rsmi_ras_feature_info_get(uint32_t, rsmi_ras_feature_info_t*)':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:908:41: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
908 | ras_feature->ras_eeprom_version = eeprom_version;
@@ -991,14 +1124,6 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:932:49: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
932 | ras_feature->ecc_correction_schema_flag = schema;
| ^~~~~~
-[ 30%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_counters.cc
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/fdinfo.cc:31:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
- 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
- | ^~~~~~~~~
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc: In function 'rsmi_status_t get_od_clk_volt_info(uint32_t, rsmi_od_volt_freq_data_t*)':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:1462:33: warning: conversion from 'std::vector >::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
1462 | int last_item = val_vec.size()-1;
@@ -1037,6 +1162,10 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:3868:17: warning: unused variable 'ret' [-Wunused-variable]
3868 | rsmi_status_t ret;
| ^~~
+[ 53%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc
+[ 55%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_io_link.cc
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc: At global scope:
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:1677:13: warning: 'void get_vc_region(uint32_t, std::vector >*, rsmi_freq_volt_region_t*)' defined but not used [-Wunused-function]
1677 | static void get_vc_region(uint32_t start_ind,
@@ -1044,62 +1173,10 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:210:13: warning: 'void freq_volt_string_to_point(std::string, rsmi_od_vddc_point_t*)' defined but not used [-Wunused-function]
210 | static void freq_volt_string_to_point(std::string in_line,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc: In function 'amdsmi_status_t smi_amdgpu_get_board_info(amd::smi::AMDSmiGPUDevice*, amdsmi_board_info_t*)':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:130:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
- 130 | fgets(info->model_number, sizeof(info->model_number), fp);
- | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:136:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
- 136 | fgets(info->product_serial, sizeof(info->product_serial), fp);
- | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:142:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
- 142 | fgets(info->fru_id, sizeof(info->fru_id), fp);
- | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:148:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
- 148 | fgets(info->manufacturer_name, sizeof(info->manufacturer_name), fp);
- | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:154:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
- 154 | fgets(info->product_name, sizeof(info->product_name), fp);
- | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-[ 31%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_device.cc
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/impl/amd_smi_utils.h:27,
- from /build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi_utils.cc:44:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
- 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
- | ^~~~~~~~~
-[ 33%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_kfd.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc
-[ 35%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_gpu_metrics.cc
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc: At global scope:
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:1677:13: warning: 'void get_vc_region(uint32_t, std::vector >*, rsmi_freq_volt_region_t*)' defined but not used [-Wunused-function]
- 1677 | static void get_vc_region(uint32_t start_ind,
- | ^~~~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi.cc:210:13: warning: 'void freq_volt_string_to_point(std::string, rsmi_od_vddc_point_t*)' defined but not used [-Wunused-function]
- 210 | static void freq_volt_string_to_point(std::string in_line,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc: In member function 'int amd::smi::KFDNode::get_used_memory(uint64_t*)':
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc:892:16: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to '__u32' {aka 'unsigned int'} may change value [-Wconversion]
- 892 | mem.gpu_id = gpu_id_;
- | ^~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc: In member function 'int amd::smi::KFDNode::get_cache_info(rsmi_gpu_cache_info_t*)':
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc:939:25: warning: conversion from 'std::__iterator_traits<__gnu_cxx::__normal_iterator >, void>::difference_type' {aka 'long int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
- 939 | std::count(sibling_map.begin(), sibling_map.end(), '1');
- | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-[ 36%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_main.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_gpu_metrics.cc: In member function 'rsmi_status_t amd::smi::Device::dev_read_gpu_metrics_header_data()':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_gpu_metrics.cc:2687:8: warning: unused variable 'now_ts' [-Wunused-variable]
2687 | auto now_ts = actual_timestamp_in_secs();
| ^~~~~~
-[ 38%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc: In function 'amdsmi_status_t amdsmi_get_gpu_asic_info(amdsmi_processor_handle, amdsmi_asic_info_t*)':
-/build/reproducible-path/amdsmi-6.1.2+ds/src/amd_smi/amd_smi.cc:687:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 37 bytes from a string of the same length [-Wstringop-truncation]
- 687 | strncpy(info->vendor_name, "Advanced Micro Devices Inc. [AMD/ATI]", 37);
- | ^
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc: In function 'int amd::smi::present_pmmetrics(const char*, rsmi_name_value_t**, uint32_t*)':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:158:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int32_t' {aka 'int'} may change value [-Wconversion]
158 | len = fread(buf1, 1, 65536, infile);
@@ -1118,15 +1195,8 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:314:16: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int32_t' {aka 'int'} may change value [-Wconversion]
314 | len = fread(buf, 1, sizeof buf, infile);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc: In member function 'uint32_t amd::smi::RocmSMI::DiscoverAmdgpuDevices()':
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:887:14: warning: unused variable 'erasedNodes' [-Wunused-variable]
- 887 | auto erasedNodes = allSystemNodes.erase(0);
- | ^~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:838:16: warning: variable 'primary_location_id' set but not used [-Wunused-but-set-variable]
- 838 | uint64_t primary_location_id = 0;
- | ^~~~~~~~~~~~~~~~~~~
-[ 40%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_io_link.cc
+[ 56%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc
In function 'int amd::smi::parse_pmmetric_table(uint8_t*, metric_field*, int32_t, rsmi_name_value_t**, uint32_t*)',
inlined from 'int amd::smi::present_pmmetrics(const char*, rsmi_name_value_t**, uint32_t*)' at /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:171:29:
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:122:33: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
@@ -1167,16 +1237,8 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_binary_parser.cc:180:39: note: 'cur_smn' was declared here
180 | int skip_smn, x, y, cur_instance, cur_smn,
| ^~~~~~~
-[ 41%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_monitor.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_monitor.cc
-[ 43%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_power_mon.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_power_mon.cc
-[ 45%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc
-[ 46%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_main.cc.o
+[ 58%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_main.cc.o
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_main.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_main.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_main.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc
-[ 48%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_utils.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_utils.cc
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc: In member function 'int amd::smi::KFDNode::get_used_memory(uint64_t*)':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc:892:16: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to '__u32' {aka 'unsigned int'} may change value [-Wconversion]
892 | mem.gpu_id = gpu_id_;
@@ -1185,9 +1247,7 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_kfd.cc:939:25: warning: conversion from 'std::__iterator_traits<__gnu_cxx::__normal_iterator >, void>::difference_type' {aka 'long int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
939 | std::count(sibling_map.begin(), sibling_map.end(), '1');
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-[ 50%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_logger.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_logger.cc
-[ 51%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_monitor.cc.o
+[ 60%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_monitor.cc.o
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_monitor.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_monitor.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_monitor.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_monitor.cc
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc: In member function 'uint32_t amd::smi::RocmSMI::DiscoverAmdgpuDevices()':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:887:14: warning: unused variable 'erasedNodes' [-Wunused-variable]
@@ -1196,34 +1256,10 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:838:16: warning: variable 'primary_location_id' set but not used [-Wunused-but-set-variable]
838 | uint64_t primary_location_id = 0;
| ^~~~~~~~~~~~~~~~~~~
-[ 53%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_power_mon.cc.o
+[ 61%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_power_mon.cc.o
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_power_mon.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_power_mon.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_power_mon.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_power_mon.cc
-[ 55%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex/shared_mutex.cc
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:64:
-In member function 'void amd::smi::Device::set_bdfid(uint64_t)',
- inlined from 'void amd::smi::RocmSMI::Initialize(uint64_t)' at /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:298:24:
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include/rocm_smi/rocm_smi_device.h:228:42: warning: 'bdfid' may be used uninitialized [-Wmaybe-uninitialized]
- 228 | void set_bdfid(uint64_t val) {bdfid_ = val;}
- | ~~~~~~~^~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc: In member function 'void amd::smi::RocmSMI::Initialize(uint64_t)':
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:275:12: note: 'bdfid' was declared here
- 275 | uint64_t bdfid;
- | ^~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_utils.cc: In function 'std::string amd::smi::splitString(std::string, char)':
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_utils.cc:1081:1: warning: control reaches end of non-void function [-Wreturn-type]
- 1081 | }
- | ^
-[ 56%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_utils.cc.o
+[ 63%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_utils.cc.o
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_utils.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_utils.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_utils.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_utils.cc
-[ 58%] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi.c.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/cc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi.c.o -MF CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi.c.o.d -o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi.c.o -c /build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/src/e_smi.c
-[ 60%] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_monitor.c.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/cc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_monitor.c.o -MF CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_monitor.c.o.d -o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_monitor.c.o -c /build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/src/e_smi_monitor.c
-[ 61%] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/cc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o -MF CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o.d -o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o -c /build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/src/e_smi_plat.c
-[ 63%] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/cc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o -MF CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o.d -o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o -c /build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/src/e_smi_utils.c
[ 65%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_logger.cc.o
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_logger.cc.o -MF CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_logger.cc.o.d -o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_logger.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_logger.cc
[ 66%] Building CXX object src/CMakeFiles/amd_smi.dir/__/third_party/shared_mutex/shared_mutex.cc.o
@@ -1236,6 +1272,10 @@
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/cc -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o -MF CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o.d -o CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o -c /build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/src/e_smi_plat.c
[ 73%] Building C object src/CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/cc -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -I/build/reproducible-path/amdsmi-6.1.2+ds/common/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o -MF CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o.d -o CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o -c /build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/src/e_smi_utils.c
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_utils.cc: In function 'std::string amd::smi::splitString(std::string, char)':
+/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_utils.cc:1081:1: warning: control reaches end of non-void function [-Wreturn-type]
+ 1081 | }
+ | ^
In file included from /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:64:
In member function 'void amd::smi::Device::set_bdfid(uint64_t)',
inlined from 'void amd::smi::RocmSMI::Initialize(uint64_t)' at /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:298:24:
@@ -1246,10 +1286,6 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_main.cc:275:12: note: 'bdfid' was declared here
275 | uint64_t bdfid;
| ^~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_utils.cc: In function 'std::string amd::smi::splitString(std::string, char)':
-/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/src/rocm_smi_utils.cc:1081:1: warning: control reaches end of non-void function [-Wreturn-type]
- 1081 | }
- | ^
[ 75%] Linking CXX shared library librocm_smi64.so
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/cmake -E cmake_link_script CMakeFiles/rocm_smi64.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -Wl,--dependency-file,CMakeFiles/rocm_smi64.dir/link.d -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,librocm_smi64.so.1 -o librocm_smi64.so.1.0 CMakeFiles/rocm_smi64.dir/src/rocm_smi.cc.o CMakeFiles/rocm_smi64.dir/src/rocm_smi_counters.cc.o CMakeFiles/rocm_smi64.dir/src/rocm_smi_device.cc.o CMakeFiles/rocm_smi64.dir/src/rocm_smi_gpu_metrics.cc.o CMakeFiles/rocm_smi64.dir/src/rocm_smi_binary_parser.cc.o CMakeFiles/rocm_smi64.dir/src/rocm_smi_io_link.cc.o CMakeFiles/rocm_smi64.dir/src/rocm_smi_kfd.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_logger.cc.o CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi.c.o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_monitor.c.o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o CMakeFiles/rocm_smi64.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o -lpthread -lrt -ldl
@@ -1264,8 +1300,6 @@
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
[ 76%] Building CXX object rocm_smi/CMakeFiles/rocm_smi_ex.dir/example/rocm_smi_example.cc.o
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++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 /build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/example/rocm_smi_example.cc
-[ 78%] Linking CXX shared library libamd_smi.so
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi.dir/link.txt --verbose=1
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/example/rocm_smi_example.cc: In function 'rsmi_status_t test_set_compute_partitioning(uint32_t)':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/example/rocm_smi_example.cc:633:44: warning: the address of 'originalComputePartition' will never be NULL [-Waddress]
633 | << (((originalComputePartition == nullptr)
@@ -1317,12 +1351,9 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/example/rocm_smi_example.cc:818:10: note: 'memory_partition' declared here
818 | char memory_partition[kLength];
| ^~~~~~~~~~~~~~~~
-/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -Wl,--dependency-file,CMakeFiles/amd_smi.dir/link.d -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libamd_smi.so.0 -o libamd_smi.so.0.0 CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o CMakeFiles/amd_smi.dir/amd_smi/fdinfo.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_main.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_monitor.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_power_mon.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_utils.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_logger.cc.o CMakeFiles/amd_smi.dir/__/third_party/shared_mutex/shared_mutex.cc.o CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi.c.o CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_monitor.c.o CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o -lpthread -lrt -ldl
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/example/rocm_smi_example.cc:1214:49: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to 'float' may change value [-Wconversion]
1214 | std::cout << (static_cast(val_i64)/val_ui64) * 100;
| ^~~~~~~~
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/cmake -E cmake_symlink_library libamd_smi.so.0.0 libamd_smi.so.0 libamd_smi.so
-make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/example/rocm_smi_example.cc: In instantiation of 'constexpr float convert_mw_to_w(T) [with T = long unsigned int]':
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/example/rocm_smi_example.cc:1245:35: required from here
1245 | std::cout << convert_mw_to_w(val_ui64) << " W" << "\n";
@@ -1330,73 +1361,83 @@
/build/reproducible-path/amdsmi-6.1.2+ds/rocm_smi/example/rocm_smi_example.cc:730:31: warning: conversion from 'long unsigned int' to 'double' may change value [-Wconversion]
730 | return static_cast(mw / 1000.0);
| ^~
-[ 78%] Built target amd_smi
+[ 78%] Linking CXX shared library libamd_smi.so
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi.dir/link.txt --verbose=1
+[ 80%] Linking CXX executable rocm_smi_ex
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/cmake -E cmake_link_script CMakeFiles/rocm_smi_ex.dir/link.txt --verbose=1
+/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -Wl,-z,relro -Wl,-z,now -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,/build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi librocm_smi64.so.1.0 -lpthread -lrt -ldl
+make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
+[ 80%] Built target rocm_smi_ex
+/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -Wl,--dependency-file,CMakeFiles/amd_smi.dir/link.d -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libamd_smi.so.0 -o libamd_smi.so.0.0 CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o CMakeFiles/amd_smi.dir/amd_smi/fdinfo.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_main.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_monitor.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_power_mon.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_utils.cc.o CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_logger.cc.o CMakeFiles/amd_smi.dir/__/third_party/shared_mutex/shared_mutex.cc.o CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi.c.o CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_monitor.c.o CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_plat.c.o CMakeFiles/amd_smi.dir/__/debian/esmi_ib_library/src/e_smi_utils.c.o -lpthread -lrt -ldl
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/cmake -E cmake_symlink_library libamd_smi.so.0.0 libamd_smi.so.0 libamd_smi.so
+make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
+[ 80%] Built target amd_smi
make -f src/CMakeFiles/amd_smi_ex.dir/build.make src/CMakeFiles/amd_smi_ex.dir/depend
-make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
make -f example/CMakeFiles/amd_smi_drm_ex.dir/build.make example/CMakeFiles/amd_smi_drm_ex.dir/depend
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/src /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/src /build/reproducible-path/amdsmi-6.1.2+ds/build/src/CMakeFiles/amd_smi_ex.dir/DependInfo.cmake "--color="
make -f example/CMakeFiles/amd_smi_nodrm_ex.dir/build.make example/CMakeFiles/amd_smi_nodrm_ex.dir/depend
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/example /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/example /build/reproducible-path/amdsmi-6.1.2+ds/build/example/CMakeFiles/amd_smi_drm_ex.dir/DependInfo.cmake "--color="
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/src /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/src /build/reproducible-path/amdsmi-6.1.2+ds/build/src/CMakeFiles/amd_smi_ex.dir/DependInfo.cmake "--color="
make -f example/CMakeFiles/amd_smi_esmi_ex.dir/build.make example/CMakeFiles/amd_smi_esmi_ex.dir/depend
make -f py-interface/CMakeFiles/python_wrapper.dir/build.make py-interface/CMakeFiles/python_wrapper.dir/depend
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/example /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/example /build/reproducible-path/amdsmi-6.1.2+ds/build/example/CMakeFiles/amd_smi_drm_ex.dir/DependInfo.cmake "--color="
+make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/example /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/example /build/reproducible-path/amdsmi-6.1.2+ds/build/example/CMakeFiles/amd_smi_nodrm_ex.dir/DependInfo.cmake "--color="
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/example /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/example /build/reproducible-path/amdsmi-6.1.2+ds/build/example/CMakeFiles/amd_smi_esmi_ex.dir/DependInfo.cmake "--color="
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/py-interface /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface/CMakeFiles/python_wrapper.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-make -f src/CMakeFiles/amd_smi_ex.dir/build.make src/CMakeFiles/amd_smi_ex.dir/build
-make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
make -f example/CMakeFiles/amd_smi_drm_ex.dir/build.make example/CMakeFiles/amd_smi_drm_ex.dir/build
-make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
+make -f src/CMakeFiles/amd_smi_ex.dir/build.make src/CMakeFiles/amd_smi_ex.dir/build
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-make -f example/CMakeFiles/amd_smi_nodrm_ex.dir/build.make example/CMakeFiles/amd_smi_nodrm_ex.dir/build
+make -f example/CMakeFiles/amd_smi_esmi_ex.dir/build.make example/CMakeFiles/amd_smi_esmi_ex.dir/build
+make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
+make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-[ 80%] Building CXX object src/CMakeFiles/amd_smi_ex.dir/__/example/amd_smi_drm_example.cc.o
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-make -f py-interface/CMakeFiles/python_wrapper.dir/build.make py-interface/CMakeFiles/python_wrapper.dir/build
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -MD -MT src/CMakeFiles/amd_smi_ex.dir/__/example/amd_smi_drm_example.cc.o -MF CMakeFiles/amd_smi_ex.dir/__/example/amd_smi_drm_example.cc.o.d -o CMakeFiles/amd_smi_ex.dir/__/example/amd_smi_drm_example.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc
-[ 81%] Building CXX object example/CMakeFiles/amd_smi_drm_ex.dir/amd_smi_drm_example.cc.o
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/example && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -MD -MT example/CMakeFiles/amd_smi_drm_ex.dir/amd_smi_drm_example.cc.o -MF CMakeFiles/amd_smi_drm_ex.dir/amd_smi_drm_example.cc.o.d -o CMakeFiles/amd_smi_drm_ex.dir/amd_smi_drm_example.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-make -f example/CMakeFiles/amd_smi_esmi_ex.dir/build.make example/CMakeFiles/amd_smi_esmi_ex.dir/build
+make -f example/CMakeFiles/amd_smi_nodrm_ex.dir/build.make example/CMakeFiles/amd_smi_nodrm_ex.dir/build
+make -f py-interface/CMakeFiles/python_wrapper.dir/build.make py-interface/CMakeFiles/python_wrapper.dir/build
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-[ 83%] Building CXX object example/CMakeFiles/amd_smi_nodrm_ex.dir/amd_smi_nodrm_example.cc.o
-[ 85%] Generating amdsmi_wrapper.py, python_package/amdsmi/amdsmi_wrapper.py
-[ 86%] Building CXX object example/CMakeFiles/amd_smi_esmi_ex.dir/amdsmi_esmi_intg_example.cc.o
+[ 81%] Building CXX object src/CMakeFiles/amd_smi_ex.dir/__/example/amd_smi_drm_example.cc.o
+[ 83%] Building CXX object example/CMakeFiles/amd_smi_esmi_ex.dir/amdsmi_esmi_intg_example.cc.o
+[ 85%] Building CXX object example/CMakeFiles/amd_smi_drm_ex.dir/amd_smi_drm_example.cc.o
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -MD -MT src/CMakeFiles/amd_smi_ex.dir/__/example/amd_smi_drm_example.cc.o -MF CMakeFiles/amd_smi_ex.dir/__/example/amd_smi_drm_example.cc.o.d -o CMakeFiles/amd_smi_ex.dir/__/example/amd_smi_drm_example.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/example && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -MD -MT example/CMakeFiles/amd_smi_esmi_ex.dir/amdsmi_esmi_intg_example.cc.o -MF CMakeFiles/amd_smi_esmi_ex.dir/amdsmi_esmi_intg_example.cc.o.d -o CMakeFiles/amd_smi_esmi_ex.dir/amdsmi_esmi_intg_example.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/example && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -MD -MT example/CMakeFiles/amd_smi_nodrm_ex.dir/amd_smi_nodrm_example.cc.o -MF CMakeFiles/amd_smi_nodrm_ex.dir/amd_smi_nodrm_example.cc.o.d -o CMakeFiles/amd_smi_nodrm_ex.dir/amd_smi_nodrm_example.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_nodrm_example.cc
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/example && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -MD -MT example/CMakeFiles/amd_smi_drm_ex.dir/amd_smi_drm_example.cc.o -MF CMakeFiles/amd_smi_drm_ex.dir/amd_smi_drm_example.cc.o.d -o CMakeFiles/amd_smi_drm_ex.dir/amd_smi_drm_example.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc
+[ 86%] Generating amdsmi_wrapper.py, python_package/amdsmi/amdsmi_wrapper.py
+[ 88%] Building CXX object example/CMakeFiles/amd_smi_nodrm_ex.dir/amd_smi_nodrm_example.cc.o
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface && mkdir -p python_package/amdsmi
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/example && /usr/bin/c++ -DENABLE_ESMI_LIB=1 -I/build/reproducible-path/amdsmi-6.1.2+ds/include -I/build/reproducible-path/amdsmi-6.1.2+ds/third_party/shared_mutex -I/build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi -I/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include -I/usr/include/libdrm -I/build/reproducible-path/amdsmi-6.1.2+ds/src/include -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -std=c++17 -MD -MT example/CMakeFiles/amd_smi_nodrm_ex.dir/amd_smi_nodrm_example.cc.o -MF CMakeFiles/amd_smi_nodrm_ex.dir/amd_smi_nodrm_example.cc.o.d -o CMakeFiles/amd_smi_nodrm_ex.dir/amd_smi_nodrm_example.cc.o -c /build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_nodrm_example.cc
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/py-interface/amdsmi_wrapper.py python_package/amdsmi/
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-[ 86%] Built target python_wrapper
+[ 88%] Built target python_wrapper
make -f py-interface/CMakeFiles/python_package.dir/build.make py-interface/CMakeFiles/python_package.dir/depend
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/py-interface /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface/CMakeFiles/python_package.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
make -f py-interface/CMakeFiles/python_package.dir/build.make py-interface/CMakeFiles/python_package.dir/build
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-[ 88%] Generating python_package/amdsmi/__init__.py, python_package/amdsmi/amdsmi_exception.py, python_package/amdsmi/amdsmi_interface.py, python_package/amdsmi/README.md, python_package/amdsmi/LICENSE
+[ 91%] Generating python_package/amdsmi/__init__.py, python_package/amdsmi/amdsmi_exception.py, python_package/amdsmi/amdsmi_interface.py, python_package/amdsmi/README.md, python_package/amdsmi/LICENSE
+[ 91%] Generating python_package/amdsmi/libamd_smi.so
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/py-interface/__init__.py python_package/amdsmi/
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface && cp /build/reproducible-path/amdsmi-6.1.2+ds/build/src/libamd_smi.so python_package/amdsmi/
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/py-interface/amdsmi_exception.py python_package/amdsmi/
-[ 90%] Generating python_package/amdsmi/libamd_smi.so
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/py-interface/amdsmi_interface.py python_package/amdsmi/
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface && cp /build/reproducible-path/amdsmi-6.1.2+ds/build/src/libamd_smi.so python_package/amdsmi/
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/py-interface/README.md python_package/amdsmi/
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/py-interface && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/LICENSE python_package/amdsmi/
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-[ 90%] Built target python_package
+[ 91%] Built target python_package
make -f amdsmi_cli/CMakeFiles/amdsmi_cli.dir/build.make amdsmi_cli/CMakeFiles/amdsmi_cli.dir/depend
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli/CMakeFiles/amdsmi_cli.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
make -f amdsmi_cli/CMakeFiles/amdsmi_cli.dir/build.make amdsmi_cli/CMakeFiles/amdsmi_cli.dir/build
make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-[ 91%] Generating amdsmi_cli/__init__.py, amdsmi_cli/amdsmi_cli.py, amdsmi_cli/amdsmi_commands.py, amdsmi_cli/amdsmi_helpers.py, amdsmi_cli/amdsmi_init.py, amdsmi_cli/amdsmi_logger.py, amdsmi_cli/amdsmi_parser.py, amdsmi_cli/amdsmi_cli_exceptions.py, amdsmi_cli/rocm_version.py, amdsmi_cli/BDF.py, amdsmi_cli/README.md, amdsmi_cli/Release_Notes.md
+[ 93%] Generating amdsmi_cli/__init__.py, amdsmi_cli/amdsmi_cli.py, amdsmi_cli/amdsmi_commands.py, amdsmi_cli/amdsmi_helpers.py, amdsmi_cli/amdsmi_init.py, amdsmi_cli/amdsmi_logger.py, amdsmi_cli/amdsmi_parser.py, amdsmi_cli/amdsmi_cli_exceptions.py, amdsmi_cli/rocm_version.py, amdsmi_cli/BDF.py, amdsmi_cli/README.md, amdsmi_cli/Release_Notes.md
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && mkdir -p amdsmi_cli/
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli/__init__.py amdsmi_cli/
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli/amdsmi_cli.py amdsmi_cli/
@@ -1408,6 +1449,54 @@
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli/amdsmi_cli_exceptions.py amdsmi_cli/
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli/rocm_version.py amdsmi_cli/
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli/BDF.py amdsmi_cli/
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli/README.md amdsmi_cli/
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli/Release_Notes.md amdsmi_cli/
+make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
+[ 93%] Built target amdsmi_cli
+make -f amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/build.make amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/depend
+make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/DependInfo.cmake "--color="
+make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
+make -f amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/build.make amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/build
+make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && /usr/bin/cmake -E create_symlink ../libexec/amdsmi_cli/amdsmi_cli.py /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli/bin/amd-smi
+make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
+[ 93%] Built target link_amdsmi_cli
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_nodrm_example.cc: In function 'int main()':
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_nodrm_example.cc:341:33: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
+ 341 | for (int x=0; x < policy.num_supported; x++) {
+ | ~~^~~~~~~~~~~~~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc: In function 'int main()':
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:416:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
+ 416 | printf("\tPCIe replay count: %d\n", pcie_info.pcie_metric.pcie_replay_count);
+ | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ | | |
+ | int uint64_t {aka long unsigned int}
+ | %ld
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:417:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
+ 417 | printf("\tPCIe L0 recovery count: %d\n", pcie_info.pcie_metric.pcie_l0_to_recovery_count);
+ | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ | | |
+ | int uint64_t {aka long unsigned int}
+ | %ld
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:418:45: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
+ 418 | printf("\tPCIe rollover count: %d\n", pcie_info.pcie_metric.pcie_replay_roll_over_count);
+ | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ | | |
+ | int uint64_t {aka long unsigned int}
+ | %ld
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:419:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
+ 419 | printf("\tPCIe nak received count: %d\n", pcie_info.pcie_metric.pcie_nak_received_count);
+ | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ | | |
+ | int uint64_t {aka long unsigned int}
+ | %ld
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:420:45: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
+ 420 | printf("\tPCIe nak sent count: %d\n", pcie_info.pcie_metric.pcie_nak_sent_count);
+ | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ | | |
+ | int uint64_t {aka long unsigned int}
+ | %ld
/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc: In function 'int main()':
/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:416:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
416 | printf("\tPCIe replay count: %d\n", pcie_info.pcie_metric.pcie_replay_count);
@@ -1439,7 +1528,6 @@
| | |
| int uint64_t {aka long unsigned int}
| %ld
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli/README.md amdsmi_cli/
/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:555:47: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'amdsmi_process_handle_t' {aka 'unsigned int'} [-Wformat=]
555 | printf("\t *Process id: %ld / Name: %s / VRAM: %lld \n", process.pid, process.name, process.memory_usage.vram_mem);
| ~~^ ~~~~~~~~~~~
@@ -1473,48 +1561,6 @@
/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:549:21: warning: unused variable 'num' [-Wunused-variable]
549 | int num = 0;
| ^~~
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && ln -Pf /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli/Release_Notes.md amdsmi_cli/
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:525:18: warning: variable 'compare' set but not used [-Wunused-but-set-variable]
- 525 | auto compare = [](const void *a, const void *b) -> int {
- | ^~~~~~~
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:56:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
- 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
- | ^~~~~~~~~
-make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc: In function 'int main()':
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:416:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
- 416 | printf("\tPCIe replay count: %d\n", pcie_info.pcie_metric.pcie_replay_count);
- | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | | |
- | int uint64_t {aka long unsigned int}
- | %ld
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:417:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
- 417 | printf("\tPCIe L0 recovery count: %d\n", pcie_info.pcie_metric.pcie_l0_to_recovery_count);
- | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | | |
- | int uint64_t {aka long unsigned int}
- | %ld
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:418:45: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
- 418 | printf("\tPCIe rollover count: %d\n", pcie_info.pcie_metric.pcie_replay_roll_over_count);
- | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | | |
- | int uint64_t {aka long unsigned int}
- | %ld
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:419:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
- 419 | printf("\tPCIe nak received count: %d\n", pcie_info.pcie_metric.pcie_nak_received_count);
- | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | | |
- | int uint64_t {aka long unsigned int}
- | %ld
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:420:45: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=]
- 420 | printf("\tPCIe nak sent count: %d\n", pcie_info.pcie_metric.pcie_nak_sent_count);
- | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | | |
- | int uint64_t {aka long unsigned int}
- | %ld
/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:555:47: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'amdsmi_process_handle_t' {aka 'unsigned int'} [-Wformat=]
555 | printf("\t *Process id: %ld / Name: %s / VRAM: %lld \n", process.pid, process.name, process.memory_usage.vram_mem);
| ~~^ ~~~~~~~~~~~
@@ -1548,23 +1594,18 @@
/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:549:21: warning: unused variable 'num' [-Wunused-variable]
549 | int num = 0;
| ^~~
-[ 91%] Built target amdsmi_cli
-make -f amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/build.make amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/depend
-make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/amdsmi-6.1.2+ds /build/reproducible-path/amdsmi-6.1.2+ds/amdsmi_cli /build/reproducible-path/amdsmi-6.1.2+ds/build /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/DependInfo.cmake "--color="
/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:525:18: warning: variable 'compare' set but not used [-Wunused-but-set-variable]
525 | auto compare = [](const void *a, const void *b) -> int {
| ^~~~~~~
-make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-make -f amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/build.make amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/build
-make[3]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli && /usr/bin/cmake -E create_symlink ../libexec/amdsmi_cli/amdsmi_cli.py /build/reproducible-path/amdsmi-6.1.2+ds/build/amdsmi_cli/bin/amd-smi
-make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-[ 91%] Built target link_amdsmi_cli
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_nodrm_example.cc: In function 'int main()':
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_nodrm_example.cc:341:33: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
- 341 | for (int x=0; x < policy.num_supported; x++) {
- | ~~^~~~~~~~~~~~~~~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:525:18: warning: variable 'compare' set but not used [-Wunused-but-set-variable]
+ 525 | auto compare = [](const void *a, const void *b) -> int {
+ | ^~~~~~~
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_nodrm_example.cc:56:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
+ 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
+ | ^~~~~~~~~
In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
from /build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:56:
/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
@@ -1572,11 +1613,32 @@
22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
| ^~~~~~~~~
In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_nodrm_example.cc:56:
+ from /build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:56:
/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
| ^~~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc: In function 'int main(int, char**)':
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc:180:28: warning: unused variable 'cclk' [-Wunused-variable]
+ 180 | uint32_t fclk, mclk, cclk;
+ | ^~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc:288:19: warning: unused variable 'err_str1' [-Wunused-variable]
+ 288 | const char* err_str1;
+ | ^~~~~~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc:77:14: warning: unused parameter 'argc' [-Wunused-parameter]
+ 77 | int main(int argc, char **argv) {
+ | ~~~~^~~~
+/build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc:77:27: warning: unused parameter 'argv' [-Wunused-parameter]
+ 77 | int main(int argc, char **argv) {
+ | ~~~~~~~^~~~
+In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
+ from /build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc:50:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
+/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
+ 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
+ | ^~~~~~~~~
+[ 95%] Linking CXX executable amd_smi_nodrm_ex
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/example && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi_nodrm_ex.dir/link.txt --verbose=1
/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc: In function 'int main()':
/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:544:53: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
544 | sprintf(bdf_str, "%04lx:%02x:%02x.%d",
@@ -1597,19 +1659,6 @@
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc: In function 'int main(int, char**)':
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc:180:28: warning: unused variable 'cclk' [-Wunused-variable]
- 180 | uint32_t fclk, mclk, cclk;
- | ^~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc:288:19: warning: unused variable 'err_str1' [-Wunused-variable]
- 288 | const char* err_str1;
- | ^~~~~~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc:77:14: warning: unused parameter 'argc' [-Wunused-parameter]
- 77 | int main(int argc, char **argv) {
- | ~~~~^~~~
-/build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc:77:27: warning: unused parameter 'argv' [-Wunused-parameter]
- 77 | int main(int argc, char **argv) {
- | ~~~~~~~^~~~
/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc: In function 'int main()':
/build/reproducible-path/amdsmi-6.1.2+ds/example/amd_smi_drm_example.cc:544:53: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]
544 | sprintf(bdf_str, "%04lx:%02x:%02x.%d",
@@ -1630,42 +1679,29 @@
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
-In file included from /build/reproducible-path/amdsmi-6.1.2+ds/include/amd_smi/amdsmi.h:57,
- from /build/reproducible-path/amdsmi-6.1.2+ds/example/amdsmi_esmi_intg_example.cc:50:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h: At global scope:
-/build/reproducible-path/amdsmi-6.1.2+ds/debian/esmi_ib_library/include/e_smi/e_smi.h:22:20: warning: 'bw_string' defined but not used [-Wunused-variable]
- 22 | static const char *bw_string[3] = {"aggregate", "read", "write"}; //!< bandwidth types for io/xgmi links
- | ^~~~~~~~~
-[ 93%] Linking CXX executable amd_smi_drm_ex
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/example && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi_drm_ex.dir/link.txt --verbose=1
-[ 95%] Linking CXX executable amd_smi_nodrm_ex
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/example && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi_nodrm_ex.dir/link.txt --verbose=1
-/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file,CMakeFiles/amd_smi_drm_ex.dir/link.d CMakeFiles/amd_smi_drm_ex.dir/amd_smi_drm_example.cc.o -o amd_smi_drm_ex -Wl,-rpath,/build/reproducible-path/amdsmi-6.1.2+ds/build/src ../src/libamd_smi.so.0.0 -lpthread -lrt -ldl
-make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-[ 95%] Built target amd_smi_drm_ex
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file,CMakeFiles/amd_smi_nodrm_ex.dir/link.d CMakeFiles/amd_smi_nodrm_ex.dir/amd_smi_nodrm_example.cc.o -o amd_smi_nodrm_ex -Wl,-rpath,/build/reproducible-path/amdsmi-6.1.2+ds/build/src ../src/libamd_smi.so.0.0 -lpthread -lrt -ldl
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
[ 95%] Built target amd_smi_nodrm_ex
[ 96%] Linking CXX executable amd_smi_esmi_ex
cd /build/reproducible-path/amdsmi-6.1.2+ds/build/example && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi_esmi_ex.dir/link.txt --verbose=1
-[ 98%] Linking CXX executable amd_smi_ex
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi_ex.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file,CMakeFiles/amd_smi_esmi_ex.dir/link.d CMakeFiles/amd_smi_esmi_ex.dir/amdsmi_esmi_intg_example.cc.o -o amd_smi_esmi_ex -Wl,-rpath,/build/reproducible-path/amdsmi-6.1.2+ds/build/src ../src/libamd_smi.so.0.0 -lpthread -lrt -ldl
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
+[ 96%] Built target amd_smi_esmi_ex
+[ 98%] Linking CXX executable amd_smi_ex
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi_ex.dir/link.txt --verbose=1
+[100%] Linking CXX executable amd_smi_drm_ex
+cd /build/reproducible-path/amdsmi-6.1.2+ds/build/example && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi_drm_ex.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file,CMakeFiles/amd_smi_ex.dir/link.d CMakeFiles/amd_smi_ex.dir/__/example/amd_smi_drm_example.cc.o -o amd_smi_ex -Wl,-rpath,/build/reproducible-path/amdsmi-6.1.2+ds/build/src libamd_smi.so.0.0 -lpthread -lrt -ldl
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-[ 98%] Built target amd_smi_esmi_ex
-[ 98%] Built target amd_smi_ex
-[100%] Linking CXX executable rocm_smi_ex
-cd /build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi && /usr/bin/cmake -E cmake_link_script CMakeFiles/rocm_smi_ex.dir/link.txt --verbose=1
-/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -Wl,-z,relro -Wl,-z,now -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,/build/reproducible-path/amdsmi-6.1.2+ds/build/rocm_smi librocm_smi64.so.1.0 -lpthread -lrt -ldl
+[100%] Built target amd_smi_ex
+/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/amdsmi-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -Wno-write-strings -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file,CMakeFiles/amd_smi_drm_ex.dir/link.d CMakeFiles/amd_smi_drm_ex.dir/amd_smi_drm_example.cc.o -o amd_smi_drm_ex -Wl,-rpath,/build/reproducible-path/amdsmi-6.1.2+ds/build/src ../src/libamd_smi.so.0.0 -lpthread -lrt -ldl
make[3]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
-[100%] Built target rocm_smi_ex
+[100%] Built target amd_smi_drm_ex
make[2]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
/usr/bin/cmake -E cmake_progress_start /build/reproducible-path/amdsmi-6.1.2+ds/build/CMakeFiles 0
make[1]: Leaving directory '/build/reproducible-path/amdsmi-6.1.2+ds/build'
dh_auto_test -O-Scmake -O--builddir=build
- rm -fr -- /tmp/dh-xdg-rundir-9GQr3d2L
+ rm -fr -- /tmp/dh-xdg-rundir-tYOf8Zfh
create-stamp debian/debhelper-build-stamp
dh_testroot -O-Scmake -O--builddir=build
dh_prep -O-Scmake -O--builddir=build
@@ -1701,28 +1737,28 @@
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/setup.cfg
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/_version.py
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/amdsmi_wrapper.py
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/README.md
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/amdsmi_interface.py
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/libamd_smi.so
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/amdsmi_exception.py
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/__init__.py
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/_version.py
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/LICENSE
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/amdsmi_interface.py
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/_version.py
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/__init__.py
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/amdsmi_wrapper.py
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/share/amd_smi/amdsmi/README.md
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/README.md
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_logger.py
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_helpers.py
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_cli_exceptions.py
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_parser.py
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_cli.py
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/Release_Notes.md
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_init.py
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/_version.py
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_logger.py
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/__init__.py
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_commands.py
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/BDF.py
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/_version.py
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_cli.py
--- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/Release_Notes.md
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_cli_exceptions.py
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_parser.py
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/rocm_version.py
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/README.md
+-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_commands.py
-- Up-to-date: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/libexec/amdsmi_cli/amdsmi_cli.py
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/bin/amd-smi
-- Installing: /build/reproducible-path/amdsmi-6.1.2+ds/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/amd_smi/amd_smi-config.cmake
@@ -1759,12 +1795,12 @@
install -m0755 -d debian/amd-smi/usr/share/doc/amd-smi
install -p -m0644 debian/.debhelper/generated/amd-smi/dh_installchangelogs.dch.trimmed debian/amd-smi/usr/share/doc/amd-smi/changelog.Debian
install -p -m0644 ./CHANGELOG.md debian/amd-smi/usr/share/doc/amd-smi/changelog
- install -m0755 -d debian/libamd-smi0/usr/share/doc/libamd-smi0
- install -p -m0644 debian/.debhelper/generated/libamd-smi0/dh_installchangelogs.dch.trimmed debian/libamd-smi0/usr/share/doc/libamd-smi0/changelog.Debian
- install -p -m0644 ./CHANGELOG.md debian/libamd-smi0/usr/share/doc/libamd-smi0/changelog
install -m0755 -d debian/libamd-smi-dev/usr/share/doc/libamd-smi-dev
install -p -m0644 debian/.debhelper/generated/libamd-smi-dev/dh_installchangelogs.dch.trimmed debian/libamd-smi-dev/usr/share/doc/libamd-smi-dev/changelog.Debian
install -p -m0644 ./CHANGELOG.md debian/libamd-smi-dev/usr/share/doc/libamd-smi-dev/changelog
+ install -m0755 -d debian/libamd-smi0/usr/share/doc/libamd-smi0
+ install -p -m0644 debian/.debhelper/generated/libamd-smi0/dh_installchangelogs.dch.trimmed debian/libamd-smi0/usr/share/doc/libamd-smi0/changelog.Debian
+ install -p -m0644 ./CHANGELOG.md debian/libamd-smi0/usr/share/doc/libamd-smi0/changelog
rm -f debian/amd-smi.debhelper.log debian/libamd-smi-dev.debhelper.log debian/libamd-smi0.debhelper.log
debian/rules override_dh_installman
make[1]: Entering directory '/build/reproducible-path/amdsmi-6.1.2+ds'
@@ -1794,31 +1830,31 @@
cd debian/amd-smi
cd debian/libamd-smi0
cd debian/libamd-smi-dev
- chmod a-x usr/share/doc/libamd-smi-dev/changelog usr/share/doc/libamd-smi-dev/changelog.Debian
- chmod a-x usr/share/doc/amd-smi/changelog usr/share/doc/amd-smi/changelog.Debian usr/share/man/man1/amd-smi.1
- gzip -9nf usr/share/doc/libamd-smi-dev/changelog usr/share/doc/libamd-smi-dev/changelog.Debian
- gzip -9nf usr/share/doc/amd-smi/changelog usr/share/doc/amd-smi/changelog.Debian usr/share/man/man1/amd-smi.1
chmod a-x usr/share/doc/libamd-smi0/changelog usr/share/doc/libamd-smi0/changelog.Debian
+ chmod a-x usr/share/doc/amd-smi/changelog usr/share/doc/amd-smi/changelog.Debian usr/share/man/man1/amd-smi.1
+ chmod a-x usr/share/doc/libamd-smi-dev/changelog usr/share/doc/libamd-smi-dev/changelog.Debian
gzip -9nf usr/share/doc/libamd-smi0/changelog usr/share/doc/libamd-smi0/changelog.Debian
+ gzip -9nf usr/share/doc/amd-smi/changelog usr/share/doc/amd-smi/changelog.Debian usr/share/man/man1/amd-smi.1
+ gzip -9nf usr/share/doc/libamd-smi-dev/changelog usr/share/doc/libamd-smi-dev/changelog.Debian
cd '/build/reproducible-path/amdsmi-6.1.2+ds'
cd '/build/reproducible-path/amdsmi-6.1.2+ds'
cd '/build/reproducible-path/amdsmi-6.1.2+ds'
dh_fixperms -O-Scmake -O--builddir=build
- find debian/libamd-smi-dev ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
- find debian/libamd-smi0 ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/amd-smi ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
- find debian/libamd-smi0/usr/share/doc -type f -a -true -a ! -regex 'debian/libamd-smi0/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
+ find debian/libamd-smi0 ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
+ find debian/libamd-smi-dev ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/libamd-smi-dev/usr/share/doc -type f -a -true -a ! -regex 'debian/libamd-smi-dev/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
find debian/amd-smi/usr/share/doc -type f -a -true -a ! -regex 'debian/amd-smi/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
- find debian/libamd-smi0/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
+ find debian/libamd-smi0/usr/share/doc -type f -a -true -a ! -regex 'debian/libamd-smi0/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
find debian/libamd-smi-dev/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
find debian/amd-smi/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
- find debian/libamd-smi0 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
- find debian/libamd-smi-dev/usr/include -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
+ find debian/libamd-smi0/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755
find debian/amd-smi/usr/share/man -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
- find debian/libamd-smi0/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w
- find debian/amd-smi -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
+ find debian/libamd-smi-dev/usr/include -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
+ find debian/libamd-smi0 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
find debian/libamd-smi-dev -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
+ find debian/amd-smi -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644
+ find debian/libamd-smi0/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w
find debian/libamd-smi-dev/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w
find debian/amd-smi/usr/bin debian/amd-smi/usr/libexec -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod a+x
dh_missing -O-Scmake -O--builddir=build
@@ -1842,7 +1878,7 @@
dpkg-gensymbols -plibamd-smi0 -Idebian/libamd-smi0.symbols.amd64 -Pdebian/libamd-smi0 -edebian/libamd-smi0/usr/lib/x86_64-linux-gnu/libamd_smi.so.0.0
dpkg-gensymbols: warning: debian/libamd-smi0/DEBIAN/symbols doesn't match completely debian/libamd-smi0.symbols.amd64
--- debian/libamd-smi0.symbols.amd64 (libamd-smi0_6.1.2+ds-1_amd64)
-+++ dpkg-gensymbols4uCcRN 2025-12-18 17:50:37.983956246 -1200
++++ dpkg-gensymbolsPX3ErO 2024-11-16 13:29:02.186534958 +1400
@@ -228,7 +228,7 @@
(optional)gpuvsmi_get_pid_info@Base 6.1.2
(optional)gpuvsmi_get_pids@Base 6.1.2
@@ -1883,25 +1919,25 @@
echo misc:Depends= >> debian/amd-smi.substvars
echo misc:Pre-Depends= >> debian/amd-smi.substvars
dpkg-gencontrol -pamd-smi -ldebian/changelog -Tdebian/amd-smi.substvars -cdebian/control -Pdebian/amd-smi
+ install -m0755 -d debian/libamd-smi-dev/DEBIAN
+ echo misc:Depends= >> debian/libamd-smi-dev.substvars
+ echo misc:Pre-Depends= >> debian/libamd-smi-dev.substvars
+ dpkg-gencontrol -plibamd-smi-dev -ldebian/changelog -Tdebian/libamd-smi-dev.substvars -cdebian/control -Pdebian/libamd-smi-dev
install -m0755 -d debian/libamd-smi0/DEBIAN
echo misc:Depends= >> debian/libamd-smi0.substvars
echo misc:Pre-Depends= >> debian/libamd-smi0.substvars
install -m0755 -d debian/.debhelper/libamd-smi0/dbgsym-root/DEBIAN
dpkg-gencontrol -plibamd-smi0 -ldebian/changelog -Tdebian/libamd-smi0.substvars -cdebian/control -Pdebian/.debhelper/libamd-smi0/dbgsym-root -UPre-Depends -URecommends -USuggests -UEnhances -UProvides -UEssential -UConflicts -DPriority=optional -UHomepage -UImportant -DAuto-Built-Package=debug-symbols -UProtected -UBuilt-Using -UStatic-Built-Using -DPackage=libamd-smi0-dbgsym "-DDepends=libamd-smi0 (= \${binary:Version})" "-DDescription=debug symbols for libamd-smi0" -DBuild-Ids=08ab4d6214bad322b7ede7a633f4b9937dab3ef2 -DSection=debug -UMulti-Arch -UReplaces -UBreaks
- install -m0755 -d debian/libamd-smi-dev/DEBIAN
- echo misc:Depends= >> debian/libamd-smi-dev.substvars
- echo misc:Pre-Depends= >> debian/libamd-smi-dev.substvars
- dpkg-gencontrol -plibamd-smi-dev -ldebian/changelog -Tdebian/libamd-smi-dev.substvars -cdebian/control -Pdebian/libamd-smi-dev
- chmod 0644 -- debian/amd-smi/DEBIAN/control
chmod 0644 -- debian/libamd-smi-dev/DEBIAN/control
+ chmod 0644 -- debian/amd-smi/DEBIAN/control
chmod 0644 -- debian/.debhelper/libamd-smi0/dbgsym-root/DEBIAN/control
dpkg-gencontrol -plibamd-smi0 -ldebian/changelog -Tdebian/libamd-smi0.substvars -cdebian/control -Pdebian/libamd-smi0
chmod 0644 -- debian/libamd-smi0/DEBIAN/control
dh_md5sums -O-Scmake -O--builddir=build
- install -m0755 -d debian/amd-smi/DEBIAN
install -m0755 -d debian/libamd-smi0/DEBIAN
- install -m0755 -d debian/libamd-smi-dev/DEBIAN
+ install -m0755 -d debian/amd-smi/DEBIAN
cd debian/libamd-smi0 >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
+ install -m0755 -d debian/libamd-smi-dev/DEBIAN
cd debian/amd-smi >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
cd debian/libamd-smi-dev >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums
chmod 0644 -- debian/libamd-smi-dev/DEBIAN/md5sums
@@ -1917,8 +1953,8 @@
dpkg-deb --root-owner-group --build debian/libamd-smi-dev ..
dpkg-deb: building package 'amd-smi' in '../amd-smi_6.1.2+ds-1_amd64.deb'.
dpkg-deb: building package 'libamd-smi0-dbgsym' in '../libamd-smi0-dbgsym_6.1.2+ds-1_amd64.deb'.
-dpkg-deb: building package 'libamd-smi0' in '../libamd-smi0_6.1.2+ds-1_amd64.deb'.
dpkg-deb: building package 'libamd-smi-dev' in '../libamd-smi-dev_6.1.2+ds-1_amd64.deb'.
+dpkg-deb: building package 'libamd-smi0' in '../libamd-smi0_6.1.2+ds-1_amd64.deb'.
dpkg-genbuildinfo --build=binary -O../amdsmi_6.1.2+ds-1_amd64.buildinfo
dpkg-genchanges --build=binary -O../amdsmi_6.1.2+ds-1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
@@ -1926,12 +1962,14 @@
dpkg-buildpackage: info: binary-only upload (no source included)
dpkg-genchanges: info: including full source code in upload
I: copying local configuration
+I: user script /srv/workspace/pbuilder/1709871/tmp/hooks/B01_cleanup starting
+I: user script /srv/workspace/pbuilder/1709871/tmp/hooks/B01_cleanup finished
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: cleaning the build env
-I: removing directory /srv/workspace/pbuilder/1952742 and its subdirectories
-I: Current time: Thu Dec 18 17:50:46 -12 2025
-I: pbuilder-time-stamp: 1766123446
+I: removing directory /srv/workspace/pbuilder/1709871 and its subdirectories
+I: Current time: Sat Nov 16 13:29:07 +14 2024
+I: pbuilder-time-stamp: 1731713347