D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/radeontool-1.6.3-12.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sCsPhP
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ test -d /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NJbuWb
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ rm -rf radeontool-1.6.3
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/radeontool-1.6.3.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd radeontool-1.6.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp /home/pterjan/rpmbuild/SOURCES/lightwatch2.pl .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.L9fypg
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ cd radeontool-1.6.3
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -vfi
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force 
autoreconf: running: /usr/bin/autoconf --force
configure.ac:27: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:27: You should run autoupdate.
aclocal.m4:122: AC_PROG_LIBTOOL is expanded from...
configure.ac:27: the top level
configure.ac:35: warning: AC_OUTPUT should be used without arguments.
configure.ac:35: You should run autoupdate.
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:27: installing './compile'
configure.ac:23: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking)
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking)
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --bindir=/usr/sbin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for x86_64-mageia-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-mageia-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-mageia-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-mageia-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-mageia-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pciaccess >= 0.10.0... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
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.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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
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);
      |             ^~~~~~~~~~~~~~~~
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
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.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o atombios_tables.o atombios_tables.c
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
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);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh ./libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o radeonreg radeonreg.o -lpciaccess 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o radeonreg radeonreg.o  -lpciaccess
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.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o atom.o atom.c
In file included from atom.h:32,
                 from atom.c:27:
atom.c: In function 'atom_op_add':
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:488:5: note: in expansion of macro 'SDEBUG'
  488 |     SDEBUG("   dst: ");
      |     ^~~~~~
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:490:5: note: in expansion of macro 'SDEBUG'
  490 |     SDEBUG("   src: ");
      |     ^~~~~~
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:493:5: note: in expansion of macro 'SDEBUG'
  493 |     SDEBUG("   dst: ");
      |     ^~~~~~
atom.c: In function 'atom_op_and':
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:502:5: note: in expansion of macro 'SDEBUG'
  502 |     SDEBUG("   dst: ");
      |     ^~~~~~
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:504:5: note: in expansion of macro 'SDEBUG'
  504 |     SDEBUG("   src: ");
      |     ^~~~~~
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:507:5: note: in expansion of macro 'SDEBUG'
  507 |     SDEBUG("   dst: ");
      |     ^~~~~~
atom.c: In function 'atom_op_calltable':
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:520:9: note: in expansion of macro 'SDEBUG'
  520 |         SDEBUG("   table: %d (%s)\n", idx, atom_table_names[idx]);
      |         ^~~~~~
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:522:9: note: in expansion of macro 'SDEBUG'
  522 |         SDEBUG("   table: %d\n", idx);
      |         ^~~~~~
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 ""
      |                    ^~
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:535:5: note: in expansion of macro 'SDEBUG'
  535 |     SDEBUG("   dst: ");
      |     ^~~~~~
atom.c: In function 'atom_op_compare':
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:543:5: note: in expansion of macro 'SDEBUG'
  543 |     SDEBUG("   src1: ");
      |     ^~~~~~
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:545:5: note: in expansion of macro 'SDEBUG'
  545 |     SDEBUG("   src2: ");
      |     ^~~~~~
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: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");
      |     ^~~~~~
atom.c: In function 'atom_op_delay':
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:555:5: note: in expansion of macro 'SDEBUG'
  555 |     SDEBUG("   count: %d\n", count);
      |     ^~~~~~
atom.c: In function 'atom_op_div':
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:573:5: note: in expansion of macro 'SDEBUG'
  573 |     SDEBUG("   src1: ");
      |     ^~~~~~
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:575:5: note: in expansion of macro 'SDEBUG'
  575 |     SDEBUG("   src2: ");
      |     ^~~~~~
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 ""
      |                    ^~
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:619:9: note: in expansion of macro 'SDEBUG'
  619 |         SDEBUG("   taken: %s\n", execute?"yes":"no");
      |         ^~~~~~
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:620:5: note: in expansion of macro 'SDEBUG'
  620 |     SDEBUG("   target: 0x%04X\n", target);
      |     ^~~~~~
atom.c: In function 'atom_op_mask':
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:630:5: note: in expansion of macro 'SDEBUG'
  630 |     SDEBUG("   dst: ");
      |     ^~~~~~
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:632:5: note: in expansion of macro 'SDEBUG'
  632 |     SDEBUG("   src1: ");
      |     ^~~~~~
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:634:5: note: in expansion of macro 'SDEBUG'
  634 |     SDEBUG("   src2: ");
      |     ^~~~~~
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:638:5: note: in expansion of macro 'SDEBUG'
  638 |     SDEBUG("   dst: ");
      |     ^~~~~~
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 ""
      |                    ^~
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:653:5: note: in expansion of macro 'SDEBUG'
  653 |     SDEBUG("   src: ");
      |     ^~~~~~
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:655:5: note: in expansion of macro 'SDEBUG'
  655 |     SDEBUG("   dst: ");
      |     ^~~~~~
atom.c: In function 'atom_op_mul':
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:663:5: note: in expansion of macro 'SDEBUG'
  663 |     SDEBUG("   src1: ");
      |     ^~~~~~
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:665:5: note: in expansion of macro 'SDEBUG'
  665 |     SDEBUG("   src2: ");
      |     ^~~~~~
atom.c: In function 'atom_op_or':
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:680:5: note: in expansion of macro 'SDEBUG'
  680 |     SDEBUG("   dst: ");
      |     ^~~~~~
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:682:5: note: in expansion of macro 'SDEBUG'
  682 |     SDEBUG("   src: ");
      |     ^~~~~~
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:685:5: note: in expansion of macro 'SDEBUG'
  685 |     SDEBUG("   dst: ");
      |     ^~~~~~
atom.c: In function 'atom_op_postcard':
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:692:5: note: in expansion of macro 'SDEBUG'
  692 |     SDEBUG("POST card output: 0x%02X\n", val);
      |     ^~~~~~
atom.c: In function 'atom_op_setdatablock':
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:714:5: note: in expansion of macro 'SDEBUG'
  714 |     SDEBUG("   block: %d\n", idx);
      |     ^~~~~~
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:721:5: note: in expansion of macro 'SDEBUG'
  721 |     SDEBUG("   base: 0x%04X\n", ctx->ctx->data_block);
      |     ^~~~~~
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 ""
      |                    ^~
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:727:5: note: in expansion of macro 'SDEBUG'
  727 |     SDEBUG("   fb_base: ");
      |     ^~~~~~
atom.c: In function 'atom_op_setport':
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:738:17: note: in expansion of macro 'SDEBUG'
  738 |                 SDEBUG("   port: %d (%s)\n", port, atom_io_names[port]);
      |                 ^~~~~~
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:740:17: note: in expansion of macro 'SDEBUG'
  740 |                 SDEBUG("   port: %d\n", port);
      |                 ^~~~~~
atom.c: In function 'atom_op_setregblock':
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:762:5: note: in expansion of macro 'SDEBUG'
  762 |     SDEBUG("   base: 0x%04X\n", ctx->ctx->reg_block);
      |     ^~~~~~
atom.c: In function 'atom_op_shl':
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:772:5: note: in expansion of macro 'SDEBUG'
  772 |     SDEBUG("   dst: ");
      |     ^~~~~~
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:775:5: note: in expansion of macro 'SDEBUG'
  775 |     SDEBUG("   shift: %d\n", shift);
      |     ^~~~~~
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:777:5: note: in expansion of macro 'SDEBUG'
  777 |     SDEBUG("   dst: ");
      |     ^~~~~~
atom.c: In function 'atom_op_shr':
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:788:5: note: in expansion of macro 'SDEBUG'
  788 |     SDEBUG("   dst: ");
      |     ^~~~~~
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:791:5: note: in expansion of macro 'SDEBUG'
  791 |     SDEBUG("   shift: %d\n", shift);
      |     ^~~~~~
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:793:5: note: in expansion of macro 'SDEBUG'
  793 |     SDEBUG("   dst: ");
      |     ^~~~~~
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 ""
      |                    ^~
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:802:5: note: in expansion of macro 'SDEBUG'
  802 |     SDEBUG("   dst: ");
      |     ^~~~~~
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:804:5: note: in expansion of macro 'SDEBUG'
  804 |     SDEBUG("   src: ");
      |     ^~~~~~
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:807:5: note: in expansion of macro 'SDEBUG'
  807 |     SDEBUG("   dst: ");
      |     ^~~~~~
atom.c: In function 'atom_op_switch':
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:815:5: note: in expansion of macro 'SDEBUG'
  815 |     SDEBUG("   switch: ");
      |     ^~~~~~
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:820:13: note: in expansion of macro 'SDEBUG'
  820 |             SDEBUG("   case: ");
      |             ^~~~~~
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:824:17: note: in expansion of macro 'SDEBUG'
  824 |                 SDEBUG("   target: %04X\n", target);
      |                 ^~~~~~
atom.c: In function 'atom_op_test':
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:840:5: note: in expansion of macro 'SDEBUG'
  840 |     SDEBUG("   src1: ");
      |     ^~~~~~
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:842:5: note: in expansion of macro 'SDEBUG'
  842 |     SDEBUG("   src2: ");
      |     ^~~~~~
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:845:5: note: in expansion of macro 'SDEBUG'
  845 |     SDEBUG("   result: %s\n", ctx->ctx->cs_equal?"EQ":"NE");
      |     ^~~~~~
atom.c: In function 'atom_op_xor':
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:853:5: note: in expansion of macro 'SDEBUG'
  853 |     SDEBUG("   dst: ");
      |     ^~~~~~
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:855:5: note: in expansion of macro 'SDEBUG'
  855 |     SDEBUG("   src: ");
      |     ^~~~~~
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:858:5: note: in expansion of macro 'SDEBUG'
  858 |     SDEBUG("   dst: ");
      |     ^~~~~~
atom.c: In function 'atom_execute_table':
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:1010:5: note: in expansion of macro 'SDEBUG'
 1010 |     SDEBUG(">> execute %04X (len %d, WS %d, PS %d)\n", base, len, ws, ps);
      |     ^~~~~~
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:1027:13: note: in expansion of macro 'SDEBUG'
 1027 |             SDEBUG("%s @ 0x%04X\n", atom_op_names[op], ptr-1);
      |             ^~~~~~
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:1029:13: note: in expansion of macro 'SDEBUG'
 1029 |             SDEBUG("[%d] @ 0x%04X\n", op, ptr-1);
      |             ^~~~~~
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");
      |     ^~~~~~
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.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o radeontool.o radeontool.c
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);
      |                                          ~^
      |                                           |
      |                                           double
      |                                          %d
radeontool.c:2409:43: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
 2409 |             printf("K8 data return time: %f us\n", BIOS16(offset + 0x15) / 100);
      |                                          ~^
      |                                           |
      |                                           double
      |                                          %d
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  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o radeontool radeontool.o -lpciaccess 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o radeontool radeontool.o  -lpciaccess
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.     -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o avivotool.o avivotool.c
avivotool.c: In function 'eg_cmd_regs':
avivotool.c:990:20: warning: too many arguments for format [-Wformat-extra-args]
  990 |             printf("\n%s: disabled\n", tmpname, 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: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
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
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
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
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);
      |             ^~~~~~~~~~~~~~~~
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
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);
      |             ^~~~~~~~~~~~~~~~
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
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
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
avivotool.c: In function 'radeon_cmd_regs':
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);
      |                 ^~~~~~~~~~~~~~~
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
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: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: In function 'radeon_regsrange':
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
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/sh ./libtool  --tag=CC   --mode=link gcc  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o avivotool avivotool.o atom.o xf86i2c.o atombios_tables.o -lpciaccess 
libtool: link: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o avivotool avivotool.o atom.o xf86i2c.o atombios_tables.o  -lpciaccess
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kP7YHB
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ mkdir /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT
+ cd radeontool-1.6.3
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/radeontool-1.6.3'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT/usr/sbin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -p radeontool avivotool radeonreg '/home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT/usr/sbin'
libtool: install: /usr/bin/install -p radeontool /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT/usr/sbin/radeontool
libtool: install: /usr/bin/install -p avivotool /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT/usr/sbin/avivotool
libtool: install: /usr/bin/install -p radeonreg /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT/usr/sbin/radeonreg
make[1]: Nothing to be done for 'install-data-am'.
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/radeontool-1.6.3'
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.6.3-12.mga10 --unique-debug-suffix -1.6.3-12.mga10.x86_64 --unique-debug-src-base radeontool-1.6.3-12.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/radeontool-1.6.3
find-debuginfo: starting

Extracting debug info from 3 files
DWARF-compressing 3 files
sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/radeontool-1.6.3-12.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: radeontool-1.6.3-12.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ANvPjk
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ cd radeontool-1.6.3
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT/usr/share/doc/radeontool
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT/usr/share/doc/radeontool
+ cp -pr /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/radeontool-1.6.3/lightwatch2.pl /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT/usr/share/doc/radeontool
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: radeontool = 1.6.3-12.mga10 radeontool(x86-64) = 1.6.3-12.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpciaccess.so.0()(64bit)
Processing files: radeontool-debugsource-1.6.3-12.mga10.x86_64
Provides: radeontool-debugsource = 1.6.3-12.mga10 radeontool-debugsource(x86-64) = 1.6.3-12.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: radeontool-debuginfo-1.6.3-12.mga10.x86_64
Provides: debuginfo(build-id) = 05490524bc48c4df4df1055a124c0985c662724e debuginfo(build-id) = 62dc5cffcf460871fd693ffea71b4adcd6c4e4f4 debuginfo(build-id) = d35d0120770c77224f41092a0567ea6ca5653bfa radeontool-debuginfo = 1.6.3-12.mga10 radeontool-debuginfo(x86-64) = 1.6.3-12.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: radeontool-debugsource(x86-64) = 1.6.3-12.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/radeontool-1.6.3-12.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/radeontool-debugsource-1.6.3-12.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/radeontool-debuginfo-1.6.3-12.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.P4Bke3
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ test -d /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/radeontool-1.6.3-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!