Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c14b' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/8360523-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 1.2 PID: 10151 Logging PID: 10152 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 8360523, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': '14f8f4ca40eeca4be3e1bc6de3139baebddd743e', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/@rocm-packagers-sig/ROCm6.2/amdsmi', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'amdsmi', 'package_version': '6.3.0-1', 'project_dirname': 'ROCm6.2', 'project_name': 'ROCm6.2', 'project_owner': '@rocm-packagers-sig', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/@rocm-packagers-sig/ROCm6.2/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': '@rocm-packagers-sig/ROCm6.2--https://src.fedoraproject.org/user/trix', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': None, 'submitter': 'https://src.fedoraproject.org/user/trix', 'tags': [], 'task_id': '8360523-fedora-rawhide-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/@rocm-packagers-sig/ROCm6.2/amdsmi /var/lib/copr-rpmbuild/workspace/workdir-uv59zk7k/amdsmi --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/@rocm-packagers-sig/ROCm6.2/amdsmi', '/var/lib/copr-rpmbuild/workspace/workdir-uv59zk7k/amdsmi', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-uv59zk7k/amdsmi'... Running: git checkout 14f8f4ca40eeca4be3e1bc6de3139baebddd743e -- cmd: ['git', 'checkout', '14f8f4ca40eeca4be3e1bc6de3139baebddd743e', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-uv59zk7k/amdsmi rc: 0 stdout: stderr: Note: switching to '14f8f4ca40eeca4be3e1bc6de3139baebddd743e'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 14f8f4c automatic import of amdsmi Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-uv59zk7k/amdsmi rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading amdsmi-6.3.0.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o amdsmi-6.3.0.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/@rocm-packagers-sig/ROCm6.2/amdsmi/amdsmi-6.3.0.tar.gz/md5/ac91e319b02152a050440ded805d6483/amdsmi-6.3.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1175k 100 1175k 0 0 13.7M 0 --:--:-- --:--:-- --:--:-- 13.8M INFO: Reading stdout from command: md5sum amdsmi-6.3.0.tar.gz INFO: Downloading esmi_pkg_ver-3.0.3.tar.gz /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated INFO: Calling: curl -H Pragma: -o esmi_pkg_ver-3.0.3.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/@rocm-packagers-sig/ROCm6.2/amdsmi/esmi_pkg_ver-3.0.3.tar.gz/md5/60afee9220504baf4e25cb6b392d40b0/esmi_pkg_ver-3.0.3.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 423k 100 423k 0 0 5340k 0 --:--:-- --:--:-- --:--:-- 5360k INFO: Reading stdout from command: md5sum esmi_pkg_ver-3.0.3.tar.gz Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-uv59zk7k/amdsmi/amdsmi.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-uv59zk7k/amdsmi --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1733583847.025050 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.9 starting (python version = 3.13.0, NVR = mock-5.9-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-uv59zk7k/amdsmi/amdsmi.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-uv59zk7k/amdsmi --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1733583847.025050 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-uv59zk7k/amdsmi/amdsmi.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1733583847.025050/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using bootstrap image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Copy content of container registry.fedoraproject.org/fedora:rawhide to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1733583847.025050/root INFO: Checking that registry.fedoraproject.org/fedora:rawhide image matches host's architecture INFO: mounting registry.fedoraproject.org/fedora:rawhide with podman image mount INFO: image registry.fedoraproject.org/fedora:rawhide as /var/lib/containers/storage/overlay/aa6df4d6015bc8a96b74475828122d4a5630d2743e5614ab190aa0de8d3e203b/merged INFO: umounting image registry.fedoraproject.org/fedora:rawhide (/var/lib/containers/storage/overlay/aa6df4d6015bc8a96b74475828122d4a5630d2743e5614ab190aa0de8d3e203b/merged) with podman image umount INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1733583847.025050/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-2.fc41.x86_64 dnf5-5.2.7.0-1.fc42.x86_64 dnf5-plugins-5.2.7.0-1.fc42.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 17.3 MiB/s | 21.9 MiB | 00m01s Copr repository 100% | 376.9 KiB/s | 52.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.2.37-1.fc42 fedora 8.2 MiB bzip2 x86_64 1.0.8-19.fc41 fedora 95.7 KiB coreutils x86_64 9.5-11.fc42 fedora 5.4 MiB cpio x86_64 2.15-2.fc41 fedora 1.1 MiB diffutils x86_64 3.10-8.fc41 fedora 1.6 MiB fedora-release-common noarch 42-0.11 fedora 19.8 KiB findutils x86_64 1:4.10.0-4.fc41 fedora 1.8 MiB gawk x86_64 5.3.0-4.fc41 fedora 1.7 MiB glibc-minimal-langpack x86_64 2.40.9000-21.fc42 fedora 0.0 B grep x86_64 3.11-9.fc41 fedora 1.0 MiB gzip x86_64 1.13-2.fc41 fedora 389.0 KiB info x86_64 7.1.1-2.fc42 fedora 361.8 KiB patch x86_64 2.7.6-25.fc41 fedora 266.7 KiB redhat-rpm-config noarch 296-1.fc42 fedora 186.6 KiB rpm-build x86_64 4.20.0-1.fc42 fedora 194.3 KiB sed x86_64 4.9-3.fc41 fedora 861.5 KiB shadow-utils x86_64 2:4.16.0-7.fc42 fedora 4.0 MiB tar x86_64 2:1.35-4.fc41 fedora 2.9 MiB unzip x86_64 6.0-65.fc42 fedora 398.2 KiB util-linux x86_64 2.40.2-8.fc42 fedora 3.7 MiB which x86_64 2.21-42.fc41 fedora 80.2 KiB xz x86_64 1:5.6.3-2.fc42 fedora 1.2 MiB Installing dependencies: add-determinism x86_64 0.4.3-1.fc42 fedora 2.4 MiB alternatives x86_64 1.30-1.fc41 fedora 66.3 KiB ansible-srpm-macros noarch 1-16.fc41 fedora 35.7 KiB audit-libs x86_64 4.0.2-1.fc41 fedora 331.3 KiB authselect x86_64 1.5.0-8.fc42 fedora 157.5 KiB authselect-libs x86_64 1.5.0-8.fc42 fedora 822.2 KiB basesystem noarch 11-21.fc41 fedora 0.0 B binutils x86_64 2.43.50-9.fc42 fedora 25.8 MiB build-reproducibility-srpm-macros noarch 0.4.3-1.fc42 fedora 735.0 B bzip2-libs x86_64 1.0.8-19.fc41 fedora 80.7 KiB ca-certificates noarch 2024.2.69_v8.0.401-3.fc42 fedora 2.6 MiB coreutils-common x86_64 9.5-11.fc42 fedora 11.2 MiB cracklib x86_64 2.9.11-6.fc41 fedora 238.9 KiB crypto-policies noarch 20241128-1.gitbb7b0b0.fc42 fedora 137.3 KiB curl x86_64 8.10.1-2.fc42 fedora 453.3 KiB cyrus-sasl-lib x86_64 2.1.28-27.fc41 fedora 2.3 MiB debugedit x86_64 5.1-2.fc42 fedora 200.3 KiB dwz x86_64 0.15-8.fc42 fedora 299.2 KiB ed x86_64 1.20.2-2.fc41 fedora 146.9 KiB efi-srpm-macros noarch 5-13.fc42 fedora 40.2 KiB elfutils x86_64 0.192-7.fc42 fedora 2.6 MiB elfutils-debuginfod-client x86_64 0.192-7.fc42 fedora 81.4 KiB elfutils-default-yama-scope noarch 0.192-7.fc42 fedora 1.8 KiB elfutils-libelf x86_64 0.192-7.fc42 fedora 1.2 MiB elfutils-libs x86_64 0.192-7.fc42 fedora 662.9 KiB fedora-gpg-keys noarch 42-0.3 fedora 126.4 KiB fedora-release noarch 42-0.11 fedora 0.0 B fedora-release-identity-basic noarch 42-0.11 fedora 719.0 B fedora-repos noarch 42-0.3 fedora 4.9 KiB fedora-repos-rawhide noarch 42-0.3 fedora 2.2 KiB file x86_64 5.45-8.fc42 fedora 103.7 KiB file-libs x86_64 5.45-8.fc42 fedora 9.9 MiB filesystem x86_64 3.18-29.fc42 fedora 106.0 B fonts-srpm-macros noarch 1:2.0.5-17.fc41 fedora 55.8 KiB forge-srpm-macros noarch 0.4.0-1.fc42 fedora 38.9 KiB fpc-srpm-macros noarch 1.3-13.fc41 fedora 144.0 B gdb-minimal x86_64 15.2-3.fc42 fedora 13.0 MiB gdbm x86_64 1:1.23-7.fc41 fedora 460.9 KiB gdbm-libs x86_64 1:1.23-7.fc41 fedora 121.9 KiB ghc-srpm-macros noarch 1.9.2-1.fc42 fedora 779.0 B glibc x86_64 2.40.9000-21.fc42 fedora 6.6 MiB glibc-common x86_64 2.40.9000-21.fc42 fedora 1.0 MiB glibc-gconv-extra x86_64 2.40.9000-21.fc42 fedora 8.0 MiB gmp x86_64 1:6.3.0-2.fc41 fedora 811.4 KiB gnat-srpm-macros noarch 6-6.fc41 fedora 1.0 KiB go-srpm-macros noarch 3.6.0-5.fc42 fedora 60.8 KiB jansson x86_64 2.14-1.fc42 fedora 93.1 KiB json-c x86_64 0.18-1.fc42 fedora 83.3 KiB kernel-srpm-macros noarch 1.0-24.fc41 fedora 1.9 KiB keyutils-libs x86_64 1.6.3-4.fc41 fedora 54.4 KiB krb5-libs x86_64 1.21.3-3.fc42 fedora 2.3 MiB libacl x86_64 2.3.2-2.fc41 fedora 40.0 KiB libarchive x86_64 3.7.7-1.fc42 fedora 932.3 KiB libattr x86_64 2.5.2-4.fc41 fedora 28.5 KiB libblkid x86_64 2.40.2-8.fc42 fedora 262.5 KiB libbrotli x86_64 1.1.0-5.fc41 fedora 837.6 KiB libcap x86_64 2.71-1.fc42 fedora 210.8 KiB libcap-ng x86_64 0.8.5-3.fc41 fedora 69.2 KiB libcom_err x86_64 1.47.1-6.fc42 fedora 67.2 KiB libcurl x86_64 8.10.1-2.fc42 fedora 838.4 KiB libeconf x86_64 0.7.4-3.fc42 fedora 65.7 KiB libevent x86_64 2.1.12-14.fc41 fedora 895.7 KiB libfdisk x86_64 2.40.2-8.fc42 fedora 362.9 KiB libffi x86_64 3.4.6-3.fc42 fedora 86.4 KiB libgcc x86_64 14.2.1-6.fc42 fedora 270.6 KiB libgomp x86_64 14.2.1-6.fc42 fedora 519.8 KiB libidn2 x86_64 2.3.7-2.fc41 fedora 329.1 KiB libmount x86_64 2.40.2-8.fc42 fedora 355.8 KiB libnghttp2 x86_64 1.64.0-1.fc42 fedora 174.5 KiB libnsl2 x86_64 2.0.1-2.fc41 fedora 57.9 KiB libpkgconf x86_64 2.3.0-1.fc42 fedora 78.2 KiB libpsl x86_64 0.21.5-4.fc41 fedora 80.5 KiB libpwquality x86_64 1.4.5-11.fc41 fedora 417.8 KiB libselinux x86_64 3.8-0.rc1.2.fc42 fedora 191.6 KiB libsemanage x86_64 3.8-0.rc1.1.fc42 fedora 305.3 KiB libsepol x86_64 3.8-0.rc1.1.fc42 fedora 822.0 KiB libsmartcols x86_64 2.40.2-8.fc42 fedora 180.4 KiB libssh x86_64 0.11.1-1.fc42 fedora 569.6 KiB libssh-config noarch 0.11.1-1.fc42 fedora 277.0 B libstdc++ x86_64 14.2.1-6.fc42 fedora 2.8 MiB libtasn1 x86_64 4.19.0-9.fc41 fedora 175.7 KiB libtirpc x86_64 1.3.6-1.fc42 fedora 205.5 KiB libtool-ltdl x86_64 2.4.7-12.fc41 fedora 66.2 KiB libunistring x86_64 1.1-8.fc41 fedora 1.7 MiB libuuid x86_64 2.40.2-8.fc42 fedora 41.4 KiB libverto x86_64 0.3.2-9.fc41 fedora 29.5 KiB libxcrypt x86_64 4.4.36-11.fc42 fedora 271.4 KiB libxml2 x86_64 2.12.8-2.fc41 fedora 1.7 MiB libzstd x86_64 1.5.6-2.fc41 fedora 795.9 KiB lua-libs x86_64 5.4.7-1.fc42 fedora 285.0 KiB lua-srpm-macros noarch 1-14.fc41 fedora 1.3 KiB lz4-libs x86_64 1.10.0-1.fc41 fedora 145.5 KiB mpfr x86_64 4.2.1-5.fc41 fedora 832.1 KiB ncurses-base noarch 6.5-2.20240629.fc41 fedora 326.3 KiB ncurses-libs x86_64 6.5-2.20240629.fc41 fedora 975.2 KiB ocaml-srpm-macros noarch 10-3.fc41 fedora 1.9 KiB openblas-srpm-macros noarch 2-18.fc41 fedora 112.0 B openldap x86_64 2.6.8-6.fc42 fedora 647.4 KiB openssl-libs x86_64 1:3.2.2-8.fc42 fedora 7.8 MiB p11-kit x86_64 0.25.5-4.fc42 fedora 2.2 MiB p11-kit-trust x86_64 0.25.5-4.fc42 fedora 403.8 KiB package-notes-srpm-macros noarch 0.5-12.fc41 fedora 1.6 KiB pam x86_64 1.7.0-3.fc42 fedora 1.8 MiB pam-libs x86_64 1.7.0-3.fc42 fedora 139.4 KiB pcre2 x86_64 10.44-1.fc41.1 fedora 653.5 KiB pcre2-syntax noarch 10.44-1.fc41.1 fedora 251.6 KiB perl-srpm-macros noarch 1-56.fc41 fedora 861.0 B pkgconf x86_64 2.3.0-1.fc42 fedora 88.6 KiB pkgconf-m4 noarch 2.3.0-1.fc42 fedora 14.4 KiB pkgconf-pkg-config x86_64 2.3.0-1.fc42 fedora 989.0 B popt x86_64 1.19-7.fc41 fedora 136.9 KiB publicsuffix-list-dafsa noarch 20240107-4.fc41 fedora 67.5 KiB pyproject-srpm-macros noarch 1.16.3-1.fc42 fedora 1.9 KiB python-srpm-macros noarch 3.13-3.fc41 fedora 51.0 KiB qt5-srpm-macros noarch 5.15.15-1.fc42 fedora 500.0 B qt6-srpm-macros noarch 6.8.0-1.fc42 fedora 456.0 B readline x86_64 8.2-11.fc42 fedora 493.1 KiB rpm x86_64 4.20.0-1.fc42 fedora 3.1 MiB rpm-build-libs x86_64 4.20.0-1.fc42 fedora 206.7 KiB rpm-libs x86_64 4.20.0-1.fc42 fedora 726.1 KiB rpm-sequoia x86_64 1.7.0-2.fc41 fedora 2.4 MiB rust-srpm-macros noarch 26.3-3.fc42 fedora 4.8 KiB setup noarch 2.15.0-5.fc41 fedora 720.7 KiB sqlite-libs x86_64 3.47.1-1.fc42 copr_base 1.4 MiB systemd-libs x86_64 257~rc3-1.fc42 fedora 2.3 MiB util-linux-core x86_64 2.40.2-8.fc42 fedora 1.5 MiB xxhash-libs x86_64 0.8.2-4.fc42 fedora 88.4 KiB xz-libs x86_64 1:5.6.3-2.fc42 fedora 218.4 KiB zig-srpm-macros noarch 1-3.fc41 fedora 1.1 KiB zip x86_64 3.0-41.fc41 fedora 703.2 KiB zlib-ng-compat x86_64 2.2.2-1.fc42 fedora 134.0 KiB zstd x86_64 1.5.6-2.fc41 fedora 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 154 packages Total size of inbound packages is 52 MiB. Need to download 52 MiB. After this operation, 179 MiB extra will be used (install 179 MiB, remove 0 B). [ 1/154] bzip2-0:1.0.8-19.fc41.x86_64 100% | 772.4 KiB/s | 52.5 KiB | 00m00s [ 2/154] cpio-0:2.15-2.fc41.x86_64 100% | 5.3 MiB/s | 291.8 KiB | 00m00s [ 3/154] coreutils-0:9.5-11.fc42.x86_6 100% | 8.1 MiB/s | 1.1 MiB | 00m00s [ 4/154] bash-0:5.2.37-1.fc42.x86_64 100% | 12.4 MiB/s | 1.8 MiB | 00m00s [ 5/154] diffutils-0:3.10-8.fc41.x86_6 100% | 12.0 MiB/s | 405.4 KiB | 00m00s [ 6/154] fedora-release-common-0:42-0. 100% | 954.5 KiB/s | 23.9 KiB | 00m00s [ 7/154] glibc-minimal-langpack-0:2.40 100% | 7.9 MiB/s | 120.7 KiB | 00m00s [ 8/154] findutils-1:4.10.0-4.fc41.x86 100% | 17.3 MiB/s | 548.6 KiB | 00m00s [ 9/154] grep-0:3.11-9.fc41.x86_64 100% | 16.3 MiB/s | 299.8 KiB | 00m00s [ 10/154] gzip-0:1.13-2.fc41.x86_64 100% | 10.4 MiB/s | 170.2 KiB | 00m00s [ 11/154] info-0:7.1.1-2.fc42.x86_64 100% | 11.2 MiB/s | 183.2 KiB | 00m00s [ 12/154] patch-0:2.7.6-25.fc41.x86_64 100% | 8.0 MiB/s | 131.0 KiB | 00m00s [ 13/154] redhat-rpm-config-0:296-1.fc4 100% | 5.4 MiB/s | 82.4 KiB | 00m00s [ 14/154] rpm-build-0:4.20.0-1.fc42.x86 100% | 5.4 MiB/s | 82.7 KiB | 00m00s [ 15/154] sed-0:4.9-3.fc41.x86_64 100% | 18.3 MiB/s | 317.7 KiB | 00m00s [ 16/154] unzip-0:6.0-65.fc42.x86_64 100% | 11.3 MiB/s | 184.5 KiB | 00m00s [ 17/154] which-0:2.21-42.fc41.x86_64 100% | 2.9 MiB/s | 41.6 KiB | 00m00s [ 18/154] tar-2:1.35-4.fc41.x86_64 100% | 13.6 MiB/s | 860.7 KiB | 00m00s [ 19/154] shadow-utils-2:4.16.0-7.fc42. 100% | 18.8 MiB/s | 1.3 MiB | 00m00s [ 20/154] xz-1:5.6.3-2.fc42.x86_64 100% | 16.0 MiB/s | 475.4 KiB | 00m00s [ 21/154] gawk-0:5.3.0-4.fc41.x86_64 100% | 14.5 MiB/s | 1.1 MiB | 00m00s [ 22/154] util-linux-0:2.40.2-8.fc42.x8 100% | 10.2 MiB/s | 1.2 MiB | 00m00s [ 23/154] ncurses-libs-0:6.5-2.20240629 100% | 17.2 MiB/s | 334.0 KiB | 00m00s [ 24/154] filesystem-0:3.18-29.fc42.x86 100% | 7.5 MiB/s | 1.1 MiB | 00m00s [ 25/154] glibc-0:2.40.9000-21.fc42.x86 100% | 27.0 MiB/s | 2.2 MiB | 00m00s [ 26/154] bzip2-libs-0:1.0.8-19.fc41.x8 100% | 2.0 MiB/s | 41.1 KiB | 00m00s [ 27/154] libacl-0:2.3.2-2.fc41.x86_64 100% | 1.7 MiB/s | 24.5 KiB | 00m00s [ 28/154] gmp-1:6.3.0-2.fc41.x86_64 100% | 11.5 MiB/s | 318.0 KiB | 00m00s [ 29/154] libcap-0:2.71-1.fc42.x86_64 100% | 5.6 MiB/s | 86.4 KiB | 00m00s [ 30/154] libattr-0:2.5.2-4.fc41.x86_64 100% | 550.7 KiB/s | 18.2 KiB | 00m00s [ 31/154] coreutils-common-0:9.5-11.fc4 100% | 29.9 MiB/s | 2.1 MiB | 00m00s [ 32/154] libselinux-0:3.8-0.rc1.2.fc42 100% | 3.2 MiB/s | 90.7 KiB | 00m00s [ 33/154] fedora-repos-0:42-0.3.noarch 100% | 656.5 KiB/s | 9.2 KiB | 00m00s [ 34/154] glibc-common-0:2.40.9000-21.f 100% | 3.7 MiB/s | 394.4 KiB | 00m00s [ 35/154] systemd-libs-0:257~rc3-1.fc42 100% | 6.1 MiB/s | 814.4 KiB | 00m00s [ 36/154] ed-0:1.20.2-2.fc41.x86_64 100% | 5.3 MiB/s | 81.8 KiB | 00m00s [ 37/154] ansible-srpm-macros-0:1-16.fc 100% | 1.4 MiB/s | 20.8 KiB | 00m00s [ 38/154] build-reproducibility-srpm-ma 100% | 798.5 KiB/s | 11.2 KiB | 00m00s [ 39/154] dwz-0:0.15-8.fc42.x86_64 100% | 8.5 MiB/s | 139.1 KiB | 00m00s [ 40/154] openssl-libs-1:3.2.2-8.fc42.x 100% | 10.7 MiB/s | 2.3 MiB | 00m00s [ 41/154] efi-srpm-macros-0:5-13.fc42.n 100% | 1.6 MiB/s | 22.5 KiB | 00m00s [ 42/154] fonts-srpm-macros-1:2.0.5-17. 100% | 1.9 MiB/s | 27.0 KiB | 00m00s [ 43/154] forge-srpm-macros-0:0.4.0-1.f 100% | 1.4 MiB/s | 19.8 KiB | 00m00s [ 44/154] file-0:5.45-8.fc42.x86_64 100% | 1.4 MiB/s | 48.6 KiB | 00m00s [ 45/154] fpc-srpm-macros-0:1.3-13.fc41 100% | 568.7 KiB/s | 8.0 KiB | 00m00s [ 46/154] ghc-srpm-macros-0:1.9.2-1.fc4 100% | 651.2 KiB/s | 9.1 KiB | 00m00s [ 47/154] gnat-srpm-macros-0:6-6.fc41.n 100% | 639.4 KiB/s | 9.0 KiB | 00m00s [ 48/154] go-srpm-macros-0:3.6.0-5.fc42 100% | 2.0 MiB/s | 28.0 KiB | 00m00s [ 49/154] kernel-srpm-macros-0:1.0-24.f 100% | 704.9 KiB/s | 9.9 KiB | 00m00s [ 50/154] lua-srpm-macros-0:1-14.fc41.n 100% | 634.2 KiB/s | 8.9 KiB | 00m00s [ 51/154] ocaml-srpm-macros-0:10-3.fc41 100% | 657.1 KiB/s | 9.2 KiB | 00m00s [ 52/154] openblas-srpm-macros-0:2-18.f 100% | 551.1 KiB/s | 7.7 KiB | 00m00s [ 53/154] package-notes-srpm-macros-0:0 100% | 702.1 KiB/s | 9.8 KiB | 00m00s [ 54/154] perl-srpm-macros-0:1-56.fc41. 100% | 567.5 KiB/s | 8.5 KiB | 00m00s [ 55/154] python-srpm-macros-0:3.13-3.f 100% | 1.5 MiB/s | 23.7 KiB | 00m00s [ 56/154] pcre2-0:10.44-1.fc41.1.x86_64 100% | 1.0 MiB/s | 243.1 KiB | 00m00s [ 57/154] qt5-srpm-macros-0:5.15.15-1.f 100% | 278.1 KiB/s | 8.9 KiB | 00m00s [ 58/154] pyproject-srpm-macros-0:1.16. 100% | 277.3 KiB/s | 13.9 KiB | 00m00s [ 59/154] rust-srpm-macros-0:26.3-3.fc4 100% | 864.3 KiB/s | 12.1 KiB | 00m00s [ 60/154] zig-srpm-macros-0:1-3.fc41.no 100% | 580.2 KiB/s | 8.1 KiB | 00m00s [ 61/154] zip-0:3.0-41.fc41.x86_64 100% | 1.0 MiB/s | 264.8 KiB | 00m00s [ 62/154] rpm-0:4.20.0-1.fc42.x86_64 100% | 1.3 MiB/s | 547.3 KiB | 00m00s [ 63/154] debugedit-0:5.1-2.fc42.x86_64 100% | 225.4 KiB/s | 78.2 KiB | 00m00s [ 64/154] elfutils-libelf-0:0.192-7.fc4 100% | 10.0 MiB/s | 204.6 KiB | 00m00s [ 65/154] elfutils-0:0.192-7.fc42.x86_6 100% | 2.1 MiB/s | 504.7 KiB | 00m00s [ 66/154] popt-0:1.19-7.fc41.x86_64 100% | 297.0 KiB/s | 65.9 KiB | 00m00s [ 67/154] readline-0:8.2-11.fc42.x86_64 100% | 12.3 MiB/s | 213.4 KiB | 00m00s [ 68/154] rpm-build-libs-0:4.20.0-1.fc4 100% | 6.4 MiB/s | 98.7 KiB | 00m00s [ 69/154] rpm-libs-0:4.20.0-1.fc42.x86_ 100% | 16.8 MiB/s | 309.5 KiB | 00m00s [ 70/154] libarchive-0:3.7.7-1.fc42.x86 100% | 1.4 MiB/s | 413.9 KiB | 00m00s [ 71/154] zstd-0:1.5.6-2.fc41.x86_64 100% | 9.4 MiB/s | 481.5 KiB | 00m00s [ 72/154] libeconf-0:0.7.4-3.fc42.x86_6 100% | 2.0 MiB/s | 34.6 KiB | 00m00s [ 73/154] libsemanage-0:3.8-0.rc1.1.fc4 100% | 7.1 MiB/s | 115.9 KiB | 00m00s [ 74/154] libxcrypt-0:4.4.36-11.fc42.x8 100% | 7.7 MiB/s | 118.1 KiB | 00m00s [ 75/154] pam-libs-0:1.7.0-3.fc42.x86_6 100% | 3.8 MiB/s | 58.0 KiB | 00m00s [ 76/154] setup-0:2.15.0-5.fc41.noarch 100% | 9.4 MiB/s | 154.4 KiB | 00m00s [ 77/154] xz-libs-1:5.6.3-2.fc42.x86_64 100% | 7.3 MiB/s | 111.9 KiB | 00m00s [ 78/154] mpfr-0:4.2.1-5.fc41.x86_64 100% | 18.8 MiB/s | 346.3 KiB | 00m00s [ 79/154] audit-libs-0:4.0.2-1.fc41.x86 100% | 764.6 KiB/s | 126.2 KiB | 00m00s [ 80/154] libblkid-0:2.40.2-8.fc42.x86_ 100% | 7.6 MiB/s | 125.0 KiB | 00m00s [ 81/154] libfdisk-0:2.40.2-8.fc42.x86_ 100% | 9.2 MiB/s | 159.6 KiB | 00m00s [ 82/154] libmount-0:2.40.2-8.fc42.x86_ 100% | 9.5 MiB/s | 156.1 KiB | 00m00s [ 83/154] libcap-ng-0:0.8.5-3.fc41.x86_ 100% | 834.9 KiB/s | 32.6 KiB | 00m00s [ 84/154] qt6-srpm-macros-0:6.8.0-1.fc4 100% | 7.8 KiB/s | 9.0 KiB | 00m01s [ 85/154] libsmartcols-0:2.40.2-8.fc42. 100% | 5.5 MiB/s | 83.9 KiB | 00m00s [ 86/154] zlib-ng-compat-0:2.2.2-1.fc42 100% | 5.0 MiB/s | 76.9 KiB | 00m00s [ 87/154] libuuid-0:2.40.2-8.fc42.x86_6 100% | 644.0 KiB/s | 29.0 KiB | 00m00s [ 88/154] basesystem-0:11-21.fc41.noarc 100% | 409.6 KiB/s | 7.4 KiB | 00m00s [ 89/154] libgcc-0:14.2.1-6.fc42.x86_64 100% | 1.3 MiB/s | 135.2 KiB | 00m00s [ 90/154] glibc-gconv-extra-0:2.40.9000 100% | 9.4 MiB/s | 1.5 MiB | 00m00s [ 91/154] libsepol-0:3.8-0.rc1.1.fc42.x 100% | 17.8 MiB/s | 345.7 KiB | 00m00s [ 92/154] ncurses-base-0:6.5-2.20240629 100% | 1.4 MiB/s | 88.4 KiB | 00m00s [ 93/154] ca-certificates-0:2024.2.69_v 100% | 10.7 MiB/s | 944.5 KiB | 00m00s [ 94/154] fedora-gpg-keys-0:42-0.3.noar 100% | 8.7 MiB/s | 133.6 KiB | 00m00s [ 95/154] fedora-repos-rawhide-0:42-0.3 100% | 626.0 KiB/s | 8.8 KiB | 00m00s [ 96/154] crypto-policies-0:20241128-1. 100% | 945.7 KiB/s | 98.4 KiB | 00m00s [ 97/154] pcre2-syntax-0:10.44-1.fc41.1 100% | 9.1 MiB/s | 149.9 KiB | 00m00s [ 98/154] util-linux-core-0:2.40.2-8.fc 100% | 1.4 MiB/s | 537.3 KiB | 00m00s [ 99/154] file-libs-0:5.45-8.fc42.x86_6 100% | 14.9 MiB/s | 763.6 KiB | 00m00s [100/154] elfutils-libs-0:0.192-7.fc42. 100% | 14.5 MiB/s | 251.9 KiB | 00m00s [101/154] elfutils-debuginfod-client-0: 100% | 2.9 MiB/s | 43.9 KiB | 00m00s [102/154] libstdc++-0:14.2.1-6.fc42.x86 100% | 9.6 MiB/s | 890.1 KiB | 00m00s [103/154] libzstd-0:1.5.6-2.fc41.x86_64 100% | 17.8 MiB/s | 310.3 KiB | 00m00s [104/154] libxml2-0:2.12.8-2.fc41.x86_6 100% | 32.0 MiB/s | 687.3 KiB | 00m00s [105/154] lz4-libs-0:1.10.0-1.fc41.x86_ 100% | 4.9 MiB/s | 70.7 KiB | 00m00s [106/154] libgomp-0:14.2.1-6.fc42.x86_6 100% | 19.4 MiB/s | 356.9 KiB | 00m00s [107/154] lua-libs-0:5.4.7-1.fc42.x86_6 100% | 8.6 MiB/s | 132.1 KiB | 00m00s [108/154] add-determinism-0:0.4.3-1.fc4 100% | 2.5 MiB/s | 904.4 KiB | 00m00s [109/154] rpm-sequoia-0:1.7.0-2.fc41.x8 100% | 7.9 MiB/s | 892.5 KiB | 00m00s [110/154] json-c-0:0.18-1.fc42.x86_64 100% | 2.9 MiB/s | 44.4 KiB | 00m00s [111/154] authselect-libs-0:1.5.0-8.fc4 100% | 12.5 MiB/s | 218.0 KiB | 00m00s [112/154] pam-0:1.7.0-3.fc42.x86_64 100% | 4.0 MiB/s | 554.3 KiB | 00m00s [113/154] authselect-0:1.5.0-8.fc42.x86 100% | 8.9 MiB/s | 145.8 KiB | 00m00s [114/154] gdbm-libs-1:1.23-7.fc41.x86_6 100% | 3.7 MiB/s | 56.3 KiB | 00m00s [115/154] libnsl2-0:2.0.1-2.fc41.x86_64 100% | 1.8 MiB/s | 29.6 KiB | 00m00s [116/154] libpwquality-0:1.4.5-11.fc41. 100% | 7.3 MiB/s | 119.1 KiB | 00m00s [117/154] libtirpc-0:1.3.6-1.fc42.x86_6 100% | 6.2 MiB/s | 94.9 KiB | 00m00s [118/154] cracklib-0:2.9.11-6.fc41.x86_ 100% | 6.0 MiB/s | 92.0 KiB | 00m00s [119/154] elfutils-default-yama-scope-0 100% | 40.5 KiB/s | 12.5 KiB | 00m00s [120/154] libcom_err-0:1.47.1-6.fc42.x8 100% | 1.4 MiB/s | 26.6 KiB | 00m00s [121/154] keyutils-libs-0:1.6.3-4.fc41. 100% | 1.6 MiB/s | 31.6 KiB | 00m00s [122/154] curl-0:8.10.1-2.fc42.x86_64 100% | 334.3 KiB/s | 221.3 KiB | 00m01s [123/154] libverto-0:0.3.2-9.fc41.x86_6 100% | 1.2 MiB/s | 20.7 KiB | 00m00s [124/154] sqlite-libs-0:3.47.1-1.fc42.x 100% | 9.5 MiB/s | 700.0 KiB | 00m00s [125/154] krb5-libs-0:1.21.3-3.fc42.x86 100% | 5.2 MiB/s | 760.4 KiB | 00m00s [126/154] alternatives-0:1.30-1.fc41.x8 100% | 1.9 MiB/s | 42.5 KiB | 00m00s [127/154] jansson-0:2.14-1.fc42.x86_64 100% | 2.9 MiB/s | 45.3 KiB | 00m00s [128/154] pkgconf-0:2.3.0-1.fc42.x86_64 100% | 2.9 MiB/s | 45.2 KiB | 00m00s [129/154] pkgconf-m4-0:2.3.0-1.fc42.noa 100% | 954.8 KiB/s | 14.3 KiB | 00m00s [130/154] libpkgconf-0:2.3.0-1.fc42.x86 100% | 2.7 MiB/s | 38.5 KiB | 00m00s [131/154] gdbm-1:1.23-7.fc41.x86_64 100% | 9.3 MiB/s | 151.8 KiB | 00m00s [132/154] libffi-0:3.4.6-3.fc42.x86_64 100% | 2.8 MiB/s | 40.0 KiB | 00m00s [133/154] pkgconf-pkg-config-0:2.3.0-1. 100% | 87.8 KiB/s | 10.0 KiB | 00m00s [134/154] p11-kit-0:0.25.5-4.fc42.x86_6 100% | 7.4 MiB/s | 492.0 KiB | 00m00s [135/154] libtasn1-0:4.19.0-9.fc41.x86_ 100% | 2.1 MiB/s | 74.2 KiB | 00m00s [136/154] p11-kit-trust-0:0.25.5-4.fc42 100% | 8.1 MiB/s | 133.2 KiB | 00m00s [137/154] fedora-release-0:42-0.11.noar 100% | 519.3 KiB/s | 13.0 KiB | 00m00s [138/154] xxhash-libs-0:0.8.2-4.fc42.x8 100% | 1.4 MiB/s | 36.8 KiB | 00m00s [139/154] fedora-release-identity-basic 100% | 87.8 KiB/s | 13.8 KiB | 00m00s [140/154] binutils-0:2.43.50-9.fc42.x86 100% | 11.1 MiB/s | 5.8 MiB | 00m01s [141/154] libbrotli-0:1.1.0-5.fc41.x86_ 100% | 18.5 MiB/s | 340.5 KiB | 00m00s [142/154] libcurl-0:8.10.1-2.fc42.x86_6 100% | 3.9 MiB/s | 371.3 KiB | 00m00s [143/154] libidn2-0:2.3.7-2.fc41.x86_64 100% | 7.7 MiB/s | 118.4 KiB | 00m00s [144/154] libnghttp2-0:1.64.0-1.fc42.x8 100% | 2.7 MiB/s | 77.4 KiB | 00m00s [145/154] libpsl-0:0.21.5-4.fc41.x86_64 100% | 4.5 MiB/s | 64.1 KiB | 00m00s [146/154] openldap-0:2.6.8-6.fc42.x86_6 100% | 14.9 MiB/s | 243.4 KiB | 00m00s [147/154] gdb-minimal-0:15.2-3.fc42.x86 100% | 12.0 MiB/s | 4.3 MiB | 00m00s [148/154] libunistring-0:1.1-8.fc41.x86 100% | 21.3 MiB/s | 544.8 KiB | 00m00s [149/154] publicsuffix-list-dafsa-0:202 100% | 3.6 MiB/s | 58.3 KiB | 00m00s [150/154] libssh-0:0.11.1-1.fc42.x86_64 100% | 2.9 MiB/s | 231.9 KiB | 00m00s [151/154] cyrus-sasl-lib-0:2.1.28-27.fc 100% | 11.2 MiB/s | 794.9 KiB | 00m00s [152/154] libssh-config-0:0.11.1-1.fc42 100% | 100.9 KiB/s | 9.4 KiB | 00m00s [153/154] libtool-ltdl-0:2.4.7-12.fc41. 100% | 2.3 MiB/s | 35.6 KiB | 00m00s [154/154] libevent-0:2.1.12-14.fc41.x86 100% | 3.0 MiB/s | 257.5 KiB | 00m00s -------------------------------------------------------------------------------- [154/154] Total 100% | 13.7 MiB/s | 52.4 MiB | 00m04s Running transaction Importing PGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing PGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing PGP key 0xE99D6AD1: UserID : "Fedora (41) " Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary The key was successfully imported. Importing PGP key 0x31645531: UserID : "Fedora (43) " Fingerprint: C6E7F081CF80E13146676E88829B606631645531 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-43-primary The key was successfully imported. [ 1/156] Verify package files 100% | 770.0 B/s | 154.0 B | 00m00s >>> Running pre-transaction scriptlet: filesystem-0:3.18-29.fc42.x86_64 >>> Finished pre-transaction scriptlet: filesystem-0:3.18-29.fc42.x86_64 >>> [RPM] /var/lib/mock/fedora-rawhide-x86_64-1733583847.025050/root/var/cache/d [ 2/156] Prepare transaction 100% | 1.8 KiB/s | 154.0 B | 00m00s [ 3/156] Installing libgcc-0:14.2.1-6. 100% | 132.9 MiB/s | 272.3 KiB | 00m00s [ 4/156] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 5/156] Installing publicsuffix-list- 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 6/156] Installing fedora-release-ide 100% | 0.0 B/s | 976.0 B | 00m00s [ 7/156] Installing fedora-repos-rawhi 100% | 2.4 MiB/s | 2.4 KiB | 00m00s [ 8/156] Installing fedora-gpg-keys-0: 100% | 18.7 MiB/s | 172.2 KiB | 00m00s [ 9/156] Installing fedora-repos-0:42- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/156] Installing fedora-release-com 100% | 11.8 MiB/s | 24.1 KiB | 00m00s [ 11/156] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 12/156] Installing setup-0:2.15.0-5.f 100% | 47.3 MiB/s | 726.1 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/156] Installing filesystem-0:3.18- 100% | 1.6 MiB/s | 212.6 KiB | 00m00s [ 14/156] Installing basesystem-0:11-21 100% | 0.0 B/s | 124.0 B | 00m00s [ 15/156] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [ 16/156] Installing pcre2-syntax-0:10. 100% | 124.1 MiB/s | 254.1 KiB | 00m00s [ 17/156] Installing ncurses-base-0:6.5 100% | 38.2 MiB/s | 351.7 KiB | 00m00s [ 18/156] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 19/156] Installing ncurses-libs-0:6.5 100% | 137.0 MiB/s | 981.8 KiB | 00m00s [ 20/156] Installing glibc-0:2.40.9000- 100% | 195.8 MiB/s | 6.7 MiB | 00m00s [ 21/156] Installing bash-0:5.2.37-1.fc 100% | 272.3 MiB/s | 8.2 MiB | 00m00s [ 22/156] Installing glibc-common-0:2.4 100% | 115.8 MiB/s | 1.0 MiB | 00m00s [ 23/156] Installing glibc-gconv-extra- 100% | 149.6 MiB/s | 8.1 MiB | 00m00s [ 24/156] Installing zlib-ng-compat-0:2 100% | 131.7 MiB/s | 134.9 KiB | 00m00s [ 25/156] Installing bzip2-libs-0:1.0.8 100% | 79.9 MiB/s | 81.8 KiB | 00m00s [ 26/156] Installing xz-libs-1:5.6.3-2. 100% | 214.3 MiB/s | 219.5 KiB | 00m00s [ 27/156] Installing popt-0:1.19-7.fc41 100% | 35.0 MiB/s | 143.5 KiB | 00m00s [ 28/156] Installing readline-0:8.2-11. 100% | 161.2 MiB/s | 495.3 KiB | 00m00s [ 29/156] Installing libuuid-0:2.40.2-8 100% | 41.5 MiB/s | 42.5 KiB | 00m00s [ 30/156] Installing libblkid-0:2.40.2- 100% | 128.7 MiB/s | 263.6 KiB | 00m00s [ 31/156] Installing gmp-1:6.3.0-2.fc41 100% | 264.9 MiB/s | 813.7 KiB | 00m00s [ 32/156] Installing libattr-0:2.5.2-4. 100% | 28.8 MiB/s | 29.5 KiB | 00m00s [ 33/156] Installing libacl-0:2.3.2-2.f 100% | 39.8 MiB/s | 40.7 KiB | 00m00s [ 34/156] Installing libxcrypt-0:4.4.36 100% | 133.8 MiB/s | 274.1 KiB | 00m00s [ 35/156] Installing libstdc++-0:14.2.1 100% | 276.0 MiB/s | 2.8 MiB | 00m00s [ 36/156] Installing libzstd-0:1.5.6-2. 100% | 259.5 MiB/s | 797.2 KiB | 00m00s [ 37/156] Installing elfutils-libelf-0: 100% | 291.7 MiB/s | 1.2 MiB | 00m00s [ 38/156] Installing libeconf-0:0.7.4-3 100% | 65.8 MiB/s | 67.4 KiB | 00m00s [ 39/156] Installing gdbm-libs-1:1.23-7 100% | 120.7 MiB/s | 123.6 KiB | 00m00s [ 40/156] Installing dwz-0:0.15-8.fc42. 100% | 146.8 MiB/s | 300.6 KiB | 00m00s [ 41/156] Installing mpfr-0:4.2.1-5.fc4 100% | 203.5 MiB/s | 833.7 KiB | 00m00s [ 42/156] Installing gawk-0:5.3.0-4.fc4 100% | 173.2 MiB/s | 1.7 MiB | 00m00s [ 43/156] Installing unzip-0:6.0-65.fc4 100% | 130.8 MiB/s | 401.7 KiB | 00m00s [ 44/156] Installing file-libs-0:5.45-8 100% | 496.9 MiB/s | 9.9 MiB | 00m00s [ 45/156] Installing file-0:5.45-8.fc42 100% | 7.3 MiB/s | 105.2 KiB | 00m00s [ 46/156] Installing crypto-policies-0: 100% | 16.0 MiB/s | 163.7 KiB | 00m00s [ 47/156] Installing pcre2-0:10.44-1.fc 100% | 213.2 MiB/s | 654.9 KiB | 00m00s [ 48/156] Installing grep-0:3.11-9.fc41 100% | 111.5 MiB/s | 1.0 MiB | 00m00s [ 49/156] Installing xz-1:5.6.3-2.fc42. 100% | 123.7 MiB/s | 1.2 MiB | 00m00s [ 50/156] Installing libcap-ng-0:0.8.5- 100% | 69.4 MiB/s | 71.0 KiB | 00m00s [ 51/156] Installing audit-libs-0:4.0.2 100% | 162.8 MiB/s | 333.4 KiB | 00m00s [ 52/156] Installing pam-libs-0:1.7.0-3 100% | 69.2 MiB/s | 141.8 KiB | 00m00s [ 53/156] Installing libcap-0:2.71-1.fc 100% | 70.3 MiB/s | 215.8 KiB | 00m00s [ 54/156] Installing systemd-libs-0:257 100% | 251.6 MiB/s | 2.3 MiB | 00m00s [ 55/156] Installing libsmartcols-0:2.4 100% | 177.1 MiB/s | 181.4 KiB | 00m00s [ 56/156] Installing libsepol-0:3.8-0.r 100% | 267.9 MiB/s | 823.0 KiB | 00m00s [ 57/156] Installing libselinux-0:3.8-0 100% | 94.2 MiB/s | 192.9 KiB | 00m00s [ 58/156] Installing sed-0:4.9-3.fc41.x 100% | 121.3 MiB/s | 869.7 KiB | 00m00s [ 59/156] Installing findutils-1:4.10.0 100% | 168.9 MiB/s | 1.9 MiB | 00m00s [ 60/156] Installing libmount-0:2.40.2- 100% | 174.3 MiB/s | 356.9 KiB | 00m00s [ 61/156] Installing lz4-libs-0:1.10.0- 100% | 143.1 MiB/s | 146.6 KiB | 00m00s [ 62/156] Installing lua-libs-0:5.4.7-1 100% | 139.7 MiB/s | 286.2 KiB | 00m00s [ 63/156] Installing libcom_err-0:1.47. 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 64/156] Installing alternatives-0:1.3 100% | 66.3 MiB/s | 67.9 KiB | 00m00s [ 65/156] Installing libffi-0:3.4.6-3.f 100% | 85.7 MiB/s | 87.8 KiB | 00m00s [ 66/156] Installing libtasn1-0:4.19.0- 100% | 86.7 MiB/s | 177.5 KiB | 00m00s [ 67/156] Installing p11-kit-0:0.25.5-4 100% | 158.3 MiB/s | 2.2 MiB | 00m00s [ 68/156] Installing libunistring-0:1.1 100% | 288.5 MiB/s | 1.7 MiB | 00m00s [ 69/156] Installing libidn2-0:2.3.7-2. 100% | 65.4 MiB/s | 335.1 KiB | 00m00s [ 70/156] Installing libpsl-0:0.21.5-4. 100% | 79.7 MiB/s | 81.7 KiB | 00m00s [ 71/156] Installing p11-kit-trust-0:0. 100% | 26.4 MiB/s | 405.5 KiB | 00m00s [ 72/156] Installing zstd-0:1.5.6-2.fc4 100% | 211.4 MiB/s | 1.7 MiB | 00m00s [ 73/156] Installing util-linux-core-0: 100% | 127.3 MiB/s | 1.5 MiB | 00m00s [ 74/156] Installing tar-2:1.35-4.fc41. 100% | 227.6 MiB/s | 3.0 MiB | 00m00s [ 75/156] Installing libsemanage-0:3.8- 100% | 100.0 MiB/s | 307.1 KiB | 00m00s [ 76/156] Installing shadow-utils-2:4.1 100% | 124.1 MiB/s | 4.1 MiB | 00m00s [ 77/156] Installing zip-0:3.0-41.fc41. 100% | 172.6 MiB/s | 707.1 KiB | 00m00s [ 78/156] Installing gdbm-1:1.23-7.fc41 100% | 113.7 MiB/s | 465.8 KiB | 00m00s [ 79/156] Installing cyrus-sasl-lib-0:2 100% | 256.2 MiB/s | 2.3 MiB | 00m00s [ 80/156] Installing libfdisk-0:2.40.2- 100% | 177.7 MiB/s | 364.0 KiB | 00m00s [ 81/156] Installing libxml2-0:2.12.8-2 100% | 244.6 MiB/s | 1.7 MiB | 00m00s [ 82/156] Installing bzip2-0:1.0.8-19.f 100% | 48.9 MiB/s | 100.2 KiB | 00m00s [ 83/156] Installing add-determinism-0: 100% | 270.1 MiB/s | 2.4 MiB | 00m00s [ 84/156] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 85/156] Installing sqlite-libs-0:3.47 100% | 239.0 MiB/s | 1.4 MiB | 00m00s [ 86/156] Installing ed-0:1.20.2-2.fc41 100% | 72.8 MiB/s | 149.2 KiB | 00m00s [ 87/156] Installing patch-0:2.7.6-25.f 100% | 131.0 MiB/s | 268.2 KiB | 00m00s [ 88/156] Installing elfutils-default-y 100% | 185.7 KiB/s | 2.0 KiB | 00m00s [ 89/156] Installing elfutils-libs-0:0. 100% | 162.3 MiB/s | 664.7 KiB | 00m00s [ 90/156] Installing cpio-0:2.15-2.fc41 100% | 137.5 MiB/s | 1.1 MiB | 00m00s [ 91/156] Installing diffutils-0:3.10-8 100% | 159.0 MiB/s | 1.6 MiB | 00m00s [ 92/156] Installing libgomp-0:14.2.1-6 100% | 254.5 MiB/s | 521.2 KiB | 00m00s [ 93/156] Installing json-c-0:0.18-1.fc 100% | 82.6 MiB/s | 84.6 KiB | 00m00s [ 94/156] Installing keyutils-libs-0:1. 100% | 54.5 MiB/s | 55.8 KiB | 00m00s [ 95/156] Installing libverto-0:0.3.2-9 100% | 30.5 MiB/s | 31.3 KiB | 00m00s [ 96/156] Installing jansson-0:2.14-1.f 100% | 92.3 MiB/s | 94.5 KiB | 00m00s [ 97/156] Installing libpkgconf-0:2.3.0 100% | 77.5 MiB/s | 79.3 KiB | 00m00s [ 98/156] Installing pkgconf-0:2.3.0-1. 100% | 44.5 MiB/s | 91.1 KiB | 00m00s [ 99/156] Installing pkgconf-pkg-config 100% | 1.7 MiB/s | 1.8 KiB | 00m00s [100/156] Installing xxhash-libs-0:0.8. 100% | 87.7 MiB/s | 89.8 KiB | 00m00s [101/156] Installing libbrotli-0:1.1.0- 100% | 205.0 MiB/s | 839.9 KiB | 00m00s [102/156] Installing libnghttp2-0:1.64. 100% | 171.5 MiB/s | 175.6 KiB | 00m00s [103/156] Installing libtool-ltdl-0:2.4 100% | 65.7 MiB/s | 67.3 KiB | 00m00s [104/156] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [105/156] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 732.0 B | 00m00s [106/156] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [107/156] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [108/156] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [109/156] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [110/156] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [111/156] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [112/156] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [113/156] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [114/156] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [115/156] Installing ansible-srpm-macro 100% | 35.4 MiB/s | 36.2 KiB | 00m00s [116/156] Installing coreutils-common-0 100% | 243.3 MiB/s | 11.2 MiB | 00m00s [117/156] Installing openssl-libs-1:3.2 100% | 313.1 MiB/s | 7.8 MiB | 00m00s [118/156] Installing coreutils-0:9.5-11 100% | 135.0 MiB/s | 5.4 MiB | 00m00s [119/156] Installing ca-certificates-0: 100% | 1.2 MiB/s | 2.4 MiB | 00m02s [120/156] Installing krb5-libs-0:1.21.3 100% | 177.3 MiB/s | 2.3 MiB | 00m00s [121/156] Installing libarchive-0:3.7.7 100% | 228.1 MiB/s | 934.2 KiB | 00m00s [122/156] Installing libtirpc-0:1.3.6-1 100% | 101.2 MiB/s | 207.3 KiB | 00m00s [123/156] Installing gzip-0:1.13-2.fc41 100% | 96.3 MiB/s | 394.6 KiB | 00m00s [124/156] Installing authselect-libs-0: 100% | 90.8 MiB/s | 837.2 KiB | 00m00s [125/156] Installing cracklib-0:2.9.11- 100% | 34.9 MiB/s | 250.3 KiB | 00m00s [126/156] Installing libpwquality-0:1.4 100% | 52.5 MiB/s | 430.1 KiB | 00m00s [127/156] Installing libnsl2-0:2.0.1-2. 100% | 28.8 MiB/s | 59.1 KiB | 00m00s [128/156] Installing pam-0:1.7.0-3.fc42 100% | 78.9 MiB/s | 1.9 MiB | 00m00s [129/156] Installing libssh-0:0.11.1-1. 100% | 186.1 MiB/s | 571.7 KiB | 00m00s [130/156] Installing rpm-sequoia-0:1.7. 100% | 295.9 MiB/s | 2.4 MiB | 00m00s [131/156] Installing rpm-libs-0:4.20.0- 100% | 177.7 MiB/s | 727.7 KiB | 00m00s [132/156] Installing rpm-build-libs-0:4 100% | 101.3 MiB/s | 207.5 KiB | 00m00s [133/156] Installing libevent-0:2.1.12- 100% | 219.6 MiB/s | 899.5 KiB | 00m00s [134/156] Installing openldap-0:2.6.8-6 100% | 159.0 MiB/s | 651.2 KiB | 00m00s [135/156] Installing libcurl-0:8.10.1-2 100% | 205.0 MiB/s | 839.5 KiB | 00m00s [136/156] Installing elfutils-debuginfo 100% | 40.9 MiB/s | 83.8 KiB | 00m00s [137/156] Installing elfutils-0:0.192-7 100% | 240.4 MiB/s | 2.6 MiB | 00m00s [138/156] Installing binutils-0:2.43.50 100% | 271.6 MiB/s | 25.8 MiB | 00m00s [139/156] Installing gdb-minimal-0:15.2 100% | 302.2 MiB/s | 13.0 MiB | 00m00s [140/156] Installing debugedit-0:5.1-2. 100% | 99.1 MiB/s | 203.0 KiB | 00m00s [141/156] Installing curl-0:8.10.1-2.fc 100% | 21.2 MiB/s | 455.8 KiB | 00m00s [142/156] Installing rpm-0:4.20.0-1.fc4 100% | 89.5 MiB/s | 2.5 MiB | 00m00s [143/156] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.2 KiB | 00m00s [144/156] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [145/156] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [146/156] Installing fonts-srpm-macros- 100% | 55.7 MiB/s | 57.0 KiB | 00m00s [147/156] Installing forge-srpm-macros- 100% | 39.3 MiB/s | 40.3 KiB | 00m00s [148/156] Installing go-srpm-macros-0:3 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [149/156] Installing python-srpm-macros 100% | 50.9 MiB/s | 52.2 KiB | 00m00s [150/156] Installing redhat-rpm-config- 100% | 62.9 MiB/s | 193.2 KiB | 00m00s [151/156] Installing rpm-build-0:4.20.0 100% | 49.5 MiB/s | 202.9 KiB | 00m00s [152/156] Installing pyproject-srpm-mac 100% | 1.2 MiB/s | 2.5 KiB | 00m00s [153/156] Installing util-linux-0:2.40. 100% | 88.5 MiB/s | 3.7 MiB | 00m00s [154/156] Installing authselect-0:1.5.0 100% | 39.5 MiB/s | 161.9 KiB | 00m00s [155/156] Installing which-0:2.21-42.fc 100% | 80.5 MiB/s | 82.4 KiB | 00m00s [156/156] Installing info-0:7.1.1-2.fc4 100% | 125.8 KiB/s | 362.2 KiB | 00m03s Warning: skipped PGP checks for 1 package from repository: copr_base Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.4.3-1.fc42.x86_64 alternatives-1.30-1.fc41.x86_64 ansible-srpm-macros-1-16.fc41.noarch audit-libs-4.0.2-1.fc41.x86_64 authselect-1.5.0-8.fc42.x86_64 authselect-libs-1.5.0-8.fc42.x86_64 basesystem-11-21.fc41.noarch bash-5.2.37-1.fc42.x86_64 binutils-2.43.50-9.fc42.x86_64 build-reproducibility-srpm-macros-0.4.3-1.fc42.noarch bzip2-1.0.8-19.fc41.x86_64 bzip2-libs-1.0.8-19.fc41.x86_64 ca-certificates-2024.2.69_v8.0.401-3.fc42.noarch coreutils-9.5-11.fc42.x86_64 coreutils-common-9.5-11.fc42.x86_64 cpio-2.15-2.fc41.x86_64 cracklib-2.9.11-6.fc41.x86_64 crypto-policies-20241128-1.gitbb7b0b0.fc42.noarch curl-8.10.1-2.fc42.x86_64 cyrus-sasl-lib-2.1.28-27.fc41.x86_64 debugedit-5.1-2.fc42.x86_64 diffutils-3.10-8.fc41.x86_64 dwz-0.15-8.fc42.x86_64 ed-1.20.2-2.fc41.x86_64 efi-srpm-macros-5-13.fc42.noarch elfutils-0.192-7.fc42.x86_64 elfutils-debuginfod-client-0.192-7.fc42.x86_64 elfutils-default-yama-scope-0.192-7.fc42.noarch elfutils-libelf-0.192-7.fc42.x86_64 elfutils-libs-0.192-7.fc42.x86_64 fedora-gpg-keys-42-0.3.noarch fedora-release-42-0.11.noarch fedora-release-common-42-0.11.noarch fedora-release-identity-basic-42-0.11.noarch fedora-repos-42-0.3.noarch fedora-repos-rawhide-42-0.3.noarch file-5.45-8.fc42.x86_64 file-libs-5.45-8.fc42.x86_64 filesystem-3.18-29.fc42.x86_64 findutils-4.10.0-4.fc41.x86_64 fonts-srpm-macros-2.0.5-17.fc41.noarch forge-srpm-macros-0.4.0-1.fc42.noarch fpc-srpm-macros-1.3-13.fc41.noarch gawk-5.3.0-4.fc41.x86_64 gdb-minimal-15.2-3.fc42.x86_64 gdbm-1.23-7.fc41.x86_64 gdbm-libs-1.23-7.fc41.x86_64 ghc-srpm-macros-1.9.2-1.fc42.noarch glibc-2.40.9000-21.fc42.x86_64 glibc-common-2.40.9000-21.fc42.x86_64 glibc-gconv-extra-2.40.9000-21.fc42.x86_64 glibc-minimal-langpack-2.40.9000-21.fc42.x86_64 gmp-6.3.0-2.fc41.x86_64 gnat-srpm-macros-6-6.fc41.noarch go-srpm-macros-3.6.0-5.fc42.noarch gpg-pubkey-105ef944-65ca83d1 gpg-pubkey-31645531-66b6dccf gpg-pubkey-e99d6ad1-64d2612c grep-3.11-9.fc41.x86_64 gzip-1.13-2.fc41.x86_64 info-7.1.1-2.fc42.x86_64 jansson-2.14-1.fc42.x86_64 json-c-0.18-1.fc42.x86_64 kernel-srpm-macros-1.0-24.fc41.noarch keyutils-libs-1.6.3-4.fc41.x86_64 krb5-libs-1.21.3-3.fc42.x86_64 libacl-2.3.2-2.fc41.x86_64 libarchive-3.7.7-1.fc42.x86_64 libattr-2.5.2-4.fc41.x86_64 libblkid-2.40.2-8.fc42.x86_64 libbrotli-1.1.0-5.fc41.x86_64 libcap-2.71-1.fc42.x86_64 libcap-ng-0.8.5-3.fc41.x86_64 libcom_err-1.47.1-6.fc42.x86_64 libcurl-8.10.1-2.fc42.x86_64 libeconf-0.7.4-3.fc42.x86_64 libevent-2.1.12-14.fc41.x86_64 libfdisk-2.40.2-8.fc42.x86_64 libffi-3.4.6-3.fc42.x86_64 libgcc-14.2.1-6.fc42.x86_64 libgomp-14.2.1-6.fc42.x86_64 libidn2-2.3.7-2.fc41.x86_64 libmount-2.40.2-8.fc42.x86_64 libnghttp2-1.64.0-1.fc42.x86_64 libnsl2-2.0.1-2.fc41.x86_64 libpkgconf-2.3.0-1.fc42.x86_64 libpsl-0.21.5-4.fc41.x86_64 libpwquality-1.4.5-11.fc41.x86_64 libselinux-3.8-0.rc1.2.fc42.x86_64 libsemanage-3.8-0.rc1.1.fc42.x86_64 libsepol-3.8-0.rc1.1.fc42.x86_64 libsmartcols-2.40.2-8.fc42.x86_64 libssh-0.11.1-1.fc42.x86_64 libssh-config-0.11.1-1.fc42.noarch libstdc++-14.2.1-6.fc42.x86_64 libtasn1-4.19.0-9.fc41.x86_64 libtirpc-1.3.6-1.fc42.x86_64 libtool-ltdl-2.4.7-12.fc41.x86_64 libunistring-1.1-8.fc41.x86_64 libuuid-2.40.2-8.fc42.x86_64 libverto-0.3.2-9.fc41.x86_64 libxcrypt-4.4.36-11.fc42.x86_64 libxml2-2.12.8-2.fc41.x86_64 libzstd-1.5.6-2.fc41.x86_64 lua-libs-5.4.7-1.fc42.x86_64 lua-srpm-macros-1-14.fc41.noarch lz4-libs-1.10.0-1.fc41.x86_64 mpfr-4.2.1-5.fc41.x86_64 ncurses-base-6.5-2.20240629.fc41.noarch ncurses-libs-6.5-2.20240629.fc41.x86_64 ocaml-srpm-macros-10-3.fc41.noarch openblas-srpm-macros-2-18.fc41.noarch openldap-2.6.8-6.fc42.x86_64 openssl-libs-3.2.2-8.fc42.x86_64 p11-kit-0.25.5-4.fc42.x86_64 p11-kit-trust-0.25.5-4.fc42.x86_64 package-notes-srpm-macros-0.5-12.fc41.noarch pam-1.7.0-3.fc42.x86_64 pam-libs-1.7.0-3.fc42.x86_64 patch-2.7.6-25.fc41.x86_64 pcre2-10.44-1.fc41.1.x86_64 pcre2-syntax-10.44-1.fc41.1.noarch perl-srpm-macros-1-56.fc41.noarch pkgconf-2.3.0-1.fc42.x86_64 pkgconf-m4-2.3.0-1.fc42.noarch pkgconf-pkg-config-2.3.0-1.fc42.x86_64 popt-1.19-7.fc41.x86_64 publicsuffix-list-dafsa-20240107-4.fc41.noarch pyproject-srpm-macros-1.16.3-1.fc42.noarch python-srpm-macros-3.13-3.fc41.noarch qt5-srpm-macros-5.15.15-1.fc42.noarch qt6-srpm-macros-6.8.0-1.fc42.noarch readline-8.2-11.fc42.x86_64 redhat-rpm-config-296-1.fc42.noarch rpm-4.20.0-1.fc42.x86_64 rpm-build-4.20.0-1.fc42.x86_64 rpm-build-libs-4.20.0-1.fc42.x86_64 rpm-libs-4.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-2.fc41.x86_64 rust-srpm-macros-26.3-3.fc42.noarch sed-4.9-3.fc41.x86_64 setup-2.15.0-5.fc41.noarch shadow-utils-4.16.0-7.fc42.x86_64 sqlite-libs-3.47.1-1.fc42.x86_64 systemd-libs-257~rc3-1.fc42.x86_64 tar-1.35-4.fc41.x86_64 unzip-6.0-65.fc42.x86_64 util-linux-2.40.2-8.fc42.x86_64 util-linux-core-2.40.2-8.fc42.x86_64 which-2.21-42.fc41.x86_64 xxhash-libs-0.8.2-4.fc42.x86_64 xz-5.6.3-2.fc42.x86_64 xz-libs-5.6.3-2.fc42.x86_64 zig-srpm-macros-1-3.fc41.noarch zip-3.0-41.fc41.x86_64 zlib-ng-compat-2.2.2-1.fc42.x86_64 zstd-1.5.6-2.fc41.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1733529600 Wrote: /builddir/build/SRPMS/amdsmi-6.3.0-1.fc42.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1733583847.025050/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-uv59zk7k/amdsmi/amdsmi.spec) Config(child) 0 minutes 29 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/amdsmi-6.3.0-1.fc42.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1733583847.025050/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1733583847.025050/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1733583847.025050/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-2.fc41.x86_64 dnf5-5.2.7.0-1.fc42.x86_64 dnf5-plugins-5.2.7.0-1.fc42.x86_64 Finish: chroot init Start: build phase for amdsmi-6.3.0-1.fc42.src.rpm Start: build setup for amdsmi-6.3.0-1.fc42.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1733529600 Wrote: /builddir/build/SRPMS/amdsmi-6.3.0-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 1.0 MiB/s | 27.1 KiB | 00m00s Copr repository 100% | 33.2 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: cmake x86_64 3.31.1-1.fc42 fedora 32.9 MiB gcc-c++ x86_64 14.2.1-6.fc42 fedora 38.1 MiB kernel-devel x86_64 6.13.0-0.rc1.20241204gitfeffde684ac2.17.fc42 fedora 77.2 MiB libdrm-devel x86_64 2.4.123-1.fc42 fedora 708.5 KiB python3-devel x86_64 3.13.0-1.fc42 fedora 1.8 MiB Installing dependencies: annobin-docs noarch 12.77-1.fc42 fedora 98.4 KiB annobin-plugin-gcc x86_64 12.77-1.fc42 fedora 991.3 KiB bison x86_64 3.8.2-9.fc41 fedora 3.5 MiB cmake-data noarch 3.31.1-1.fc42 fedora 8.5 MiB cmake-filesystem x86_64 3.31.1-1.fc42 fedora 0.0 B cmake-rpm-macros noarch 3.31.1-1.fc42 fedora 7.5 KiB cpp x86_64 14.2.1-6.fc42 fedora 35.0 MiB elfutils-libelf-devel x86_64 0.192-7.fc42 fedora 49.5 KiB emacs-filesystem noarch 1:30.0-3.fc41 fedora 0.0 B expat x86_64 2.6.4-1.fc42 fedora 285.5 KiB flex x86_64 2.6.4-18.fc41 fedora 805.4 KiB gcc x86_64 14.2.1-6.fc42 fedora 104.3 MiB gcc-plugin-annobin x86_64 14.2.1-6.fc42 fedora 57.6 KiB glibc-devel x86_64 2.40.9000-21.fc42 fedora 2.3 MiB groff-base x86_64 1.23.0-7.fc41 fedora 3.8 MiB hwdata noarch 0.390-1.fc42 fedora 9.3 MiB jsoncpp x86_64 1.9.5-8.fc41 fedora 253.4 KiB kernel-headers x86_64 6.13.0-0.rc1.e70140ba0d2b.14.fc42 fedora 6.5 MiB libb2 x86_64 0.98.1-12.fc41 fedora 42.2 KiB libdrm x86_64 2.4.123-1.fc42 fedora 408.0 KiB libmpc x86_64 1.3.1-6.fc41 fedora 164.7 KiB libpciaccess x86_64 0.16-13.fc41 fedora 44.6 KiB libpciaccess-devel x86_64 0.16-13.fc41 fedora 15.3 KiB libstdc++-devel x86_64 14.2.1-6.fc42 fedora 15.4 MiB libuv x86_64 1:1.49.2-1.fc42 fedora 569.4 KiB libxcrypt-devel x86_64 4.4.36-11.fc42 fedora 30.5 KiB libzstd-devel x86_64 1.5.6-2.fc41 fedora 202.4 KiB m4 x86_64 1.4.19-10.fc41 fedora 592.9 KiB make x86_64 1:4.4.1-9.fc42 fedora 1.8 MiB mpdecimal x86_64 2.5.1-16.fc41 fedora 204.9 KiB ncurses x86_64 6.5-2.20240629.fc41 fedora 627.3 KiB openssl-devel x86_64 1:3.2.2-8.fc42 fedora 4.3 MiB perl-AutoLoader noarch 5.74-512.fc42 fedora 20.5 KiB perl-B x86_64 1.89-512.fc42 fedora 498.0 KiB perl-Carp noarch 1.54-511.fc41 fedora 46.6 KiB perl-Class-Struct noarch 0.68-512.fc42 fedora 25.4 KiB perl-Data-Dumper x86_64 2.189-512.fc41 fedora 111.7 KiB perl-Digest noarch 1.20-511.fc41 fedora 35.3 KiB perl-Digest-MD5 x86_64 2.59-5.fc41 fedora 59.8 KiB perl-DynaLoader x86_64 1.56-512.fc42 fedora 32.1 KiB perl-Encode x86_64 4:3.21-511.fc41 fedora 4.7 MiB perl-Errno x86_64 1.38-512.fc42 fedora 8.4 KiB perl-Exporter noarch 5.78-511.fc41 fedora 54.3 KiB perl-Fcntl x86_64 1.18-512.fc42 fedora 49.0 KiB perl-File-Basename noarch 2.86-512.fc42 fedora 14.0 KiB perl-File-Path noarch 2.18-511.fc41 fedora 63.5 KiB perl-File-Temp noarch 1:0.231.100-511.fc41 fedora 162.3 KiB perl-File-stat noarch 1.14-512.fc42 fedora 12.5 KiB perl-FileHandle noarch 2.05-512.fc42 fedora 9.3 KiB perl-Getopt-Long noarch 1:2.58-2.fc41 fedora 144.5 KiB perl-Getopt-Std noarch 1.14-512.fc42 fedora 11.2 KiB perl-HTTP-Tiny noarch 0.090-1.fc42 fedora 154.4 KiB perl-IO x86_64 1.55-512.fc42 fedora 151.1 KiB perl-IO-Socket-IP noarch 0.43-1.fc42 fedora 100.3 KiB perl-IO-Socket-SSL noarch 2.089-1.fc42 fedora 703.3 KiB perl-IPC-Open3 noarch 1.22-512.fc42 fedora 22.5 KiB perl-MIME-Base32 noarch 1.303-21.fc41 fedora 30.7 KiB perl-MIME-Base64 x86_64 3.16-511.fc41 fedora 46.1 KiB perl-Net-SSLeay x86_64 1.94-7.fc41 fedora 1.3 MiB perl-POSIX x86_64 2.20-512.fc42 fedora 235.1 KiB perl-PathTools x86_64 3.91-511.fc41 fedora 180.0 KiB perl-Pod-Escapes noarch 1:1.07-511.fc41 fedora 24.9 KiB perl-Pod-Perldoc noarch 3.28.01-512.fc41 fedora 163.7 KiB perl-Pod-Simple noarch 1:3.45-511.fc41 fedora 560.9 KiB perl-Pod-Usage noarch 4:2.03-511.fc41 fedora 84.8 KiB perl-Scalar-List-Utils x86_64 5:1.68-1.fc42 fedora 148.9 KiB perl-SelectSaver noarch 1.02-512.fc42 fedora 2.2 KiB perl-Socket x86_64 4:2.038-511.fc41 fedora 124.0 KiB perl-Storable x86_64 1:3.32-511.fc41 fedora 232.4 KiB perl-Symbol noarch 1.09-512.fc42 fedora 6.8 KiB perl-Term-ANSIColor noarch 5.01-512.fc41 fedora 97.5 KiB perl-Term-Cap noarch 1.18-511.fc41 fedora 29.3 KiB perl-Text-ParseWords noarch 3.31-511.fc41 fedora 13.6 KiB perl-Text-Tabs+Wrap noarch 2024.001-511.fc41 fedora 22.6 KiB perl-Time-Local noarch 2:1.350-511.fc41 fedora 69.0 KiB perl-URI noarch 5.31-1.fc42 fedora 257.0 KiB perl-base noarch 2.27-512.fc42 fedora 12.5 KiB perl-constant noarch 1.33-512.fc41 fedora 26.2 KiB perl-if noarch 0.61.000-512.fc42 fedora 5.8 KiB perl-interpreter x86_64 4:5.40.0-512.fc42 fedora 122.3 KiB perl-libnet noarch 3.15-512.fc41 fedora 289.4 KiB perl-libs x86_64 4:5.40.0-512.fc42 fedora 9.9 MiB perl-locale noarch 1.12-512.fc42 fedora 6.5 KiB perl-mro x86_64 1.29-512.fc42 fedora 45.6 KiB perl-overload noarch 1.37-512.fc42 fedora 71.5 KiB perl-overloading noarch 0.02-512.fc42 fedora 4.8 KiB perl-parent noarch 1:0.243-1.fc42 fedora 10.2 KiB perl-podlators noarch 1:6.0.2-2.fc41 fedora 317.5 KiB perl-vars noarch 1.05-512.fc42 fedora 3.9 KiB pyproject-rpm-macros noarch 1.16.3-1.fc42 fedora 113.7 KiB python-pip-wheel noarch 24.3.1-1.fc42 fedora 1.2 MiB python-rpm-macros noarch 3.13-3.fc41 fedora 22.1 KiB python3 x86_64 3.13.0-1.fc42 fedora 31.8 KiB python3-libs x86_64 3.13.0-1.fc42 fedora 40.4 MiB python3-packaging noarch 24.2-2.fc42 fedora 555.7 KiB python3-rpm-generators noarch 14-11.fc41 fedora 81.7 KiB python3-rpm-macros noarch 3.13-3.fc41 fedora 6.4 KiB rhash x86_64 1.4.5-1.fc42 fedora 359.3 KiB tzdata noarch 2024a-9.fc41 fedora 1.7 MiB vim-filesystem noarch 2:9.1.895-1.fc42 fedora 40.0 B zlib-ng-compat-devel x86_64 2.2.2-1.fc42 fedora 106.8 KiB Transaction Summary: Installing: 106 packages Total size of inbound packages is 130 MiB. Need to download 130 MiB. After this operation, 417 MiB extra will be used (install 417 MiB, remove 0 B). [ 1/106] cmake-0:3.31.1-1.fc42.x86_64 100% | 14.2 MiB/s | 9.8 MiB | 00m01s [ 2/106] libdrm-devel-0:2.4.123-1.fc42 100% | 930.3 KiB/s | 179.5 KiB | 00m00s [ 3/106] python3-devel-0:3.13.0-1.fc42 100% | 2.9 MiB/s | 402.5 KiB | 00m00s [ 4/106] gcc-c++-0:14.2.1-6.fc42.x86_6 100% | 12.8 MiB/s | 14.2 MiB | 00m01s [ 5/106] bison-0:3.8.2-9.fc41.x86_64 100% | 11.8 MiB/s | 1.0 MiB | 00m00s [ 6/106] flex-0:2.6.4-18.fc41.x86_64 100% | 4.1 MiB/s | 298.2 KiB | 00m00s [ 7/106] make-1:4.4.1-9.fc42.x86_64 100% | 5.9 MiB/s | 586.3 KiB | 00m00s [ 8/106] perl-interpreter-4:5.40.0-512 100% | 1.8 MiB/s | 72.3 KiB | 00m00s [ 9/106] kernel-devel-0:6.13.0-0.rc1.2 100% | 14.6 MiB/s | 21.2 MiB | 00m01s [ 10/106] cmake-data-0:3.31.1-1.fc42.no 100% | 17.7 MiB/s | 2.5 MiB | 00m00s [ 11/106] cmake-filesystem-0:3.31.1-1.f 100% | 463.7 KiB/s | 17.6 KiB | 00m00s [ 12/106] expat-0:2.6.4-1.fc42.x86_64 100% | 2.7 MiB/s | 114.5 KiB | 00m00s [ 13/106] jsoncpp-0:1.9.5-8.fc41.x86_64 100% | 2.2 MiB/s | 99.3 KiB | 00m00s [ 14/106] libuv-1:1.49.2-1.fc42.x86_64 100% | 5.0 MiB/s | 263.7 KiB | 00m00s [ 15/106] libmpc-0:1.3.1-6.fc41.x86_64 100% | 790.2 KiB/s | 71.1 KiB | 00m00s [ 16/106] rhash-0:1.4.5-1.fc42.x86_64 100% | 1.5 MiB/s | 198.0 KiB | 00m00s [ 17/106] libdrm-0:2.4.123-1.fc42.x86_6 100% | 3.7 MiB/s | 158.5 KiB | 00m00s [ 18/106] m4-0:1.4.19-10.fc41.x86_64 100% | 4.0 MiB/s | 305.4 KiB | 00m00s [ 19/106] gcc-0:14.2.1-6.fc42.x86_64 100% | 33.6 MiB/s | 37.0 MiB | 00m01s [ 20/106] python3-libs-0:3.13.0-1.fc42. 100% | 16.5 MiB/s | 9.1 MiB | 00m01s [ 21/106] emacs-filesystem-1:30.0-3.fc4 100% | 151.9 KiB/s | 7.1 KiB | 00m00s [ 22/106] vim-filesystem-2:9.1.895-1.fc 100% | 409.1 KiB/s | 16.4 KiB | 00m00s [ 23/106] perl-libs-4:5.40.0-512.fc42.x 100% | 19.1 MiB/s | 2.3 MiB | 00m00s [ 24/106] libpciaccess-0:0.16-13.fc41.x 100% | 696.7 KiB/s | 26.5 KiB | 00m00s [ 25/106] cpp-0:14.2.1-6.fc42.x86_64 100% | 19.8 MiB/s | 11.9 MiB | 00m01s [ 26/106] libb2-0:0.98.1-12.fc41.x86_64 100% | 658.4 KiB/s | 25.7 KiB | 00m00s [ 27/106] mpdecimal-0:2.5.1-16.fc41.x86 100% | 2.0 MiB/s | 89.0 KiB | 00m00s [ 28/106] perl-Carp-0:1.54-511.fc41.noa 100% | 628.1 KiB/s | 28.9 KiB | 00m00s [ 29/106] perl-DynaLoader-0:1.56-512.fc 100% | 541.7 KiB/s | 26.0 KiB | 00m00s [ 30/106] tzdata-0:2024a-9.fc41.noarch 100% | 4.8 MiB/s | 714.7 KiB | 00m00s [ 31/106] perl-Exporter-0:5.78-511.fc41 100% | 754.0 KiB/s | 30.9 KiB | 00m00s [ 32/106] python-pip-wheel-0:24.3.1-1.f 100% | 6.2 MiB/s | 1.2 MiB | 00m00s [ 33/106] perl-PathTools-0:3.91-511.fc4 100% | 1.8 MiB/s | 87.4 KiB | 00m00s [ 34/106] perl-vars-0:1.05-512.fc42.noa 100% | 275.7 KiB/s | 13.0 KiB | 00m00s [ 35/106] perl-Errno-0:1.38-512.fc42.x8 100% | 317.2 KiB/s | 14.9 KiB | 00m00s [ 36/106] hwdata-0:0.390-1.fc42.noarch 100% | 13.7 MiB/s | 1.6 MiB | 00m00s [ 37/106] perl-Scalar-List-Utils-5:1.68 100% | 1.8 MiB/s | 74.2 KiB | 00m00s [ 38/106] perl-constant-0:1.33-512.fc41 100% | 575.8 KiB/s | 23.0 KiB | 00m00s [ 39/106] python3-0:3.13.0-1.fc42.x86_6 100% | 730.4 KiB/s | 27.8 KiB | 00m00s [ 40/106] perl-File-Basename-0:2.86-512 100% | 462.9 KiB/s | 17.1 KiB | 00m00s [ 41/106] perl-Encode-4:3.21-511.fc41.x 100% | 15.1 MiB/s | 1.1 MiB | 00m00s [ 42/106] perl-Getopt-Long-1:2.58-2.fc4 100% | 1.6 MiB/s | 63.9 KiB | 00m00s [ 43/106] perl-Getopt-Std-0:1.14-512.fc 100% | 422.9 KiB/s | 15.6 KiB | 00m00s [ 44/106] perl-MIME-Base64-0:3.16-511.f 100% | 809.3 KiB/s | 29.9 KiB | 00m00s [ 45/106] perl-overload-0:1.37-512.fc42 100% | 1.2 MiB/s | 45.5 KiB | 00m00s [ 46/106] perl-Storable-1:3.32-511.fc41 100% | 2.3 MiB/s | 98.4 KiB | 00m00s [ 47/106] perl-parent-1:0.243-1.fc42.no 100% | 413.5 KiB/s | 15.3 KiB | 00m00s [ 48/106] perl-Pod-Usage-4:2.03-511.fc4 100% | 1.0 MiB/s | 40.0 KiB | 00m00s [ 49/106] perl-Text-ParseWords-0:3.31-5 100% | 436.2 KiB/s | 16.6 KiB | 00m00s [ 50/106] perl-base-0:2.27-512.fc42.noa 100% | 436.7 KiB/s | 16.2 KiB | 00m00s [ 51/106] perl-Fcntl-0:1.18-512.fc42.x8 100% | 804.6 KiB/s | 29.8 KiB | 00m00s [ 52/106] perl-IO-0:1.55-512.fc42.x86_6 100% | 2.0 MiB/s | 81.7 KiB | 00m00s [ 53/106] perl-mro-0:1.29-512.fc42.x86_ 100% | 807.7 KiB/s | 29.9 KiB | 00m00s [ 54/106] perl-overloading-0:0.02-512.f 100% | 347.5 KiB/s | 12.9 KiB | 00m00s [ 55/106] perl-Pod-Perldoc-0:3.28.01-51 100% | 2.1 MiB/s | 86.1 KiB | 00m00s [ 56/106] perl-podlators-1:6.0.2-2.fc41 100% | 3.1 MiB/s | 128.8 KiB | 00m00s [ 57/106] perl-File-stat-0:1.14-512.fc4 100% | 459.5 KiB/s | 17.0 KiB | 00m00s [ 58/106] perl-SelectSaver-0:1.02-512.f 100% | 315.6 KiB/s | 11.7 KiB | 00m00s [ 59/106] perl-Socket-4:2.038-511.fc41. 100% | 1.4 MiB/s | 54.8 KiB | 00m00s [ 60/106] perl-Symbol-0:1.09-512.fc42.n 100% | 382.8 KiB/s | 14.2 KiB | 00m00s [ 61/106] perl-File-Temp-1:0.231.100-51 100% | 1.5 MiB/s | 59.1 KiB | 00m00s [ 62/106] perl-HTTP-Tiny-0:0.090-1.fc42 100% | 1.5 MiB/s | 56.5 KiB | 00m00s [ 63/106] groff-base-0:1.23.0-7.fc41.x8 100% | 12.1 MiB/s | 1.1 MiB | 00m00s [ 64/106] perl-IPC-Open3-0:1.22-512.fc4 100% | 589.4 KiB/s | 21.8 KiB | 00m00s [ 65/106] perl-Pod-Simple-1:3.45-511.fc 100% | 5.3 MiB/s | 219.0 KiB | 00m00s [ 66/106] perl-POSIX-0:2.20-512.fc42.x8 100% | 2.3 MiB/s | 97.0 KiB | 00m00s [ 67/106] perl-Term-ANSIColor-0:5.01-51 100% | 1.2 MiB/s | 47.7 KiB | 00m00s [ 68/106] perl-Term-Cap-0:1.18-511.fc41 100% | 596.5 KiB/s | 22.1 KiB | 00m00s [ 69/106] perl-Class-Struct-0:0.68-512. 100% | 579.3 KiB/s | 22.0 KiB | 00m00s [ 70/106] perl-File-Path-0:2.18-511.fc4 100% | 953.0 KiB/s | 35.3 KiB | 00m00s [ 71/106] perl-IO-Socket-SSL-0:2.089-1. 100% | 5.6 MiB/s | 231.2 KiB | 00m00s [ 72/106] perl-Time-Local-2:1.350-511.f 100% | 933.1 KiB/s | 34.5 KiB | 00m00s [ 73/106] perl-Pod-Escapes-1:1.07-511.f 100% | 535.5 KiB/s | 19.8 KiB | 00m00s [ 74/106] perl-Net-SSLeay-0:1.94-7.fc41 100% | 6.7 MiB/s | 375.7 KiB | 00m00s [ 75/106] perl-Text-Tabs+Wrap-0:2024.00 100% | 590.6 KiB/s | 21.9 KiB | 00m00s [ 76/106] perl-if-0:0.61.000-512.fc42.n 100% | 377.3 KiB/s | 14.0 KiB | 00m00s [ 77/106] perl-locale-0:1.12-512.fc42.n 100% | 366.8 KiB/s | 13.6 KiB | 00m00s [ 78/106] perl-IO-Socket-IP-0:0.43-1.fc 100% | 1.1 MiB/s | 42.2 KiB | 00m00s [ 79/106] ncurses-0:6.5-2.20240629.fc41 100% | 8.4 MiB/s | 423.8 KiB | 00m00s [ 80/106] perl-URI-0:5.31-1.fc42.noarch 100% | 3.2 MiB/s | 140.6 KiB | 00m00s [ 81/106] perl-AutoLoader-0:5.74-512.fc 100% | 572.5 KiB/s | 21.2 KiB | 00m00s [ 82/106] perl-Data-Dumper-0:2.189-512. 100% | 1.4 MiB/s | 56.3 KiB | 00m00s [ 83/106] perl-MIME-Base32-0:1.303-21.f 100% | 538.7 KiB/s | 20.5 KiB | 00m00s [ 84/106] perl-libnet-0:3.15-512.fc41.n 100% | 3.2 MiB/s | 128.5 KiB | 00m00s [ 85/106] perl-B-0:1.89-512.fc42.x86_64 100% | 4.1 MiB/s | 176.3 KiB | 00m00s [ 86/106] perl-Digest-MD5-0:2.59-5.fc41 100% | 947.7 KiB/s | 36.0 KiB | 00m00s [ 87/106] perl-FileHandle-0:2.05-512.fc 100% | 417.6 KiB/s | 15.5 KiB | 00m00s [ 88/106] perl-Digest-0:1.20-511.fc41.n 100% | 673.1 KiB/s | 24.9 KiB | 00m00s [ 89/106] libpciaccess-devel-0:0.16-13. 100% | 207.2 KiB/s | 12.4 KiB | 00m00s [ 90/106] elfutils-libelf-devel-0:0.192 100% | 716.5 KiB/s | 47.3 KiB | 00m00s [ 91/106] kernel-headers-0:6.13.0-0.rc1 100% | 14.1 MiB/s | 1.6 MiB | 00m00s [ 92/106] openssl-devel-1:3.2.2-8.fc42. 100% | 28.7 MiB/s | 2.8 MiB | 00m00s [ 93/106] glibc-devel-0:2.40.9000-21.fc 100% | 8.4 MiB/s | 645.2 KiB | 00m00s [ 94/106] libstdc++-devel-0:14.2.1-6.fc 100% | 23.0 MiB/s | 2.8 MiB | 00m00s [ 95/106] libxcrypt-devel-0:4.4.36-11.f 100% | 761.5 KiB/s | 28.2 KiB | 00m00s [ 96/106] libzstd-devel-0:1.5.6-2.fc41. 100% | 1.3 MiB/s | 51.8 KiB | 00m00s [ 97/106] zlib-ng-compat-devel-0:2.2.2- 100% | 1.0 MiB/s | 38.2 KiB | 00m00s [ 98/106] gcc-plugin-annobin-0:14.2.1-6 100% | 1.4 MiB/s | 57.1 KiB | 00m00s [ 99/106] annobin-plugin-gcc-0:12.77-1. 100% | 16.7 MiB/s | 977.2 KiB | 00m00s [100/106] annobin-docs-0:12.77-1.fc42.n 100% | 2.3 MiB/s | 92.4 KiB | 00m00s [101/106] pyproject-rpm-macros-0:1.16.3 100% | 1.1 MiB/s | 44.6 KiB | 00m00s [102/106] python-rpm-macros-0:3.13-3.fc 100% | 477.5 KiB/s | 17.7 KiB | 00m00s [103/106] python3-rpm-generators-0:14-1 100% | 792.0 KiB/s | 29.3 KiB | 00m00s [104/106] python3-rpm-macros-0:3.13-3.f 100% | 336.3 KiB/s | 12.4 KiB | 00m00s [105/106] cmake-rpm-macros-0:3.31.1-1.f 100% | 456.7 KiB/s | 16.9 KiB | 00m00s [106/106] python3-packaging-0:24.2-2.fc 100% | 3.8 MiB/s | 153.8 KiB | 00m00s -------------------------------------------------------------------------------- [106/106] Total 100% | 35.0 MiB/s | 130.4 MiB | 00m04s Running transaction [ 1/108] Verify package files 100% | 243.0 B/s | 106.0 B | 00m00s [ 2/108] Prepare transaction 100% | 266.0 B/s | 106.0 B | 00m00s [ 3/108] Installing python-rpm-macros- 100% | 22.3 MiB/s | 22.8 KiB | 00m00s [ 4/108] Installing libmpc-0:1.3.1-6.f 100% | 81.1 MiB/s | 166.2 KiB | 00m00s [ 5/108] Installing cmake-filesystem-0 100% | 2.5 MiB/s | 7.6 KiB | 00m00s [ 6/108] Installing make-1:4.4.1-9.fc4 100% | 180.0 MiB/s | 1.8 MiB | 00m00s [ 7/108] Installing python3-rpm-macros 100% | 3.3 MiB/s | 6.7 KiB | 00m00s [ 8/108] Installing kernel-headers-0:6 100% | 103.8 MiB/s | 6.6 MiB | 00m00s [ 9/108] Installing libxcrypt-devel-0: 100% | 10.7 MiB/s | 32.9 KiB | 00m00s [ 10/108] Installing glibc-devel-0:2.40 100% | 75.1 MiB/s | 2.3 MiB | 00m00s [ 11/108] Installing m4-0:1.4.19-10.fc4 100% | 97.5 MiB/s | 599.2 KiB | 00m00s [ 12/108] Installing expat-0:2.6.4-1.fc 100% | 93.6 MiB/s | 287.6 KiB | 00m00s [ 13/108] Installing bison-0:3.8.2-9.fc 100% | 206.5 MiB/s | 3.5 MiB | 00m00s [ 14/108] Installing flex-0:2.6.4-18.fc 100% | 132.1 MiB/s | 811.4 KiB | 00m00s [ 15/108] Installing pyproject-rpm-macr 100% | 113.0 MiB/s | 115.7 KiB | 00m00s [ 16/108] Installing zlib-ng-compat-dev 100% | 105.8 MiB/s | 108.3 KiB | 00m00s [ 17/108] Installing cpp-0:14.2.1-6.fc4 100% | 289.1 MiB/s | 35.0 MiB | 00m00s [ 18/108] Installing gcc-0:14.2.1-6.fc4 100% | 314.2 MiB/s | 104.3 MiB | 00m00s [ 19/108] Installing annobin-docs-0:12. 100% | 97.2 MiB/s | 99.5 KiB | 00m00s [ 20/108] Installing libzstd-devel-0:1. 100% | 198.5 MiB/s | 203.2 KiB | 00m00s [ 21/108] Installing elfutils-libelf-de 100% | 13.4 MiB/s | 55.0 KiB | 00m00s [ 22/108] Installing libstdc++-devel-0: 100% | 189.7 MiB/s | 15.6 MiB | 00m00s [ 23/108] Installing openssl-devel-1:3. 100% | 28.3 MiB/s | 5.2 MiB | 00m00s [ 24/108] Installing ncurses-0:6.5-2.20 100% | 32.6 MiB/s | 633.9 KiB | 00m00s [ 25/108] Installing groff-base-0:1.23. 100% | 101.9 MiB/s | 3.9 MiB | 00m00s [ 26/108] Installing perl-Digest-0:1.20 100% | 36.2 MiB/s | 37.1 KiB | 00m00s [ 27/108] Installing perl-B-0:1.89-512. 100% | 163.2 MiB/s | 501.3 KiB | 00m00s [ 28/108] Installing perl-FileHandle-0: 100% | 0.0 B/s | 9.8 KiB | 00m00s [ 29/108] Installing perl-Digest-MD5-0: 100% | 60.2 MiB/s | 61.7 KiB | 00m00s [ 30/108] Installing perl-MIME-Base32-0 100% | 31.4 MiB/s | 32.2 KiB | 00m00s [ 31/108] Installing perl-Data-Dumper-0 100% | 55.5 MiB/s | 113.6 KiB | 00m00s [ 32/108] Installing perl-libnet-0:3.15 100% | 95.9 MiB/s | 294.7 KiB | 00m00s [ 33/108] Installing perl-IO-Socket-IP- 100% | 99.8 MiB/s | 102.2 KiB | 00m00s [ 34/108] Installing perl-AutoLoader-0: 100% | 20.5 MiB/s | 20.9 KiB | 00m00s [ 35/108] Installing perl-URI-0:5.31-1. 100% | 52.7 MiB/s | 269.6 KiB | 00m00s [ 36/108] Installing perl-File-Path-0:2 100% | 63.0 MiB/s | 64.5 KiB | 00m00s [ 37/108] Installing perl-Time-Local-2: 100% | 68.9 MiB/s | 70.6 KiB | 00m00s [ 38/108] Installing perl-Pod-Escapes-1 100% | 25.3 MiB/s | 25.9 KiB | 00m00s [ 39/108] Installing perl-Text-Tabs+Wra 100% | 23.3 MiB/s | 23.9 KiB | 00m00s [ 40/108] Installing perl-if-0:0.61.000 100% | 0.0 B/s | 6.2 KiB | 00m00s [ 41/108] Installing perl-locale-0:1.12 100% | 6.7 MiB/s | 6.9 KiB | 00m00s [ 42/108] Installing perl-Net-SSLeay-0: 100% | 136.3 MiB/s | 1.4 MiB | 00m00s [ 43/108] Installing perl-IO-Socket-SSL 100% | 172.7 MiB/s | 707.4 KiB | 00m00s [ 44/108] Installing perl-Term-ANSIColo 100% | 96.9 MiB/s | 99.2 KiB | 00m00s [ 45/108] Installing perl-Term-Cap-0:1. 100% | 29.9 MiB/s | 30.6 KiB | 00m00s [ 46/108] Installing perl-Class-Struct- 100% | 25.3 MiB/s | 25.9 KiB | 00m00s [ 47/108] Installing perl-File-Temp-1:0 100% | 160.2 MiB/s | 164.1 KiB | 00m00s [ 48/108] Installing perl-IPC-Open3-0:1 100% | 22.7 MiB/s | 23.3 KiB | 00m00s [ 49/108] Installing perl-POSIX-0:2.20- 100% | 115.4 MiB/s | 236.4 KiB | 00m00s [ 50/108] Installing perl-HTTP-Tiny-0:0 100% | 76.4 MiB/s | 156.4 KiB | 00m00s [ 51/108] Installing perl-Pod-Simple-1: 100% | 139.3 MiB/s | 570.5 KiB | 00m00s [ 52/108] Installing perl-Socket-4:2.03 100% | 61.6 MiB/s | 126.1 KiB | 00m00s [ 53/108] Installing perl-SelectSaver-0 100% | 0.0 B/s | 2.6 KiB | 00m00s [ 54/108] Installing perl-Symbol-0:1.09 100% | 7.0 MiB/s | 7.2 KiB | 00m00s [ 55/108] Installing perl-File-stat-0:1 100% | 12.7 MiB/s | 13.1 KiB | 00m00s [ 56/108] Installing perl-Pod-Perldoc-0 100% | 82.6 MiB/s | 169.3 KiB | 00m00s [ 57/108] Installing perl-podlators-1:6 100% | 104.6 MiB/s | 321.4 KiB | 00m00s [ 58/108] Installing perl-Text-ParseWor 100% | 14.2 MiB/s | 14.6 KiB | 00m00s [ 59/108] Installing perl-base-0:2.27-5 100% | 0.0 B/s | 12.9 KiB | 00m00s [ 60/108] Installing perl-Fcntl-0:1.18- 100% | 48.9 MiB/s | 50.1 KiB | 00m00s [ 61/108] Installing perl-mro-0:1.29-51 100% | 45.6 MiB/s | 46.7 KiB | 00m00s [ 62/108] Installing perl-overloading-0 100% | 5.4 MiB/s | 5.5 KiB | 00m00s [ 63/108] Installing perl-IO-0:1.55-512 100% | 75.8 MiB/s | 155.2 KiB | 00m00s [ 64/108] Installing perl-Pod-Usage-4:2 100% | 84.3 MiB/s | 86.3 KiB | 00m00s [ 65/108] Installing perl-vars-0:1.05-5 100% | 0.0 B/s | 4.3 KiB | 00m00s [ 66/108] Installing perl-Errno-0:1.38- 100% | 0.0 B/s | 8.8 KiB | 00m00s [ 67/108] Installing perl-Scalar-List-U 100% | 49.7 MiB/s | 152.6 KiB | 00m00s [ 68/108] Installing perl-constant-0:1. 100% | 26.7 MiB/s | 27.4 KiB | 00m00s [ 69/108] Installing perl-File-Basename 100% | 0.0 B/s | 14.6 KiB | 00m00s [ 70/108] Installing perl-Getopt-Std-0: 100% | 11.5 MiB/s | 11.7 KiB | 00m00s [ 71/108] Installing perl-MIME-Base64-0 100% | 23.6 MiB/s | 48.4 KiB | 00m00s [ 72/108] Installing perl-parent-1:0.24 100% | 10.6 MiB/s | 10.9 KiB | 00m00s [ 73/108] Installing perl-overload-0:1. 100% | 70.3 MiB/s | 71.9 KiB | 00m00s [ 74/108] Installing perl-Storable-1:3. 100% | 114.3 MiB/s | 234.0 KiB | 00m00s [ 75/108] Installing perl-Getopt-Long-1 100% | 71.9 MiB/s | 147.2 KiB | 00m00s [ 76/108] Installing perl-Carp-0:1.54-5 100% | 46.6 MiB/s | 47.7 KiB | 00m00s [ 77/108] Installing perl-Exporter-0:5. 100% | 54.3 MiB/s | 55.6 KiB | 00m00s [ 78/108] Installing perl-DynaLoader-0: 100% | 31.7 MiB/s | 32.5 KiB | 00m00s [ 79/108] Installing perl-PathTools-0:3 100% | 60.1 MiB/s | 184.6 KiB | 00m00s [ 80/108] Installing perl-Encode-4:3.21 100% | 224.7 MiB/s | 4.7 MiB | 00m00s [ 81/108] Installing perl-libs-4:5.40.0 100% | 151.2 MiB/s | 10.0 MiB | 00m00s [ 82/108] Installing perl-interpreter-4 100% | 121.1 MiB/s | 124.0 KiB | 00m00s [ 83/108] Installing hwdata-0:0.390-1.f 100% | 406.1 MiB/s | 9.3 MiB | 00m00s [ 84/108] Installing libpciaccess-0:0.1 100% | 44.9 MiB/s | 46.0 KiB | 00m00s [ 85/108] Installing libdrm-0:2.4.123-1 100% | 134.1 MiB/s | 411.9 KiB | 00m00s [ 86/108] Installing libpciaccess-devel 100% | 3.9 MiB/s | 15.9 KiB | 00m00s [ 87/108] Installing tzdata-0:2024a-9.f 100% | 26.6 MiB/s | 1.9 MiB | 00m00s [ 88/108] Installing python-pip-wheel-0 100% | 414.7 MiB/s | 1.2 MiB | 00m00s [ 89/108] Installing mpdecimal-0:2.5.1- 100% | 100.6 MiB/s | 206.0 KiB | 00m00s [ 90/108] Installing libb2-0:0.98.1-12. 100% | 7.0 MiB/s | 43.3 KiB | 00m00s [ 91/108] Installing python3-libs-0:3.1 100% | 208.8 MiB/s | 40.7 MiB | 00m00s [ 92/108] Installing python3-0:3.13.0-1 100% | 32.8 MiB/s | 33.5 KiB | 00m00s [ 93/108] Installing cmake-rpm-macros-0 100% | 8.0 MiB/s | 8.2 KiB | 00m00s [ 94/108] Installing python3-packaging- 100% | 110.9 MiB/s | 568.0 KiB | 00m00s [ 95/108] Installing python3-rpm-genera 100% | 81.0 MiB/s | 82.9 KiB | 00m00s [ 96/108] Installing vim-filesystem-2:9 100% | 2.3 MiB/s | 4.7 KiB | 00m00s [ 97/108] Installing emacs-filesystem-1 100% | 0.0 B/s | 544.0 B | 00m00s [ 98/108] Installing rhash-0:1.4.5-1.fc 100% | 118.7 MiB/s | 364.6 KiB | 00m00s [ 99/108] Installing libuv-1:1.49.2-1.f 100% | 186.3 MiB/s | 572.2 KiB | 00m00s [100/108] Installing jsoncpp-0:1.9.5-8. 100% | 20.7 MiB/s | 254.9 KiB | 00m00s [101/108] Installing cmake-data-0:3.31. 100% | 55.6 MiB/s | 9.1 MiB | 00m00s [102/108] Installing cmake-0:3.31.1-1.f 100% | 313.7 MiB/s | 32.9 MiB | 00m00s [103/108] Installing python3-devel-0:3. 100% | 106.7 MiB/s | 1.8 MiB | 00m00s [104/108] Installing libdrm-devel-0:2.4 100% | 13.5 MiB/s | 717.6 KiB | 00m00s [105/108] Installing kernel-devel-0:6.1 100% | 2.4 MiB/s | 82.0 MiB | 00m34s [106/108] Installing gcc-c++-0:14.2.1-6 100% | 312.5 MiB/s | 38.1 MiB | 00m00s [107/108] Installing annobin-plugin-gcc 100% | 34.6 MiB/s | 992.9 KiB | 00m00s [108/108] Installing gcc-plugin-annobin 100% | 204.3 KiB/s | 59.2 KiB | 00m00s Complete! Finish: build setup for amdsmi-6.3.0-1.fc42.src.rpm Start: rpmbuild amdsmi-6.3.0-1.fc42.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1733529600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.qsR7Et + umask 022 + cd /builddir/build/BUILD/amdsmi-6.3.0-build + test -d /builddir/build/BUILD/amdsmi-6.3.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/amdsmi-6.3.0-build + /usr/bin/rm -rf /builddir/build/BUILD/amdsmi-6.3.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/amdsmi-6.3.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/amdsmi-6.3.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Hy6AXz + umask 022 + cd /builddir/build/BUILD/amdsmi-6.3.0-build + cd /builddir/build/BUILD/amdsmi-6.3.0-build + rm -rf amdsmi-rocm-6.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/amdsmi-6.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd amdsmi-rocm-6.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Do-not-automatically-download-kernel-header-amd_hsmp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fix-empty-return.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + tar xf /builddir/build/SOURCES/esmi_pkg_ver-3.0.3.tar.gz + mv esmi_ib_library-esmi_pkg_ver-3.0.3 esmi_ib_library + mv esmi_ib_library/License.txt esmi_ib_library_License.txt + chmod a-x README.md + sed -i -e 's@bdf_regex = "@bdf_regex = r"@' amdsmi_cli/BDF.py + sed -i -e 's@${CPACK_PACKAGING_INSTALL_PREFIX}/lib@${SHARE_INSTALL_PREFIX}/tests@' tests/amd_smi_test/CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XLr0KC + umask 022 + cd /builddir/build/BUILD/amdsmi-6.3.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd amdsmi-rocm-6.3.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_KERNEL_ASM_DIR=/usr/include/asm -DCMAKE_SKIP_INSTALL_RPATH=TRUE -DBUILD_TESTS=OFF -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0") /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/cmake_modules/version_util.sh: line 18: git: command not found /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/cmake_modules/version_util.sh: line 22: git: command not found /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/cmake_modules/version_util.sh: line 23: git: command not found 0 were found since previous release Package version: 24.7.1.0-local-build-0-unknown -- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Using CPACK_DEBIAN_PACKAGE_RELEASE Using CPACK_RPM_PACKAGE_RELEASE -- Copying amd_hsmp.h from /usr/include/asm/amd_hsmp.h -- Checking for module 'libdrm' -- Found libdrm, version 2.4.123 -- Checking for module 'libdrm_amdgpu' -- Found libdrm_amdgpu, version 2.4.123 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& CMake ROCm SMI (Library) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Build Configuration: --------Proj Src Dir: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 Package version: 24.7.1.0-local-build-0-unknown SOVERSION: 1.0 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& CMake AMD SMI C/C++ Library &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Build Configuration: --------Proj Src Dir: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 Package version: 24.7.1.0-local-build-0-unknown SOVERSION: 0.0 CMake Warning (dev) at py-interface/CMakeLists.txt:34 (message): A wrapper will not be re-generated! Using old wrapper instead. Set -DBUILD_WRAPPER=ON to re-build the wrapper This warning is for project developers. Use -Wno-dev to suppress it. &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& CMake AMDSMI CLI Install &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& CMake Deprecation Warning at goamdsmi_shim/CMakeLists.txt:7 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& CMake AMD goamdsmi_shim Library &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& SOVERSION: 1.0 -- Configuring done (1.2s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j2 --verbose Change Dir: '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j2 /usr/bin/cmake -S/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 -B/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/CMakeFiles /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f rocm_smi/CMakeFiles/rocm_smi64.dir/build.make rocm_smi/CMakeFiles/rocm_smi64.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi/CMakeFiles/rocm_smi64.dir/DependInfo.cmake "--color=" /usr/bin/gmake -f src/CMakeFiles/amd_smi.dir/build.make src/CMakeFiles/amd_smi.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src/CMakeFiles/amd_smi.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f rocm_smi/CMakeFiles/rocm_smi64.dir/build.make rocm_smi/CMakeFiles/rocm_smi64.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/amd_smi.dir/build.make src/CMakeFiles/amd_smi.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 1%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc [ 3%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc In file included from /usr/include/fcntl.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/assert.h:35, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:43: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_ras_feature_info_get(uint32_t, rsmi_ras_feature_info_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:922:41: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 922 | ras_feature->ras_eeprom_version = eeprom_version; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:946:49: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 946 | ras_feature->ecc_correction_schema_flag = schema; | ^~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc: In function ‘amdsmi_status_t amdsmi_get_gpu_asic_info(amdsmi_processor_handle, amdsmi_asic_info_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:1040:28: warning: the address of ‘amdsmi_asic_info_t::vendor_name’ will never be NULL [-Waddress] 1040 | if ((info->vendor_name != NULL && info->vendor_name[0] == '\0') && info->vendor_id == 0x1002) { | ^ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:62: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:653:8: note: ‘amdsmi_asic_info_t::vendor_name’ declared here 653 | char vendor_name[AMDSMI_MAX_STRING_LENGTH]; | ^~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc: In function ‘amdsmi_status_t amdsmi_get_gpu_accelerator_partition_profile(amdsmi_processor_handle, amdsmi_accelerator_partition_profile_t*, uint32_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:1472:10: warning: unused variable ‘tmp_xcd_count’ [-Wunused-variable] 1472 | auto tmp_xcd_count = uint16_t(0); | ^~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc: In function ‘amdsmi_status_t amdsmi_get_clock_info(amdsmi_processor_handle, amdsmi_clk_type_t, amdsmi_clk_info_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:2162:28: warning: conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 2162 | info->clk_deep_sleep = sleep_state_freq; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc: In function ‘amdsmi_status_t amdsmi_get_gpu_device_uuid(amdsmi_processor_handle, unsigned int*, char*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:2452:12: warning: unused variable ‘len’ [-Wunused-variable] 2452 | size_t len = AMDSMI_GPU_UUID_SIZE; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc: In function ‘amdsmi_status_t amdsmi_get_pcie_info(amdsmi_processor_handle, amdsmi_pcie_info_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:2515:51: warning: conversion from ‘double’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wfloat-conversion] 2515 | info->pcie_static.max_pcie_speed = pcie_speed * 1000; | ~~~~~~~~~~~^~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:75: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_utils.h: In instantiation of ‘decltype(auto) amd::smi::TagTextContents_t::get_structured_data_subkey_last(const PrimaryKeyType&) [with PrimaryKeyType = std::__cxx11::basic_string; PrimaryDataType = std::__cxx11::basic_string; SecondaryKeyType = std::__cxx11::basic_string; SecondaryDataType = std::__cxx11::basic_string]’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:1496:87: required from here 1496 | auto upper_bound_data = txt_power_dev_od_voltage.get_structured_data_subkey_last(prim_key); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_utils.h:450:138: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 450 | (get_structured_subkeys_size(prim_key) - 1)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc: In function ‘amdsmi_status_t amdsmi_get_link_topology_nearest(amdsmi_processor_handle, amdsmi_link_type_t, amdsmi_topology_nearest_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:2781:22: warning: unused variable ‘io_link_type_bck’ [-Wunused-variable] 2781 | auto io_link_type_bck(io_link_type); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:2812:60: warning: conversion from ‘std::priority_queue, amdsmi_get_link_topology_nearest(amdsmi_processor_handle, amdsmi_link_type_t, amdsmi_topology_nearest_t*)::LinkTopogyOrderCmp_t>::size_type’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 2812 | topology_nearest_info->count = link_topology_order.size(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:2681:20: warning: unused variable ‘kKFD_CRAT_INTRA_SOCKET_WEIGHT’ [-Wunused-variable] 2681 | constexpr auto kKFD_CRAT_INTRA_SOCKET_WEIGHT = uint32_t(13); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:2682:20: warning: unused variable ‘kKFD_CRAT_XGMI_WEIGHT’ [-Wunused-variable] 2682 | constexpr auto kKFD_CRAT_XGMI_WEIGHT = uint32_t(15); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:2725:11: warning: typedef ‘using LinkTopogyOrderPair_t = struct std::pair’ locally defined but not used [-Wunused-local-typedefs] 2725 | using LinkTopogyOrderPair_t = std::pair; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc: In function ‘amdsmi_status_t amdsmi_get_cpu_handles(uint32_t*, void**)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:3918:34: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 3918 | *cpu_count = cpu_handles.size(); | ~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc: In function ‘amdsmi_status_t amdsmi_get_cpucore_handles(uint32_t*, void**)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:3974:37: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 3974 | *cores_count = core_handles.size(); | ~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc: In function ‘amdsmi_status_t amdsmi_get_esmi_err_msg(amdsmi_status_t, const char**)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:3988:24: warning: comparison between ‘const enum esmi_status_t’ and ‘enum amdsmi_status_t’ [-Wenum-compare] 3988 | if (iter.first == status) { | ~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_gpu_clk_freq_set(uint32_t, rsmi_clk_type_t, uint64_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:2073:9: warning: unused variable ‘perms’ [-Wunused-variable] 2073 | int perms = amd::smi::isReadOnlyForAll(dev->path(), &read_only); | ^~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_process_isolation_set(uint32_t, uint32_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:2142:17: warning: unused variable ‘ret’ [-Wunused-variable] 2142 | rsmi_status_t ret; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_gpu_run_cleaner_shader(uint32_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:2207:17: warning: unused variable ‘ret’ [-Wunused-variable] 2207 | rsmi_status_t ret; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_xgmi_plpd_set(uint32_t, uint32_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:2323:17: warning: unused variable ‘ret’ [-Wunused-variable] 2323 | rsmi_status_t ret; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_soc_pstate_set(uint32_t, uint32_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:2437:17: warning: unused variable ‘ret’ [-Wunused-variable] 2437 | rsmi_status_t ret; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_pci_bandwidth_get(uint32_t, rsmi_pcie_bandwidth_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:3028:19: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 3028 | if (width_index == -1 || speed_index == -1) { | ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:3028:40: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 3028 | if (width_index == -1 || speed_index == -1) { | ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_cache_info_get(uint32_t, rsmi_gpu_cache_info_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:3959:17: warning: unused variable ‘ret’ [-Wunused-variable] 3959 | rsmi_status_t ret; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_utilization_count_get(uint32_t, rsmi_utilization_counter_t*, uint32_t, uint64_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:4243:12: warning: unused variable ‘val_ui32’ [-Wunused-variable] 4243 | uint32_t val_ui32; | ^~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc: In function ‘amdsmi_status_t amdsmi_get_gpu_asic_info(amdsmi_processor_handle, amdsmi_asic_info_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi.cc:1042:16: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying 37 bytes from a string of the same length [-Wstringop-truncation] 1042 | strncpy(info->vendor_name, "Advanced Micro Devices Inc. [AMD/ATI]", 37); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 4%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_common.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_common.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/functional:48, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_common.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_common.cc:45: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ [ 6%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_drm.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_drm.cc In file included from /usr/include/sys/types.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_drm.cc:43: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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&)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_drm.cc:64:61: warning: ignoring attributes on template argument ‘int (*)(DIR*)’ [-Wignored-attributes] 64 | using dir_ptr = std::unique_ptr; | ^ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_drm.cc: In member function ‘amdsmi_status_t amd::smi::AMDSmiDrm::init()’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_drm.cc:193:62: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘long unsigned int:48’ may change value [-Wconversion] 193 | bdf.domain_number = ((bdf_rocm & 0xFFFFFFFF00000000) >> 32); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_drm.cc:87:20: warning: unused variable ‘dir’ [-Wunused-variable] 87 | struct dirent *dir = nullptr; | ^~~ [ 7%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_counters.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_counters.cc In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/impl/amd_smi_drm.h:52, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_drm.cc:50: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 /usr/include/sys/ioctl.h:21, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_counters.cc:46: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 9%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_device.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc In file included from /usr/include/pthread.h:21, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 11%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_gpu_device.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_gpu_device.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/cstdlib:41, from /usr/include/c++/14/stdlib.h:36, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:51, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/impl/amd_smi_gpu_device.h:47, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_gpu_device.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc: In member function ‘rsmi_status_t amd::smi::Device::restartAMDGpuDriver()’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc:1498:8: warning: unused variable ‘restartInProgress’ [-Wunused-variable] 1498 | bool restartInProgress = true; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc: In member function ‘rsmi_status_t amd::smi::Device::isRestartInProgress(bool*, bool*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc:1567:8: warning: unused variable ‘restartSuccessful’ [-Wunused-variable] 1567 | bool restartSuccessful = true; | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ [ 12%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_lib_loader.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_lib_loader.cc In file included from /usr/include/dlfcn.h:22, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/impl/amd_smi_lib_loader.h:24, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_lib_loader.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 14%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_gpu_metrics.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/bits/memoryfwd.h:48, from /usr/include/c++/14/memory:63, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_common.h:48, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:47, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/impl/amd_smi_lib_loader.h:29: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ [ 15%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_socket.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_socket.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/functional:48, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_socket.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/impl/amd_smi_socket.h:50, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_socket.cc:45: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ [ 17%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_system.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_system.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/bits/requires_hosted.h:31, from /usr/include/c++/14/sstream:38, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_system.cc:43: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc: In member function ‘virtual void amd::smi::GpuMetricsBase_v16_t::dump_internal_metrics_table()’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:594:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 594 | if (idy + 1 != (std::end(row.gfx_busy_inst) - std::end(row.gfx_busy_inst) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:597:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 597 | if (idx + 1 != | ~~~~~~~~^~ 598 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:617:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 617 | if (idy + 1 != (std::end(row.vcn_busy) - std::end(row.vcn_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:620:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 620 | if (idx + 1 != | ~~~~~~~~^~ 621 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:640:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 640 | if (idy + 1 != (std::end(row.jpeg_busy) - std::end(row.jpeg_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:643:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 643 | if (idx + 1 != | ~~~~~~~~^~ 644 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:663:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 663 | if (idy + 1 != (std::end(row.gfx_busy_acc) - std::end(row.gfx_busy_acc) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:666:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 666 | if (idx + 1 != | ~~~~~~~~^~ 667 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc: In function ‘rsmi_status_t rsmi_dev_gpu_metrics_info_get(uint32_t, rsmi_gpu_metrics_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:4048:8: warning: unused variable ‘ret’ [-Wunused-variable] 4048 | auto ret = rsmi_dev_partition_id_get(dv_ind, &partition_id); | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_system.cc: In member function ‘amdsmi_status_t amd::smi::AMDSmiSystem::get_gpu_socket_id(uint32_t, std::string&)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_system.cc:253:14: warning: unused variable ‘partition_id’ [-Wunused-variable] 253 | uint64_t partition_id = (bdfid >> 28) & 0xf; | ^~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_system.cc:256:14: warning: unused variable ‘function’ [-Wunused-variable] 256 | uint64_t function = bdfid & 0x7; | ^~~~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/impl/amd_smi_system.h:49, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_system.cc:45: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ [ 19%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_utils.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_utils.cc In file included from /usr/include/errno.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_utils.cc:21: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_utils.cc: In function ‘amdsmi_status_t smi_amdgpu_get_driver_version(amd::smi::AMDSmiGPUDevice*, int*, char*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_utils.cc:523:46: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 523 | *length = version[len-1] == '\n' ? len - 1 : len; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ [ 20%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_binary_parser.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/bits/memoryfwd.h:48, from /usr/include/c++/14/memory:63, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_common.h:48, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_binary_parser.h:47, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_utils.cc: In function ‘std::string smi_amdgpu_split_string(std::string, char)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_utils.cc:640:1: warning: control reaches end of non-void function [-Wreturn-type] 640 | } | ^ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/impl/amd_smi_utils.h:29, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_utils.cc:46: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc: In function ‘int amd::smi::present_pmmetrics(const char*, rsmi_name_value_t**, uint32_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc: In function ‘int amd::smi::parse_reg_state_table(uint8_t*, int32_t, metric_field*, rsmi_name_value_t**, uint32_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc:227:36: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 227 | num_instance = v; | ^ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc:230:31: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 230 | num_smn = v; | ^ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc:237:24: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 237 | if (*kvnum == kvsize) { | ~~~~~~~^~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc: In function ‘int amd::smi::present_reg_state(const char*, rsmi_reg_type_t, rsmi_name_value_t**, uint32_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 22%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_io_link.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_io_link.cc In file included from /usr/include/dirent.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_io_link.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 23%] Building CXX object src/CMakeFiles/amd_smi.dir/amd_smi/amd_smi_uuid.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_uuid.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/cstdlib:41, from /usr/include/c++/14/stdlib.h:36, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:51, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/amd_smi_uuid.cc:23: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/fdinfo.cc In file included from /usr/include/sys/types.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/fdinfo.cc:21: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 26%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_kfd.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc In file included from /usr/include/dirent.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/fdinfo.cc: In function ‘amdsmi_status_t gpuvsmi_get_pids(const amdsmi_bdf_t&, std::vector&, uint64_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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", | ~~~^ | | | unsigned int | %04lx 77 | bdf.domain_number & 0xffff, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/fdinfo.cc: In function ‘amdsmi_status_t gpuvsmi_get_pid_info(const amdsmi_bdf_t&, long int, amdsmi_proc_info_t&)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/fdinfo.cc:125:35: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 125 | snprintf(bdf_str, 13, "%04x:%02x:%02x.%d", | ~~~^ | | | unsigned int | %04lx 126 | bdf.domain_number & 0xffff, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/fdinfo.cc:159:79: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[13]’ [-Wformat=] 159 | if (sscanf(bdfline.c_str(), "drm-pdev: %s", &fd_bdf_str) != 1) | ~^ ~~~~~~~~~~~ | | | | | char (*)[13] | char* In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/amd_smi/fdinfo.cc:31: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc: In member function ‘int amd::smi::KFDNode::get_used_memory(uint64_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc:903:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘__u32’ {aka ‘unsigned int’} may change value [-Wconversion] 903 | mem.gpu_id = gpu_id_; | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc: In member function ‘int amd::smi::KFDNode::get_cache_info(rsmi_gpu_cache_info_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc:950: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] 950 | std::count(sibling_map.begin(), sibling_map.end(), '1'); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 28%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc In file included from /usr/include/fcntl.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_ras_feature_info_get(uint32_t, rsmi_ras_feature_info_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:922:41: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 922 | ras_feature->ras_eeprom_version = eeprom_version; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:946:49: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 946 | ras_feature->ecc_correction_schema_flag = schema; | ^~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:75: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_utils.h: In instantiation of ‘decltype(auto) amd::smi::TagTextContents_t::get_structured_data_subkey_last(const PrimaryKeyType&) [with PrimaryKeyType = std::__cxx11::basic_string; PrimaryDataType = std::__cxx11::basic_string; SecondaryKeyType = std::__cxx11::basic_string; SecondaryDataType = std::__cxx11::basic_string]’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:1496:87: required from here 1496 | auto upper_bound_data = txt_power_dev_od_voltage.get_structured_data_subkey_last(prim_key); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_utils.h:450:138: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 450 | (get_structured_subkeys_size(prim_key) - 1)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_gpu_clk_freq_set(uint32_t, rsmi_clk_type_t, uint64_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:2073:9: warning: unused variable ‘perms’ [-Wunused-variable] 2073 | int perms = amd::smi::isReadOnlyForAll(dev->path(), &read_only); | ^~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_process_isolation_set(uint32_t, uint32_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:2142:17: warning: unused variable ‘ret’ [-Wunused-variable] 2142 | rsmi_status_t ret; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_gpu_run_cleaner_shader(uint32_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:2207:17: warning: unused variable ‘ret’ [-Wunused-variable] 2207 | rsmi_status_t ret; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_xgmi_plpd_set(uint32_t, uint32_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:2323:17: warning: unused variable ‘ret’ [-Wunused-variable] 2323 | rsmi_status_t ret; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_soc_pstate_set(uint32_t, uint32_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:2437:17: warning: unused variable ‘ret’ [-Wunused-variable] 2437 | rsmi_status_t ret; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_pci_bandwidth_get(uint32_t, rsmi_pcie_bandwidth_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:3028:19: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 3028 | if (width_index == -1 || speed_index == -1) { | ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:3028:40: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 3028 | if (width_index == -1 || speed_index == -1) { | ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_cache_info_get(uint32_t, rsmi_gpu_cache_info_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:3959:17: warning: unused variable ‘ret’ [-Wunused-variable] 3959 | rsmi_status_t ret; | ^~~ [ 30%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_main.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_utilization_count_get(uint32_t, rsmi_utilization_counter_t*, uint32_t, uint64_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc:4243:12: warning: unused variable ‘val_ui32’ [-Wunused-variable] 4243 | uint32_t val_ui32; | ^~~~~~~~ In file included from /usr/include/dirent.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:43: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi.cc: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc: In member function ‘uint32_t amd::smi::RocmSMI::DiscoverAmdgpuDevices()’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:781:47: warning: ‘~’ on an expression of type ‘bool’ [-Wbool-operation] 781 | ~(ret_unique_id != 0 || ret_loc_id != 0 || ret_unique_id != 0)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:781:47: note: did you mean to use logical not (‘!’)? /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:778:9: warning: unused variable ‘ret_domain’ [-Wunused-variable] 778 | int ret_domain = | ^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:827:36: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 827 | for (uint32_t cardId = 0; cardId <= max_cardId; cardId++) { | ~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:989:14: warning: unused variable ‘erasedNodes’ [-Wunused-variable] 989 | auto erasedNodes = allSystemNodes.erase(0); | ^~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:940:16: warning: variable ‘primary_location_id’ set but not used [-Wunused-but-set-variable] 940 | uint64_t primary_location_id = 0; | ^~~~~~~~~~~~~~~~~~~ [ 31%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_monitor.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_monitor.cc In file included from /usr/include/dirent.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_monitor.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 33%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_counters.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_counters.cc In file included from /usr/include/sys/ioctl.h:21, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_counters.cc:46: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 34%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_device.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc In file included from /usr/include/pthread.h:21, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc: In member function ‘rsmi_status_t amd::smi::Device::restartAMDGpuDriver()’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc:1498:8: warning: unused variable ‘restartInProgress’ [-Wunused-variable] 1498 | bool restartInProgress = true; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc: In member function ‘rsmi_status_t amd::smi::Device::isRestartInProgress(bool*, bool*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_device.cc:1567:8: warning: unused variable ‘restartSuccessful’ [-Wunused-variable] 1567 | bool restartSuccessful = true; | ^~~~~~~~~~~~~~~~~ [ 36%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_power_mon.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_power_mon.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/cassert:43, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_power_mon.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 38%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_utils.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc In file included from /usr/include/assert.h:35, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc:45: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 39%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_gpu_metrics.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/bits/memoryfwd.h:48, from /usr/include/c++/14/memory:63, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_common.h:48, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_gpu_metrics.h:47, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc: In function ‘rsmi_status_t amd::smi::rsmi_dev_number_of_computes_get(uint32_t, uint32_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc:1266:35: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 1266 | *num_computes = (tmp_simd_count / tmp_simd_per_cu); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc: In function ‘int amd::smi::countDigit(uint64_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc:1320:44: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion] 1320 | return static_cast(std::floor(log10(n) + 1)); | ^ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc: In member function ‘virtual void amd::smi::GpuMetricsBase_v16_t::dump_internal_metrics_table()’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:594:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 594 | if (idy + 1 != (std::end(row.gfx_busy_inst) - std::end(row.gfx_busy_inst) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:597:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 597 | if (idx + 1 != | ~~~~~~~~^~ 598 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:617:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 617 | if (idy + 1 != (std::end(row.vcn_busy) - std::end(row.vcn_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:620:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 620 | if (idx + 1 != | ~~~~~~~~^~ 621 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:640:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 640 | if (idy + 1 != (std::end(row.jpeg_busy) - std::end(row.jpeg_busy) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:643:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 643 | if (idx + 1 != | ~~~~~~~~^~ 644 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:663:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 663 | if (idy + 1 != (std::end(row.gfx_busy_acc) - std::end(row.gfx_busy_acc) - 1)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:666:19: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 666 | if (idx + 1 != | ~~~~~~~~^~ 667 | (std::end(m_gpu_metrics_tbl.m_xcp_stats) - std::end(m_gpu_metrics_tbl.m_xcp_stats) - 1)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc: In function ‘rsmi_status_t rsmi_dev_gpu_metrics_info_get(uint32_t, rsmi_gpu_metrics_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_gpu_metrics.cc:4048:8: warning: unused variable ‘ret’ [-Wunused-variable] 4048 | auto ret = rsmi_dev_partition_id_get(dv_ind, &partition_id); | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc:1149:20: warning: ‘std::string amd::smi::pt_vddc_curve(rsmi_od_volt_curve*)’ defined but not used [-Wunused-function] 1149 | static std::string pt_vddc_curve(rsmi_od_volt_curve *c) { | ^~~~~~~~~~~~~ [ 41%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_binary_parser.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/bits/memoryfwd.h:48, from /usr/include/c++/14/memory:63, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_common.h:48, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include/rocm_smi/rocm_smi_binary_parser.h:47, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 42%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/src/rocm_smi_logger.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_logger.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/cstdlib:41, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_logger.cc:63: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc: In function ‘int amd::smi::present_pmmetrics(const char*, rsmi_name_value_t**, uint32_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc: In function ‘int amd::smi::parse_reg_state_table(uint8_t*, int32_t, metric_field*, rsmi_name_value_t**, uint32_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc:227:36: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 227 | num_instance = v; | ^ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc:230:31: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 230 | num_smn = v; | ^ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc:237:24: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 237 | if (*kvnum == kvsize) { | ~~~~~~~^~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_binary_parser.cc: In function ‘int amd::smi::present_reg_state(const char*, rsmi_reg_type_t, rsmi_name_value_t**, uint32_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 44%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_io_link.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_io_link.cc In file included from /usr/include/dirent.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_io_link.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 46%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex/shared_mutex.cc In file included from /usr/include/sys/stat.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex/shared_mutex.h:28, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex/shared_mutex.cc:25: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 47%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_kfd.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc In file included from /usr/include/dirent.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 49%] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi.c.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/gcc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi.c.o -MF CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi.c.o.d -o CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi.c.o -c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘create_cpu_mappings’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:274:47: warning: pointer targets in passing argument 3 of ‘parse_lines’ differ in signedness [-Wpointer-sign] 274 | parse_lines(&str, fp, &sm->map[i].sock_id, node_str); | ^~~~~~~~~~~~~~~~~~~ | | | int * /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:232:57: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int *’ 232 | static void parse_lines(char **str, FILE *fp, uint32_t *val, const char *cmp_str) | ~~~~~~~~~~^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:275:47: warning: pointer targets in passing argument 3 of ‘parse_lines’ differ in signedness [-Wpointer-sign] 275 | parse_lines(&str, fp, &sm->map[i].apic_id, apic_str); | ^~~~~~~~~~~~~~~~~~~ | | | int * /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:232:57: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int *’ 232 | static void parse_lines(char **str, FILE *fp, uint32_t *val, const char *cmp_str) | ~~~~~~~~~~^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘esmi_socket_energy_get’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:556:69: warning: pointer targets in passing argument 2 of ‘esmi_first_online_core_on_socket’ differ in signedness [-Wpointer-sign] 556 | status = esmi_first_online_core_on_socket(sock_ind, &core_ind); | ^~~~~~~~~ | | | int * /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:80:58: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int *’ 80 | uint32_t *pcore_ind) | ~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘esmi_prochot_status_get’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:828:14: warning: unused variable ‘hot’ [-Wunused-variable] 828 | char hot[9]; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘esmi_xgmi_width_set’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:857:13: warning: unused variable ‘drv_val’ [-Wunused-variable] 857 | int drv_val; | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘esmi_fclk_mclk_get’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:939:18: warning: unused variable ‘clk’ [-Wunused-variable] 939 | uint64_t clk; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘esmi_socket_lclk_dpm_level_get’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:1051:18: warning: unused variable ‘dpm_val’ [-Wunused-variable] 1051 | uint32_t dpm_val; | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘validate_link_name’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:1357:23: warning: unused variable ‘ret’ [-Wunused-variable] 1357 | esmi_status_t ret; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘validate_max_min_values’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:1458:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] 1458 | if (max_value > max_limit | max_value < min_value) | ~~~~~~~~~~^~~~~~~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:18: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At top level: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_monitor.c.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/gcc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_monitor.c.o -MF CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_monitor.c.o.d -o CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_monitor.c.o -c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_monitor.c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_monitor.c: In function ‘find_energy’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_monitor.c:37:13: warning: unused variable ‘i’ [-Wunused-variable] 37 | int i = 0; | ^ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_monitor.c:18: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At top level: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ [ 52%] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_plat.c.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/gcc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_plat.c.o -MF CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_plat.c.o.d -o CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_plat.c.o -c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_plat.c In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_plat.c:9: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc: In member function ‘int amd::smi::KFDNode::get_used_memory(uint64_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc:903:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘__u32’ {aka ‘unsigned int’} may change value [-Wconversion] 903 | mem.gpu_id = gpu_id_; | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc: In member function ‘int amd::smi::KFDNode::get_cache_info(rsmi_gpu_cache_info_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_kfd.cc:950: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] 950 | std::count(sibling_map.begin(), sibling_map.end(), '1'); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 53%] Building C object rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_utils.c.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/gcc -DENABLE_ESMI_LIB=1 -Drocm_smi64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_utils.c.o -MF CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_utils.c.o.d -o CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_utils.c.o -c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_utils.c [ 55%] Linking CXX shared library librocm_smi64.so cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/cmake -E cmake_link_script CMakeFiles/rocm_smi64.dir/link.txt --verbose=1 [ 57%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_main.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc In file included from /usr/include/dirent.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:43: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc: In member function ‘uint32_t amd::smi::RocmSMI::DiscoverAmdgpuDevices()’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:781:47: warning: ‘~’ on an expression of type ‘bool’ [-Wbool-operation] 781 | ~(ret_unique_id != 0 || ret_loc_id != 0 || ret_unique_id != 0)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:781:47: note: did you mean to use logical not (‘!’)? /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:778:9: warning: unused variable ‘ret_domain’ [-Wunused-variable] 778 | int ret_domain = | ^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:827:36: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 827 | for (uint32_t cardId = 0; cardId <= max_cardId; cardId++) { | ~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:989:14: warning: unused variable ‘erasedNodes’ [-Wunused-variable] 989 | auto erasedNodes = allSystemNodes.erase(0); | ^~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_main.cc:940:16: warning: variable ‘primary_location_id’ set but not used [-Wunused-but-set-variable] 940 | uint64_t primary_location_id = 0; | ^~~~~~~~~~~~~~~~~~~ [ 58%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_monitor.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_monitor.cc In file included from /usr/include/dirent.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_monitor.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -Wno-write-strings -Wl,--dependency-file,CMakeFiles/rocm_smi64.dir/link.d -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,librocm_smi64.so.1 -o librocm_smi64.so.1.0 CMakeFiles/rocm_smi64.dir/src/rocm_smi.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/__/esmi_ib_library/src/e_smi.c.o CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_monitor.c.o CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_plat.c.o CMakeFiles/rocm_smi64.dir/__/esmi_ib_library/src/e_smi_utils.c.o -lpthread -lrt -ldl cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/cmake -E cmake_symlink_library librocm_smi64.so.1.0 librocm_smi64.so.1 librocm_smi64.so gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 58%] Built target rocm_smi64 /usr/bin/gmake -f goamdsmi_shim/smiwrapper/CMakeFiles/go_amd_smi_.dir/build.make goamdsmi_shim/smiwrapper/CMakeFiles/go_amd_smi_.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim/smiwrapper /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/goamdsmi_shim/smiwrapper /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/goamdsmi_shim/smiwrapper/CMakeFiles/go_amd_smi_.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f goamdsmi_shim/smiwrapper/CMakeFiles/go_amd_smi_.dir/build.make goamdsmi_shim/smiwrapper/CMakeFiles/go_amd_smi_.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 60%] Building C object goamdsmi_shim/smiwrapper/CMakeFiles/go_amd_smi_.dir/amdsmi_go_shim.c.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/goamdsmi_shim/smiwrapper && /usr/bin/gcc -DENABLE_DEBUG_LEVEL=0 -DENABLE_ESMI_LIB=1 -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim/smiwrapper -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MT goamdsmi_shim/smiwrapper/CMakeFiles/go_amd_smi_.dir/amdsmi_go_shim.c.o -MF CMakeFiles/go_amd_smi_.dir/amdsmi_go_shim.c.o.d -o CMakeFiles/go_amd_smi_.dir/amdsmi_go_shim.c.o -c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c: In function ‘goamdsmi_gpu_dev_temp_metric_get’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:528:177: warning: pointer targets in passing argument 4 of ‘amdsmi_get_temp_metric’ differ in signedness [-Wpointer-sign] 528 | if((dv_ind < num_gpu_devices_inAllSocket) && (AMDSMI_STATUS_SUCCESS == amdsmi_get_temp_metric(amdsmi_processor_handle_all_gpu_device_across_socket[dv_ind], sensor, metric, &gpu_temperature_temp))) | ^~~~~~~~~~~~~~~~~~~~~ | | | uint64_t * {aka long unsigned int *} In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:42: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:2942:68: note: expected ‘int64_t *’ {aka ‘long int *’} but argument is of type ‘uint64_t *’ {aka ‘long unsigned int *’} 2942 | amdsmi_temperature_metric_t metric, int64_t *temperature); | ~~~~~~~~~^~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 60%] Built target go_amd_smi_ [ 61%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_power_mon.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_power_mon.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/cassert:43, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_power_mon.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 63%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_utils.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc In file included from /usr/include/assert.h:35, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc:45: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 65%] Building CXX object src/CMakeFiles/amd_smi.dir/__/rocm_smi/src/rocm_smi_logger.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_logger.cc In file included from /usr/include/c++/14/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/14/x86_64-redhat-linux/bits/c++config.h:2524, from /usr/include/c++/14/cstdlib:41, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_logger.cc:63: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc: In function ‘rsmi_status_t amd::smi::rsmi_dev_number_of_computes_get(uint32_t, uint32_t*)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc:1266:35: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 1266 | *num_computes = (tmp_simd_count / tmp_simd_per_cu); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc: In function ‘int amd::smi::countDigit(uint64_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc:1320:44: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘double’ may change value [-Wconversion] 1320 | return static_cast(std::floor(log10(n) + 1)); | ^ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/src/rocm_smi_utils.cc:1149:20: warning: ‘std::string amd::smi::pt_vddc_curve(rsmi_od_volt_curve*)’ defined but not used [-Wunused-function] 1149 | static std::string pt_vddc_curve(rsmi_od_volt_curve *c) { | ^~~~~~~~~~~~~ [ 66%] Building CXX object src/CMakeFiles/amd_smi.dir/__/third_party/shared_mutex/shared_mutex.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -Wno-write-strings -std=c++17 -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/third_party/shared_mutex/shared_mutex.cc.o -MF CMakeFiles/amd_smi.dir/__/third_party/shared_mutex/shared_mutex.cc.o.d -o CMakeFiles/amd_smi.dir/__/third_party/shared_mutex/shared_mutex.cc.o -c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex/shared_mutex.cc In file included from /usr/include/sys/stat.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex/shared_mutex.h:28, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex/shared_mutex.cc:25: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 68%] Building C object src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi.c.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/gcc -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi.c.o -MF CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi.c.o.d -o CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi.c.o -c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘create_cpu_mappings’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:274:47: warning: pointer targets in passing argument 3 of ‘parse_lines’ differ in signedness [-Wpointer-sign] 274 | parse_lines(&str, fp, &sm->map[i].sock_id, node_str); | ^~~~~~~~~~~~~~~~~~~ | | | int * /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:232:57: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int *’ 232 | static void parse_lines(char **str, FILE *fp, uint32_t *val, const char *cmp_str) | ~~~~~~~~~~^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:275:47: warning: pointer targets in passing argument 3 of ‘parse_lines’ differ in signedness [-Wpointer-sign] 275 | parse_lines(&str, fp, &sm->map[i].apic_id, apic_str); | ^~~~~~~~~~~~~~~~~~~ | | | int * /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:232:57: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int *’ 232 | static void parse_lines(char **str, FILE *fp, uint32_t *val, const char *cmp_str) | ~~~~~~~~~~^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘esmi_socket_energy_get’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:556:69: warning: pointer targets in passing argument 2 of ‘esmi_first_online_core_on_socket’ differ in signedness [-Wpointer-sign] 556 | status = esmi_first_online_core_on_socket(sock_ind, &core_ind); | ^~~~~~~~~ | | | int * /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:80:58: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘int *’ 80 | uint32_t *pcore_ind) | ~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘esmi_prochot_status_get’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:828:14: warning: unused variable ‘hot’ [-Wunused-variable] 828 | char hot[9]; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘esmi_xgmi_width_set’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:857:13: warning: unused variable ‘drv_val’ [-Wunused-variable] 857 | int drv_val; | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘esmi_fclk_mclk_get’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:939:18: warning: unused variable ‘clk’ [-Wunused-variable] 939 | uint64_t clk; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘esmi_socket_lclk_dpm_level_get’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:1051:18: warning: unused variable ‘dpm_val’ [-Wunused-variable] 1051 | uint32_t dpm_val; | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘validate_link_name’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:1357:23: warning: unused variable ‘ret’ [-Wunused-variable] 1357 | esmi_status_t ret; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c: In function ‘validate_max_min_values’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:1458:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] 1458 | if (max_value > max_limit | max_value < min_value) | ~~~~~~~~~~^~~~~~~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi.c:18: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At top level: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ [ 69%] Building C object src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_monitor.c.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/gcc -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_monitor.c.o -MF CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_monitor.c.o.d -o CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_monitor.c.o -c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_monitor.c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_monitor.c: In function ‘find_energy’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_monitor.c:37:13: warning: unused variable ‘i’ [-Wunused-variable] 37 | int i = 0; | ^ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_monitor.c:18: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At top level: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ [ 71%] Building C object src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_plat.c.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/gcc -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_plat.c.o -MF CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_plat.c.o.d -o CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_plat.c.o -c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_plat.c In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_plat.c:9: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ [ 73%] Building C object src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_utils.c.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/gcc -DENABLE_ESMI_LIB=1 -Damd_smi_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/common/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT src/CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_utils.c.o -MF CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_utils.c.o.d -o CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_utils.c.o -c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/src/e_smi_utils.c /usr/bin/gmake -f rocm_smi/CMakeFiles/rocm_smi_ex.dir/build.make rocm_smi/CMakeFiles/rocm_smi_ex.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi/CMakeFiles/rocm_smi_ex.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f rocm_smi/CMakeFiles/rocm_smi_ex.dir/build.make rocm_smi/CMakeFiles/rocm_smi_ex.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 74%] Building CXX object rocm_smi/CMakeFiles/rocm_smi_ex.dir/example/rocm_smi_example.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc In file included from /usr/include/assert.h:35, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:46: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 76%] Linking CXX shared library libamd_smi.so cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi.dir/link.txt --verbose=1 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc: In function ‘rsmi_status_t test_set_compute_partitioning(uint32_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:634:44: warning: the address of ‘originalComputePartition’ will never be NULL [-Waddress] 634 | << (((originalComputePartition == nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:622:8: note: ‘originalComputePartition’ declared here 622 | char originalComputePartition[kLength]; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:635:47: warning: the address of ‘originalComputePartition’ will never be NULL [-Waddress] 635 | || ((originalComputePartition != nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:622:8: note: ‘originalComputePartition’ declared here 622 | char originalComputePartition[kLength]; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc: In function ‘rsmi_status_t test_set_memory_partition(uint32_t)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:682:43: warning: the address of ‘originalMemoryPartition’ will never be NULL [-Waddress] 682 | << (((originalMemoryPartition == nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:671:8: note: ‘originalMemoryPartition’ declared here 671 | char originalMemoryPartition[kLength]; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:683:46: warning: the address of ‘originalMemoryPartition’ will never be NULL [-Waddress] 683 | || ((originalMemoryPartition != nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:671:8: note: ‘originalMemoryPartition’ declared here 671 | char originalMemoryPartition[kLength]; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc: In function ‘int main()’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:784:47: warning: the address of ‘current_compute_partition’ will never be NULL [-Waddress] 784 | << (((current_compute_partition == nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:780:10: note: ‘current_compute_partition’ declared here 780 | char current_compute_partition[256]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:785:50: warning: the address of ‘current_compute_partition’ will never be NULL [-Waddress] 785 | || ((current_compute_partition != nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:780:10: note: ‘current_compute_partition’ declared here 780 | char current_compute_partition[256]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:800:38: warning: the address of ‘memory_partition’ will never be NULL [-Waddress] 800 | << (((memory_partition == nullptr) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:796:10: note: ‘memory_partition’ declared here 796 | char memory_partition[kLength]; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:801:41: warning: the address of ‘memory_partition’ will never be NULL [-Waddress] 801 | || ((memory_partition != nullptr) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:796:10: note: ‘memory_partition’ declared here 796 | char memory_partition[kLength]; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:1138:49: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘float’ may change value [-Wconversion] 1138 | std::cout << (static_cast(val_i64)/val_ui64) * 100; | ^~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc: In instantiation of ‘constexpr float convert_mw_to_w(T) [with T = long unsigned int]’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:1169:35: required from here 1169 | std::cout << convert_mw_to_w(val_ui64) << " W" << "\n"; | ~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/rocm_smi/example/rocm_smi_example.cc:721:31: warning: conversion from ‘long unsigned int’ to ‘double’ may change value [-Wconversion] 721 | return static_cast(mw / 1000.0); | ^~ [ 77%] Linking CXX executable rocm_smi_ex cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi && /usr/bin/cmake -E cmake_link_script CMakeFiles/rocm_smi_ex.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -Wno-write-strings -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file,CMakeFiles/rocm_smi_ex.dir/link.d CMakeFiles/rocm_smi_ex.dir/example/rocm_smi_example.cc.o -o rocm_smi_ex -Wl,-rpath,/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/rocm_smi librocm_smi64.so.1.0 -lpthread -lrt -ldl gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 77%] Built target rocm_smi_ex /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -Wno-write-strings -Wl,--dependency-file,CMakeFiles/amd_smi.dir/link.d -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,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/__/esmi_ib_library/src/e_smi.c.o CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_monitor.c.o CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_plat.c.o CMakeFiles/amd_smi.dir/__/esmi_ib_library/src/e_smi_utils.c.o -lpthread -lrt -ldl cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/cmake -E cmake_symlink_library libamd_smi.so.0.0 libamd_smi.so.0 libamd_smi.so gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 77%] Built target amd_smi /usr/bin/gmake -f src/CMakeFiles/amd_smi_ex.dir/build.make src/CMakeFiles/amd_smi_ex.dir/depend /usr/bin/gmake -f example/CMakeFiles/amd_smi_drm_ex.dir/build.make example/CMakeFiles/amd_smi_drm_ex.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src/CMakeFiles/amd_smi_ex.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example/CMakeFiles/amd_smi_drm_ex.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/amd_smi_ex.dir/build.make src/CMakeFiles/amd_smi_ex.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f example/CMakeFiles/amd_smi_drm_ex.dir/build.make example/CMakeFiles/amd_smi_drm_ex.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 80%] Building CXX object example/CMakeFiles/amd_smi_drm_ex.dir/amd_smi_drm_example.cc.o [ 79%] Building CXX object src/CMakeFiles/amd_smi_ex.dir/__/example/amd_smi_drm_example.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc In file included from /usr/include/pwd.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/pwd.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:44: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc: In function ‘int main()’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:433:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 433 | printf("\tPCIe replay count: %d\n", pcie_info.pcie_metric.pcie_replay_count); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:434:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 434 | printf("\tPCIe L0 recovery count: %d\n", pcie_info.pcie_metric.pcie_l0_to_recovery_count); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:435:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 435 | printf("\tPCIe rollover count: %d\n", pcie_info.pcie_metric.pcie_replay_roll_over_count); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:436:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 436 | printf("\tPCIe nak received count: %d\n", pcie_info.pcie_metric.pcie_nak_received_count); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:437:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 437 | printf("\tPCIe nak sent count: %d\n", pcie_info.pcie_metric.pcie_nak_sent_count); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:577:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘amdsmi_process_handle_t’ {aka ‘unsigned int’} [-Wformat=] 577 | printf("\t *Process id: %ld / Name: %s / VRAM: %lld \n", process.pid, process.name, process.memory_usage.vram_mem); | ~~^ ~~~~~~~~~~~ | | | | long int amdsmi_process_handle_t {aka unsigned int} | %d /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:577:71: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 577 | printf("\t *Process id: %ld / Name: %s / VRAM: %lld \n", process.pid, process.name, process.memory_usage.vram_mem); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:593:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 593 | for (int it = 0; it < num_process; it++) { | ~~~^~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:635:27: warning: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Wformat=] 635 | "%lu %lu %lu |\n", | ~~^ | | | long unsigned int /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:635:32: warning: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Wformat=] 635 | "%lu %lu %lu |\n", | ~~^ | | | long unsigned int /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:635:37: warning: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Wformat=] 635 | "%lu %lu %lu |\n", | ~~^ | | | long unsigned int /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:571:21: warning: unused variable ‘num’ [-Wunused-variable] 571 | int num = 0; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:730:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 730 | if ((idx + 1) != std::size(smu.temperature_hbm)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc: In function ‘int main()’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:433:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 433 | printf("\tPCIe replay count: %d\n", pcie_info.pcie_metric.pcie_replay_count); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:434:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 434 | printf("\tPCIe L0 recovery count: %d\n", pcie_info.pcie_metric.pcie_l0_to_recovery_count); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:435:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 435 | printf("\tPCIe rollover count: %d\n", pcie_info.pcie_metric.pcie_replay_roll_over_count); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:436:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 436 | printf("\tPCIe nak received count: %d\n", pcie_info.pcie_metric.pcie_nak_received_count); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:437:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 437 | printf("\tPCIe nak sent count: %d\n", pcie_info.pcie_metric.pcie_nak_sent_count); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:747:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 747 | if ((idx + 1) != std::size(smu.vcn_activity)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:760:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 760 | if ((idx + 1) != std::size(smu.jpeg_activity)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:797:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 797 | if ((idx + 1) != std::size(smu.current_gfxclks)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:810:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 810 | if ((idx + 1) != std::size(smu.current_socclks)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:824:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 824 | if ((idx + 1) != std::size(smu.current_vclk0s)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:837:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 837 | if ((idx + 1) != std::size(smu.current_dclk0s)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:874:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 874 | if ((idx + 1) != std::size(smu.xgmi_read_data_acc)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:886:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 886 | if ((idx + 1) != std::size(smu.xgmi_write_data_acc)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:577:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘amdsmi_process_handle_t’ {aka ‘unsigned int’} [-Wformat=] 577 | printf("\t *Process id: %ld / Name: %s / VRAM: %lld \n", process.pid, process.name, process.memory_usage.vram_mem); | ~~^ ~~~~~~~~~~~ | | | | long int amdsmi_process_handle_t {aka unsigned int} | %d /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:577:71: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 577 | printf("\t *Process id: %ld / Name: %s / VRAM: %lld \n", process.pid, process.name, process.memory_usage.vram_mem); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int uint64_t {aka long unsigned int} | %ld /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:593:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 593 | for (int it = 0; it < num_process; it++) { | ~~~^~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:635:27: warning: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Wformat=] 635 | "%lu %lu %lu |\n", | ~~^ | | | long unsigned int /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:635:32: warning: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Wformat=] 635 | "%lu %lu %lu |\n", | ~~^ | | | long unsigned int /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:635:37: warning: format ‘%lu’ expects a matching ‘long unsigned int’ argument [-Wformat=] 635 | "%lu %lu %lu |\n", | ~~^ | | | long unsigned int /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:571:21: warning: unused variable ‘num’ [-Wunused-variable] 571 | int num = 0; | ^~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:946:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 946 | if ((idy + 1) != std::size(row.gfx_busy_inst)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:964:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 964 | if ((idy + 1) != std::size(row.vcn_busy)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:982:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 982 | if ((idy + 1) != std::size(row.jpeg_busy)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:1000:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1000 | if ((idy + 1) != std::size(row.gfx_busy_acc)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:547:18: warning: variable ‘compare’ set but not used [-Wunused-but-set-variable] 547 | auto compare = [](const void *a, const void *b) -> int { | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:730:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 730 | if ((idx + 1) != std::size(smu.temperature_hbm)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:747:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 747 | if ((idx + 1) != std::size(smu.vcn_activity)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:760:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 760 | if ((idx + 1) != std::size(smu.jpeg_activity)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:797:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 797 | if ((idx + 1) != std::size(smu.current_gfxclks)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:810:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 810 | if ((idx + 1) != std::size(smu.current_socclks)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:824:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 824 | if ((idx + 1) != std::size(smu.current_vclk0s)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:837:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 837 | if ((idx + 1) != std::size(smu.current_dclk0s)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:874:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 874 | if ((idx + 1) != std::size(smu.xgmi_read_data_acc)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:886:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 886 | if ((idx + 1) != std::size(smu.xgmi_write_data_acc)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:946:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 946 | if ((idy + 1) != std::size(row.gfx_busy_inst)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:964:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 964 | if ((idy + 1) != std::size(row.vcn_busy)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:982:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 982 | if ((idy + 1) != std::size(row.jpeg_busy)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:1000:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1000 | if ((idy + 1) != std::size(row.gfx_busy_acc)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:547:18: warning: variable ‘compare’ set but not used [-Wunused-but-set-variable] 547 | auto compare = [](const void *a, const void *b) -> int { | ^~~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:56: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:56: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc: In function ‘main’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:566:53: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 566 | sprintf(bdf_str, "%04lx:%02x:%02x.%d", | ^ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:566:24: note: ‘sprintf’ output between 13 and 21 bytes into a destination of size 20 566 | sprintf(bdf_str, "%04lx:%02x:%02x.%d", | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 567 | bdf.domain_number, | ~~~~~~~~~~~~~~~~~~ 568 | bdf.bus_number, | ~~~~~~~~~~~~~~~ 569 | bdf.device_number, | ~~~~~~~~~~~~~~~~~~ 570 | bdf.function_number); | ~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc: In function ‘main’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:566:53: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 566 | sprintf(bdf_str, "%04lx:%02x:%02x.%d", | ^ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_drm_example.cc:566:24: note: ‘sprintf’ output between 13 and 21 bytes into a destination of size 20 566 | sprintf(bdf_str, "%04lx:%02x:%02x.%d", | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 567 | bdf.domain_number, | ~~~~~~~~~~~~~~~~~~ 568 | bdf.bus_number, | ~~~~~~~~~~~~~~~ 569 | bdf.device_number, | ~~~~~~~~~~~~~~~~~~ 570 | bdf.function_number); | ~~~~~~~~~~~~~~~~~~~~ [ 82%] Linking CXX executable amd_smi_drm_ex cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi_drm_ex.dir/link.txt --verbose=1 [ 84%] Linking CXX executable amd_smi_ex cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi_ex.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -Wno-write-strings -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file,CMakeFiles/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,/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src ../src/libamd_smi.so.0.0 -lpthread -lrt -ldl gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 84%] Built target amd_smi_drm_ex /usr/bin/gmake -f example/CMakeFiles/amd_smi_nodrm_ex.dir/build.make example/CMakeFiles/amd_smi_nodrm_ex.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example/CMakeFiles/amd_smi_nodrm_ex.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f example/CMakeFiles/amd_smi_nodrm_ex.dir/build.make example/CMakeFiles/amd_smi_nodrm_ex.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 85%] Building CXX object example/CMakeFiles/amd_smi_nodrm_ex.dir/amd_smi_nodrm_example.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_nodrm_example.cc In file included from /usr/include/pwd.h:25, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_nodrm_example.cc:45: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -Wno-write-strings -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file,CMakeFiles/amd_smi_ex.dir/link.d CMakeFiles/amd_smi_ex.dir/__/example/amd_smi_drm_example.cc.o -o amd_smi_ex -Wl,-rpath,/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src libamd_smi.so.0.0 -lpthread -lrt -ldl gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 85%] Built target amd_smi_ex /usr/bin/gmake -f example/CMakeFiles/amd_smi_esmi_ex.dir/build.make example/CMakeFiles/amd_smi_esmi_ex.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example/CMakeFiles/amd_smi_esmi_ex.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f example/CMakeFiles/amd_smi_esmi_ex.dir/build.make example/CMakeFiles/amd_smi_esmi_ex.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 87%] Building CXX object example/CMakeFiles/amd_smi_esmi_ex.dir/amdsmi_esmi_intg_example.cc.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example && /usr/bin/g++ -DENABLE_ESMI_LIB=1 -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amdsmi_esmi_intg_example.cc In file included from /usr/include/assert.h:35, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amdsmi_esmi_intg_example.cc:43: /usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_nodrm_example.cc: In function ‘int main()’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_nodrm_example.cc:344:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 344 | for (int x=0; x < policy.num_supported; x++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amd_smi_nodrm_example.cc:56: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ [ 88%] Linking CXX executable amd_smi_nodrm_ex cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi_nodrm_ex.dir/link.txt --verbose=1 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amdsmi_esmi_intg_example.cc: In function ‘int main(int, char**)’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amdsmi_esmi_intg_example.cc:180:28: warning: unused variable ‘cclk’ [-Wunused-variable] 180 | uint32_t fclk, mclk, cclk; | ^~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amdsmi_esmi_intg_example.cc:288:19: warning: unused variable ‘err_str1’ [-Wunused-variable] 288 | const char* err_str1; | ^~~~~~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amdsmi_esmi_intg_example.cc:77:14: warning: unused parameter ‘argc’ [-Wunused-parameter] 77 | int main(int argc, char **argv) { | ~~~~^~~~ /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:57, from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/example/amdsmi_esmi_intg_example.cc:50: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include/e_smi/e_smi.h: At global scope: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/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 | ^~~~~~~~~ /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -Wno-write-strings -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file,CMakeFiles/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,/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src ../src/libamd_smi.so.0.0 -lpthread -lrt -ldl gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 88%] Built target amd_smi_nodrm_ex /usr/bin/gmake -f py-interface/CMakeFiles/python_wrapper.dir/build.make py-interface/CMakeFiles/python_wrapper.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/py-interface /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface/CMakeFiles/python_wrapper.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f py-interface/CMakeFiles/python_wrapper.dir/build.make py-interface/CMakeFiles/python_wrapper.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 90%] Generating amdsmi_wrapper.py, python_package/amdsmi/amdsmi_wrapper.py cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface && mkdir -p python_package/amdsmi [ 92%] Linking CXX executable amd_smi_esmi_ex cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/py-interface/amdsmi_wrapper.py python_package/amdsmi/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/example && /usr/bin/cmake -E cmake_link_script CMakeFiles/amd_smi_esmi_ex.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 92%] Built target python_wrapper /usr/bin/gmake -f goamdsmi_shim/CMakeFiles/goamdsmi_shim64.dir/build.make goamdsmi_shim/CMakeFiles/goamdsmi_shim64.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/goamdsmi_shim /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/goamdsmi_shim/CMakeFiles/goamdsmi_shim64.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f goamdsmi_shim/CMakeFiles/goamdsmi_shim64.dir/build.make goamdsmi_shim/CMakeFiles/goamdsmi_shim64.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 93%] Building C object goamdsmi_shim/CMakeFiles/goamdsmi_shim64.dir/smiwrapper/amdsmi_go_shim.c.o cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/goamdsmi_shim && /usr/bin/gcc -DENABLE_DEBUG_LEVEL=0 -DENABLE_ESMI_LIB=1 -Dgoamdsmi_shim64_EXPORTS -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/third_party/shared_mutex -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library/include -I/usr/include/libdrm -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim/smiwrapper -I/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/src/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -MD -MT goamdsmi_shim/CMakeFiles/goamdsmi_shim64.dir/smiwrapper/amdsmi_go_shim.c.o -MF CMakeFiles/goamdsmi_shim64.dir/smiwrapper/amdsmi_go_shim.c.o.d -o CMakeFiles/goamdsmi_shim64.dir/smiwrapper/amdsmi_go_shim.c.o -c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c: In function ‘goamdsmi_gpu_dev_temp_metric_get’: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:528:177: warning: pointer targets in passing argument 4 of ‘amdsmi_get_temp_metric’ differ in signedness [-Wpointer-sign] 528 | if((dv_ind < num_gpu_devices_inAllSocket) && (AMDSMI_STATUS_SUCCESS == amdsmi_get_temp_metric(amdsmi_processor_handle_all_gpu_device_across_socket[dv_ind], sensor, metric, &gpu_temperature_temp))) | ^~~~~~~~~~~~~~~~~~~~~ | | | uint64_t * {aka long unsigned int *} In file included from /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/goamdsmi_shim/smiwrapper/amdsmi_go_shim.c:42: /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/include/amd_smi/amdsmi.h:2942:68: note: expected ‘int64_t *’ {aka ‘long int *’} but argument is of type ‘uint64_t *’ {aka ‘long unsigned int *’} 2942 | amdsmi_temperature_metric_t metric, int64_t *temperature); | ~~~~~~~~~^~~~~~~~~~~ /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wtrampolines -Wl,-z,now -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -Wno-write-strings -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--dependency-file,CMakeFiles/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,/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src ../src/libamd_smi.so.0.0 -lpthread -lrt -ldl gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 93%] Built target amd_smi_esmi_ex /usr/bin/gmake -f py-interface/CMakeFiles/python_package.dir/build.make py-interface/CMakeFiles/python_package.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/py-interface /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface/CMakeFiles/python_package.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f py-interface/CMakeFiles/python_package.dir/build.make py-interface/CMakeFiles/python_package.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 95%] 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 cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/py-interface/__init__.py python_package/amdsmi/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/py-interface/amdsmi_exception.py python_package/amdsmi/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/py-interface/amdsmi_interface.py python_package/amdsmi/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/py-interface/README.md python_package/amdsmi/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/LICENSE python_package/amdsmi/ [ 96%] Linking C shared library libgoamdsmi_shim64.so cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/goamdsmi_shim && /usr/bin/cmake -E cmake_link_script CMakeFiles/goamdsmi_shim64.dir/link.txt --verbose=1 [ 98%] Generating python_package/amdsmi/libamd_smi.so cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/py-interface && cp /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src/libamd_smi.so python_package/amdsmi/ gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [ 98%] Built target python_package /usr/bin/gmake -f amdsmi_cli/CMakeFiles/amdsmi_cli.dir/build.make amdsmi_cli/CMakeFiles/amdsmi_cli.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli/CMakeFiles/amdsmi_cli.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f amdsmi_cli/CMakeFiles/amdsmi_cli.dir/build.make amdsmi_cli/CMakeFiles/amdsmi_cli.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [100%] 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 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && mkdir -p amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/__init__.py amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/amdsmi_cli.py amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/amdsmi_commands.py amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/amdsmi_helpers.py amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/amdsmi_init.py amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/amdsmi_logger.py amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/amdsmi_parser.py amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/amdsmi_cli_exceptions.py amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/rocm_version.py amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/BDF.py amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/README.md amdsmi_cli/ cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && ln -Pf /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli/Release_Notes.md amdsmi_cli/ /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--dependency-file,CMakeFiles/goamdsmi_shim64.dir/link.d -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libgoamdsmi_shim64.so.1 -o libgoamdsmi_shim64.so.1.0 CMakeFiles/goamdsmi_shim64.dir/smiwrapper/amdsmi_go_shim.c.o -Wl,-rpath,/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/src: -lpthread -lrt -lm ../src/libamd_smi.so.0.0 -L/lib -L/lib64 -lpthread -lrt -ldl cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/goamdsmi_shim && /usr/bin/cmake -E cmake_symlink_library libgoamdsmi_shim64.so.1.0 libgoamdsmi_shim64.so.1 libgoamdsmi_shim64.so gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [100%] Built target goamdsmi_shim64 [100%] Built target amdsmi_cli /usr/bin/gmake -f amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/build.make amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/amdsmi_cli /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/gmake -f amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/build.make amdsmi_cli/CMakeFiles/link_amdsmi_cli.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' cd /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli && /usr/bin/cmake -E create_symlink ../libexec/amdsmi_cli/amdsmi_cli.py /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/amdsmi_cli/bin/amd-smi gmake[2]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' [100%] Built target link_amdsmi_cli gmake[1]: Leaving directory '/builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LkBCve + umask 022 + cd /builddir/build/BUILD/amdsmi-6.3.0-build + '[' /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/amdsmi-6.3.0-build + mkdir /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd amdsmi-rocm-6.3.0 + DESTDIR=/builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/libamd_smi.so.0.0 -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/libamd_smi.so.0 -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/libamd_smi.so -- Up-to-date: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/libamd_smi.so.0.0 -- Up-to-date: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/libamd_smi.so.0 -- Up-to-date: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/libamd_smi.so -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/include/amd_smi/amdsmi.h -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/include/amd_smi/amd_smiConfig.h -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/include/amd_smi/kfd_ioctl.h -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/example -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/example/amd_smi_drm_example.cc -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/example/amd_smi_nodrm_example.cc -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/example/amdsmi_esmi_intg_example.cc -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/example/CMakeLists.txt -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/pyproject.toml -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/setup.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/_version.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/amdsmi -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/amdsmi/_version.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/amdsmi/amdsmi_wrapper.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/amdsmi/__init__.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/amdsmi/amdsmi_exception.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/amdsmi/amdsmi_interface.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/amdsmi/README.md -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/amdsmi/LICENSE -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/amdsmi/libamd_smi.so -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/_version.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/__init__.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/amdsmi_cli.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/amdsmi_commands.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/amdsmi_helpers.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/amdsmi_init.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/amdsmi_logger.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/amdsmi_parser.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/amdsmi_cli_exceptions.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/rocm_version.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/BDF.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/README.md -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/Release_Notes.md -- Up-to-date: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/libexec/amdsmi_cli/amdsmi_cli.py -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/bin/amd-smi -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/cmake/amd_smi/amd_smi-config.cmake -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/cmake/amd_smi/amd_smi-config-version.cmake -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/cmake/amd_smi/amd_smiTargets.cmake -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/cmake/amd_smi/amd_smiTargets-noconfig.cmake -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amd_smi-asan/LICENSE.txt -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amd_smi/LICENSE.txt -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amd_smi/README.md -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/libgoamdsmi_shim64.so.1.0 -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/libgoamdsmi_shim64.so.1 -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/libgoamdsmi_shim64.so.1.0" to "" -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/libgoamdsmi_shim64.so -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/include/goamdsmi.h -- Installing: /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/include/amdsmi_go_shim.h + mkdir -p /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/lib/python3.13/site-packages + mv /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/amdsmi /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/lib/python3.13/site-packages + mv /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/pyproject.toml /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/lib/python3.13/site-packages/amdsmi/ + '[' -d /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/example ']' + rm -rf /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/example + '[' -f /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amd_smi-asan/LICENSE.txt ']' + rm /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amd_smi-asan/LICENSE.txt + '[' -f /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amd_smi/LICENSE.txt ']' + rm /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amd_smi/LICENSE.txt + '[' -f /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amd_smi/README.md ']' + rm /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amd_smi/README.md + '[' -f /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/_version.py ']' + rm /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/_version.py + '[' -f /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/setup.py ']' + rm /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/setup.py + strip /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/lib/python3.13/site-packages/amdsmi/libamd_smi.so + chmod a+x /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/libexec/amdsmi_cli/BDF.py /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/libexec/amdsmi_cli/__init__.py /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/libexec/amdsmi_cli/_version.py /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/libexec/amdsmi_cli/amdsmi_cli.py /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/libexec/amdsmi_cli/amdsmi_cli_exceptions.py /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/libexec/amdsmi_cli/amdsmi_commands.py /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/libexec/amdsmi_cli/amdsmi_helpers.py /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/libexec/amdsmi_cli/amdsmi_init.py /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/libexec/amdsmi_cli/amdsmi_logger.py /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/libexec/amdsmi_cli/amdsmi_parser.py /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT//usr/libexec/amdsmi_cli/rocm_version.py + rm /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib64/cmake/amd_smi/amd_smi-config.cmake + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 6.3.0-1.fc42 --unique-debug-suffix -6.3.0-1.fc42.x86_64 --unique-debug-src-base amdsmi-6.3.0-1.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/amdsmi-6.3.0-1.fc42.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/libexec/amdsmi_cli/_version.py is executable but has no shebang, removing executable bit *** WARNING: ./usr/libexec/amdsmi_cli/__init__.py is executable but has no shebang, removing executable bit mangling shebang in /usr/libexec/amdsmi_cli/amdsmi_cli.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/libexec/amdsmi_cli/amdsmi_commands.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/libexec/amdsmi_cli/amdsmi_helpers.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/libexec/amdsmi_cli/amdsmi_init.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/libexec/amdsmi_cli/amdsmi_logger.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/libexec/amdsmi_cli/amdsmi_parser.py from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/libexec/amdsmi_cli/amdsmi_cli_exceptions.py from /usr/bin/env python3 to #!/usr/bin/python3 *** WARNING: ./usr/libexec/amdsmi_cli/rocm_version.py is executable but has no shebang, removing executable bit *** WARNING: ./usr/libexec/amdsmi_cli/BDF.py is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j2 /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/amdsmi/__pycache__/_version.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/amdsmi/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/amdsmi/__pycache__/amdsmi_exception.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/amdsmi/__pycache__/amdsmi_wrapper.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/lib/python3.13/site-packages/amdsmi/__pycache__/amdsmi_interface.cpython-313.pyc: rewriting with normalized contents Scanned 46 directories and 111 files, processed 5 inodes, 5 modified (0 replaced + 5 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/amdsmi-6.3.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: amdsmi-6.3.0-1.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ie6r1Q + umask 022 + cd /builddir/build/BUILD/amdsmi-6.3.0-build + cd amdsmi-rocm-6.3.0 + DOCDIR=/builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amdsmi + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amdsmi + cp -pr /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/README.md /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/doc/amdsmi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cEL04G + umask 022 + cd /builddir/build/BUILD/amdsmi-6.3.0-build + cd amdsmi-rocm-6.3.0 + LICENSEDIR=/builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/licenses/amdsmi + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/licenses/amdsmi + cp -pr /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/LICENSE /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/licenses/amdsmi + cp -pr /builddir/build/BUILD/amdsmi-6.3.0-build/amdsmi-rocm-6.3.0/esmi_ib_library_License.txt /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT/usr/share/licenses/amdsmi + RPM_EC=0 ++ jobs -p + exit 0 Provides: amdsmi = 6.3.0-1.fc42 amdsmi(x86-64) = 6.3.0-1.fc42 bundled(esmi_ib_library) = 3.0.3 libamd_smi.so.0()(64bit) libgoamdsmi_shim64.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 libamd_smi.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) python(abi) = 3.13 rtld(GNU_HASH) Processing files: amdsmi-devel-6.3.0-1.fc42.x86_64 Provides: amdsmi-devel = 6.3.0-1.fc42 amdsmi-devel(x86-64) = 6.3.0-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libamd_smi.so.0()(64bit) libgoamdsmi_shim64.so.1()(64bit) Processing files: amdsmi-debugsource-6.3.0-1.fc42.x86_64 Provides: amdsmi-debugsource = 6.3.0-1.fc42 amdsmi-debugsource(x86-64) = 6.3.0-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: amdsmi-debuginfo-6.3.0-1.fc42.x86_64 Provides: amdsmi-debuginfo = 6.3.0-1.fc42 amdsmi-debuginfo(x86-64) = 6.3.0-1.fc42 debuginfo(build-id) = b9b27524b07d0f6ae02d681ac08fa0a741637a29 debuginfo(build-id) = de0015269e8286ff78d34dd28a39d9845f907fa3 libamd_smi.so.0.0-6.3.0-1.fc42.x86_64.debug()(64bit) libgoamdsmi_shim64.so.1.0-6.3.0-1.fc42.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: amdsmi-debugsource(x86-64) = 6.3.0-1.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/amdsmi-6.3.0-build/BUILDROOT Wrote: /builddir/build/RPMS/amdsmi-6.3.0-1.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/amdsmi-debugsource-6.3.0-1.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/amdsmi-devel-6.3.0-1.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/amdsmi-debuginfo-6.3.0-1.fc42.x86_64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.RC15iS + umask 022 + cd /builddir/build/BUILD/amdsmi-6.3.0-build + test -d /builddir/build/BUILD/amdsmi-6.3.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/amdsmi-6.3.0-build + rm -rf /builddir/build/BUILD/amdsmi-6.3.0-build + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild amdsmi-6.3.0-1.fc42.src.rpm Finish: build phase for amdsmi-6.3.0-1.fc42.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1733583847.025050/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names INFO: Done(/var/lib/copr-rpmbuild/results/amdsmi-6.3.0-1.fc42.src.rpm) Config(child) 2 minutes 2 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "amdsmi-debugsource", "epoch": null, "version": "6.3.0", "release": "1.fc42", "arch": "x86_64" }, { "name": "amdsmi-debuginfo", "epoch": null, "version": "6.3.0", "release": "1.fc42", "arch": "x86_64" }, { "name": "amdsmi", "epoch": null, "version": "6.3.0", "release": "1.fc42", "arch": "x86_64" }, { "name": "amdsmi-devel", "epoch": null, "version": "6.3.0", "release": "1.fc42", "arch": "x86_64" }, { "name": "amdsmi", "epoch": null, "version": "6.3.0", "release": "1.fc42", "arch": "src" } ] } RPMResults finished