Diff of the two buildlogs: -- --- b1/build.log 2024-11-18 07:22:18.801756554 +0000 +++ b2/build.log 2024-11-18 07:23:37.030229264 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Dec 21 01:44:21 -12 2025 -I: pbuilder-time-stamp: 1766324661 +I: Current time: Mon Nov 18 21:22:21 +14 2024 +I: pbuilder-time-stamp: 1731914541 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking radeontool_1.6.3-3.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/884985/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3280964/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 18 07:22 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3280964/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3280964/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='639754e6c31c4f298579be36eca7df8d' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='884985' - PS1='# ' - PS2='> ' + INVOCATION_ID=1e171a06836a4ad59c5eed6eea8ab3ea + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3280964 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.6JFRNby6/pbuilderrc_8eLd --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.6JFRNby6/b1 --logfile b1/build.log radeontool_1.6.3-3.dsc' - SUDO_GID='111' - SUDO_UID='106' - 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.6JFRNby6/pbuilderrc_PNla --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.6JFRNby6/b2 --logfile b2/build.log radeontool_1.6.3-3.dsc' + SUDO_GID=111 + SUDO_UID=106 + 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 ionos15-amd64 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/884985/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3280964/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -243,7 +275,7 @@ Get: 117 http://deb.debian.org/debian unstable/main amd64 xserver-xorg-core amd64 2:21.1.14-2 [3750 kB] Get: 118 http://deb.debian.org/debian unstable/main amd64 xserver-xorg-video-radeon amd64 1:22.0.0-1 [493 kB] Get: 119 http://deb.debian.org/debian unstable/main amd64 xserver-xorg-video-ati amd64 1:22.0.0-1 [352 kB] -Fetched 88.9 MB in 3s (32.6 MB/s) +Fetched 88.9 MB in 1s (73.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19966 files and directories currently installed.) @@ -757,7 +789,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/radeontool-1.6.3/ && 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 > ../radeontool_1.6.3-3_source.changes +I: user script /srv/workspace/pbuilder/3280964/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3280964/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/radeontool-1.6.3/ && 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 > ../radeontool_1.6.3-3_source.changes dpkg-buildpackage: info: source package radeontool dpkg-buildpackage: info: source version 1.6.3-3 dpkg-buildpackage: info: source distribution unstable @@ -877,7 +913,7 @@ config.status: executing depfiles commands config.status: executing libtool commands dh_auto_build - make -j42 + make -j20 make[1]: Entering directory '/build/reproducible-path/radeontool-1.6.3' gcc -DPACKAGE_NAME=\"radeontool\" -DPACKAGE_TARNAME=\"radeontool\" -DPACKAGE_VERSION=\"1.6.3\" -DPACKAGE_STRING=\"radeontool\ 1.6.3\" -DPACKAGE_BUGREPORT=\"xorg-driver-ati@lists.x.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"radeontool\" -DVERSION=\"1.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o radeontool.o radeontool.c gcc -DPACKAGE_NAME=\"radeontool\" -DPACKAGE_TARNAME=\"radeontool\" -DPACKAGE_VERSION=\"1.6.3\" -DPACKAGE_STRING=\"radeontool\ 1.6.3\" -DPACKAGE_BUGREPORT=\"xorg-driver-ati@lists.x.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"radeontool\" -DVERSION=\"1.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o avivotool.o avivotool.c @@ -885,29 +921,10 @@ gcc -DPACKAGE_NAME=\"radeontool\" -DPACKAGE_TARNAME=\"radeontool\" -DPACKAGE_VERSION=\"1.6.3\" -DPACKAGE_STRING=\"radeontool\ 1.6.3\" -DPACKAGE_BUGREPORT=\"xorg-driver-ati@lists.x.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"radeontool\" -DVERSION=\"1.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xf86i2c.o xf86i2c.c gcc -DPACKAGE_NAME=\"radeontool\" -DPACKAGE_TARNAME=\"radeontool\" -DPACKAGE_VERSION=\"1.6.3\" -DPACKAGE_STRING=\"radeontool\ 1.6.3\" -DPACKAGE_BUGREPORT=\"xorg-driver-ati@lists.x.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"radeontool\" -DVERSION=\"1.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o atombios_tables.o atombios_tables.c gcc -DPACKAGE_NAME=\"radeontool\" -DPACKAGE_TARNAME=\"radeontool\" -DPACKAGE_VERSION=\"1.6.3\" -DPACKAGE_STRING=\"radeontool\ 1.6.3\" -DPACKAGE_BUGREPORT=\"xorg-driver-ati@lists.x.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"radeontool\" -DVERSION=\"1.6.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o radeonreg.o radeonreg.c -radeonreg.c: In function 'radeon_show_radeon_display_regs': -radeonreg.c:186:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] - 186 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) - | ^~~~~~~~~~~~~~ -radeonreg.c:202:13: note: in expansion of macro 'SHOW_UNK_CLK_REG' - 202 | SHOW_UNK_CLK_REG(i); - | ^~~~~~~~~~~~~~~~ -radeonreg.c:186:40: note: format string is defined here - 186 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) - | ~~~^ - | | - | unsigned int - | %02lx In file included from atom.h:32, from atom.c:27: atom.c: In function 'atom_op_add': -radeonreg.c: In function 'radeon_show_avivo_display_regs': -radeonreg.c:186:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] - 186 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) - | ^~~~~~~~~~~~~~ -radeonreg.c:215:13: note: in expansion of macro 'SHOW_UNK_CLK_REG' - 215 | SHOW_UNK_CLK_REG(i); - | ^~~~~~~~~~~~~~~~ +avivotool.c: In function 'eg_cmd_regs': kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -917,12 +934,6 @@ atom.c:488:5: note: in expansion of macro 'SDEBUG' 488 | SDEBUG(" dst: "); | ^~~~~~ -radeonreg.c:186:40: note: format string is defined here - 186 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) - | ~~~^ - | | - | unsigned int - | %02lx kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -932,6 +943,9 @@ atom.c:490:5: note: in expansion of macro 'SDEBUG' 490 | SDEBUG(" src: "); | ^~~~~~ +avivotool.c:990:20: warning: too many arguments for format [-Wformat-extra-args] + 990 | printf("\n%s: disabled\n", tmpname, i); + | ^~~~~~~~~~~~~~~~~~ kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -988,13 +1002,6 @@ atom.c:522:9: note: in expansion of macro 'SDEBUG' 522 | SDEBUG(" table: %d\n", idx); | ^~~~~~ -atombios_tables.c: In function 'radeon_print_pp_misc': -atombios_tables.c:637:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] - 637 | printf("\t\tFM: 0x%x\n", - | ~^ - | | - | unsigned int - | %lx atom.c: In function 'atom_op_clear': kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" @@ -1006,6 +1013,18 @@ 535 | SDEBUG(" dst: "); | ^~~~~~ atom.c: In function 'atom_op_compare': +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1050:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1050 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1015,6 +1034,30 @@ atom.c:543:5: note: in expansion of macro 'SDEBUG' 543 | SDEBUG(" src1: "); | ^~~~~~ +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1052:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1052 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1054:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1054 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1024,6 +1067,42 @@ atom.c:545:5: note: in expansion of macro 'SDEBUG' 545 | SDEBUG(" src2: "); | ^~~~~~ +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1056:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1056 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1058:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1058 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1059:9: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1059 | SHOW_UNKNOWN_REG(0x6590); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1033,7 +1112,49 @@ atom.c:549:5: note: in expansion of macro 'SDEBUG' 549 | SDEBUG(" result: %s %s\n", ctx->ctx->cs_equal?"EQ":"NE", ctx->ctx->cs_above?"GT":"LE"); | ^~~~~~ +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1060:9: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1060 | SHOW_UNKNOWN_REG(0x65b4); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1061:9: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1061 | SHOW_UNKNOWN_REG(0x65cc); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x atom.c: In function 'atom_op_delay': +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1064:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1064 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1066:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1066 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1043,7 +1164,43 @@ atom.c:555:5: note: in expansion of macro 'SDEBUG' 555 | SDEBUG(" count: %d\n", count); | ^~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1068:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1068 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x atom.c: In function 'atom_op_div': +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1071:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1071 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1073:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1073 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1053,6 +1210,24 @@ atom.c:573:5: note: in expansion of macro 'SDEBUG' 573 | SDEBUG(" src1: "); | ^~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1076:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1076 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1062,6 +1237,42 @@ atom.c:575:5: note: in expansion of macro 'SDEBUG' 575 | SDEBUG(" src2: "); | ^~~~~~ +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1078:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1078 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1082:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1082 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1084:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1084 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x atom.c: In function 'atom_op_jump': kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" @@ -1072,7 +1283,12 @@ atom.c:619:9: note: in expansion of macro 'SDEBUG' 619 | SDEBUG(" taken: %s\n", execute?"yes":"no"); | ^~~~~~ -avivotool.c: In function 'eg_cmd_regs': +avivotool.c:1117:29: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint32_t' {aka 'unsigned int'} [-Wformat=] + 1117 | printf("%08lx\t%08x (%d)\n", EG_MODE_REG_OFFSET(i, EVERGREEN_HDMI_BASE + j), tmp1, tmp1); + | ~~~~^ + | | + | long unsigned int + | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1092,9 +1308,6 @@ atom.c:630:5: note: in expansion of macro 'SDEBUG' 630 | SDEBUG(" dst: "); | ^~~~~~ -avivotool.c:990:20: warning: too many arguments for format [-Wformat-extra-args] - 990 | printf("\n%s: disabled\n", tmpname, i); - | ^~~~~~~~~~~~~~~~~~ kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1113,6 +1326,7 @@ atom.c:634:5: note: in expansion of macro 'SDEBUG' 634 | SDEBUG(" src2: "); | ^~~~~~ +radeonreg.c: In function 'radeon_show_radeon_display_regs': kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1122,6 +1336,18 @@ atom.c:638:5: note: in expansion of macro 'SDEBUG' 638 | SDEBUG(" dst: "); | ^~~~~~ +radeonreg.c:186:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] + 186 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) + | ^~~~~~~~~~~~~~ +radeonreg.c:202:13: note: in expansion of macro 'SHOW_UNK_CLK_REG' + 202 | SHOW_UNK_CLK_REG(i); + | ^~~~~~~~~~~~~~~~ +radeonreg.c:186:40: note: format string is defined here + 186 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) + | ~~~^ + | | + | unsigned int + | %02lx atom.c: In function 'atom_op_move': kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" @@ -1132,18 +1358,19 @@ atom.c:653:5: note: in expansion of macro 'SDEBUG' 653 | SDEBUG(" src: "); | ^~~~~~ -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1050:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1050 | SHOW_UNKNOWN_REG(i); +radeonreg.c: In function 'radeon_show_avivo_display_regs': +radeonreg.c:186:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] + 186 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) + | ^~~~~~~~~~~~~~ +radeonreg.c:215:13: note: in expansion of macro 'SHOW_UNK_CLK_REG' + 215 | SHOW_UNK_CLK_REG(i); | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x +radeonreg.c:186:40: note: format string is defined here + 186 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) + | ~~~^ + | | + | unsigned int + | %02lx kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1153,19 +1380,8 @@ atom.c:655:5: note: in expansion of macro 'SDEBUG' 655 | SDEBUG(" dst: "); | ^~~~~~ +avivotool.c: In function 'radeon_cmd_regs': atom.c: In function 'atom_op_mul': -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1052:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1052 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1175,6 +1391,12 @@ atom.c:663:5: note: in expansion of macro 'SDEBUG' 663 | SDEBUG(" src1: "); | ^~~~~~ +avivotool.c:1266:35: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] + 1266 | #define SHOW_UNK_MC_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(AVIVO_MC_INDEX, AVIVO_MC_DATA, (r | 0x007f0000), #r)) + | ^~~~~~~~~~~~~~ +avivotool.c:1268:17: note: in expansion of macro 'SHOW_UNK_MC_REG' + 1268 | SHOW_UNK_MC_REG(i); + | ^~~~~~~~~~~~~~~ kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1184,37 +1406,13 @@ atom.c:665:5: note: in expansion of macro 'SDEBUG' 665 | SDEBUG(" src2: "); | ^~~~~~ -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1054:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1054 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x +avivotool.c:1266:39: note: format string is defined here + 1266 | #define SHOW_UNK_MC_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(AVIVO_MC_INDEX, AVIVO_MC_DATA, (r | 0x007f0000), #r)) + | ~~~^ + | | + | unsigned int + | %02lx atom.c: In function 'atom_op_or': -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1056:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1056 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1058:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1058 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1224,12 +1422,12 @@ atom.c:680:5: note: in expansion of macro 'SDEBUG' 680 | SDEBUG(" dst: "); | ^~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x +avivotool.c:1270:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] + 1270 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) + | ^~~~~~~~~~~~~~ +avivotool.c:1272:17: note: in expansion of macro 'SHOW_UNK_CLK_REG' + 1272 | SHOW_UNK_CLK_REG(i); + | ^~~~~~~~~~~~~~~~ kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1239,30 +1437,12 @@ atom.c:682:5: note: in expansion of macro 'SDEBUG' 682 | SDEBUG(" src: "); | ^~~~~~ -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1059:9: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1059 | SHOW_UNKNOWN_REG(0x6590); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1060:9: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1060 | SHOW_UNKNOWN_REG(0x65b4); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x +avivotool.c:1270:40: note: format string is defined here + 1270 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) + | ~~~^ + | | + | unsigned int + | %02lx kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1273,18 +1453,6 @@ 685 | SDEBUG(" dst: "); | ^~~~~~ atom.c: In function 'atom_op_postcard': -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1061:9: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1061 | SHOW_UNKNOWN_REG(0x65cc); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1294,31 +1462,7 @@ atom.c:692:5: note: in expansion of macro 'SDEBUG' 692 | SDEBUG("POST card output: 0x%02X\n", val); | ^~~~~~ -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1064:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1064 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x atom.c: In function 'atom_op_setdatablock': -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1066:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1066 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1328,25 +1472,6 @@ atom.c:714:5: note: in expansion of macro 'SDEBUG' 714 | SDEBUG(" block: %d\n", idx); | ^~~~~~ -atombios_tables.c: In function 'dump_vram_table': -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1068:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1068 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1071:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1071 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1356,15 +1481,6 @@ atom.c:721:5: note: in expansion of macro 'SDEBUG' 721 | SDEBUG(" base: 0x%04X\n", ctx->ctx->data_block); | ^~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x -atombios_tables.c:1026:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1026 | write(fd, backing, fw_bytes); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ atom.c: In function 'atom_op_setfbbase': kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" @@ -1375,37 +1491,14 @@ atom.c:727:5: note: in expansion of macro 'SDEBUG' 727 | SDEBUG(" fb_base: "); | ^~~~~~ -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1073:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1073 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x atom.c: In function 'atom_op_setport': -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1076:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1076 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1078:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1078 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ +atombios_tables.c: In function 'radeon_print_pp_misc': +atombios_tables.c:637:28: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] + 637 | printf("\t\tFM: 0x%x\n", + | ~^ + | | + | unsigned int + | %lx kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1415,12 +1508,6 @@ atom.c:738:17: note: in expansion of macro 'SDEBUG' 738 | SDEBUG(" port: %d (%s)\n", port, atom_io_names[port]); | ^~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1430,31 +1517,7 @@ atom.c:740:17: note: in expansion of macro 'SDEBUG' 740 | SDEBUG(" port: %d\n", port); | ^~~~~~ -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1082:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1082 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1084:13: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1084 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ atom.c: In function 'atom_op_setregblock': -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1474,12 +1537,6 @@ atom.c:772:5: note: in expansion of macro 'SDEBUG' 772 | SDEBUG(" dst: "); | ^~~~~~ -avivotool.c:1117:29: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'uint32_t' {aka 'unsigned int'} [-Wformat=] - 1117 | printf("%08lx\t%08x (%d)\n", EG_MODE_REG_OFFSET(i, EVERGREEN_HDMI_BASE + j), tmp1, tmp1); - | ~~~~^ - | | - | long unsigned int - | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1526,7 +1583,6 @@ atom.c:793:5: note: in expansion of macro 'SDEBUG' 793 | SDEBUG(" dst: "); | ^~~~~~ -avivotool.c: In function 'radeon_cmd_regs': atom.c: In function 'atom_op_sub': kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" @@ -1537,12 +1593,6 @@ atom.c:802:5: note: in expansion of macro 'SDEBUG' 802 | SDEBUG(" dst: "); | ^~~~~~ -avivotool.c:1266:35: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] - 1266 | #define SHOW_UNK_MC_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(AVIVO_MC_INDEX, AVIVO_MC_DATA, (r | 0x007f0000), #r)) - | ^~~~~~~~~~~~~~ -avivotool.c:1268:17: note: in expansion of macro 'SHOW_UNK_MC_REG' - 1268 | SHOW_UNK_MC_REG(i); - | ^~~~~~~~~~~~~~~ kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1552,12 +1602,6 @@ atom.c:804:5: note: in expansion of macro 'SDEBUG' 804 | SDEBUG(" src: "); | ^~~~~~ -avivotool.c:1266:39: note: format string is defined here - 1266 | #define SHOW_UNK_MC_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(AVIVO_MC_INDEX, AVIVO_MC_DATA, (r | 0x007f0000), #r)) - | ~~~^ - | | - | unsigned int - | %02lx kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1568,6 +1612,7 @@ 807 | SDEBUG(" dst: "); | ^~~~~~ atom.c: In function 'atom_op_switch': +avivotool.c: In function 'radeon_regsrange': kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1577,12 +1622,12 @@ atom.c:815:5: note: in expansion of macro 'SDEBUG' 815 | SDEBUG(" switch: "); | ^~~~~~ -avivotool.c:1270:36: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] - 1270 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) - | ^~~~~~~~~~~~~~ -avivotool.c:1272:17: note: in expansion of macro 'SHOW_UNK_CLK_REG' - 1272 | SHOW_UNK_CLK_REG(i); - | ^~~~~~~~~~~~~~~~ +avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ^~~~~~~~~~~~~~~~~~~~ +avivotool.c:1694:9: note: in expansion of macro 'SHOW_UNKNOWN_REG' + 1694 | SHOW_UNKNOWN_REG(i); + | ^~~~~~~~~~~~~~~~ kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1592,12 +1637,12 @@ atom.c:820:13: note: in expansion of macro 'SDEBUG' 820 | SDEBUG(" case: "); | ^~~~~~ -avivotool.c:1270:40: note: format string is defined here - 1270 | #define SHOW_UNK_CLK_REG(r) printf("%02x\t%08x\n", r, radeon_get_indexed(RADEON_CLOCK_CNTL_INDEX, RADEON_CLOCK_CNTL_DATA, (r), #r)) - | ~~~^ - | | - | unsigned int - | %02lx +avivotool.c:922:74: note: format string is defined here + 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } + | ~~~~^ + | | + | long unsigned int + | %08x kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1654,7 +1699,6 @@ atom.c:855:5: note: in expansion of macro 'SDEBUG' 855 | SDEBUG(" src: "); | ^~~~~~ -radeontool.c: In function 'radeon_rom_legacy_igptable': kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1674,13 +1718,6 @@ atom.c:1010:5: note: in expansion of macro 'SDEBUG' 1010 | SDEBUG(">> execute %04X (len %d, WS %d, PS %d)\n", base, len, ws, ps); | ^~~~~~ -avivotool.c: In function 'radeon_regsrange': -radeontool.c:2397:23: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=] - 2397 | printf("FSB: %f Mhz\n", fsb); - | ~^ ~~~ - | | | - | double int - | %d kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1690,12 +1727,6 @@ atom.c:1027:13: note: in expansion of macro 'SDEBUG' 1027 | SDEBUG("%s @ 0x%04X\n", atom_op_names[op], ptr-1); | ^~~~~~ -radeontool.c:2407:31: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=] - 2407 | printf("K8 mclk: %f \n", BIOS16(offset + 0x11)); - | ~^ - | | - | double - | %d kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] 34 | #define KERN_DEBUG "" | ^~ @@ -1705,18 +1736,32 @@ atom.c:1029:13: note: in expansion of macro 'SDEBUG' 1029 | SDEBUG("[%d] @ 0x%04X\n", op, ptr-1); | ^~~~~~ -avivotool.c:922:69: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'int' [-Wformat=] - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ^~~~~~~~~~~~~~~~~~~~ -avivotool.c:1694:9: note: in expansion of macro 'SHOW_UNKNOWN_REG' - 1694 | SHOW_UNKNOWN_REG(i); - | ^~~~~~~~~~~~~~~~ -avivotool.c:922:74: note: format string is defined here - 922 | #define SHOW_UNKNOWN_REG(r) { tmp = radeon_get(r, "byhand"); printf("%08lx\t%08x (%d)\n", r, tmp, tmp); } - | ~~~~^ - | | - | long unsigned int - | %08x +kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] + 34 | #define KERN_DEBUG "" + | ^~ +atom.c:82:48: note: in expansion of macro 'KERN_DEBUG' + 82 | #define SDEBUG(...) do if(atom_debug) { printk(KERN_DEBUG); debug_print_spaces(debug_depth); printk(__VA_ARGS__); } while(0) + | ^~~~~~~~~~ +atom.c:1040:5: note: in expansion of macro 'SDEBUG' + 1040 | SDEBUG("<<\n"); + | ^~~~~~ +atombios_tables.c: In function 'dump_vram_table': +atombios_tables.c:1026:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1026 | write(fd, backing, fw_bytes); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +radeontool.c: In function 'radeon_rom_legacy_igptable': +radeontool.c:2397:23: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=] + 2397 | printf("FSB: %f Mhz\n", fsb); + | ~^ ~~~ + | | | + | double int + | %d +radeontool.c:2407:31: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=] + 2407 | printf("K8 mclk: %f \n", BIOS16(offset + 0x11)); + | ~^ + | | + | double + | %d radeontool.c:2408:43: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=] 2408 | printf("K8 sync start delay: %f us\n", BIOS16(offset + 0x13) / 100); | ~^ @@ -1729,28 +1774,19 @@ | | | double | %d -kernel-compat.h:34:20: warning: zero-length gnu_printf format string [-Wformat-zero-length] - 34 | #define KERN_DEBUG "" - | ^~ -atom.c:82:48: note: in expansion of macro 'KERN_DEBUG' - 82 | #define SDEBUG(...) do if(atom_debug) { printk(KERN_DEBUG); debug_print_spaces(debug_depth); printk(__VA_ARGS__); } while(0) - | ^~~~~~~~~~ -atom.c:1040:5: note: in expansion of macro 'SDEBUG' - 1040 | SDEBUG("<<\n"); - | ^~~~~~ -radeontool.c: In function 'radeon_rom_tables': -radeontool.c:2907:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 2907 | read(fd, bios, _64K); - | ^~~~~~~~~~~~~~~~~~~~ avivotool.c: In function 'radeon_rom_tables': avivotool.c:2264:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2264 | read(fd, bios, _64K); | ^~~~~~~~~~~~~~~~~~~~ -/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o radeonreg radeonreg.o -lpciaccess +radeontool.c: In function 'radeon_rom_tables': +radeontool.c:2907:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 2907 | read(fd, bios, _64K); + | ^~~~~~~~~~~~~~~~~~~~ +/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o radeonreg radeonreg.o -lpciaccess libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o radeonreg radeonreg.o -lpciaccess -/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o radeontool radeontool.o -lpciaccess +/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o radeontool radeontool.o -lpciaccess libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o radeontool radeontool.o -lpciaccess -/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o avivotool avivotool.o atom.o xf86i2c.o atombios_tables.o -lpciaccess +/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o avivotool avivotool.o atom.o xf86i2c.o atombios_tables.o -lpciaccess libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/radeontool-1.6.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o avivotool avivotool.o atom.o xf86i2c.o atombios_tables.o -lpciaccess make[1]: Leaving directory '/build/reproducible-path/radeontool-1.6.3' dh_auto_test @@ -1765,7 +1801,7 @@ make[1]: Entering directory '/build/reproducible-path/radeontool-1.6.3' make[2]: Entering directory '/build/reproducible-path/radeontool-1.6.3' /usr/bin/mkdir -p '/build/reproducible-path/radeontool-1.6.3/debian/radeontool/usr/bin' - /bin/bash ./libtool --mode=install /usr/bin/install -c radeontool avivotool radeonreg '/build/reproducible-path/radeontool-1.6.3/debian/radeontool/usr/bin' + /bin/sh ./libtool --mode=install /usr/bin/install -c radeontool avivotool radeonreg '/build/reproducible-path/radeontool-1.6.3/debian/radeontool/usr/bin' libtool: install: /usr/bin/install -c radeontool /build/reproducible-path/radeontool-1.6.3/debian/radeontool/usr/bin/radeontool libtool: install: /usr/bin/install -c avivotool /build/reproducible-path/radeontool-1.6.3/debian/radeontool/usr/bin/avivotool libtool: install: /usr/bin/install -c radeonreg /build/reproducible-path/radeontool-1.6.3/debian/radeontool/usr/bin/radeonreg @@ -1798,8 +1834,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'radeontool' in '../radeontool_1.6.3-3_amd64.deb'. dpkg-deb: building package 'radeontool-dbgsym' in '../radeontool-dbgsym_1.6.3-3_amd64.deb'. +dpkg-deb: building package 'radeontool' in '../radeontool_1.6.3-3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../radeontool_1.6.3-3_amd64.buildinfo dpkg-genchanges --build=binary -O../radeontool_1.6.3-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1807,12 +1843,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3280964/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3280964/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/884985 and its subdirectories -I: Current time: Sun Dec 21 01:45:15 -12 2025 -I: pbuilder-time-stamp: 1766324715 +I: removing directory /srv/workspace/pbuilder/3280964 and its subdirectories +I: Current time: Mon Nov 18 21:23:35 +14 2024 +I: pbuilder-time-stamp: 1731914615