Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/radeontool.spec'], chrootPath='/var/lib/mock/f33-build-292228-54833/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/radeontool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/radeontool-1.6.3-17.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/radeontool.spec'], chrootPath='/var/lib/mock/f33-build-292228-54833/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/radeontool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R8rB3e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf radeontool-1.6.3 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/radeontool-1.6.3.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd radeontool-1.6.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6Ulf2b + umask 022 + cd /builddir/build/BUILD + cd radeontool-1.6.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2012-03-21 13:54:54.000000000 -0400 +++ ./configure 2020-08-13 22:20:48.267353666 -0400 @@ -1719,7 +1719,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-08-13 22:20:48.267353666 -0400 +++ ./configure 2020-08-13 22:20:49.097353588 -0400 @@ -12831,7 +12831,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for riscv64-redhat-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-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 riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.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) 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 riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBPCIACCESS... yes configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands config.status: executing libtool commands + make 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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c radeontool.c radeontool.c: In function 'map_radeon_cntl_mem': radeontool.c:949:9: warning: unused variable 'i' [-Wunused-variable] 949 | int i = 0, ret; | ^ radeontool.c: In function 'radeon_rom_legacy_mmio_table': radeontool.c:2204:36: warning: unused variable 'tmp' [-Wunused-variable] 2204 | uint32_t val, and_mask, or_mask, tmp; | ^~~ radeontool.c: In function 'radeon_rom_legacy_dynclk1table': radeontool.c:2313:27: warning: unused variable 'i' [-Wunused-variable] 2313 | int offset, type, start, i = 0; | ^ radeontool.c:2313:20: warning: unused variable 'start' [-Wunused-variable] 2313 | int offset, type, start, i = 0; | ^~~~~ radeontool.c:2313:14: warning: unused variable 'type' [-Wunused-variable] 2313 | int offset, type, start, i = 0; | ^~~~ radeontool.c: In function 'radeon_rom_legacy_pllinittable': radeontool.c:2326:27: warning: unused variable 'i' [-Wunused-variable] 2326 | int offset, type, start, i = 0; | ^ radeontool.c:2326:20: warning: unused variable 'start' [-Wunused-variable] 2326 | int offset, type, start, i = 0; | ^~~~~ radeontool.c:2326:14: warning: unused variable 'type' [-Wunused-variable] 2326 | int offset, type, start, i = 0; | ^~~~ radeontool.c: In function 'radeon_rom_legacy_igptable': radeontool.c:2397:16: 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:24: 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:36: 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:36: 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:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2907 | read(fd, bios, _64K); | ^~~~~~~~~~~~~~~~~~~~ At top level: radeontool.c:138:13: warning: 'radeon_set_mcind' defined but not used [-Wunused-function] 138 | static void radeon_set_mcind(unsigned long offset, const char *name, | ^~~~~~~~~~~~~~~~ radeontool.c:46:13: warning: 'die_error' defined but not used [-Wunused-function] 46 | static void die_error(int err, const char *why) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o radeontool radeontool.o -lpciaccess libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c avivotool.c avivotool.c: In function 'radeon_get_fb_params': avivotool.c:630:19: warning: unused variable 'format' [-Wunused-variable] 630 | unsigned long format; | ^~~~~~ avivotool.c: In function 'eg_cmd_regs': avivotool.c:990:13: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1050 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1050:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1052 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1052:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1054 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1054:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1056 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1056:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1058 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1058:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1059 | SHOW_UNKNOWN_REG(0x6590); | ~~~~~~ | | | int avivotool.c:1059:2: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1060 | SHOW_UNKNOWN_REG(0x65b4); | ~~~~~~ | | | int avivotool.c:1060:2: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1061 | SHOW_UNKNOWN_REG(0x65cc); | ~~~~~~ | | | int avivotool.c:1061:2: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1064 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1064:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1066 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1066:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1068 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1068:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1071 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1071:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1073 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1073:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1076 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1076:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1078 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1078:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1082 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1082:6: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1084 | SHOW_UNKNOWN_REG(i); | ~ | | | int avivotool.c:1084:6: 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:15: 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:1184:9: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 1184 | memset(reg_type, REG_TYPE_UNKNOWN, sizeof(reg_type) / sizeof(reg_type[0])); | ^~~~~~ 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)) | ^~~~~~~~~~~~~~ 1267 | for (i = 0; i < 0x92; i++) 1268 | SHOW_UNK_MC_REG(i); | ~ | | | long unsigned int avivotool.c:1268:10: 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)) | ^~~~~~~~~~~~~~ 1271 | for (i = 0; i < 0x20; i++) 1272 | SHOW_UNK_CLK_REG(i); | ~ | | | long unsigned int avivotool.c:1272:10: 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); } | ^~~~~~~~~~~~~~~~~~~~ ...... 1694 | SHOW_UNKNOWN_REG(i); | ~ | | | int 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 'map_radeon_mem': avivotool.c:1885:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1885 | if (debug) | ^~ avivotool.c:1889:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1889 | return 0; | ^~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~ avivotool.c: In function 'get_reg_type': avivotool.c:884:27: warning: 'prev' may be used uninitialized in this function [-Wmaybe-uninitialized] 884 | bits |= (prev ^ value); | ~~~~~~^~~~~~~~ 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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c 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:2: 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:2: 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:2: 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:3: 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:3: 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:6: 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:3: 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:6: 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:6: 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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c 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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c atombios_tables.c atombios_tables.c: In function 'radeon_dump_bios_igp_slot_config': atombios_tables.c:261:23: warning: variable 'obj_type' set but not used [-Wunused-but-set-variable] 261 | uint8_t obj_id, num, obj_type; | ^~~~~~~~ atombios_tables.c: In function 'radeon_dump_bios_object_table': atombios_tables.c:332:11: warning: variable 'record_base' set but not used [-Wunused-but-set-variable] 332 | int record_base; | ^~~~~~~~~~~ atombios_tables.c:421:12: warning: variable 'record_base' set but not used [-Wunused-but-set-variable] 421 | int record_base; | ^~~~~~~~~~~ atombios_tables.c:460:12: warning: variable 'record_base' set but not used [-Wunused-but-set-variable] 460 | int record_base; | ^~~~~~~~~~~ atombios_tables.c:296:34: warning: unused variable 'igp_obj' [-Wunused-variable] 296 | ATOM_INTEGRATED_SYSTEM_INFO_V2 *igp_obj = NULL; | ^~~~~~~ atombios_tables.c: In function 'radeon_print_pp_misc': atombios_tables.c:637:21: 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:3: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o avivotool avivotool.o atom.o xf86i2c.o atombios_tables.o -lpciaccess libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o avivotool avivotool.o atom.o xf86i2c.o atombios_tables.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\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c 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)) | ^~~~~~~~~~~~~~ ...... 202 | SHOW_UNK_CLK_REG(i); | ~ | | | long unsigned int radeonreg.c:202:6: 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)) | ^~~~~~~~~~~~~~ ...... 215 | SHOW_UNK_CLK_REG(i); | ~ | | | long unsigned int radeonreg.c:215:6: 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 radeonreg.c: In function 'radeon_reg_match': radeonreg.c:298:9: warning: unused variable 'i' [-Wunused-variable] 298 | int i; | ^ radeonreg.c: In function 'radeon_reg_set': radeonreg.c:342:9: warning: unused variable 'i' [-Wunused-variable] 342 | int i; | ^ At top level: radeonreg.c:155:21: warning: 'rs690_get_mc' defined but not used [-Wunused-function] 155 | static unsigned int rs690_get_mc(unsigned long offset, const char *name) | ^~~~~~~~~~~~ radeonreg.c:149:13: warning: 'rs690_set_mc' defined but not used [-Wunused-function] 149 | static void rs690_set_mc(unsigned long offset, const char *name, unsigned int value) | ^~~~~~~~~~~~ In file included from radeonreg.c:34: radeon.h:2:14: warning: 'family_strings' defined but not used [-Wunused-variable] 2 | static char *family_strings[] = {"Unknown", "legacy", "radeon", | ^~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o radeonreg radeonreg.o -lpciaccess libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o radeonreg radeonreg.o -lpciaccess + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YAAkSb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64 + cd radeontool-1.6.3 + make install DESTDIR=/builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64 make[1]: Entering directory '/builddir/build/BUILD/radeontool-1.6.3' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64/usr/bin" /bin/sh ./libtool --mode=install /usr/bin/install -c radeontool avivotool radeonreg '/builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64/usr/bin' libtool: install: /usr/bin/install -c radeontool /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64/usr/bin/radeontool libtool: install: /usr/bin/install -c avivotool /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64/usr/bin/avivotool libtool: install: /usr/bin/install -c radeonreg /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64/usr/bin/radeonreg make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/builddir/build/BUILD/radeontool-1.6.3' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.6.3-17.fc33 --unique-debug-suffix -1.6.3-17.fc33.riscv64 --unique-debug-src-base radeontool-1.6.3-17.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/radeontool-1.6.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64/usr/bin/radeonreg explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64/usr/bin/avivotool explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64/usr/bin/radeontool extracting debug info from /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64/usr/bin/radeonreg extracting debug info from /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64/usr/bin/avivotool extracting debug info from /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64/usr/bin/radeontool original debug info size: 1692kB, size after compression: 1672kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 1088 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: radeontool-1.6.3-17.fc33.riscv64 Provides: radeontool = 1.6.3-17.fc33 radeontool(riscv-64) = 1.6.3-17.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpciaccess.so.0()(64bit) rtld(GNU_HASH) Conflicts: pm-utils <= 0.99.3-11 Processing files: radeontool-debugsource-1.6.3-17.fc33.riscv64 Provides: radeontool-debugsource = 1.6.3-17.fc33 radeontool-debugsource(riscv-64) = 1.6.3-17.fc33 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-17.fc33.riscv64 Provides: debuginfo(build-id) = 5a6bd8a5ef8fdb82787da227a1cf63d2ab7031c8 debuginfo(build-id) = 69c6ffc2735939a07205a6dccc48b7429fde7036 debuginfo(build-id) = c436c3e5d8bb186fd5cfe77216fcc6ca6ec1a4b0 radeontool-debuginfo = 1.6.3-17.fc33 radeontool-debuginfo(riscv-64) = 1.6.3-17.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: radeontool-debugsource(riscv-64) = 1.6.3-17.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64 Wrote: /builddir/build/RPMS/radeontool-1.6.3-17.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/radeontool-debuginfo-1.6.3-17.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/radeontool-debugsource-1.6.3-17.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iGvDVc + umask 022 + cd /builddir/build/BUILD + cd radeontool-1.6.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/radeontool-1.6.3-17.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0