kernel compile fails in machdep.c

John Baldwin jhb at freebsd.org
Thu May 21 13:33:44 UTC 2009


On Thursday 21 May 2009 4:15:54 am Per olof Ljungmark wrote:
> Latest stable sources, machdep.c is
> $FreeBSD: src/sys/i386/i386/intr_machdep.c,v 1.29.2.7 2009/05/19 
> 22:07:54 jhb Exp $
> 
> 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/usr/src/sys -I/usr/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 -ffreestanding -Werror  /usr/src/sys/i386/i386/intr_machdep.c
> cc1: warnings being treated as errors
> /usr/src/sys/i386/i386/intr_machdep.c: In function 'intr_register_source':
> /usr/src/sys/i386/i386/intr_machdep.c:136: warning: passing argument 4 
> of 'intr_event_create' makes pointer from integer without a cast
> /usr/src/sys/i386/i386/intr_machdep.c:136: warning: passing argument 7 
> of 'intr_event_create' from incompatible pointer type
> /usr/src/sys/i386/i386/intr_machdep.c:136: warning: passing argument 8 
> of 'intr_event_create' from incompatible pointer type
> /usr/src/sys/i386/i386/intr_machdep.c: In function 'intr_execute_handlers':
> /usr/src/sys/i386/i386/intr_machdep.c:261: warning: implicit declaration 
> of function 'intr_event_handle'
> /usr/src/sys/i386/i386/intr_machdep.c:261: warning: nested extern 
> declaration of 'intr_event_handle'
> *** Error code 1

I think you must have some files not in sync.  It compiled before commit and 
the tinderbox has not reported any errors after the commit.

-- 
John Baldwin


More information about the freebsd-stable mailing list