Diff of the two buildlogs: -- --- b1/build.log 2025-01-27 03:36:27.062782987 +0000 +++ b2/build.log 2025-01-27 03:38:08.714184123 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Feb 28 21:58:56 -12 2026 -I: pbuilder-time-stamp: 1772359136 +I: Current time: Mon Jan 27 17:36:34 +14 2025 +I: pbuilder-time-stamp: 1737948994 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/experimental-reproducible-base.tgz] I: copying local configuration @@ -26,54 +26,86 @@ dpkg-source: info: applying 0002-fix-pkgconfig-path.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/19565/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/6986/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +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 Jan 27 03:36 /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/6986/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/6986/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='experimental' - HOME='/root' - HOST_ARCH='i386' + 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]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=experimental + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='1ed2c30f435f4882970dba5eff886d6c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='19565' - PS1='# ' - PS2='> ' + INVOCATION_ID=6cdf0152aa7d4f688a1b6e449911954e + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=6986 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.0f1YQUs1/pbuilderrc_l0Gu --distribution experimental --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0f1YQUs1/b1 --logfile b1/build.log roct-thunk-interface_6.1.2+ds-1~exp1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + 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.0f1YQUs1/pbuilderrc_rQee --distribution experimental --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0f1YQUs1/b2 --logfile b2/build.log roct-thunk-interface_6.1.2+ds-1~exp1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/19565/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/6986/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -197,7 +229,7 @@ Get: 74 http://deb.debian.org/debian unstable/main i386 pkgconf-bin i386 1.8.1-4 [30.6 kB] Get: 75 http://deb.debian.org/debian unstable/main i386 pkgconf i386 1.8.1-4 [26.2 kB] Get: 76 http://deb.debian.org/debian unstable/main i386 zlib1g-dev i386 1:1.3.dfsg+really1.3.1-1+b1 [916 kB] -Fetched 44.5 MB in 0s (118 MB/s) +Fetched 44.5 MB in 1s (58.7 MB/s) Preconfiguring packages ... Selecting previously unselected package libproc2-0:i386. (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 ... 19818 files and directories currently installed.) @@ -516,7 +548,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/roct-thunk-interface-6.1.2+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../roct-thunk-interface_6.1.2+ds-1~exp1_source.changes +I: user script /srv/workspace/pbuilder/6986/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for experimental +I: user script /srv/workspace/pbuilder/6986/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/roct-thunk-interface-6.1.2+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../roct-thunk-interface_6.1.2+ds-1~exp1_source.changes dpkg-buildpackage: info: source package roct-thunk-interface dpkg-buildpackage: info: source version 6.1.2+ds-1~exp1 dpkg-buildpackage: info: source distribution experimental @@ -565,7 +601,7 @@ -- Checking for module 'libdrm_amdgpu' -- Found libdrm_amdgpu, version 2.4.123 RESULT_VARIABLE no such file or directory OUTPUT_VARIABLE: --- Configuring done (0.6s) +-- Configuring done (6.0s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: @@ -578,7 +614,7 @@ -- Build files have been written to: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-i686-linux-gnu make[1]: Leaving directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds' dh_auto_build - cd obj-i686-linux-gnu && make -j22 "INSTALL=install --strip-program=true" VERBOSE=1 + cd obj-i686-linux-gnu && make -j10 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-i686-linux-gnu' /usr/bin/cmake -S/build/reproducible-path/roct-thunk-interface-6.1.2+ds -B/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-i686-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-i686-linux-gnu/CMakeFiles /build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-i686-linux-gnu//CMakeFiles/progress.marks @@ -590,38 +626,26 @@ make[3]: Leaving directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-i686-linux-gnu' make -f CMakeFiles/hsakmt.dir/build.make CMakeFiles/hsakmt.dir/build make[3]: Entering directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-i686-linux-gnu' -[ 5%] Building C object CMakeFiles/hsakmt.dir/src/globals.c.o -[ 11%] Building C object CMakeFiles/hsakmt.dir/src/debug.c.o -[ 17%] Building C object CMakeFiles/hsakmt.dir/src/libhsakmt.c.o -/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/globals.c.o -MF CMakeFiles/hsakmt.dir/src/globals.c.o.d -o CMakeFiles/hsakmt.dir/src/globals.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/globals.c +[ 5%] Building C object CMakeFiles/hsakmt.dir/src/debug.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/debug.c.o -MF CMakeFiles/hsakmt.dir/src/debug.c.o.d -o CMakeFiles/hsakmt.dir/src/debug.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c -[ 23%] Building C object CMakeFiles/hsakmt.dir/src/pmc_table.c.o -/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/libhsakmt.c.o -MF CMakeFiles/hsakmt.dir/src/libhsakmt.c.o.d -o CMakeFiles/hsakmt.dir/src/libhsakmt.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.c -[ 29%] Building C object CMakeFiles/hsakmt.dir/src/queues.c.o -[ 35%] Building C object CMakeFiles/hsakmt.dir/src/time.c.o -/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/pmc_table.c.o -MF CMakeFiles/hsakmt.dir/src/pmc_table.c.o.d -o CMakeFiles/hsakmt.dir/src/pmc_table.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/pmc_table.c -/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/queues.c.o -MF CMakeFiles/hsakmt.dir/src/queues.c.o.d -o CMakeFiles/hsakmt.dir/src/queues.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/queues.c -[ 41%] Building C object CMakeFiles/hsakmt.dir/src/events.c.o -/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/time.c.o -MF CMakeFiles/hsakmt.dir/src/time.c.o.d -o CMakeFiles/hsakmt.dir/src/time.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/time.c -[ 47%] Building C object CMakeFiles/hsakmt.dir/src/fmm.c.o -[ 52%] Building C object CMakeFiles/hsakmt.dir/src/memory.c.o +[ 11%] Building C object CMakeFiles/hsakmt.dir/src/events.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/events.c.o -MF CMakeFiles/hsakmt.dir/src/events.c.o.d -o CMakeFiles/hsakmt.dir/src/events.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c +[ 17%] Building C object CMakeFiles/hsakmt.dir/src/globals.c.o +[ 23%] Building C object CMakeFiles/hsakmt.dir/src/fmm.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/fmm.c.o -MF CMakeFiles/hsakmt.dir/src/fmm.c.o.d -o CMakeFiles/hsakmt.dir/src/fmm.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c +/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/globals.c.o -MF CMakeFiles/hsakmt.dir/src/globals.c.o.d -o CMakeFiles/hsakmt.dir/src/globals.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/globals.c +[ 35%] Building C object CMakeFiles/hsakmt.dir/src/memory.c.o +[ 35%] Building C object CMakeFiles/hsakmt.dir/src/libhsakmt.c.o +/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/libhsakmt.c.o -MF CMakeFiles/hsakmt.dir/src/libhsakmt.c.o.d -o CMakeFiles/hsakmt.dir/src/libhsakmt.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.c /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/memory.c.o -MF CMakeFiles/hsakmt.dir/src/memory.c.o.d -o CMakeFiles/hsakmt.dir/src/memory.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c -[ 58%] Building C object CMakeFiles/hsakmt.dir/src/openclose.c.o -[ 64%] Building C object CMakeFiles/hsakmt.dir/src/perfctr.c.o +[ 41%] Building C object CMakeFiles/hsakmt.dir/src/openclose.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/openclose.c.o -MF CMakeFiles/hsakmt.dir/src/openclose.c.o.d -o CMakeFiles/hsakmt.dir/src/openclose.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/openclose.c +[ 47%] Building C object CMakeFiles/hsakmt.dir/src/perfctr.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/perfctr.c.o -MF CMakeFiles/hsakmt.dir/src/perfctr.c.o.d -o CMakeFiles/hsakmt.dir/src/perfctr.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c -[ 70%] Building C object CMakeFiles/hsakmt.dir/src/spm.c.o -[ 82%] Building C object CMakeFiles/hsakmt.dir/src/version.c.o -[ 82%] Building C object CMakeFiles/hsakmt.dir/src/rbtree.c.o -/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/spm.c.o -MF CMakeFiles/hsakmt.dir/src/spm.c.o.d -o CMakeFiles/hsakmt.dir/src/spm.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/spm.c -[ 88%] Building C object CMakeFiles/hsakmt.dir/src/topology.c.o -/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/version.c.o -MF CMakeFiles/hsakmt.dir/src/version.c.o.d -o CMakeFiles/hsakmt.dir/src/version.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/version.c -/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/rbtree.c.o -MF CMakeFiles/hsakmt.dir/src/rbtree.c.o.d -o CMakeFiles/hsakmt.dir/src/rbtree.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/rbtree.c -[ 94%] Building C object CMakeFiles/hsakmt.dir/src/svm.c.o -/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/topology.c.o -MF CMakeFiles/hsakmt.dir/src/topology.c.o.d -o CMakeFiles/hsakmt.dir/src/topology.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/topology.c -/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/svm.c.o -MF CMakeFiles/hsakmt.dir/src/svm.c.o.d -o CMakeFiles/hsakmt.dir/src/svm.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c +[ 52%] Building C object CMakeFiles/hsakmt.dir/src/pmc_table.c.o +/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/pmc_table.c.o -MF CMakeFiles/hsakmt.dir/src/pmc_table.c.o.d -o CMakeFiles/hsakmt.dir/src/pmc_table.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/pmc_table.c +[ 58%] Building C object CMakeFiles/hsakmt.dir/src/queues.c.o +/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/queues.c.o -MF CMakeFiles/hsakmt.dir/src/queues.c.o.d -o CMakeFiles/hsakmt.dir/src/queues.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/queues.c In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:26: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c: In function 'hsaKmtAllocMemory': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:146:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] @@ -702,6 +726,8 @@ | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c: In function 'hsaKmtRegisterGraphicsHandleToNodes': +[ 64%] Building C object CMakeFiles/hsakmt.dir/src/time.c.o +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDbgWavefrontControl': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:318:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 318 | pr_debug("[%s] number of nodes %lu\n", __func__, NumberOfNodes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ @@ -733,6 +759,7 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:390:9: note: in expansion of macro 'pr_debug' 390 | pr_debug("[%s] handle %p number of nodes %lu\n", | ^~~~~~~~ +/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/time.c.o -MF CMakeFiles/hsakmt.dir/src/time.c.o.d -o CMakeFiles/hsakmt.dir/src/time.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/time.c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:390:52: note: format string is defined here 390 | pr_debug("[%s] handle %p number of nodes %lu\n", | ~~^ @@ -740,6 +767,13 @@ | long unsigned int | %llu /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c: In function 'hsaKmtMapMemoryToGPUNodes': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:152:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 152 | args->content_ptr = (uint64_t)run_ptr; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDbgAddressWatch': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:232:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 232 | args->content_ptr = (uint64_t)run_ptr; + | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:481:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 481 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -753,12 +787,16 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:481:9: note: in expansion of macro 'pr_debug' 481 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c: In function 'hsaKmtCreateEvent': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:481:53: note: format string is defined here 481 | pr_debug("[%s] address %p number of nodes %lu\n", | ~~^ | | | long unsigned int | %llu +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/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]; + | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c: In function 'hsaKmtGetTileConfig': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:567:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 567 | args.tile_config_ptr = (uint64_t)config->TileConfig; @@ -766,290 +804,6 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/memory.c:568:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 568 | args.macro_tile_config_ptr = (uint64_t)config->MacroTileConfig; | ^ -In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:31: -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcUnregisterTrace': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:483:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] - 483 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ - | | - | HSATraceId {aka long long unsigned int} -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' - 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) - | ^~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:483:9: note: in expansion of macro 'pr_debug' - 483 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ^~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:483:37: note: format string is defined here - 483 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ~~^ - | | - | long unsigned int - | %llx -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcAcquireTraceAccess': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:519:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] - 519 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ - | | - | HSATraceId {aka long long unsigned int} -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' - 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) - | ^~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:519:9: note: in expansion of macro 'pr_debug' - 519 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ^~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:519:37: note: format string is defined here - 519 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ~~^ - | | - | long unsigned int - | %llx -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcReleaseTraceAccess': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:540:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] - 540 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ - | | - | HSATraceId {aka long long unsigned int} -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' - 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) - | ^~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:540:9: note: in expansion of macro 'pr_debug' - 540 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ^~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:540:37: note: format string is defined here - 540 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ~~^ - | | - | long unsigned int - | %llx -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcStartTrace': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/spm.c: In function 'hsaKmtSPMSetDestBuffer': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/spm.c:69:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 69 | args.dest_buf = (uint64_t)DestMemoryAddress; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:565:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] - 565 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ - | | - | HSATraceId {aka long long unsigned int} -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' - 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) - | ^~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:565:9: note: in expansion of macro 'pr_debug' - 565 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ^~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:565:37: note: format string is defined here - 565 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ~~^ - | | - | long unsigned int - | %llx -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcQueryTrace': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'vm_find_object_by_address_userptr_range': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:527:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 527 | (uint64_t)address < ((uint64_t)start + size)) - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:527:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 527 | (uint64_t)address < ((uint64_t)start + size)) - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDbgWavefrontControl': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:152:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 152 | args->content_ptr = (uint64_t)run_ptr; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:624:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 624 | pr_debug("%lu_", *buf); - | ^~~~~~ ~~~~ - | | - | uint64_t {aka long long unsigned int} -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' - 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) - | ^~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:624:25: note: in expansion of macro 'pr_debug' - 624 | pr_debug("%lu_", *buf); - | ^~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:624:37: note: format string is defined here - 624 | pr_debug("%lu_", *buf); - | ~~^ - | | - | long unsigned int - | %llu -In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:26: -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'reserved_aperture_allocate_aligned': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcStopTrace': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:691:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 691 | (void *)(ALIGN_UP((uint64_t)app->base, align) + offset); - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' - 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:691:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 691 | (void *)(ALIGN_UP((uint64_t)app->base, align) + offset); - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDbgAddressWatch': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:232:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 232 | args->content_ptr = (uint64_t)run_ptr; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:700:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 700 | start = (void *)(ALIGN_UP((uint64_t)cur->end + 1, align) + offset); - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' - 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:641:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] - 641 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ - | | - | HSATraceId {aka long long unsigned int} -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' - 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) - | ^~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:641:9: note: in expansion of macro 'pr_debug' - 641 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ^~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:700:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 700 | start = (void *)(ALIGN_UP((uint64_t)cur->end + 1, align) + offset); - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:641:37: note: format string is defined here - 641 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); - | ~~^ - | | - | long unsigned int - | %llx -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:706:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 706 | if (cur && address && address < (void *)ALIGN_UP((uint64_t)cur->end + 1, align)) - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' - 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:706:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 706 | if (cur && address && address < (void *)ALIGN_UP((uint64_t)cur->end + 1, align)) - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtRuntimeEnable': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'mmap_allocate_aligned': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:749:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 749 | aligned_addr = (void *)ALIGN_UP((uint64_t)addr + guard_size, align); - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' - 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:317:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 317 | args.r_debug = (HSAuint64)rDebug; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:749:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 749 | aligned_addr = (void *)ALIGN_UP((uint64_t)addr + guard_size, align); - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'dbg_trap_get_device_data': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:361:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 361 | args.device_snapshot.snapshot_buf_ptr = (uint64_t) data; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'dbg_trap_get_queue_data': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:384:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 384 | args.queue_snapshot.snapshot_buf_ptr = (uint64_t) data; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'dbg_trap_suspend_queues': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:407:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 407 | args.suspend_queues.queue_array_ptr = (uint64_t) queue_ids; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_register_mem_svm_api': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDbgEnable': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1030:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1030 | HSAuint32 page_offset = (HSAuint64)address & (PAGE_SIZE-1); - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:433:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 433 | args.enable.rinfo_ptr = (uint64_t) *runtime_info; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1031:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1031 | HSAuint64 aligned_addr = (HSAuint64)address - page_offset; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:70: note: in definition of macro 'hsakmt_print' - 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) - | ^~~~~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:9: note: in expansion of macro 'pr_debug' - 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, - | ^~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:18: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] - 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1049 | aligned_size); - | ~~~~~~~~~~~~ - | | - | HSAuint64 {aka long long unsigned int} -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' - 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) - | ^~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:9: note: in expansion of macro 'pr_debug' - 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, - | ^~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDebugTrapIoctl': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:49: note: format string is defined here - 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, - | ~~^ - | | - | long int - | %lld -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:529:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 529 | (void *)args->suspend_queues.queue_array_ptr : - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:530:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 530 | (void *)args->resume_queues.queue_array_ptr; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_map_mem_svm_api': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1075:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1075 | args->start_addr = (uint64_t)address; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:541:49: warning: comparison of integer expressions of different signedness: 'long int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] - 541 | err >= 0 && err <= args->suspend_queues.num_queues) - | ^~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_allocate_memory_object': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1115:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1115 | args.va_addr = (uint64_t)mem; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:544:49: warning: comparison of integer expressions of different signedness: 'long int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] - 544 | err >= 0 && err <= args->resume_queues.num_queues) - | ^~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_check_user_memory': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:84:26: note: in expansion of macro 'ALIGN_UP' - 84 | #define PAGE_ALIGN_UP(x) ALIGN_UP(x,PAGE_SIZE) - | ^~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1326:41: note: in expansion of macro 'PAGE_ALIGN_UP' - 1326 | for (; ptr < end; ptr = (void *)PAGE_ALIGN_UP(ptr + 1)) - | ^~~~~~~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1326:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 1326 | for (; ptr < end; ptr = (void *)PAGE_ALIGN_UP(ptr + 1)) - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_allocate_scratch': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1439:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1439 | args.va_addr = ((uint64_t)mem) >> 16; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c: In function 'hsaKmtCreateEvent': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:116:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 116 | e->EventData.HWData2 = (HSAuint64)&events_page[args.event_slot_index]; - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'bind_mem_to_numa': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1711:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] - 1711 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1712 | mem, mflags.Value, SizeInBytes, node_id); - | ~~~~~~~~~~~ - | | - | uint64_t {aka long long unsigned int} -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' - 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) - | ^~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1711:9: note: in expansion of macro 'pr_debug' - 1711 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, - | ^~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1711:49: note: format string is defined here - 1711 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, - | ~~^ - | | - | long unsigned int - | %llx In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:26: /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c: In function 'get_mem_info_svm_api': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:257:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] @@ -1101,16 +855,12 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:270:25: note: in expansion of macro 'pr_err' 270 | pr_err("Prefetch location for address 0x%lx is Node id %d\n", | ^~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_allocate_host_gpu': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:270:67: note: format string is defined here 270 | pr_err("Prefetch location for address 0x%lx is Node id %d\n", | ~~^ | | | long unsigned int | %llx -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1845:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1845 | mmap_offset = (uint64_t)mem; - | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1149,28 +899,6 @@ | | | long unsigned int | %llx -In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:25: -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c: In function 'hsaKmtSVMSetAttr': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:51:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] - 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ - | | - | HSAuint64 {aka long long unsigned int} -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' - 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) - | ^~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:51:9: note: in expansion of macro 'pr_debug' - 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); - | ^~~~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:51:45: note: format string is defined here - 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); - | ~~^ - | | - | long unsigned int - | %llx -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:55:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 55 | if ((uint64_t)start_addr & (PAGE_SIZE - 1)) - | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1184,41 +912,14 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:282:25: note: in expansion of macro 'pr_err' 282 | pr_err("Node id %d has no access to address 0x%lx\n", | ^~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:63:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 63 | args->start_addr = (uint64_t)start_addr; - | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:282:73: note: format string is defined here 282 | pr_err("Node id %d has no access to address 0x%lx\n", | ~~^ | | | long unsigned int | %llx -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c: In function 'hsaKmtSVMGetAttr': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:118:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] - 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ - | | - | HSAuint64 {aka long long unsigned int} -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' - 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) - | ^~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:118:9: note: in expansion of macro 'pr_debug' - 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); - | ^~~~~~~~ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c: In function 'analysis_memory_exception': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:118:45: note: format string is defined here - 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); - | ~~^ - | | - | long unsigned int - | %llx -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'init_mmap_apertures': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:122:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 122 | if ((uint64_t)start_addr & (PAGE_SIZE - 1)) - | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:130:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 130 | args->start_addr = (uint64_t)start_addr; - | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtRuntimeEnable': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:316:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 316 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ @@ -1230,21 +931,27 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:316:9: note: in expansion of macro 'pr_err' 316 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ^~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:317:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 317 | args.r_debug = (HSAuint64)rDebug; + | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:316:57: note: format string is defined here 316 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ~~^ | | | long unsigned int | %llx -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2133:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 2133 | svm.apertures[SVM_DEFAULT].base = (void *)base; - | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'dbg_trap_get_device_data': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:361:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 361 | args.device_snapshot.snapshot_buf_ptr = (uint64_t) data; + | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:325:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 325 | ret = fmm_get_mem_info((const void *)addr, &info); | ^ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2134:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 2134 | svm.apertures[SVM_DEFAULT].limit = (void *)limit; - | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'dbg_trap_get_queue_data': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:384:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 384 | args.queue_snapshot.snapshot_buf_ptr = (uint64_t) data; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'dbg_trap_suspend_queues': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1258,13 +965,16 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:9: note: in expansion of macro 'pr_err' 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:407:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 407 | args.suspend_queues.queue_array_ptr = (uint64_t) queue_ids; + | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:33: note: format string is defined here 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ~~^ | | | long unsigned int | %llx -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'init_svm_apertures': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDbgEnable': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1278,25 +988,288 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:9: note: in expansion of macro 'pr_err' 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~ -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2237:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 2237 | for (addr = (void *)base, ret_addr = NULL; - | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/events.c:333:65: note: format string is defined here 333 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ~~^ | | | long unsigned int | %llx +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:433:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 433 | args.enable.rinfo_ptr = (uint64_t) *runtime_info; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c: In function 'hsaKmtDebugTrapIoctl': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:529:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 529 | (void *)args->suspend_queues.queue_array_ptr : + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:530:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 530 | (void *)args->resume_queues.queue_array_ptr; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:541:49: warning: comparison of integer expressions of different signedness: 'long int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] + 541 | err >= 0 && err <= args->suspend_queues.num_queues) + | ^~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/debug.c:544:49: warning: comparison of integer expressions of different signedness: 'long int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] + 544 | err >= 0 && err <= args->resume_queues.num_queues) + | ^~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'vm_find_object_by_address_userptr_range': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:527:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 527 | (uint64_t)address < ((uint64_t)start + size)) + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:527:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 527 | (uint64_t)address < ((uint64_t)start + size)) + | ^ +In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:26: +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'reserved_aperture_allocate_aligned': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:691:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 691 | (void *)(ALIGN_UP((uint64_t)app->base, align) + offset); + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' + 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:691:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 691 | (void *)(ALIGN_UP((uint64_t)app->base, align) + offset); + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:700:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 700 | start = (void *)(ALIGN_UP((uint64_t)cur->end + 1, align) + offset); + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' + 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:700:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 700 | start = (void *)(ALIGN_UP((uint64_t)cur->end + 1, align) + offset); + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:706:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 706 | if (cur && address && address < (void *)ALIGN_UP((uint64_t)cur->end + 1, align)) + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' + 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:706:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 706 | if (cur && address && address < (void *)ALIGN_UP((uint64_t)cur->end + 1, align)) + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'mmap_allocate_aligned': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:749:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 749 | aligned_addr = (void *)ALIGN_UP((uint64_t)addr + guard_size, align); + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:40: note: in definition of macro 'ALIGN_UP' + 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:749:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 749 | aligned_addr = (void *)ALIGN_UP((uint64_t)addr + guard_size, align); + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_register_mem_svm_api': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1030:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 1030 | HSAuint32 page_offset = (HSAuint64)address & (PAGE_SIZE-1); + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1031:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 1031 | HSAuint64 aligned_addr = (HSAuint64)address - page_offset; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:70: note: in definition of macro 'hsakmt_print' + 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) + | ^~~~~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:9: note: in expansion of macro 'pr_debug' + 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, + | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:18: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] + 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1049 | aligned_size); + | ~~~~~~~~~~~~ + | | + | HSAuint64 {aka long long unsigned int} +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' + 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) + | ^~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:9: note: in expansion of macro 'pr_debug' + 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, + | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1048:49: note: format string is defined here + 1048 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, + | ~~^ + | | + | long int + | %lld +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_map_mem_svm_api': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1075:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 1075 | args->start_addr = (uint64_t)address; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_allocate_memory_object': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1115:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 1115 | args.va_addr = (uint64_t)mem; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_check_user_memory': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:82:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 82 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:84:26: note: in expansion of macro 'ALIGN_UP' + 84 | #define PAGE_ALIGN_UP(x) ALIGN_UP(x,PAGE_SIZE) + | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1326:41: note: in expansion of macro 'PAGE_ALIGN_UP' + 1326 | for (; ptr < end; ptr = (void *)PAGE_ALIGN_UP(ptr + 1)) + | ^~~~~~~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1326:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 1326 | for (; ptr < end; ptr = (void *)PAGE_ALIGN_UP(ptr + 1)) + | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/queues.c: In function 'hsaKmtGetQueueInfo': -/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2238:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 2238 | (HSAuint64)addr + ((len + 1) >> 1) - 1 <= limit; - | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_allocate_scratch': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/queues.c:829:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 829 | QueueInfo->ControlStackTop = (void *)(args.ctl_stack_address + | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/queues.c:831:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 831 | QueueInfo->UserContextSaveArea = (void *) | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1439:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 1439 | args.va_addr = ((uint64_t)mem) >> 16; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'bind_mem_to_numa': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1711:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 1711 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1712 | mem, mflags.Value, SizeInBytes, node_id); + | ~~~~~~~~~~~ + | | + | uint64_t {aka long long unsigned int} +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' + 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) + | ^~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1711:9: note: in expansion of macro 'pr_debug' + 1711 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, + | ^~~~~~~~ +In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:31: +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcUnregisterTrace': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1711:49: note: format string is defined here + 1711 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, + | ~~^ + | | + | long unsigned int + | %llx +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:483:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] + 483 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ + | | + | HSATraceId {aka long long unsigned int} +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' + 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) + | ^~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:483:9: note: in expansion of macro 'pr_debug' + 483 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:483:37: note: format string is defined here + 483 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ~~^ + | | + | long unsigned int + | %llx +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcAcquireTraceAccess': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'fmm_allocate_host_gpu': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:519:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] + 519 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ + | | + | HSATraceId {aka long long unsigned int} +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' + 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) + | ^~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:519:9: note: in expansion of macro 'pr_debug' + 519 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:519:37: note: format string is defined here + 519 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ~~^ + | | + | long unsigned int + | %llx +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcReleaseTraceAccess': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:1845:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 1845 | mmap_offset = (uint64_t)mem; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:540:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] + 540 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ + | | + | HSATraceId {aka long long unsigned int} +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' + 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) + | ^~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:540:9: note: in expansion of macro 'pr_debug' + 540 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:540:37: note: format string is defined here + 540 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ~~^ + | | + | long unsigned int + | %llx +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcStartTrace': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:565:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] + 565 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ + | | + | HSATraceId {aka long long unsigned int} +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' + 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) + | ^~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:565:9: note: in expansion of macro 'pr_debug' + 565 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:565:37: note: format string is defined here + 565 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ~~^ + | | + | long unsigned int + | %llx +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcQueryTrace': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'init_mmap_apertures': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:624:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] + 624 | pr_debug("%lu_", *buf); + | ^~~~~~ ~~~~ + | | + | uint64_t {aka long long unsigned int} +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' + 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) + | ^~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:624:25: note: in expansion of macro 'pr_debug' + 624 | pr_debug("%lu_", *buf); + | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:624:37: note: format string is defined here + 624 | pr_debug("%lu_", *buf); + | ~~^ + | | + | long unsigned int + | %llu +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c: In function 'hsaKmtPmcStopTrace': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:641:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] + 641 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ + | | + | HSATraceId {aka long long unsigned int} +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' + 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) + | ^~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:641:9: note: in expansion of macro 'pr_debug' + 641 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2133:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 2133 | svm.apertures[SVM_DEFAULT].base = (void *)base; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/perfctr.c:641:37: note: format string is defined here + 641 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); + | ~~^ + | | + | long unsigned int + | %llx +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2134:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 2134 | svm.apertures[SVM_DEFAULT].limit = (void *)limit; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function 'init_svm_apertures': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2237:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 2237 | for (addr = (void *)base, ret_addr = NULL; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2238:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 2238 | (HSAuint64)addr + ((len + 1) >> 1) - 1 <= limit; + | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2239:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2239 | addr = (void *)((HSAuint64)addr + ADDR_INC)) { | ^ @@ -1318,9 +1291,11 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2242:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2242 | map_size = (top - (HSAuint64)addr) & | ^ +[ 70%] Building C object CMakeFiles/hsakmt.dir/src/topology.c.o /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2250:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2250 | if ((HSAuint64)ret_addr + ((len + 1) >> 1) - 1 <= limit) | ^ +/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/topology.c.o -MF CMakeFiles/hsakmt.dir/src/topology.c.o.d -o CMakeFiles/hsakmt.dir/src/topology.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/topology.c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:2264:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2264 | if ((HSAuint64)ret_addr + SVM_MIN_VM_SIZE - 1 > limit) { | ^ @@ -1399,6 +1374,8 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3032:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3032 | (uint32_t *)args.device_ids_array_ptr, | ^ +[ 76%] Building C object CMakeFiles/hsakmt.dir/src/rbtree.c.o +/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/rbtree.c.o -MF CMakeFiles/hsakmt.dir/src/rbtree.c.o.d -o CMakeFiles/hsakmt.dir/src/rbtree.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/rbtree.c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function '_fmm_map_to_gpu_userptr': /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3111:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3111 | HSAuint32 page_offset = (HSAuint64)addr & (PAGE_SIZE-1); @@ -1406,6 +1383,8 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3120:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3120 | svm_addr = (void*)((HSAuint64)addr - page_offset); | ^ +[ 82%] Building C object CMakeFiles/hsakmt.dir/src/spm.c.o +/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/spm.c.o -MF CMakeFiles/hsakmt.dir/src/spm.c.o.d -o CMakeFiles/hsakmt.dir/src/spm.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/spm.c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3120:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3120 | svm_addr = (void*)((HSAuint64)addr - page_offset); | ^ @@ -1444,9 +1423,11 @@ 3266 | (uint32_t *)args.device_ids_array_ptr, | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c: In function '_fmm_unmap_from_gpu_scratch': +[ 88%] Building C object CMakeFiles/hsakmt.dir/src/version.c.o /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3314:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3314 | args.device_ids_array_ptr = (uint64_t)object->mapped_device_id_array; | ^ +/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/version.c.o -MF CMakeFiles/hsakmt.dir/src/version.c.o.d -o CMakeFiles/hsakmt.dir/src/version.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/version.c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:3325:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3325 | (uint32_t *)args.device_ids_array_ptr, | ^ @@ -1472,6 +1453,10 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:4080:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4080 | info->GPUAddress = (HSAuint64)vm_obj->start; | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/spm.c: In function 'hsaKmtSPMSetDestBuffer': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/spm.c:69:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 69 | args.dest_buf = (uint64_t)DestMemoryAddress; + | ^ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:4119:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4119 | info->GPUAddress += ((HSAuint64)info->CPUAddress & (PAGE_SIZE - 1)); | ^ @@ -1488,6 +1473,57 @@ /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/fmm.c:4253:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4253 | (HSAuint64)(dgpu_shared_aperture_base) + 1); | ^ +[ 94%] Building C object CMakeFiles/hsakmt.dir/src/svm.c.o +/usr/bin/cc -Dhsakmt_EXPORTS -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/include -I/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/svm.c.o -MF CMakeFiles/hsakmt.dir/src/svm.c.o.d -o CMakeFiles/hsakmt.dir/src/svm.c.o -c /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c +In file included from /build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:25: +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c: In function 'hsaKmtSVMSetAttr': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:51:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] + 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ + | | + | HSAuint64 {aka long long unsigned int} +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' + 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) + | ^~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:51:9: note: in expansion of macro 'pr_debug' + 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); + | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:51:45: note: format string is defined here + 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); + | ~~^ + | | + | long unsigned int + | %llx +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:55:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 55 | if ((uint64_t)start_addr & (PAGE_SIZE - 1)) + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:63:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 63 | args->start_addr = (uint64_t)start_addr; + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c: In function 'hsaKmtSVMGetAttr': +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:118:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] + 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ + | | + | HSAuint64 {aka long long unsigned int} +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.h:91:63: note: in definition of macro 'hsakmt_print' + 91 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) + | ^~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:118:9: note: in expansion of macro 'pr_debug' + 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); + | ^~~~~~~~ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:118:45: note: format string is defined here + 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); + | ~~^ + | | + | long unsigned int + | %llx +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:122:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 122 | if ((uint64_t)start_addr & (PAGE_SIZE - 1)) + | ^ +/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/svm.c:130:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 130 | args->start_addr = (uint64_t)start_addr; + | ^ [100%] Linking C shared library libhsakmt.so /usr/bin/cmake -E cmake_link_script CMakeFiles/hsakmt.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/roct-thunk-interface-6.1.2+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--enable-new-dtags -Wl,--version-script=/build/reproducible-path/roct-thunk-interface-6.1.2+ds/src/libhsakmt.ver -Wl,-soname=libhsakmt.so.1 -Wl,-z,nodelete -Wl,-no-undefined -Wl,--dependency-file=CMakeFiles/hsakmt.dir/link.d -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/i386-linux-gnu -ldrm -L/usr/lib/i386-linux-gnu -ldrm_amdgpu -lpthread -lrt -lc -lnuma @@ -1501,7 +1537,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - cd obj-i686-linux-gnu && make -j22 install DESTDIR=/build/reproducible-path/roct-thunk-interface-6.1.2\+ds/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd obj-i686-linux-gnu && make -j10 install DESTDIR=/build/reproducible-path/roct-thunk-interface-6.1.2\+ds/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-i686-linux-gnu' /usr/bin/cmake -S/build/reproducible-path/roct-thunk-interface-6.1.2+ds -B/build/reproducible-path/roct-thunk-interface-6.1.2+ds/obj-i686-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 preinstall @@ -1544,9 +1580,9 @@ dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'libhsakmt-dev' in '../libhsakmt-dev_6.1.2+ds-1~exp1_i386.deb'. dpkg-deb: building package 'libhsakmt1' in '../libhsakmt1_6.1.2+ds-1~exp1_i386.deb'. dpkg-deb: building package 'libhsakmt1-dbgsym' in '../libhsakmt1-dbgsym_6.1.2+ds-1~exp1_i386.deb'. -dpkg-deb: building package 'libhsakmt-dev' in '../libhsakmt-dev_6.1.2+ds-1~exp1_i386.deb'. dpkg-genbuildinfo --build=binary -O../roct-thunk-interface_6.1.2+ds-1~exp1_i386.buildinfo dpkg-genchanges --build=binary -O../roct-thunk-interface_6.1.2+ds-1~exp1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1554,12 +1590,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/6986/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/6986/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/19565 and its subdirectories -I: Current time: Sat Feb 28 21:59:24 -12 2026 -I: pbuilder-time-stamp: 1772359164 +I: removing directory /srv/workspace/pbuilder/6986 and its subdirectories +I: Current time: Mon Jan 27 17:38:06 +14 2025 +I: pbuilder-time-stamp: 1737949086