I: pbuilder: network access will be disabled during build I: Current time: Tue Oct 8 05:06:57 -12 2024 I: pbuilder-time-stamp: 1728407217 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/experimental-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [roct-thunk-interface_6.1.2+ds-1~exp1.dsc] I: copying [./roct-thunk-interface_6.1.2+ds.orig.tar.xz] I: copying [./roct-thunk-interface_6.1.2+ds-1~exp1.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Sep 24 21:07:21 2024 gpgv: using RSA key 419F7E9A47C3AB9519F1B0A339953A37DE4EB36B gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./roct-thunk-interface_6.1.2+ds-1~exp1.dsc: no acceptable signature found dpkg-source: info: extracting roct-thunk-interface in roct-thunk-interface-6.1.2+ds dpkg-source: info: unpacking roct-thunk-interface_6.1.2+ds.orig.tar.xz dpkg-source: info: unpacking roct-thunk-interface_6.1.2+ds-1~exp1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-spelling-error.patch dpkg-source: info: applying 0002-fix-pkgconfig-path.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/31961/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' DISTRIBUTION='experimental' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='c9a1d191b0534e60bd21ecfb58de3842' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='31961' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.dhoBeynT/pbuilderrc_HBuB --distribution experimental --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dhoBeynT/b1 --logfile b1/build.log roct-thunk-interface_6.1.2+ds-1~exp1.dsc' SUDO_GID='110' SUDO_UID='103' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:3142/' I: uname -a Linux virt64z 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/31961/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: cmake, debhelper-compat (= 13), libdrm-dev, libnuma-dev, libudev-dev, pkgconf, zlib1g-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19519 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on cmake; however: Package cmake is not installed. pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libdrm-dev; however: Package libdrm-dev is not installed. pbuilder-satisfydepends-dummy depends on libnuma-dev; however: Package libnuma-dev is not installed. pbuilder-satisfydepends-dummy depends on libudev-dev; however: Package libudev-dev is not installed. pbuilder-satisfydepends-dummy depends on pkgconf; however: Package pkgconf is not installed. pbuilder-satisfydepends-dummy depends on zlib1g-dev; however: Package zlib1g-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} cmake{a} cmake-data{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libarchive13t64{a} libbrotli1{a} libcom-err2{a} libcurl4t64{a} libdebhelper-perl{a} libdrm-amdgpu1{a} libdrm-common{a} libdrm-dev{a} libdrm-etnaviv1{a} libdrm-exynos1{a} libdrm-freedreno1{a} libdrm-nouveau2{a} libdrm-omap1{a} libdrm-radeon1{a} libdrm-tegra0{a} libdrm2{a} libelf1t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libgssapi-krb5-2{a} libicu72{a} libjsoncpp26{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} libldap-2.5-0{a} libmagic-mgc{a} libmagic1t64{a} libnghttp2-14{a} libnuma-dev{a} libnuma1{a} libpciaccess-dev{a} libpciaccess0{a} libpipeline1{a} libpkgconf3{a} libproc2-0{a} libpsl5t64{a} librhash1{a} librtmp1{a} libsasl2-2{a} libsasl2-modules-db{a} libssh2-1t64{a} libtool{a} libuchardet0{a} libudev-dev{a} libuv1t64{a} libxml2{a} m4{a} man-db{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} procps{a} sensible-utils{a} zlib1g-dev{a} The following packages are RECOMMENDED but will NOT be installed: ca-certificates curl krb5-locales libarchive-cpio-perl libldap-common libltdl-dev libmail-sendmail-perl libsasl2-modules libssl3 linux-sysctl-defaults lynx psmisc publicsuffix wget 0 packages upgraded, 73 newly installed, 0 to remove and 0 not upgraded. Need to get 31.7 MB of archives. After unpacking 116 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf libproc2-0 armhf 2:4.0.4-6 [56.0 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf procps armhf 2:4.0.4-6 [864 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.24 [24.8 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3 [314 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3 [98.1 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3 [42.0 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.22.5-2 [195 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-5 [1091 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.40.2-9 [88.8 kB] Get: 11 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.8-1 [35.0 kB] Get: 12 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.13.0-1 [1382 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf autoconf all 2.72-3 [493 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 16 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf autopoint all 0.22.5-2 [723 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf cmake-data all 3.30.4-1 [2223 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-5 [9075 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.1 [604 kB] Get: 21 http://deb.debian.org/debian unstable/main armhf libarchive13t64 armhf 3.7.4-1 [305 kB] Get: 22 http://deb.debian.org/debian unstable/main armhf libbrotli1 armhf 1.1.0-2+b4 [293 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf libkrb5support0 armhf 1.21.3-3 [30.0 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf libcom-err2 armhf 1.47.1-1 [22.1 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf libk5crypto3 armhf 1.21.3-3 [75.8 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf libkeyutils1 armhf 1.6.3-3 [7908 B] Get: 27 http://deb.debian.org/debian unstable/main armhf libkrb5-3 armhf 1.21.3-3 [283 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf libgssapi-krb5-2 armhf 1.21.3-3 [114 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-8 [18.2 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf libsasl2-2 armhf 2.1.28+dfsg1-8 [50.2 kB] Get: 31 http://deb.debian.org/debian unstable/main armhf libldap-2.5-0 armhf 2.5.18+dfsg-3 [163 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf libnghttp2-14 armhf 1.63.0-1 [62.9 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf libpsl5t64 armhf 0.21.2-1.1 [55.6 kB] Get: 34 http://deb.debian.org/debian unstable/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2+b4 [53.2 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf libssh2-1t64 armhf 1.11.0-7 [199 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf libcurl4t64 armhf 8.10.1-1 [303 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.3-1 [83.2 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf libjsoncpp26 armhf 1.9.6-2 [70.0 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf librhash1 armhf 1.4.4-3 [143 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf libuv1t64 armhf 1.48.0-6 [134 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf cmake armhf 3.30.4-1+b1 [5368 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.20 [89.7 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf libtool all 2.4.7-7 [517 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 47 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 48 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.191-2 [183 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.22.5-2 [1485 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf debhelper all 13.20 [915 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf libdrm-common all 2.4.123-1 [8084 B] Get: 55 http://deb.debian.org/debian unstable/main armhf libdrm2 armhf 2.4.123-1 [34.1 kB] Get: 56 http://deb.debian.org/debian unstable/main armhf libdrm-amdgpu1 armhf 2.4.123-1 [20.4 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf libdrm-radeon1 armhf 2.4.123-1 [19.6 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf libdrm-nouveau2 armhf 2.4.123-1 [17.2 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf libdrm-omap1 armhf 2.4.123-1 [8936 B] Get: 60 http://deb.debian.org/debian unstable/main armhf libdrm-freedreno1 armhf 2.4.123-1 [19.0 kB] Get: 61 http://deb.debian.org/debian unstable/main armhf libdrm-exynos1 armhf 2.4.123-1 [12.8 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf libdrm-tegra0 armhf 2.4.123-1 [10.4 kB] Get: 63 http://deb.debian.org/debian unstable/main armhf libdrm-etnaviv1 armhf 2.4.123-1 [12.8 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf libpciaccess0 armhf 0.17-3+b1 [49.3 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf libpciaccess-dev armhf 0.17-3+b1 [53.9 kB] Get: 66 http://deb.debian.org/debian unstable/main armhf libdrm-dev armhf 2.4.123-1 [257 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf libnuma1 armhf 2.0.18-1 [18.5 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf libnuma-dev armhf 2.0.18-1 [34.2 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf libpkgconf3 armhf 1.8.1-3 [31.7 kB] Get: 70 http://deb.debian.org/debian unstable/main armhf libudev-dev armhf 256.6-1 [68.8 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf pkgconf-bin armhf 1.8.1-3 [29.1 kB] Get: 72 http://deb.debian.org/debian unstable/main armhf pkgconf armhf 1.8.1-3 [26.1 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1 [904 kB] Fetched 31.7 MB in 1s (41.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libproc2-0:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19519 files and directories currently installed.) Preparing to unpack .../00-libproc2-0_2%3a4.0.4-6_armhf.deb ... Unpacking libproc2-0:armhf (2:4.0.4-6) ... Selecting previously unselected package procps. Preparing to unpack .../01-procps_2%3a4.0.4-6_armhf.deb ... Unpacking procps (2:4.0.4-6) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../02-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../03-libmagic-mgc_1%3a5.45-3_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../04-libmagic1t64_1%3a5.45-3_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../05-file_1%3a5.45-3_armhf.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../06-gettext-base_0.22.5-2_armhf.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../07-libuchardet0_0.0.8-1+b1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../08-groff-base_1.23.0-5_armhf.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../09-bsdextrautils_2.40.2-9_armhf.deb ... Unpacking bsdextrautils (2.40.2-9) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../10-libpipeline1_1.5.8-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../11-man-db_2.13.0-1_armhf.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.19-4_armhf.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package cmake-data. Preparing to unpack .../17-cmake-data_3.30.4-1_all.deb ... Unpacking cmake-data (3.30.4-1) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../18-libicu72_72.1-5_armhf.deb ... Unpacking libicu72:armhf (72.1-5) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../19-libxml2_2.12.7+dfsg+really2.9.14-0.1_armhf.deb ... Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package libarchive13t64:armhf. Preparing to unpack .../20-libarchive13t64_3.7.4-1_armhf.deb ... Unpacking libarchive13t64:armhf (3.7.4-1) ... Selecting previously unselected package libbrotli1:armhf. Preparing to unpack .../21-libbrotli1_1.1.0-2+b4_armhf.deb ... Unpacking libbrotli1:armhf (1.1.0-2+b4) ... Selecting previously unselected package libkrb5support0:armhf. Preparing to unpack .../22-libkrb5support0_1.21.3-3_armhf.deb ... Unpacking libkrb5support0:armhf (1.21.3-3) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../23-libcom-err2_1.47.1-1_armhf.deb ... Unpacking libcom-err2:armhf (1.47.1-1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../24-libk5crypto3_1.21.3-3_armhf.deb ... Unpacking libk5crypto3:armhf (1.21.3-3) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../25-libkeyutils1_1.6.3-3_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-3) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../26-libkrb5-3_1.21.3-3_armhf.deb ... Unpacking libkrb5-3:armhf (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../27-libgssapi-krb5-2_1.21.3-3_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.21.3-3) ... Selecting previously unselected package libsasl2-modules-db:armhf. Preparing to unpack .../28-libsasl2-modules-db_2.1.28+dfsg1-8_armhf.deb ... Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-8) ... Selecting previously unselected package libsasl2-2:armhf. Preparing to unpack .../29-libsasl2-2_2.1.28+dfsg1-8_armhf.deb ... Unpacking libsasl2-2:armhf (2.1.28+dfsg1-8) ... Selecting previously unselected package libldap-2.5-0:armhf. Preparing to unpack .../30-libldap-2.5-0_2.5.18+dfsg-3_armhf.deb ... Unpacking libldap-2.5-0:armhf (2.5.18+dfsg-3) ... Selecting previously unselected package libnghttp2-14:armhf. Preparing to unpack .../31-libnghttp2-14_1.63.0-1_armhf.deb ... Unpacking libnghttp2-14:armhf (1.63.0-1) ... Selecting previously unselected package libpsl5t64:armhf. Preparing to unpack .../32-libpsl5t64_0.21.2-1.1_armhf.deb ... Unpacking libpsl5t64:armhf (0.21.2-1.1) ... Selecting previously unselected package librtmp1:armhf. Preparing to unpack .../33-librtmp1_2.4+20151223.gitfa8646d.1-2+b4_armhf.deb ... Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b4) ... Selecting previously unselected package libssh2-1t64:armhf. Preparing to unpack .../34-libssh2-1t64_1.11.0-7_armhf.deb ... Unpacking libssh2-1t64:armhf (1.11.0-7) ... Selecting previously unselected package libcurl4t64:armhf. Preparing to unpack .../35-libcurl4t64_8.10.1-1_armhf.deb ... Unpacking libcurl4t64:armhf (8.10.1-1) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../36-libexpat1_2.6.3-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.3-1) ... Selecting previously unselected package libjsoncpp26:armhf. Preparing to unpack .../37-libjsoncpp26_1.9.6-2_armhf.deb ... Unpacking libjsoncpp26:armhf (1.9.6-2) ... Selecting previously unselected package librhash1:armhf. Preparing to unpack .../38-librhash1_1.4.4-3_armhf.deb ... Unpacking librhash1:armhf (1.4.4-3) ... Selecting previously unselected package libuv1t64:armhf. Preparing to unpack .../39-libuv1t64_1.48.0-6_armhf.deb ... Unpacking libuv1t64:armhf (1.48.0-6) ... Selecting previously unselected package cmake. Preparing to unpack .../40-cmake_3.30.4-1+b1_armhf.deb ... Unpacking cmake (3.30.4-1+b1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../41-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../42-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../43-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../44-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../45-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../46-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:armhf. Preparing to unpack .../47-libelf1t64_0.191-2_armhf.deb ... Unpacking libelf1t64:armhf (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../48-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package gettext. Preparing to unpack .../49-gettext_0.22.5-2_armhf.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../50-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../51-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../52-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../53-libdrm-common_2.4.123-1_all.deb ... Unpacking libdrm-common (2.4.123-1) ... Selecting previously unselected package libdrm2:armhf. Preparing to unpack .../54-libdrm2_2.4.123-1_armhf.deb ... Unpacking libdrm2:armhf (2.4.123-1) ... Selecting previously unselected package libdrm-amdgpu1:armhf. Preparing to unpack .../55-libdrm-amdgpu1_2.4.123-1_armhf.deb ... Unpacking libdrm-amdgpu1:armhf (2.4.123-1) ... Selecting previously unselected package libdrm-radeon1:armhf. Preparing to unpack .../56-libdrm-radeon1_2.4.123-1_armhf.deb ... Unpacking libdrm-radeon1:armhf (2.4.123-1) ... Selecting previously unselected package libdrm-nouveau2:armhf. Preparing to unpack .../57-libdrm-nouveau2_2.4.123-1_armhf.deb ... Unpacking libdrm-nouveau2:armhf (2.4.123-1) ... Selecting previously unselected package libdrm-omap1:armhf. Preparing to unpack .../58-libdrm-omap1_2.4.123-1_armhf.deb ... Unpacking libdrm-omap1:armhf (2.4.123-1) ... Selecting previously unselected package libdrm-freedreno1:armhf. Preparing to unpack .../59-libdrm-freedreno1_2.4.123-1_armhf.deb ... Unpacking libdrm-freedreno1:armhf (2.4.123-1) ... Selecting previously unselected package libdrm-exynos1:armhf. Preparing to unpack .../60-libdrm-exynos1_2.4.123-1_armhf.deb ... Unpacking libdrm-exynos1:armhf (2.4.123-1) ... Selecting previously unselected package libdrm-tegra0:armhf. Preparing to unpack .../61-libdrm-tegra0_2.4.123-1_armhf.deb ... Unpacking libdrm-tegra0:armhf (2.4.123-1) ... Selecting previously unselected package libdrm-etnaviv1:armhf. Preparing to unpack .../62-libdrm-etnaviv1_2.4.123-1_armhf.deb ... Unpacking libdrm-etnaviv1:armhf (2.4.123-1) ... Selecting previously unselected package libpciaccess0:armhf. Preparing to unpack .../63-libpciaccess0_0.17-3+b1_armhf.deb ... Unpacking libpciaccess0:armhf (0.17-3+b1) ... Selecting previously unselected package libpciaccess-dev:armhf. Preparing to unpack .../64-libpciaccess-dev_0.17-3+b1_armhf.deb ... Unpacking libpciaccess-dev:armhf (0.17-3+b1) ... Selecting previously unselected package libdrm-dev:armhf. Preparing to unpack .../65-libdrm-dev_2.4.123-1_armhf.deb ... Unpacking libdrm-dev:armhf (2.4.123-1) ... Selecting previously unselected package libnuma1:armhf. Preparing to unpack .../66-libnuma1_2.0.18-1_armhf.deb ... Unpacking libnuma1:armhf (2.0.18-1) ... Selecting previously unselected package libnuma-dev:armhf. Preparing to unpack .../67-libnuma-dev_2.0.18-1_armhf.deb ... Unpacking libnuma-dev:armhf (2.0.18-1) ... Selecting previously unselected package libpkgconf3:armhf. Preparing to unpack .../68-libpkgconf3_1.8.1-3_armhf.deb ... Unpacking libpkgconf3:armhf (1.8.1-3) ... Selecting previously unselected package libudev-dev:armhf. Preparing to unpack .../69-libudev-dev_256.6-1_armhf.deb ... Unpacking libudev-dev:armhf (256.6-1) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../70-pkgconf-bin_1.8.1-3_armhf.deb ... Unpacking pkgconf-bin (1.8.1-3) ... Selecting previously unselected package pkgconf:armhf. Preparing to unpack .../71-pkgconf_1.8.1-3_armhf.deb ... Unpacking pkgconf:armhf (1.8.1-3) ... Selecting previously unselected package zlib1g-dev:armhf. Preparing to unpack .../72-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1_armhf.deb ... Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1) ... Setting up libexpat1:armhf (2.6.3-1) ... Setting up libpipeline1:armhf (1.5.8-1) ... Setting up libpciaccess0:armhf (0.17-3+b1) ... Setting up libkeyutils1:armhf (1.6.3-3) ... Setting up libicu72:armhf (72.1-5) ... Setting up libpciaccess-dev:armhf (0.17-3+b1) ... Setting up bsdextrautils (2.40.2-9) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libbrotli1:armhf (1.1.0-2+b4) ... Setting up libuv1t64:armhf (1.48.0-6) ... Setting up libmagic1t64:armhf (1:5.45-3) ... Setting up libpsl5t64:armhf (0.21.2-1.1) ... Setting up libnghttp2-14:armhf (1.63.0-1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:armhf (1.47.1-1) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:armhf (0.191-2) ... Setting up libkrb5support0:armhf (1.21.3-3) ... Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-8) ... Setting up autotools-dev (20220109.1) ... Setting up libpkgconf3:armhf (1.8.1-3) ... Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b4) ... Setting up libjsoncpp26:armhf (1.9.6-2) ... Setting up libproc2-0:armhf (2:4.0.4-6) ... Setting up autopoint (0.22.5-2) ... Setting up libudev-dev:armhf (256.6-1) ... Setting up pkgconf-bin (1.8.1-3) ... Setting up libk5crypto3:armhf (1.21.3-3) ... Setting up libsasl2-2:armhf (2.1.28+dfsg1-8) ... Setting up autoconf (2.72-3) ... Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1) ... Setting up libnuma1:armhf (2.0.18-1) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up procps (2:4.0.4-6) ... Setting up cmake-data (3.30.4-1) ... Setting up librhash1:armhf (1.4.4-3) ... Setting up libkrb5-3:armhf (1.21.3-3) ... Setting up libssh2-1t64:armhf (1.11.0-7) ... Setting up libdrm-common (2.4.123-1) ... Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-7) ... Setting up libldap-2.5-0:armhf (2.5.18+dfsg-3) ... Setting up pkgconf:armhf (1.8.1-3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up libnuma-dev:armhf (2.0.18-1) ... Setting up dh-autoreconf (20) ... Setting up libgssapi-krb5-2:armhf (1.21.3-3) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up libdrm2:armhf (2.4.123-1) ... Setting up groff-base (1.23.0-5) ... Setting up libdrm-omap1:armhf (2.4.123-1) ... Setting up libarchive13t64:armhf (3.7.4-1) ... Setting up libdrm-exynos1:armhf (2.4.123-1) ... Setting up libdrm-amdgpu1:armhf (2.4.123-1) ... Setting up libdrm-nouveau2:armhf (2.4.123-1) ... Setting up libdrm-etnaviv1:armhf (2.4.123-1) ... Setting up libcurl4t64:armhf (8.10.1-1) ... Setting up libdrm-radeon1:armhf (2.4.123-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libdrm-freedreno1:armhf (2.4.123-1) ... Setting up libdrm-tegra0:armhf (2.4.123-1) ... Setting up cmake (3.30.4-1+b1) ... Setting up libdrm-dev:armhf (2.4.123-1) ... Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-3) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/roct-thunk-interface-6.1.2+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../roct-thunk-interface_6.1.2+ds-1~exp1_source.changes dpkg-buildpackage: info: source package roct-thunk-interface dpkg-buildpackage: info: source version 6.1.2+ds-1~exp1 dpkg-buildpackage: info: source distribution experimental dpkg-buildpackage: info: source changed by Christian Kastner dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_configure make[1]: Entering directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds' dh_auto_configure -- -DBUILD_SHARED_LIBS=on \ -DINCLUDE_PATH_COMPATIBILITY=OFF cd obj-arm-linux-gnueabihf && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/arm-linux-gnueabihf -DBUILD_SHARED_LIBS=on -DINCLUDE_PATH_COMPATIBILITY=OFF .. -- The C compiler identification is GNU 14.2.0 -- The CXX compiler identification is GNU 14.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Detected distribution: debian: -- LIBC:/usr/lib/arm-linux-gnueabihf/libc.so -- NUMA:/usr/lib/arm-linux-gnueabihf/libnuma.so -- Checking for module 'libdrm' -- Found libdrm, version 2.4.123 -- Checking for module 'libdrm_amdgpu' -- Found libdrm_amdgpu, version 2.4.123 RESULT_VARIABLE no such file or directory OUTPUT_VARIABLE: -- Configuring done (1.2s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY FETCHCONTENT_FULLY_DISCONNECTED -- Build files have been written to: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf make[1]: Leaving directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds' dh_auto_build cd obj-arm-linux-gnueabihf && make -j3 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' /usr/bin/cmake -S/build/reproducible-path/roct-thunk-interface-6.1.2+ds -B/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf/CMakeFiles /build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' make -f CMakeFiles/hsakmt.dir/build.make CMakeFiles/hsakmt.dir/depend make[3]: Entering directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' cd /build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/roct-thunk-interface-6.1.2+ds /build/reproducible-path/roct-thunk-interface-6.1.2+ds /build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf /build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf /build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf/CMakeFiles/hsakmt.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' make -f CMakeFiles/hsakmt.dir/build.make CMakeFiles/hsakmt.dir/build make[3]: Entering directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' [ 5%] Building C object CMakeFiles/hsakmt.dir/src/debug.c.o [ 11%] Building C object CMakeFiles/hsakmt.dir/src/events.c.o [ 17%] Building C object CMakeFiles/hsakmt.dir/src/fmm.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/events.c.o -MF CMakeFiles/hsakmt.dir/src/events.c.o.d -o CMakeFiles/hsakmt.dir/src/events.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/debug.c.o -MF CMakeFiles/hsakmt.dir/src/debug.c.o.d -o CMakeFiles/hsakmt.dir/src/debug.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/fmm.c.o -MF CMakeFiles/hsakmt.dir/src/fmm.c.o.d -o CMakeFiles/hsakmt.dir/src/fmm.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDbgWavefrontControl': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:152:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 152 | args->content_ptr = (uint64_t)run_ptr; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDbgAddressWatch': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:232:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 232 | args->content_ptr = (uint64_t)run_ptr; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtRuntimeEnable': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:317:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 317 | args.r_debug = (HSAuint64)rDebug; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'dbg_trap_get_device_data': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:361:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 361 | args.device_snapshot.snapshot_buf_ptr = (uint64_t) data; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'dbg_trap_get_queue_data': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:384:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 384 | args.queue_snapshot.snapshot_buf_ptr = (uint64_t) data; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'dbg_trap_suspend_queues': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:407:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 407 | args.suspend_queues.queue_array_ptr = (uint64_t) queue_ids; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDbgEnable': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:433:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 433 | args.enable.rinfo_ptr = (uint64_t) *runtime_info; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDebugTrapIoctl': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:529:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 529 | (void *)args->suspend_queues.queue_array_ptr : | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:530:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 530 | (void *)args->resume_queues.queue_array_ptr; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:541:49: warning: comparison of integer expressions of different signedness: 'long int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 541 | err >= 0 && err <= args->suspend_queues.num_queues) | ^~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:544:49: warning: comparison of integer expressions of different signedness: 'long int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 544 | err >= 0 && err <= args->resume_queues.num_queues) | ^~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c: In function 'hsaKmtCreateEvent': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:116:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 116 | e->EventData.HWData2 = (HSAuint64)&events_page[args.event_slot_index]; | ^ In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:26: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c: In function 'get_mem_info_svm_api': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:257:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 257 | pr_err("GPU address 0x%lx, is Unified memory\n", address); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:257:9: note: in expansion of macro 'pr_err' 257 | pr_err("GPU address 0x%lx, is Unified memory\n", address); | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:257:33: note: format string is defined here 257 | pr_err("GPU address 0x%lx, is Unified memory\n", address); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:266:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 266 | pr_err("Preferred location for address 0x%lx is Node id %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 267 | address, node_id); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:266:25: note: in expansion of macro 'pr_err' 266 | pr_err("Preferred location for address 0x%lx is Node id %d\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:266:68: note: format string is defined here 266 | pr_err("Preferred location for address 0x%lx is Node id %d\n", | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:270:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 270 | pr_err("Prefetch location for address 0x%lx is Node id %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | address, node_id); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:270:25: note: in expansion of macro 'pr_err' 270 | pr_err("Prefetch location for address 0x%lx is Node id %d\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:270:67: note: format string is defined here 270 | pr_err("Prefetch location for address 0x%lx is Node id %d\n", | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:274:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | pr_err("Node id %d has access to address 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | node_id, address); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:274:25: note: in expansion of macro 'pr_err' 274 | pr_err("Node id %d has access to address 0x%lx\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:274:70: note: format string is defined here 274 | pr_err("Node id %d has access to address 0x%lx\n", | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:278:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 278 | pr_err("Node id %d has access in place to address 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | node_id, address); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:278:25: note: in expansion of macro 'pr_err' 278 | pr_err("Node id %d has access in place to address 0x%lx\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:278:79: note: format string is defined here 278 | pr_err("Node id %d has access in place to address 0x%lx\n", | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:282:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 282 | pr_err("Node id %d has no access to address 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | node_id, address); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:282:25: note: in expansion of macro 'pr_err' 282 | pr_err("Node id %d has no access to address 0x%lx\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:282:73: note: format string is defined here 282 | pr_err("Node id %d has no access to address 0x%lx\n", | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c: In function 'analysis_memory_exception': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:316:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 316 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:316:9: note: in expansion of macro 'pr_err' 316 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:316:57: note: format string is defined here 316 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'vm_find_object_by_address_userptr_range': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:527:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 527 | (uint64_t)address < ((uint64_t)start + size)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:527:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 527 | (uint64_t)address < ((uint64_t)start + size)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:325:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 325 | ret = fmm_get_mem_info((const void *)addr, &info); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 334 | info.GPUAddress, info.Node, info.SizeInBytes); | ~~~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:9: note: in expansion of macro 'pr_err' 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~ In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:26: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'reserved_aperture_allocate_aligned': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:691:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 691 | (void *)(ALIGN_UP((uint64_t)app->base, align) + offset); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:33: note: format string is defined here 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:691:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 691 | (void *)(ALIGN_UP((uint64_t)app->base, align) + offset); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:700:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 700 | start = (void *)(ALIGN_UP((uint64_t)cur->end + 1, align) + offset); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:700:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 700 | start = (void *)(ALIGN_UP((uint64_t)cur->end + 1, align) + offset); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 334 | info.GPUAddress, info.Node, info.SizeInBytes); | ~~~~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:9: note: in expansion of macro 'pr_err' 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:65: note: format string is defined here 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:706:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 706 | if (cur && address && address < (void *)ALIGN_UP((uint64_t)cur->end + 1, align)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:706:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 706 | if (cur && address && address < (void *)ALIGN_UP((uint64_t)cur->end + 1, align)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'mmap_allocate_aligned': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:749:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 749 | aligned_addr = (void *)ALIGN_UP((uint64_t)addr + guard_size, align); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:749:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 749 | aligned_addr = (void *)ALIGN_UP((uint64_t)addr + guard_size, align); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_register_mem_svm_api': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1030:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1030 | HSAuint32 page_offset = (HSAuint64)address & (PAGE_SIZE-1); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1031:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1031 | HSAuint64 aligned_addr = (HSAuint64)address - page_offset; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:70: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~~~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:9: note: in expansion of macro 'pr_debug' 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:18: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1049 | aligned_size); | ~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:9: note: in expansion of macro 'pr_debug' 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:49: note: format string is defined here 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ~~^ | | | long int | %lld /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_map_mem_svm_api': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1075:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1075 | args->start_addr = (uint64_t)address; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_allocate_memory_object': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1115:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1115 | args.va_addr = (uint64_t)mem; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_check_user_memory': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:84:26: note: in expansion of macro 'ALIGN_UP' 84 | #define PAGE_ALIGN_UP(x) ALIGN_UP(x,PAGE_SIZE) | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1326:41: note: in expansion of macro 'PAGE_ALIGN_UP' 1326 | for (; ptr < end; ptr = (void *)PAGE_ALIGN_UP(ptr + 1)) | ^~~~~~~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1326:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1326 | for (; ptr < end; ptr = (void *)PAGE_ALIGN_UP(ptr + 1)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_allocate_scratch': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1439:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1439 | args.va_addr = ((uint64_t)mem) >> 16; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'bind_mem_to_numa': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1711:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 1711 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1712 | mem, mflags.Value, SizeInBytes, node_id); | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1711:9: note: in expansion of macro 'pr_debug' 1711 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1711:49: note: format string is defined here 1711 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_allocate_host_gpu': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1845:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1845 | mmap_offset = (uint64_t)mem; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'init_mmap_apertures': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2133:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2133 | svm.apertures[SVM_DEFAULT].base = (void *)base; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2134:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2134 | svm.apertures[SVM_DEFAULT].limit = (void *)limit; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'init_svm_apertures': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2237:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2237 | for (addr = (void *)base, ret_addr = NULL; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2238:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2238 | (HSAuint64)addr + ((len + 1) >> 1) - 1 <= limit; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2239:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2239 | addr = (void *)((HSAuint64)addr + ADDR_INC)) { | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2239:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2239 | addr = (void *)((HSAuint64)addr + ADDR_INC)) { | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2240:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2240 | HSAuint64 top = MIN((HSAuint64)addr + len, limit+1); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:220:16: note: in definition of macro 'MIN' 220 | typeof(a) tmp1 = (a), tmp2 = (b); \ | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2240:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2240 | HSAuint64 top = MIN((HSAuint64)addr + len, limit+1); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:220:27: note: in definition of macro 'MIN' 220 | typeof(a) tmp1 = (a), tmp2 = (b); \ | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2242:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2242 | map_size = (top - (HSAuint64)addr) & | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2250:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2250 | if ((HSAuint64)ret_addr + ((len + 1) >> 1) - 1 <= limit) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2264:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2264 | if ((HSAuint64)ret_addr + SVM_MIN_VM_SIZE - 1 > limit) { | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2268:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2268 | (int)((limit - (HSAint64)ret_addr) >> 30)); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:70: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~~~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2266:25: note: in expansion of macro 'pr_warn' 2266 | pr_warn("Got %uGB for SVM at %p with only %dGB usable ...\n", | ^~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2283:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2283 | base = (HSAuint64)ret_addr; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2286:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2286 | munmap((void *)(limit + 1), base + map_size - 1 - limit); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2292:73: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2292 | svm.apertures[SVM_DEFAULT].limit = dgpu_shared_aperture_limit = (void *)limit; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2302:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2302 | alt_base = (HSAuint64)svm.apertures[SVM_DEFAULT].base; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2307:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2307 | svm.apertures[SVM_COHERENT].base = (void *)alt_base; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2308:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2308 | svm.apertures[SVM_COHERENT].limit = (void *)(alt_base + alt_size - 1); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'init_mem_handle_aperture': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:82:45: warning: left shift count >= width of type [-Wshift-count-overflow] 82 | #define END_NON_CANONICAL_ADDR (~0UL - (1UL << 47)) | ^~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2445:64: note: in expansion of macro 'END_NON_CANONICAL_ADDR' 2445 | while (PORT_VPTR_TO_UINT64(mem_handle_aperture.base) < END_NON_CANONICAL_ADDR - 1) { | ^~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2478:97: warning: left shift count >= width of type [-Wshift-count-overflow] 2478 | mem_handle_aperture.base = VOID_PTR_ADD(mem_handle_aperture.base, (1UL << 47)); | ^~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:215:55: note: in definition of macro 'VOID_PTR_ADD' 215 | #define VOID_PTR_ADD(ptr,n) (void*)((uint8_t*)(ptr) + n)/*ptr + offset*/ | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function '_fmm_map_to_gpu': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2998:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2998 | args.device_ids_array_ptr = (uint64_t)nodes_to_map; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3003:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3003 | (uint64_t)object->registered_device_id_array; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3012:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3012 | args.device_ids_array_ptr = (uint64_t) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3017:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3017 | args.device_ids_array_ptr = (uint64_t)all_gpu_id_array; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3025:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 3025 | pr_err("GPU mapping failed (%d) for obj at %p, userptr %p, size %lu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3026 | ret_ioctl, object->start, object->userptr, object->size); | ~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3025:17: note: in expansion of macro 'pr_err' 3025 | pr_err("GPU mapping failed (%d) for obj at %p, userptr %p, size %lu", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3025:83: note: format string is defined here 3025 | pr_err("GPU mapping failed (%d) for obj at %p, userptr %p, size %lu", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3032:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3032 | (uint32_t *)args.device_ids_array_ptr, | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function '_fmm_map_to_gpu_userptr': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3111:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3111 | HSAuint32 page_offset = (HSAuint64)addr & (PAGE_SIZE-1); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3120:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3120 | svm_addr = (void*)((HSAuint64)addr - page_offset); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3120:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3120 | svm_addr = (void*)((HSAuint64)addr - page_offset); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3125:26: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'long long unsigned int' [-Wformat=] 3125 | pr_debug("%s Mapping Address %p size aligned: %ld offset: %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3125:17: note: in expansion of macro 'pr_debug' 3125 | pr_debug("%s Mapping Address %p size aligned: %ld offset: %x\n", | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3125:65: note: format string is defined here 3125 | pr_debug("%s Mapping Address %p size aligned: %ld offset: %x\n", | ~~^ | | | long int | %lld /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3137:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3137 | *gpuvm_addr = (uint64_t)svm_addr + page_offset; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function '_fmm_unmap_from_gpu': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3221:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3221 | HSAuint32 page_offset = (HSAint64)address & (PAGE_SIZE - 1); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3244:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3244 | args.device_ids_array_ptr = (uint64_t)device_ids_array; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3247:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3247 | args.device_ids_array_ptr = (uint64_t)object->mapped_device_id_array; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3261:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3261 | print_device_id_array((void *)args.device_ids_array_ptr, | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3266:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3266 | (uint32_t *)args.device_ids_array_ptr, | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function '_fmm_unmap_from_gpu_scratch': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3314:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3314 | args.device_ids_array_ptr = (uint64_t)object->mapped_device_id_array; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3325:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3325 | (uint32_t *)args.device_ids_array_ptr, | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_register_user_memory': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3433:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3433 | HSAuint32 page_offset = (HSAuint64)addr & (PAGE_SIZE-1); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3434:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3434 | HSAuint64 aligned_addr = (HSAuint64)addr - page_offset; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_register_graphics_handle': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3600:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3600 | infoArgs.metadata_ptr = (uint64_t)metadata; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3608:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3608 | infoArgs.metadata_ptr = (uint64_t)metadata; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_register_shared_memory': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3819:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3819 | importArgs.va_addr = (uint64_t)reservedMem; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_get_mem_info': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:4080:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4080 | info->GPUAddress = (HSAuint64)vm_obj->start; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:4119:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4119 | info->GPUAddress += ((HSAuint64)info->CPUAddress & (PAGE_SIZE - 1)); | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_clear_all_mem': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:4246:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4246 | map_addr = mmap(dgpu_shared_aperture_base, (HSAuint64)(dgpu_shared_aperture_limit)- | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:4247:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4247 | (HSAuint64)(dgpu_shared_aperture_base) + 1, PROT_NONE, | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:4252:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4252 | (HSAuint64)(dgpu_shared_aperture_limit) - | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:4253:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4253 | (HSAuint64)(dgpu_shared_aperture_base) + 1); | ^ [ 23%] Building C object CMakeFiles/hsakmt.dir/src/globals.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/globals.c.o -MF CMakeFiles/hsakmt.dir/src/globals.c.o.d -o CMakeFiles/hsakmt.dir/src/globals.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/globals.c [ 29%] Building C object CMakeFiles/hsakmt.dir/src/libhsakmt.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/libhsakmt.c.o -MF CMakeFiles/hsakmt.dir/src/libhsakmt.c.o.d -o CMakeFiles/hsakmt.dir/src/libhsakmt.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.c [ 35%] Building C object CMakeFiles/hsakmt.dir/src/memory.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/memory.c.o -MF CMakeFiles/hsakmt.dir/src/memory.c.o.d -o CMakeFiles/hsakmt.dir/src/memory.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c [ 41%] Building C object CMakeFiles/hsakmt.dir/src/openclose.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/openclose.c.o -MF CMakeFiles/hsakmt.dir/src/openclose.c.o.d -o CMakeFiles/hsakmt.dir/src/openclose.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/openclose.c In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:26: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c: In function 'hsaKmtAllocMemory': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:146:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 146 | pr_err("[%s] failed to allocate %lu bytes from scratch\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | __func__, SizeInBytes); | ~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:146:25: note: in expansion of macro 'pr_err' 146 | pr_err("[%s] failed to allocate %lu bytes from scratch\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:146:59: note: format string is defined here 146 | pr_err("[%s] failed to allocate %lu bytes from scratch\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:168:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 168 | pr_err("[%s] failed to allocate %lu bytes from host\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | __func__, SizeInBytes); | ~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:168:25: note: in expansion of macro 'pr_err' 168 | pr_err("[%s] failed to allocate %lu bytes from host\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:168:59: note: format string is defined here 168 | pr_err("[%s] failed to allocate %lu bytes from host\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:188:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 188 | pr_err("[%s] failed to allocate %lu bytes from device\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 189 | __func__, SizeInBytes); | ~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:188:17: note: in expansion of macro 'pr_err' 188 | pr_err("[%s] failed to allocate %lu bytes from device\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:188:51: note: format string is defined here 188 | pr_err("[%s] failed to allocate %lu bytes from device\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c: In function 'hsaKmtRegisterMemoryToNodes': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:260:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 260 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | __func__, MemoryAddress, NumberOfNodes); | ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:260:9: note: in expansion of macro 'pr_debug' 260 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:260:53: note: format string is defined here 260 | pr_debug("[%s] address %p number of nodes %lu\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c: In function 'hsaKmtRegisterGraphicsHandleToNodes': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:318:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 318 | pr_debug("[%s] number of nodes %lu\n", __func__, NumberOfNodes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:318:9: note: in expansion of macro 'pr_debug' 318 | pr_debug("[%s] number of nodes %lu\n", __func__, NumberOfNodes); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:318:42: note: format string is defined here 318 | pr_debug("[%s] number of nodes %lu\n", __func__, NumberOfNodes); | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c: In function 'hsaKmtRegisterSharedHandleToNodes': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:390:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 390 | pr_debug("[%s] handle %p number of nodes %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 391 | __func__, SharedMemoryHandle, NumberOfNodes); | ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:390:9: note: in expansion of macro 'pr_debug' 390 | pr_debug("[%s] handle %p number of nodes %lu\n", | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:390:52: note: format string is defined here 390 | pr_debug("[%s] handle %p number of nodes %lu\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c: In function 'hsaKmtMapMemoryToGPUNodes': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:481:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 481 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 482 | __func__, MemoryAddress, NumberOfNodes); | ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:481:9: note: in expansion of macro 'pr_debug' 481 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:481:53: note: format string is defined here 481 | pr_debug("[%s] address %p number of nodes %lu\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c: In function 'hsaKmtGetTileConfig': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:567:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 567 | args.tile_config_ptr = (uint64_t)config->TileConfig; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:568:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 568 | args.macro_tile_config_ptr = (uint64_t)config->MacroTileConfig; | ^ [ 47%] Building C object CMakeFiles/hsakmt.dir/src/perfctr.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/perfctr.c.o -MF CMakeFiles/hsakmt.dir/src/perfctr.c.o.d -o CMakeFiles/hsakmt.dir/src/perfctr.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:31: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcUnregisterTrace': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:483:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 483 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:483:9: note: in expansion of macro 'pr_debug' 483 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:483:37: note: format string is defined here 483 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcAcquireTraceAccess': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:519:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 519 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:519:9: note: in expansion of macro 'pr_debug' 519 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:519:37: note: format string is defined here 519 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcReleaseTraceAccess': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:540:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 540 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:540:9: note: in expansion of macro 'pr_debug' 540 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:540:37: note: format string is defined here 540 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcStartTrace': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:565:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 565 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:565:9: note: in expansion of macro 'pr_debug' 565 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:565:37: note: format string is defined here 565 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcQueryTrace': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:624:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 624 | pr_debug("%lu_", *buf); | ^~~~~~ ~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:624:25: note: in expansion of macro 'pr_debug' 624 | pr_debug("%lu_", *buf); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:624:37: note: format string is defined here 624 | pr_debug("%lu_", *buf); | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcStopTrace': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:641:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 641 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:641:9: note: in expansion of macro 'pr_debug' 641 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:641:37: note: format string is defined here 641 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx [ 52%] Building C object CMakeFiles/hsakmt.dir/src/pmc_table.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/pmc_table.c.o -MF CMakeFiles/hsakmt.dir/src/pmc_table.c.o.d -o CMakeFiles/hsakmt.dir/src/pmc_table.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/pmc_table.c [ 58%] Building C object CMakeFiles/hsakmt.dir/src/queues.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/queues.c.o -MF CMakeFiles/hsakmt.dir/src/queues.c.o.d -o CMakeFiles/hsakmt.dir/src/queues.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/queues.c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/queues.c: In function 'hsaKmtGetQueueInfo': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/queues.c:829:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 829 | QueueInfo->ControlStackTop = (void *)(args.ctl_stack_address + | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/queues.c:831:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 831 | QueueInfo->UserContextSaveArea = (void *) | ^ [ 64%] Building C object CMakeFiles/hsakmt.dir/src/time.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/time.c.o -MF CMakeFiles/hsakmt.dir/src/time.c.o.d -o CMakeFiles/hsakmt.dir/src/time.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/time.c [ 70%] Building C object CMakeFiles/hsakmt.dir/src/topology.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/topology.c.o -MF CMakeFiles/hsakmt.dir/src/topology.c.o.d -o CMakeFiles/hsakmt.dir/src/topology.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/topology.c [ 76%] Building C object CMakeFiles/hsakmt.dir/src/rbtree.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/rbtree.c.o -MF CMakeFiles/hsakmt.dir/src/rbtree.c.o.d -o CMakeFiles/hsakmt.dir/src/rbtree.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/rbtree.c [ 82%] Building C object CMakeFiles/hsakmt.dir/src/spm.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/spm.c.o -MF CMakeFiles/hsakmt.dir/src/spm.c.o.d -o CMakeFiles/hsakmt.dir/src/spm.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/spm.c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/spm.c: In function 'hsaKmtSPMSetDestBuffer': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/spm.c:69:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 69 | args.dest_buf = (uint64_t)DestMemoryAddress; | ^ [ 88%] Building C object CMakeFiles/hsakmt.dir/src/version.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/version.c.o -MF CMakeFiles/hsakmt.dir/src/version.c.o.d -o CMakeFiles/hsakmt.dir/src/version.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/version.c [ 94%] Building C object CMakeFiles/hsakmt.dir/src/svm.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/svm.c.o -MF CMakeFiles/hsakmt.dir/src/svm.c.o.d -o CMakeFiles/hsakmt.dir/src/svm.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:25: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c: In function 'hsaKmtSVMSetAttr': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:51:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:51:9: note: in expansion of macro 'pr_debug' 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:51:45: note: format string is defined here 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:55:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 55 | if ((uint64_t)start_addr & (PAGE_SIZE - 1)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:63:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 63 | args->start_addr = (uint64_t)start_addr; | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c: In function 'hsaKmtSVMGetAttr': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:118:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:118:9: note: in expansion of macro 'pr_debug' 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:118:45: note: format string is defined here 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:122:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 122 | if ((uint64_t)start_addr & (PAGE_SIZE - 1)) | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:130:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 130 | args->start_addr = (uint64_t)start_addr; | ^ [100%] Linking C shared library libhsakmt.so /usr/bin/cmake -E cmake_link_script CMakeFiles/hsakmt.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--enable-new-dtags -Wl,--version-script=/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.ver -Wl,-soname=libhsakmt.so.1 -Wl,-z,nodelete -Wl,-no-undefined -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libhsakmt.so.1 -o libhsakmt.so.1.0.6 CMakeFiles/hsakmt.dir/src/debug.c.o CMakeFiles/hsakmt.dir/src/events.c.o CMakeFiles/hsakmt.dir/src/fmm.c.o CMakeFiles/hsakmt.dir/src/globals.c.o CMakeFiles/hsakmt.dir/src/libhsakmt.c.o CMakeFiles/hsakmt.dir/src/memory.c.o CMakeFiles/hsakmt.dir/src/openclose.c.o CMakeFiles/hsakmt.dir/src/perfctr.c.o CMakeFiles/hsakmt.dir/src/pmc_table.c.o CMakeFiles/hsakmt.dir/src/queues.c.o CMakeFiles/hsakmt.dir/src/time.c.o CMakeFiles/hsakmt.dir/src/topology.c.o CMakeFiles/hsakmt.dir/src/rbtree.c.o CMakeFiles/hsakmt.dir/src/spm.c.o CMakeFiles/hsakmt.dir/src/version.c.o CMakeFiles/hsakmt.dir/src/svm.c.o -L/usr/lib/arm-linux-gnueabihf -ldrm -L/usr/lib/arm-linux-gnueabihf -ldrm_amdgpu -lpthread -lrt -lc -lnuma /usr/bin/cmake -E cmake_symlink_library libhsakmt.so.1.0.6 libhsakmt.so.1 libhsakmt.so make[3]: Leaving directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' [100%] Built target hsakmt make[2]: Leaving directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf/CMakeFiles 0 make[1]: Leaving directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install cd obj-arm-linux-gnueabihf && make -j3 install DESTDIR=/build/reproducible-path/roct-thunk-interface-6.1.2\+ds/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' /usr/bin/cmake -S/build/reproducible-path/roct-thunk-interface-6.1.2+ds -B/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 preinstall make[2]: Entering directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' make[2]: Nothing to be done for 'preinstall'. make[2]: Leaving directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "None" -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so.1.0.6 -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so.1 -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so -- Up-to-date: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so.1.0.6 -- Up-to-date: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so.1 -- Up-to-date: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/include/hsakmt -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/include/hsakmt/hsakmt.h -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/include/hsakmt/hsakmttypes.h -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/lib/arm-linux-gnueabihf/cmake/hsakmt/hsakmtTargets.cmake -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/lib/arm-linux-gnueabihf/cmake/hsakmt/hsakmtTargets-none.cmake -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/lib/arm-linux-gnueabihf/cmake/hsakmt/hsakmt-config.cmake -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/lib/arm-linux-gnueabihf/cmake/hsakmt/hsakmt-config-version.cmake -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig/libhsakmt.pc -- Installing: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/debian/tmp/usr/share/doc/hsakmt/LICENSE.md make[1]: Leaving directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-arm-linux-gnueabihf' dh_install dh_installdocs dh_installchangelogs dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'libhsakmt1' in '../libhsakmt1_6.1.2+ds-1~exp1_armhf.deb'. dpkg-deb: building package 'libhsakmt1-dbgsym' in '../libhsakmt1-dbgsym_6.1.2+ds-1~exp1_armhf.deb'. dpkg-deb: building package 'libhsakmt-dev' in '../libhsakmt-dev_6.1.2+ds-1~exp1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../roct-thunk-interface_6.1.2+ds-1~exp1_armhf.buildinfo dpkg-genchanges --build=binary -O../roct-thunk-interface_6.1.2+ds-1~exp1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/31961 and its subdirectories I: Current time: Tue Oct 8 05:07:45 -12 2024 I: pbuilder-time-stamp: 1728407265