[head tinderbox] failure on i386/i386

Garrett Cooper yanegomi at gmail.com
Mon May 2 16:19:26 UTC 2011


On Mon, May 2, 2011 at 12:48 AM, FreeBSD Tinderbox
<tinderbox at freebsd.org> wrote:

[...]

> cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector -Werror  /src/sys/dev/lge/if_lge.c
> cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector -Werror  /src/sys/dev/malo/if_malo.c
> cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector -Werror  /src/sys/dev/malo/if_malohal.c
> cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector -Werror  /src/sys/dev/malo/if_malo_pci.c
> cc1: warnings being treated as errors
> /src/sys/dev/malo/if_malo_pci.c: In function 'malo_pci_attach':
> /src/sys/dev/malo/if_malo_pci.c:232: warning: large integer implicitly truncated to unsigned type
> /src/sys/dev/malo/if_malo_pci.c:232: warning: large integer implicitly truncated to unsigned type
> *** Error code 1
>
> Stop in /obj/i386.i386/src/sys/PAE.
> *** Error code 1
>
> Stop in /src.
> *** Error code 1
>
> Stop in /src.

    Tinderbox has been whining about malo for the last day or so on
i386 because of this issue. Could someone please commit the following
patch to fix it? It's correct according to the printf(3) manpage
combined with the fields in the malo_hal structure.
    FWIW I'm a bit confused too because it's listed in the
WITHOUT_MODULES group for several i386 kernel compiles based on my
looking at the make universe output, but it's still barfing on the
module with tinderbox (and not with my local make universe), but it
the results might be tainted by my environment somehow.
Thanks!
-Garrett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-sys-dev-if-malo-format-string.patch
Type: text/x-patch
Size: 1090 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110502/a51b03e6/fix-sys-dev-if-malo-format-string.bin


More information about the freebsd-current mailing list