Re: [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

From: Mark Millard <markmi_at_dsl-only.net>
Date: Sat, 9 Jul 2016 19:29:59 -0700
[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
Received on Sun Jul 10 2016 - 00:30:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:06 UTC