[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

Mark Millard markmi at dsl-only.net
Sun Jul 10 02:30:03 UTC 2016


[Top post of probable "already fixed" status.]

It looks like -r320441 on stable/11 reverted a kern.mk change controlling what formats are (un)available for some compilers.

I'm rebuilding things based on -r302457 instead of -r302412 and will close the defect if things work.


===
Mark Millard
markmi at dsl-only.net

On 2016-Jul-9, at 6:19 PM, Mark Millard <markmi at dsl-only.net> wrote:

> 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]

I omit the other supporting material.

===
Mark Millard
markmi at dsl-only.net




More information about the freebsd-current mailing list