[head tinderbox] failure on i386/i386
John Baldwin
jhb at freebsd.org
Tue Jan 15 14:11:50 PST 2008
On Tuesday 15 January 2008 03:52:31 pm David Wolfskill wrote:
> On Tue, Jan 15, 2008 at 12:22:00PM -0500, FreeBSD Tinderbox wrote:
> > ...
> >
cc -c -std=c99 -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 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/cxgb/cxgb_sge.c
> > cc1: warnings being treated as errors
> > /src/sys/dev/cxgb/cxgb_sge.c: In function 't3_encap':
> > /src/sys/dev/cxgb/cxgb_sge.c:1254: warning: format '%ld' expects
type 'long int', but argument 2 has type 'unsigned int'
> > *** Error code 1
> >
> > Stop in /obj/src/sys/LINT.
> > *** Error code 1
> >
> > Stop in /src.
> > *** Error code 1
> >
> > Stop in /src.
>
> Attached is the hack I used to get through this, in case it helps
> someone.
>
> Caveat: I don't use cxgb(4) myself, so I haven't actually tested the
> result.
I think '%zd' may be the best actually since PIO_LEN is a constant minus a
size_t.
--
John Baldwin
More information about the freebsd-current
mailing list