Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2009 08:33:47 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: kernel compile fails in machdep.c
Message-ID:  <200905210833.48039.jhb@freebsd.org>
In-Reply-To: <4A150DBA.9010209@intersonic.se>
References:  <4A150DBA.9010209@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905210833.48039.jhb>