I: pbuilder: network access will be disabled during build I: Current time: Fri Apr 26 09:22:08 +14 2024 I: pbuilder-time-stamp: 1714072928 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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_5.7.0-1.dsc] I: copying [./roct-thunk-interface_5.7.0.orig.tar.gz] I: copying [./roct-thunk-interface_5.7.0-1.debian.tar.xz] I: Extracting source gpgv: Signature made Thu Feb 22 18:37:26 2024 gpgv: using RSA key 0CE06FE392AA48F8D22E4471F9EF8EE0C021630F gpgv: issuer "cgmb@slerp.xyz" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./roct-thunk-interface_5.7.0-1.dsc: no acceptable signature found dpkg-source: info: extracting roct-thunk-interface in roct-thunk-interface-5.7.0 dpkg-source: info: unpacking roct-thunk-interface_5.7.0.orig.tar.gz dpkg-source: info: unpacking roct-thunk-interface_5.7.0-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying pkgconfig.patch dpkg-source: info: applying fix-missing-symbols.patch dpkg-source: info: applying 0003-Spelling-patch.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/22109/tmp/hooks/D01_modify_environment starting debug: Running on virt32c. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Apr 25 19:22 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/22109/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/22109/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.2.21(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' DIRSTACK=() DISTRIBUTION=trixie EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=a9940cea84eb4878bdeb87f065562d0b LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=22109 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.RpiJKT33/pbuilderrc_ciLs --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RpiJKT33/b2 --logfile b2/build.log roct-thunk-interface_5.7.0-1.dsc' SUDO_GID=113 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:3142/ I: uname -a Linux i-capture-the-hostname 6.1.0-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 24 11:24 /bin -> usr/bin I: user script /srv/workspace/pbuilder/22109/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 ... 19468 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} libarchive13{a} libbrotli1{a} libcom-err2{a} libcurl4{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} libelf1{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libgssapi-krb5-2{a} libicu72{a} libjsoncpp25{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} libldap-2.5-0{a} libmagic-mgc{a} libmagic1{a} libnghttp2-14{a} libnuma-dev{a} libnuma1{a} libpciaccess-dev{a} libpciaccess0{a} libpipeline1{a} libpkgconf3{a} libproc2-0{a} libpsl5{a} librhash0{a} librtmp1{a} libsasl2-2{a} libsasl2-modules-db{a} libssh2-1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libudev-dev{a} libuv1{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 lynx psmisc publicsuffix wget 0 packages upgraded, 74 newly installed, 0 to remove and 0 not upgraded. Need to get 30.7 MB of archives. After unpacking 113 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main armhf libproc2-0 armhf 2:4.0.4-4 [55.7 kB] Get: 2 http://deb.debian.org/debian trixie/main armhf procps armhf 2:4.0.4-4 [864 kB] Get: 3 http://deb.debian.org/debian trixie/main armhf sensible-utils all 0.0.22 [22.4 kB] Get: 4 http://deb.debian.org/debian trixie/main armhf libmagic-mgc armhf 1:5.45-2+b1 [314 kB] Get: 5 http://deb.debian.org/debian trixie/main armhf libmagic1 armhf 1:5.45-2+b1 [97.9 kB] Get: 6 http://deb.debian.org/debian trixie/main armhf file armhf 1:5.45-2+b1 [42.2 kB] Get: 7 http://deb.debian.org/debian trixie/main armhf gettext-base armhf 0.21-14+b1 [157 kB] Get: 8 http://deb.debian.org/debian trixie/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 9 http://deb.debian.org/debian trixie/main armhf groff-base armhf 1.23.0-3 [1088 kB] Get: 10 http://deb.debian.org/debian trixie/main armhf bsdextrautils armhf 2.39.3-6 [81.2 kB] Get: 11 http://deb.debian.org/debian trixie/main armhf libpipeline1 armhf 1.5.7-2 [33.3 kB] Get: 12 http://deb.debian.org/debian trixie/main armhf man-db armhf 2.12.0-3 [1367 kB] Get: 13 http://deb.debian.org/debian trixie/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 14 http://deb.debian.org/debian trixie/main armhf autoconf all 2.71-3 [332 kB] Get: 15 http://deb.debian.org/debian trixie/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 16 http://deb.debian.org/debian trixie/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 17 http://deb.debian.org/debian trixie/main armhf autopoint all 0.21-14 [496 kB] Get: 18 http://deb.debian.org/debian trixie/main armhf libicu72 armhf 72.1-4+b1 [9070 kB] Get: 19 http://deb.debian.org/debian trixie/main armhf libxml2 armhf 2.9.14+dfsg-1.3+b2 [599 kB] Get: 20 http://deb.debian.org/debian trixie/main armhf libarchive13 armhf 3.7.2-1 [301 kB] Get: 21 http://deb.debian.org/debian trixie/main armhf libbrotli1 armhf 1.1.0-2+b3 [284 kB] Get: 22 http://deb.debian.org/debian trixie/main armhf libkrb5support0 armhf 1.20.1-5+b1 [30.4 kB] Get: 23 http://deb.debian.org/debian trixie/main armhf libcom-err2 armhf 1.47.0-2+b1 [19.3 kB] Get: 24 http://deb.debian.org/debian trixie/main armhf libk5crypto3 armhf 1.20.1-5+b1 [75.4 kB] Get: 25 http://deb.debian.org/debian trixie/main armhf libkeyutils1 armhf 1.6.3-3 [7908 B] Get: 26 http://deb.debian.org/debian trixie/main armhf libkrb5-3 armhf 1.20.1-5+b1 [289 kB] Get: 27 http://deb.debian.org/debian trixie/main armhf libgssapi-krb5-2 armhf 1.20.1-5+b1 [112 kB] Get: 28 http://deb.debian.org/debian trixie/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-4+b1 [18.2 kB] Get: 29 http://deb.debian.org/debian trixie/main armhf libsasl2-2 armhf 2.1.28+dfsg1-4+b1 [50.1 kB] Get: 30 http://deb.debian.org/debian trixie/main armhf libldap-2.5-0 armhf 2.5.13+dfsg-5+b3 [158 kB] Get: 31 http://deb.debian.org/debian trixie/main armhf libnghttp2-14 armhf 1.59.0-1 [62.0 kB] Get: 32 http://deb.debian.org/debian trixie/main armhf libpsl5 armhf 0.21.2-1+b1 [57.8 kB] Get: 33 http://deb.debian.org/debian trixie/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2+b2 [55.2 kB] Get: 34 http://deb.debian.org/debian trixie/main armhf libssh2-1 armhf 1.11.0-4 [197 kB] Get: 35 http://deb.debian.org/debian trixie/main armhf libcurl4 armhf 8.5.0-2 [383 kB] Get: 36 http://deb.debian.org/debian trixie/main armhf libexpat1 armhf 2.6.2-1 [83.5 kB] Get: 37 http://deb.debian.org/debian trixie/main armhf libjsoncpp25 armhf 1.9.5-6+b2 [69.9 kB] Get: 38 http://deb.debian.org/debian trixie/main armhf librhash0 armhf 1.4.3-3+b1 [143 kB] Get: 39 http://deb.debian.org/debian trixie/main armhf libuv1 armhf 1.48.0-1 [133 kB] Get: 40 http://deb.debian.org/debian trixie/main armhf cmake-data all 3.28.3-1 [2128 kB] Get: 41 http://deb.debian.org/debian trixie/main armhf cmake armhf 3.28.3-1 [5109 kB] Get: 42 http://deb.debian.org/debian trixie/main armhf libdebhelper-perl all 13.15.3 [88.0 kB] Get: 43 http://deb.debian.org/debian trixie/main armhf libtool all 2.4.7-7 [517 kB] Get: 44 http://deb.debian.org/debian trixie/main armhf dh-autoreconf all 20 [17.1 kB] Get: 45 http://deb.debian.org/debian trixie/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 46 http://deb.debian.org/debian trixie/main armhf libsub-override-perl all 0.10-1 [10.6 kB] Get: 47 http://deb.debian.org/debian trixie/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 48 http://deb.debian.org/debian trixie/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 49 http://deb.debian.org/debian trixie/main armhf libelf1 armhf 0.190-1+b1 [171 kB] Get: 50 http://deb.debian.org/debian trixie/main armhf dwz armhf 0.15-1 [101 kB] Get: 51 http://deb.debian.org/debian trixie/main armhf gettext armhf 0.21-14+b1 [1230 kB] Get: 52 http://deb.debian.org/debian trixie/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 53 http://deb.debian.org/debian trixie/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 54 http://deb.debian.org/debian trixie/main armhf debhelper all 13.15.3 [901 kB] Get: 55 http://deb.debian.org/debian trixie/main armhf libdrm-common all 2.4.120-2 [7688 B] Get: 56 http://deb.debian.org/debian trixie/main armhf libdrm2 armhf 2.4.120-2 [33.8 kB] Get: 57 http://deb.debian.org/debian trixie/main armhf libdrm-amdgpu1 armhf 2.4.120-2 [20.0 kB] Get: 58 http://deb.debian.org/debian trixie/main armhf libdrm-radeon1 armhf 2.4.120-2 [19.5 kB] Get: 59 http://deb.debian.org/debian trixie/main armhf libdrm-nouveau2 armhf 2.4.120-2 [16.9 kB] Get: 60 http://deb.debian.org/debian trixie/main armhf libdrm-omap1 armhf 2.4.120-2 [8776 B] Get: 61 http://deb.debian.org/debian trixie/main armhf libdrm-freedreno1 armhf 2.4.120-2 [18.8 kB] Get: 62 http://deb.debian.org/debian trixie/main armhf libdrm-exynos1 armhf 2.4.120-2 [12.7 kB] Get: 63 http://deb.debian.org/debian trixie/main armhf libdrm-tegra0 armhf 2.4.120-2 [10.2 kB] Get: 64 http://deb.debian.org/debian trixie/main armhf libdrm-etnaviv1 armhf 2.4.120-2 [12.6 kB] Get: 65 http://deb.debian.org/debian trixie/main armhf libpciaccess0 armhf 0.17-3 [49.0 kB] Get: 66 http://deb.debian.org/debian trixie/main armhf libpciaccess-dev armhf 0.17-3 [53.6 kB] Get: 67 http://deb.debian.org/debian trixie/main armhf libdrm-dev armhf 2.4.120-2 [256 kB] Get: 68 http://deb.debian.org/debian trixie/main armhf libnuma1 armhf 2.0.18-1 [18.5 kB] Get: 69 http://deb.debian.org/debian trixie/main armhf libnuma-dev armhf 2.0.18-1 [34.2 kB] Get: 70 http://deb.debian.org/debian trixie/main armhf libpkgconf3 armhf 1.8.1-1+b2 [31.9 kB] Get: 71 http://deb.debian.org/debian trixie/main armhf libudev-dev armhf 255.4-1 [60.9 kB] Get: 72 http://deb.debian.org/debian trixie/main armhf pkgconf-bin armhf 1.8.1-1+b2 [28.9 kB] Get: 73 http://deb.debian.org/debian trixie/main armhf pkgconf armhf 1.8.1-1+b2 [26.2 kB] Get: 74 http://deb.debian.org/debian trixie/main armhf zlib1g-dev armhf 1:1.3.dfsg-3+b1 [904 kB] Fetched 30.7 MB in 2s (14.6 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 ... 19468 files and directories currently installed.) Preparing to unpack .../00-libproc2-0_2%3a4.0.4-4_armhf.deb ... Unpacking libproc2-0:armhf (2:4.0.4-4) ... Selecting previously unselected package procps. Preparing to unpack .../01-procps_2%3a4.0.4-4_armhf.deb ... Unpacking procps (2:4.0.4-4) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../02-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../03-libmagic-mgc_1%3a5.45-2+b1_armhf.deb ... Unpacking libmagic-mgc (1:5.45-2+b1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../04-libmagic1_1%3a5.45-2+b1_armhf.deb ... Unpacking libmagic1:armhf (1:5.45-2+b1) ... Selecting previously unselected package file. Preparing to unpack .../05-file_1%3a5.45-2+b1_armhf.deb ... Unpacking file (1:5.45-2+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../06-gettext-base_0.21-14+b1_armhf.deb ... Unpacking gettext-base (0.21-14+b1) ... 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-3_armhf.deb ... Unpacking groff-base (1.23.0-3) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../09-bsdextrautils_2.39.3-6_armhf.deb ... Unpacking bsdextrautils (2.39.3-6) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../10-libpipeline1_1.5.7-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../11-man-db_2.12.0-3_armhf.deb ... Unpacking man-db (2.12.0-3) ... 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.71-3_all.deb ... Unpacking autoconf (2.71-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.21-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../17-libicu72_72.1-4+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-4+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../18-libxml2_2.9.14+dfsg-1.3+b2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Selecting previously unselected package libarchive13:armhf. Preparing to unpack .../19-libarchive13_3.7.2-1_armhf.deb ... Unpacking libarchive13:armhf (3.7.2-1) ... Selecting previously unselected package libbrotli1:armhf. Preparing to unpack .../20-libbrotli1_1.1.0-2+b3_armhf.deb ... Unpacking libbrotli1:armhf (1.1.0-2+b3) ... Selecting previously unselected package libkrb5support0:armhf. Preparing to unpack .../21-libkrb5support0_1.20.1-5+b1_armhf.deb ... Unpacking libkrb5support0:armhf (1.20.1-5+b1) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../22-libcom-err2_1.47.0-2+b1_armhf.deb ... Unpacking libcom-err2:armhf (1.47.0-2+b1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../23-libk5crypto3_1.20.1-5+b1_armhf.deb ... Unpacking libk5crypto3:armhf (1.20.1-5+b1) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../24-libkeyutils1_1.6.3-3_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-3) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../25-libkrb5-3_1.20.1-5+b1_armhf.deb ... Unpacking libkrb5-3:armhf (1.20.1-5+b1) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../26-libgssapi-krb5-2_1.20.1-5+b1_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.20.1-5+b1) ... Selecting previously unselected package libsasl2-modules-db:armhf. Preparing to unpack .../27-libsasl2-modules-db_2.1.28+dfsg1-4+b1_armhf.deb ... Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-4+b1) ... Selecting previously unselected package libsasl2-2:armhf. Preparing to unpack .../28-libsasl2-2_2.1.28+dfsg1-4+b1_armhf.deb ... Unpacking libsasl2-2:armhf (2.1.28+dfsg1-4+b1) ... Selecting previously unselected package libldap-2.5-0:armhf. Preparing to unpack .../29-libldap-2.5-0_2.5.13+dfsg-5+b3_armhf.deb ... Unpacking libldap-2.5-0:armhf (2.5.13+dfsg-5+b3) ... Selecting previously unselected package libnghttp2-14:armhf. Preparing to unpack .../30-libnghttp2-14_1.59.0-1_armhf.deb ... Unpacking libnghttp2-14:armhf (1.59.0-1) ... Selecting previously unselected package libpsl5:armhf. Preparing to unpack .../31-libpsl5_0.21.2-1+b1_armhf.deb ... Unpacking libpsl5:armhf (0.21.2-1+b1) ... Selecting previously unselected package librtmp1:armhf. Preparing to unpack .../32-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_armhf.deb ... Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b2) ... Selecting previously unselected package libssh2-1:armhf. Preparing to unpack .../33-libssh2-1_1.11.0-4_armhf.deb ... Unpacking libssh2-1:armhf (1.11.0-4) ... Selecting previously unselected package libcurl4:armhf. Preparing to unpack .../34-libcurl4_8.5.0-2_armhf.deb ... Unpacking libcurl4:armhf (8.5.0-2) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../35-libexpat1_2.6.2-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.2-1) ... Selecting previously unselected package libjsoncpp25:armhf. Preparing to unpack .../36-libjsoncpp25_1.9.5-6+b2_armhf.deb ... Unpacking libjsoncpp25:armhf (1.9.5-6+b2) ... Selecting previously unselected package librhash0:armhf. Preparing to unpack .../37-librhash0_1.4.3-3+b1_armhf.deb ... Unpacking librhash0:armhf (1.4.3-3+b1) ... Selecting previously unselected package libuv1:armhf. Preparing to unpack .../38-libuv1_1.48.0-1_armhf.deb ... Unpacking libuv1:armhf (1.48.0-1) ... Selecting previously unselected package cmake-data. Preparing to unpack .../39-cmake-data_3.28.3-1_all.deb ... Unpacking cmake-data (3.28.3-1) ... Selecting previously unselected package cmake. Preparing to unpack .../40-cmake_3.28.3-1_armhf.deb ... Unpacking cmake (3.28.3-1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../41-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... 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 libsub-override-perl. Preparing to unpack .../45-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../46-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../47-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../48-libelf1_0.190-1+b1_armhf.deb ... Unpacking libelf1:armhf (0.190-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../49-dwz_0.15-1_armhf.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package gettext. Preparing to unpack .../50-gettext_0.21-14+b1_armhf.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../51-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 .../52-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../53-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../54-libdrm-common_2.4.120-2_all.deb ... Unpacking libdrm-common (2.4.120-2) ... Selecting previously unselected package libdrm2:armhf. Preparing to unpack .../55-libdrm2_2.4.120-2_armhf.deb ... Unpacking libdrm2:armhf (2.4.120-2) ... Selecting previously unselected package libdrm-amdgpu1:armhf. Preparing to unpack .../56-libdrm-amdgpu1_2.4.120-2_armhf.deb ... Unpacking libdrm-amdgpu1:armhf (2.4.120-2) ... Selecting previously unselected package libdrm-radeon1:armhf. Preparing to unpack .../57-libdrm-radeon1_2.4.120-2_armhf.deb ... Unpacking libdrm-radeon1:armhf (2.4.120-2) ... Selecting previously unselected package libdrm-nouveau2:armhf. Preparing to unpack .../58-libdrm-nouveau2_2.4.120-2_armhf.deb ... Unpacking libdrm-nouveau2:armhf (2.4.120-2) ... Selecting previously unselected package libdrm-omap1:armhf. Preparing to unpack .../59-libdrm-omap1_2.4.120-2_armhf.deb ... Unpacking libdrm-omap1:armhf (2.4.120-2) ... Selecting previously unselected package libdrm-freedreno1:armhf. Preparing to unpack .../60-libdrm-freedreno1_2.4.120-2_armhf.deb ... Unpacking libdrm-freedreno1:armhf (2.4.120-2) ... Selecting previously unselected package libdrm-exynos1:armhf. Preparing to unpack .../61-libdrm-exynos1_2.4.120-2_armhf.deb ... Unpacking libdrm-exynos1:armhf (2.4.120-2) ... Selecting previously unselected package libdrm-tegra0:armhf. Preparing to unpack .../62-libdrm-tegra0_2.4.120-2_armhf.deb ... Unpacking libdrm-tegra0:armhf (2.4.120-2) ... Selecting previously unselected package libdrm-etnaviv1:armhf. Preparing to unpack .../63-libdrm-etnaviv1_2.4.120-2_armhf.deb ... Unpacking libdrm-etnaviv1:armhf (2.4.120-2) ... Selecting previously unselected package libpciaccess0:armhf. Preparing to unpack .../64-libpciaccess0_0.17-3_armhf.deb ... Unpacking libpciaccess0:armhf (0.17-3) ... Selecting previously unselected package libpciaccess-dev:armhf. Preparing to unpack .../65-libpciaccess-dev_0.17-3_armhf.deb ... Unpacking libpciaccess-dev:armhf (0.17-3) ... Selecting previously unselected package libdrm-dev:armhf. Preparing to unpack .../66-libdrm-dev_2.4.120-2_armhf.deb ... Unpacking libdrm-dev:armhf (2.4.120-2) ... Selecting previously unselected package libnuma1:armhf. Preparing to unpack .../67-libnuma1_2.0.18-1_armhf.deb ... Unpacking libnuma1:armhf (2.0.18-1) ... Selecting previously unselected package libnuma-dev:armhf. Preparing to unpack .../68-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 .../69-libpkgconf3_1.8.1-1+b2_armhf.deb ... Unpacking libpkgconf3:armhf (1.8.1-1+b2) ... Selecting previously unselected package libudev-dev:armhf. Preparing to unpack .../70-libudev-dev_255.4-1_armhf.deb ... Unpacking libudev-dev:armhf (255.4-1) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../71-pkgconf-bin_1.8.1-1+b2_armhf.deb ... Unpacking pkgconf-bin (1.8.1-1+b2) ... Selecting previously unselected package pkgconf:armhf. Preparing to unpack .../72-pkgconf_1.8.1-1+b2_armhf.deb ... Unpacking pkgconf:armhf (1.8.1-1+b2) ... Selecting previously unselected package zlib1g-dev:armhf. Preparing to unpack .../73-zlib1g-dev_1%3a1.3.dfsg-3+b1_armhf.deb ... Unpacking zlib1g-dev:armhf (1:1.3.dfsg-3+b1) ... Setting up libexpat1:armhf (2.6.2-1) ... Setting up libpipeline1:armhf (1.5.7-2) ... Setting up libpciaccess0:armhf (0.17-3) ... Setting up libkeyutils1:armhf (1.6.3-3) ... Setting up libpsl5:armhf (0.21.2-1+b1) ... Setting up libicu72:armhf (72.1-4+b1) ... Setting up libpciaccess-dev:armhf (0.17-3) ... Setting up bsdextrautils (2.39.3-6) ... Setting up libmagic-mgc (1:5.45-2+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libbrotli1:armhf (1.1.0-2+b3) ... Setting up libnghttp2-14:armhf (1.59.0-1) ... Setting up libmagic1:armhf (1:5.45-2+b1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:armhf (1.47.0-2+b1) ... Setting up file (1:5.45-2+b1) ... Setting up libkrb5support0:armhf (1.20.1-5+b1) ... Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-4+b1) ... Setting up autotools-dev (20220109.1) ... Setting up libpkgconf3:armhf (1.8.1-1+b2) ... Setting up libuv1:armhf (1.48.0-1) ... Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b2) ... Setting up libproc2-0:armhf (2:4.0.4-4) ... Setting up autopoint (0.21-14) ... Setting up libjsoncpp25:armhf (1.9.5-6+b2) ... Setting up libudev-dev:armhf (255.4-1) ... Setting up pkgconf-bin (1.8.1-1+b2) ... Setting up libk5crypto3:armhf (1.20.1-5+b1) ... Setting up libsasl2-2:armhf (2.1.28+dfsg1-4+b1) ... Setting up autoconf (2.71-3) ... Setting up zlib1g-dev:armhf (1:1.3.dfsg-3+b1) ... Setting up libnuma1:armhf (2.0.18-1) ... Setting up sensible-utils (0.0.22) ... Setting up librhash0:armhf (1.4.3-3+b1) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up procps (2:4.0.4-4) ... Setting up libsub-override-perl (0.10-1) ... Setting up libssh2-1:armhf (1.11.0-4) ... Setting up cmake-data (3.28.3-1) ... Setting up libkrb5-3:armhf (1.20.1-5+b1) ... Setting up libdrm-common (2.4.120-2) ... Setting up libelf1:armhf (0.190-1+b1) ... Setting up libxml2:armhf (2.9.14+dfsg-1.3+b2) ... 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.13.1-1) ... Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up libarchive13:armhf (3.7.2-1) ... Setting up libldap-2.5-0:armhf (2.5.13+dfsg-5+b3) ... Setting up pkgconf:armhf (1.8.1-1+b2) ... 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.20.1-5+b1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up libdrm2:armhf (2.4.120-2) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.23.0-3) ... Setting up libcurl4:armhf (8.5.0-2) ... Setting up libdrm-omap1:armhf (2.4.120-2) ... Setting up libdrm-exynos1:armhf (2.4.120-2) ... Setting up libdrm-amdgpu1:armhf (2.4.120-2) ... Setting up libdrm-nouveau2:armhf (2.4.120-2) ... Setting up libdrm-etnaviv1:armhf (2.4.120-2) ... Setting up libdrm-radeon1:armhf (2.4.120-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.12.0-3) ... Not building database; man-db/auto-update is not 'true'. Setting up libdrm-freedreno1:armhf (2.4.120-2) ... Setting up libdrm-tegra0:armhf (2.4.120-2) ... Setting up cmake (3.28.3-1) ... Setting up libdrm-dev:armhf (2.4.120-2) ... Setting up debhelper (13.15.3) ... Processing triggers for libc-bin (2.37-18) ... 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: user script /srv/workspace/pbuilder/22109/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for trixie I: user script /srv/workspace/pbuilder/22109/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/roct-thunk-interface-5.7.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../roct-thunk-interface_5.7.0-1_source.changes dpkg-buildpackage: info: source package roct-thunk-interface dpkg-buildpackage: info: source version 5.7.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Cordell Bloor dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean dh clean -Scmake dh_auto_clean -O-Scmake dh_clean -O-Scmake debian/rules binary dh binary -Scmake dh_update_autotools_config -O-Scmake dh_autoreconf -O-Scmake debian/rules override_dh_auto_configure make[1]: Entering directory '/build/reproducible-path/roct-thunk-interface-5.7.0' dh_auto_configure -- -DBUILD_SHARED_LIBS=on \ -DINCLUDE_PATH_COMPATIBILITY=OFF cd obj-arm-linux-gnueabihf && DEB_PYTHON_INSTALL_LAYOUT=deb 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 13.2.0 -- The CXX compiler identification is GNU 13.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.120 -- Checking for module 'libdrm_amdgpu' -- Found libdrm_amdgpu, version 2.4.120 RESULT_VARIABLE No such file or directory OUTPUT_VARIABLE: -- Configuring done (3.5s) -- 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-5.7.0/obj-arm-linux-gnueabihf sed -e 's/@DEB_HOST_MULTIARCH@/arm-linux-gnueabihf/g' \ debian/libhsakmt-dev.install.in > \ debian/libhsakmt-dev.install make[1]: Leaving directory '/build/reproducible-path/roct-thunk-interface-5.7.0' dh_auto_build -O-Scmake cd obj-arm-linux-gnueabihf && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf' /usr/bin/cmake -S/build/reproducible-path/roct-thunk-interface-5.7.0 -B/build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf/CMakeFiles /build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/obj-arm-linux-gnueabihf' cd /build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/roct-thunk-interface-5.7.0 /build/reproducible-path/roct-thunk-interface-5.7.0 /build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf /build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf /build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf/CMakeFiles/hsakmt.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/obj-arm-linux-gnueabihf' [ 5%] Building C object CMakeFiles/hsakmt.dir/src/debug.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/debug.c [ 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-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/events.c /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/fmm.c [ 23%] Building C object CMakeFiles/hsakmt.dir/src/globals.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/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-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/libhsakmt.c /build/reproducible-path/roct-thunk-interface-5.7.0/src/debug.c: In function 'hsaKmtDbgWavefrontControl': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/debug.c: In function 'hsaKmtDbgAddressWatch': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/debug.c: In function 'hsaKmtRuntimeEnable': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/debug.c: In function 'dbg_trap_get_device_data': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/debug.c: In function 'dbg_trap_get_queue_data': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/debug.c: In function 'dbg_trap_suspend_queues': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/debug.c: In function 'hsaKmtDbgEnable': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/events.c: In function 'hsaKmtCreateEvent': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/events.c:26: /build/reproducible-path/roct-thunk-interface-5.7.0/src/events.c: In function 'get_mem_info_svm_api': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/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-5.7.0/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-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/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-5.7.0/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-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/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-5.7.0/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-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/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-5.7.0/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-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/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-5.7.0/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-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/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-5.7.0/src/events.c: In function 'analysis_memory_exception': /build/reproducible-path/roct-thunk-interface-5.7.0/src/events.c:314:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 314 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/events.c:314:9: note: in expansion of macro 'pr_err' 314 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ^~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/events.c:314:57: note: format string is defined here 314 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-5.7.0/src/events.c:323:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 323 | ret = fmm_get_mem_info((const void *)addr, &info); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/events.c:331:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 331 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 332 | info.GPUAddress, info.Node, info.SizeInBytes); | ~~~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/events.c:331:9: note: in expansion of macro 'pr_err' 331 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/events.c:331:33: note: format string is defined here 331 | 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-5.7.0/src/events.c:331:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 331 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 332 | info.GPUAddress, info.Node, info.SizeInBytes); | ~~~~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/events.c:331:9: note: in expansion of macro 'pr_err' 331 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/events.c:331:65: note: format string is defined here 331 | 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-5.7.0/src/fmm.c: In function 'vm_find_object_by_address_userptr_range': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:531:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 531 | (uint64_t)address < ((uint64_t)start + size)) | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:531:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 531 | (uint64_t)address < ((uint64_t)start + size)) | ^ In file included from /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:26: /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'reserved_aperture_allocate_aligned': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:695:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 695 | (void *)(ALIGN_UP((uint64_t)app->base, align) + offset); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:80:40: note: in definition of macro 'ALIGN_UP' 80 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:695:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 695 | (void *)(ALIGN_UP((uint64_t)app->base, align) + offset); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:704:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 704 | start = (void *)(ALIGN_UP((uint64_t)cur->end + 1, align) + offset); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:80:40: note: in definition of macro 'ALIGN_UP' 80 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:704:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 704 | start = (void *)(ALIGN_UP((uint64_t)cur->end + 1, align) + offset); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:710:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 710 | if (cur && address && address < (void *)ALIGN_UP((uint64_t)cur->end + 1, align)) | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:80:40: note: in definition of macro 'ALIGN_UP' 80 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:710:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 710 | if (cur && address && address < (void *)ALIGN_UP((uint64_t)cur->end + 1, align)) | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'mmap_allocate_aligned': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:753:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 753 | aligned_addr = (void *)ALIGN_UP((uint64_t)addr + guard_size, align); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:80:40: note: in definition of macro 'ALIGN_UP' 80 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:753:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 753 | aligned_addr = (void *)ALIGN_UP((uint64_t)addr + guard_size, align); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'fmm_register_mem_svm_api': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1031:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1031 | HSAuint32 page_offset = (HSAuint64)address & (PAGE_SIZE-1); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1032:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1032 | HSAuint64 aligned_addr = (HSAuint64)address - page_offset; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1047:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1047 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:70: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~~~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1047:9: note: in expansion of macro 'pr_debug' 1047 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1047:18: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 1047 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1048 | aligned_size); | ~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1047:9: note: in expansion of macro 'pr_debug' 1047 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1047:49: note: format string is defined here 1047 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ~~^ | | | long int | %lld /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'fmm_map_mem_svm_api': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1074:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1074 | args->start_addr = (uint64_t)address; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'fmm_allocate_memory_object': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1114:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1114 | args.va_addr = (uint64_t)mem; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'fmm_check_user_memory': /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:80:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 80 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:82:26: note: in expansion of macro 'ALIGN_UP' 82 | #define PAGE_ALIGN_UP(x) ALIGN_UP(x,PAGE_SIZE) | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1325:41: note: in expansion of macro 'PAGE_ALIGN_UP' 1325 | for (; ptr < end; ptr = (void *)PAGE_ALIGN_UP(ptr + 1)) | ^~~~~~~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1325:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1325 | for (; ptr < end; ptr = (void *)PAGE_ALIGN_UP(ptr + 1)) | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'fmm_allocate_scratch': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1438:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1438 | args.va_addr = ((uint64_t)mem) >> 16; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'bind_mem_to_numa': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1707:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 1707 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1708 | mem, mflags.Value, SizeInBytes, node_id); | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1707:9: note: in expansion of macro 'pr_debug' 1707 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1707:49: note: format string is defined here 1707 | 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-5.7.0/src/fmm.c: In function 'fmm_allocate_host_gpu': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:1828:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1828 | mmap_offset = (uint64_t)mem; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'init_mmap_apertures': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2115:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2115 | svm.apertures[SVM_DEFAULT].base = (void *)base; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2116:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2116 | svm.apertures[SVM_DEFAULT].limit = (void *)limit; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'init_svm_apertures': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2219:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2219 | for (addr = (void *)base, ret_addr = NULL; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2220:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2220 | (HSAuint64)addr + ((len + 1) >> 1) - 1 <= limit; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2221:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2221 | addr = (void *)((HSAuint64)addr + ADDR_INC)) { | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2221:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2221 | addr = (void *)((HSAuint64)addr + ADDR_INC)) { | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2222:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2222 | HSAuint64 top = MIN((HSAuint64)addr + len, limit+1); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:217:16: note: in definition of macro 'MIN' 217 | typeof(a) tmp1 = (a), tmp2 = (b); \ | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2222:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2222 | HSAuint64 top = MIN((HSAuint64)addr + len, limit+1); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:217:27: note: in definition of macro 'MIN' 217 | typeof(a) tmp1 = (a), tmp2 = (b); \ | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2224:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2224 | map_size = (top - (HSAuint64)addr) & | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2232:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2232 | if ((HSAuint64)ret_addr + ((len + 1) >> 1) - 1 <= limit) | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2246:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2246 | if ((HSAuint64)ret_addr + SVM_MIN_VM_SIZE - 1 > limit) { | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2250:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2250 | (int)((limit - (HSAint64)ret_addr) >> 30)); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:70: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~~~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2248:25: note: in expansion of macro 'pr_warn' 2248 | pr_warn("Got %uGB for SVM at %p with only %dGB usable ...\n", | ^~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2265:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2265 | base = (HSAuint64)ret_addr; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2268:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2268 | munmap((void *)(limit + 1), base + map_size - 1 - limit); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2274:73: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2274 | svm.apertures[SVM_DEFAULT].limit = dgpu_shared_aperture_limit = (void *)limit; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2284:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2284 | alt_base = (HSAuint64)svm.apertures[SVM_DEFAULT].base; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2289:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2289 | svm.apertures[SVM_COHERENT].base = (void *)alt_base; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2290:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2290 | svm.apertures[SVM_COHERENT].limit = (void *)(alt_base + alt_size - 1); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'init_mem_handle_aperture': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/fmm.c:2427:64: note: in expansion of macro 'END_NON_CANONICAL_ADDR' 2427 | while (PORT_VPTR_TO_UINT64(mem_handle_aperture.base) < END_NON_CANONICAL_ADDR - 1) { | ^~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2460:97: warning: left shift count >= width of type [-Wshift-count-overflow] 2460 | mem_handle_aperture.base = VOID_PTR_ADD(mem_handle_aperture.base, (1UL << 47)); | ^~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:212:55: note: in definition of macro 'VOID_PTR_ADD' 212 | #define VOID_PTR_ADD(ptr,n) (void*)((uint8_t*)(ptr) + n)/*ptr + offset*/ | ^ [ 35%] Building C object CMakeFiles/hsakmt.dir/src/memory.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/memory.c /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function '_fmm_map_to_gpu': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2983:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2983 | args.device_ids_array_ptr = (uint64_t)nodes_to_map; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2988:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2988 | (uint64_t)object->registered_device_id_array; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:2997:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2997 | args.device_ids_array_ptr = (uint64_t) | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3002:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3002 | args.device_ids_array_ptr = (uint64_t)all_gpu_id_array; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3010:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 3010 | pr_err("GPU mapping failed (%d) for obj at %p, userptr %p, size %lu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3011 | ret_ioctl, object->start, object->userptr, object->size); | ~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3010:17: note: in expansion of macro 'pr_err' 3010 | pr_err("GPU mapping failed (%d) for obj at %p, userptr %p, size %lu", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3010:83: note: format string is defined here 3010 | pr_err("GPU mapping failed (%d) for obj at %p, userptr %p, size %lu", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3017:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3017 | (uint32_t *)args.device_ids_array_ptr, | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function '_fmm_map_to_gpu_userptr': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3096:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3096 | HSAuint32 page_offset = (HSAuint64)addr & (PAGE_SIZE-1); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3105:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3105 | svm_addr = (void*)((HSAuint64)addr - page_offset); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3105:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3105 | svm_addr = (void*)((HSAuint64)addr - page_offset); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3110:26: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'long long unsigned int' [-Wformat=] 3110 | pr_debug("%s Mapping Address %p size aligned: %ld offset: %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3110:17: note: in expansion of macro 'pr_debug' 3110 | pr_debug("%s Mapping Address %p size aligned: %ld offset: %x\n", | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3110:65: note: format string is defined here 3110 | pr_debug("%s Mapping Address %p size aligned: %ld offset: %x\n", | ~~^ | | | long int | %lld /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3122:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3122 | *gpuvm_addr = (uint64_t)svm_addr + page_offset; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function '_fmm_unmap_from_gpu': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3206:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3206 | HSAuint32 page_offset = (HSAint64)address & (PAGE_SIZE - 1); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3229:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3229 | args.device_ids_array_ptr = (uint64_t)device_ids_array; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3232:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3232 | args.device_ids_array_ptr = (uint64_t)object->mapped_device_id_array; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3246:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3246 | print_device_id_array((void *)args.device_ids_array_ptr, | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3251:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (uint32_t *)args.device_ids_array_ptr, | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function '_fmm_unmap_from_gpu_scratch': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3299:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3299 | args.device_ids_array_ptr = (uint64_t)object->mapped_device_id_array; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3310:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3310 | (uint32_t *)args.device_ids_array_ptr, | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'fmm_register_user_memory': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3415:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3415 | HSAuint32 page_offset = (HSAuint64)addr & (PAGE_SIZE-1); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3416:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3416 | HSAuint64 aligned_addr = (HSAuint64)addr - page_offset; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'fmm_register_graphics_handle': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3569:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3569 | infoArgs.metadata_ptr = (uint64_t)metadata; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3577:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3577 | infoArgs.metadata_ptr = (uint64_t)metadata; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'fmm_register_shared_memory': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:3788:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3788 | importArgs.va_addr = (uint64_t)reservedMem; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'fmm_get_mem_info': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:4049:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4049 | info->GPUAddress = (HSAuint64)vm_obj->start; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:4088:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4088 | info->GPUAddress += ((HSAuint64)info->CPUAddress & (PAGE_SIZE - 1)); | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c: In function 'fmm_clear_all_mem': /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:4215:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4215 | map_addr = mmap(dgpu_shared_aperture_base, (HSAuint64)(dgpu_shared_aperture_limit)- | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:4216:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4216 | (HSAuint64)(dgpu_shared_aperture_base) + 1, PROT_NONE, | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:4221:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4221 | (HSAuint64)(dgpu_shared_aperture_limit) - | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/fmm.c:4222:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4222 | (HSAuint64)(dgpu_shared_aperture_base) + 1); | ^ In file included from /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:26: /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c: In function 'hsaKmtAllocMemory': /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:143:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 143 | pr_err("[%s] failed to allocate %lu bytes from scratch\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | __func__, SizeInBytes); | ~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:143:25: note: in expansion of macro 'pr_err' 143 | pr_err("[%s] failed to allocate %lu bytes from scratch\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:143:59: note: format string is defined here 143 | pr_err("[%s] failed to allocate %lu bytes from scratch\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:165:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 165 | pr_err("[%s] failed to allocate %lu bytes from host\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | __func__, SizeInBytes); | ~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:165:25: note: in expansion of macro 'pr_err' 165 | pr_err("[%s] failed to allocate %lu bytes from host\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:165:59: note: format string is defined here 165 | pr_err("[%s] failed to allocate %lu bytes from host\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:185:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 185 | pr_err("[%s] failed to allocate %lu bytes from device\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 186 | __func__, SizeInBytes); | ~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:185:17: note: in expansion of macro 'pr_err' 185 | pr_err("[%s] failed to allocate %lu bytes from device\n", | ^~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:185:51: note: format string is defined here 185 | pr_err("[%s] failed to allocate %lu bytes from device\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c: In function 'hsaKmtRegisterMemoryToNodes': /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:257:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 257 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | __func__, MemoryAddress, NumberOfNodes); | ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:257:9: note: in expansion of macro 'pr_debug' 257 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:257:53: note: format string is defined here 257 | pr_debug("[%s] address %p number of nodes %lu\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c: In function 'hsaKmtRegisterGraphicsHandleToNodes': /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:312:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 312 | pr_debug("[%s] number of nodes %lu\n", __func__, NumberOfNodes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:312:9: note: in expansion of macro 'pr_debug' 312 | pr_debug("[%s] number of nodes %lu\n", __func__, NumberOfNodes); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:312:42: note: format string is defined here 312 | pr_debug("[%s] number of nodes %lu\n", __func__, NumberOfNodes); | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c: In function 'hsaKmtRegisterSharedHandleToNodes': /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:384:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 384 | pr_debug("[%s] handle %p number of nodes %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 385 | __func__, SharedMemoryHandle, NumberOfNodes); | ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:384:9: note: in expansion of macro 'pr_debug' 384 | pr_debug("[%s] handle %p number of nodes %lu\n", | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:384:52: note: format string is defined here 384 | pr_debug("[%s] handle %p number of nodes %lu\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c: In function 'hsaKmtMapMemoryToGPUNodes': /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:475:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 475 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 476 | __func__, MemoryAddress, NumberOfNodes); | ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:475:9: note: in expansion of macro 'pr_debug' 475 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:475:53: note: format string is defined here 475 | pr_debug("[%s] address %p number of nodes %lu\n", | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c: In function 'hsaKmtGetTileConfig': /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:561:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 561 | args.tile_config_ptr = (uint64_t)config->TileConfig; | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/memory.c:562:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 562 | args.macro_tile_config_ptr = (uint64_t)config->MacroTileConfig; | ^ [ 41%] Building C object CMakeFiles/hsakmt.dir/src/openclose.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/openclose.c [ 47%] Building C object CMakeFiles/hsakmt.dir/src/perfctr.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/perfctr.c [ 52%] Building C object CMakeFiles/hsakmt.dir/src/pmc_table.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/pmc_table.c In file included from /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:31: /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c: In function 'hsaKmtPmcUnregisterTrace': /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:719:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 719 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:719:9: note: in expansion of macro 'pr_debug' 719 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:719:37: note: format string is defined here 719 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c: In function 'hsaKmtPmcAcquireTraceAccess': /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:756:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 756 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:756:9: note: in expansion of macro 'pr_debug' 756 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:756:37: note: format string is defined here 756 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c: In function 'hsaKmtPmcReleaseTraceAccess': /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:801:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 801 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:801:9: note: in expansion of macro 'pr_debug' 801 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:801:37: note: format string is defined here 801 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c: In function 'hsaKmtPmcStartTrace': /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:833:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 833 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:833:9: note: in expansion of macro 'pr_debug' 833 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:833:37: note: format string is defined here 833 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c: In function 'hsaKmtPmcQueryTrace': /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:892:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 892 | pr_debug("%lu_", *buf); | ^~~~~~ ~~~~ | | | uint64_t {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:892:25: note: in expansion of macro 'pr_debug' 892 | pr_debug("%lu_", *buf); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:892:37: note: format string is defined here 892 | pr_debug("%lu_", *buf); | ~~^ | | | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c: In function 'hsaKmtPmcStopTrace': /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:909:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 909 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /build/reproducible-path/roct-thunk-interface-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:909:9: note: in expansion of macro 'pr_debug' 909 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-5.7.0/src/perfctr.c:909:37: note: format string is defined here 909 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx [ 58%] Building C object CMakeFiles/hsakmt.dir/src/queues.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/queues.c /build/reproducible-path/roct-thunk-interface-5.7.0/src/queues.c: In function 'hsaKmtGetQueueInfo': /build/reproducible-path/roct-thunk-interface-5.7.0/src/queues.c:818:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 818 | QueueInfo->ControlStackTop = (void *)(args.ctl_stack_address + | ^ /build/reproducible-path/roct-thunk-interface-5.7.0/src/queues.c:820:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 820 | 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-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/time.c [ 70%] Building C object CMakeFiles/hsakmt.dir/src/topology.c.o [ 76%] Building C object CMakeFiles/hsakmt.dir/src/rbtree.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/topology.c /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/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-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/spm.c [ 88%] Building C object CMakeFiles/hsakmt.dir/src/version.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/version.c /build/reproducible-path/roct-thunk-interface-5.7.0/src/spm.c: In function 'hsaKmtSPMSetDestBuffer': /build/reproducible-path/roct-thunk-interface-5.7.0/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; | ^ [ 94%] Building C object CMakeFiles/hsakmt.dir/src/svm.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-5.7.0/include -I/build/reproducible-path/roct-thunk-interface-5.7.0/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-5.7.0=. -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-5.7.0/src/svm.c In file included from /build/reproducible-path/roct-thunk-interface-5.7.0/src/svm.c:25: /build/reproducible-path/roct-thunk-interface-5.7.0/src/svm.c: In function 'hsaKmtSVMSetAttr': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/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-5.7.0/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-5.7.0/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-5.7.0/src/svm.c: In function 'hsaKmtSVMGetAttr': /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/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-5.7.0/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-5.7.0/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-5.7.0=. -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-5.7.0/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-5.7.0/obj-arm-linux-gnueabihf' [100%] Built target hsakmt make[2]: Leaving directory '/build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf' /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf/CMakeFiles 0 make[1]: Leaving directory '/build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf' dh_auto_test -O-Scmake create-stamp debian/debhelper-build-stamp dh_prep -O-Scmake dh_auto_install -O-Scmake cd obj-arm-linux-gnueabihf && make -j4 install DESTDIR=/build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf' /usr/bin/cmake -S/build/reproducible-path/roct-thunk-interface-5.7.0 -B/build/reproducible-path/roct-thunk-interface-5.7.0/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-5.7.0/obj-arm-linux-gnueabihf' make[2]: Nothing to be done for 'preinstall'. make[2]: Leaving directory '/build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "None" -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so.1.0.6 -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so.1 -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so -- Up-to-date: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so.1.0.6 -- Up-to-date: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so.1 -- Up-to-date: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/lib/arm-linux-gnueabihf/libhsakmt.so -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/include/hsakmt -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/include/hsakmt/hsakmttypes.h -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/include/hsakmt/hsakmt.h -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/lib/arm-linux-gnueabihf/cmake/hsakmt/hsakmtTargets.cmake -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/lib/arm-linux-gnueabihf/cmake/hsakmt/hsakmtTargets-none.cmake -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/lib/arm-linux-gnueabihf/cmake/hsakmt/hsakmt-config.cmake -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/lib/arm-linux-gnueabihf/cmake/hsakmt/hsakmt-config-version.cmake -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/share/pkgconfig/libhsakmt.pc -- Installing: /build/reproducible-path/roct-thunk-interface-5.7.0/debian/tmp/usr/share/doc/hsakmt/LICENSE.md make[1]: Leaving directory '/build/reproducible-path/roct-thunk-interface-5.7.0/obj-arm-linux-gnueabihf' dh_install -O-Scmake dh_installdocs -O-Scmake dh_installchangelogs -O-Scmake dh_installinit -O-Scmake dh_perl -O-Scmake dh_link -O-Scmake dh_strip_nondeterminism -O-Scmake dh_compress -O-Scmake dh_fixperms -O-Scmake dh_missing -O-Scmake dh_dwz -a -O-Scmake dh_strip -a -O-Scmake dh_makeshlibs -a -O-Scmake dh_shlibdeps -a -O-Scmake dh_installdeb -O-Scmake dh_gencontrol -O-Scmake dh_md5sums -O-Scmake dh_builddeb -O-Scmake dpkg-deb: building package 'libhsakmt1' in '../libhsakmt1_5.7.0-1_armhf.deb'. dpkg-deb: building package 'libhsakmt1-dbgsym' in '../libhsakmt1-dbgsym_5.7.0-1_armhf.deb'. dpkg-deb: building package 'libhsakmt-dev' in '../libhsakmt-dev_5.7.0-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../roct-thunk-interface_5.7.0-1_armhf.buildinfo dpkg-genchanges --build=binary -O../roct-thunk-interface_5.7.0-1_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: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/22109/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/22109/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/22109 and its subdirectories I: Current time: Fri Apr 26 09:24:09 +14 2024 I: pbuilder-time-stamp: 1714073049