[Bug 210953] 11.0 -r302412 via powerpc64-xtoolchain-gcc fails to build: dev/ahci/ahci.c:288:22: error: unknown conversion type character 'b' in format; too many arguments for format

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 10 01:14:32 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210953

            Bug ID: 210953
           Summary: 11.0 -r302412 via powerpc64-xtoolchain-gcc fails to
                    build: dev/ahci/ahci.c:288:22: error: unknown
                    conversion type character 'b' in format; too many
                    arguments for format
           Product: Base System
           Version: 11.0-BETA1
          Hardware: ppc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: markmi at dsl-only.net

--- all_subdir_ahci ---
/usr/src/sys/modules/ahci/../../dev/ahci/ahci.c: In function 'ahci_attach':
/usr/src/sys/modules/ahci/../../dev/ahci/ahci.c:288:22: error: unknown
conversion type character 'b' in format [-Werror=format=]
   device_printf(dev, "quirks=0x%b\n", ctlr->quirks,
                      ^
/usr/src/sys/modules/ahci/../../dev/ahci/ahci.c:288:22: error: too many
arguments for format [-Werror=format-extra-args]

FYI (prior ahci.o material):

--- ahci.o ---
/usr/local/bin/powerpc64-portbld-freebsd11.0-gcc -isystem
/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/include
-L/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib
--sysroot=/usr/obj/xtoolchain/powerpc.powerpc64
/usr/src/tmp -B/usr/local/powerpc64-freebsd/bin/ -O2 -pipe 
-fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc  
-DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/sys/GENERIC64vtsc-N
ODEBUG/opt_global.h -I. -I/usr/src/sys -fno-common -g -mlongcall
-fno-omit-frame-pointer
-I/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/sys/GENERIC64vtsc-NODEBUG  -MD 
-MF.depend.ahci.o -MTahci.o -mno-altivec -ffreestanding -f
wrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-Wundef -Wno-pointer-sign   -Wmissing-include-dirs -fdiagnostics-show-op
tion  -Wno-unknown-pragmas  -Wno-error=inline -Wno-error=enum-compare
-Wno-error=unused-but-set-variable  -Wno-error=aggressive-loop-optimizations
-Wno-error=maybe-uninitialized  -Wno-error=array-bounds -Wno-error=address 
-Wno
-error=cast-qual -Wno-error=sequence-point -Wno-error=attributes 
-Wno-error=strict-overflow -Wno-error=overflow  -v -finline-limit=15000
-fms-extensions --param inline-unit-growth=100 --param
large-function-growth=1000 -msoft-
float -mcall-aixdesc  -std=iso9899:1999 -c
/usr/src/sys/modules/ahci/../../dev/ahci/ahci.c -o ahci.o
. . .
--- ahci.o ---
Using built-in specs.
. . .
--- ahci.o ---
COLLECT_GCC=/usr/local/bin/powerpc64-portbld-freebsd11.0-gcc
Target: powerpc64-portbld-freebsd11.0
Configured with: ./../gcc-5.3.0/configure
--target=powerpc64-portbld-freebsd11.0 --disable-nls --enable-languages=c,c++
--without-headers --with-gmp=/usr/local --with-pkgversion='FreeBSD Ports
Collection for powerpc64' --with-s
ystem-zlib --with-as=/usr/local/bin/powerpc64-freebsd-as
--with-ld=/usr/local/bin/powerpc64-freebsd-ld --prefix=/usr/local
--localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/
--build=x86_64-portbld-freebsd11
.0
Thread model: posix
gcc version 5.3.0 (FreeBSD Ports Collection for powerpc64) 
. . .
--- ahci.o ---
ay-bounds -Wno-error=address -Wno-error=cast-qual -Wno-error=sequence-point
-Wno-error=attributes -Wno-error=strict-overflow -Wno-error=overflow -std=c99
-version -fno-strict-aliasing -fno-common -fno-omit-frame-pointer -ffrees
tanding -fwrapv -fstack-protector -fdiagnostics-show-option
-finline-limit=15000 -fms-extensions --param inline-unit-growth=100 --param
large-function-growth=1000 -o - |
 /usr/local/bin/powerpc64-freebsd-as -v -I . -I /usr/src/sys -I
/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/sys/GENERIC64vtsc-NODEBUG
--traditional-format -a64 -mppc64 -many -o ahci.o
GNU assembler version 2.25.1 (powerpc64-freebsd) using BFD version (GNU
Binutils) 2.25.1
. . .
--- ahci.o ---
GNU C99 (FreeBSD Ports Collection for powerpc64) version 5.3.0
(powerpc64-portbld-freebsd11.0)
        compiled by GNU C version 4.2.1 Compatible FreeBSD Clang 3.8.0
(branches/release_38 258549), GMP version 5.1.3, MPFR version 3.1.3, MPC
version 1.0.3
warning: MPFR header version 3.1.3 differs from library version 3.1.4-p1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
#include "..." search starts here:
#include <...> search starts here:
 .
 /usr/src/sys
 /usr/obj/xtoolchain/powerpc.powerpc64/usr/src/sys/GENERIC64vtsc-NODEBUG
 /usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/include
End of search list.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list