From nobody@FreeBSD.org  Fri Jul  3 07:38:17 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 04962106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  3 Jul 2009 07:38:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E6F6F8FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  3 Jul 2009 07:38:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n637cGQb062929
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 3 Jul 2009 07:38:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n637cGIA062928;
	Fri, 3 Jul 2009 07:38:16 GMT
	(envelope-from nobody)
Message-Id: <200907030738.n637cGIA062928@www.freebsd.org>
Date: Fri, 3 Jul 2009 07:38:16 GMT
From: Tim Bishop <tim@bishnet.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: XEN kernel fails to build on 8-CURRENT i386
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         136271
>Category:       kern
>Synopsis:       [xen] XEN kernel fails to build on 8-CURRENT i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kmacy
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 03 07:40:01 UTC 2009
>Closed-Date:    Wed Mar 03 20:36:13 UTC 2010
>Last-Modified:  Wed Mar 03 20:36:13 UTC 2010
>Originator:     Tim Bishop
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
FreeBSD xenserver32.kent.ac.uk 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Jul  2 12:59:46 BST 2009     tdb@xenserver32.kent.ac.uk:/usr/obj/usr/src/sys/GENERIC  i386

Running inside Citrix XenServer 5.5.
>Description:
I'm building the XEN kernel config on a recent (yesterday) csup of CURRENT,
but I'm getting the following build error:

# make buildkernel KERNCONF=XEN
..
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 -fstack-protector -Werror /usr/src/sys/xen/evtchn/evtchn.c
cc1: warnings being treated as errors
/usr/src/sys/xen/evtchn/evtchn.c:653: warning: initialization from incompatible pointer type
*** Error code 1


>How-To-Repeat:
I started with a basic install of 7.2 i386 RELEASE ISO on XenServer 5.5. Then I did a csup up to CURRENT. Next a full build with the GENERIC kernel which worked fine.

Then I tried to build the XEN kernel and get the above error.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->kmacy 
Responsible-Changed-By: remko 
Responsible-Changed-When: Fri Jul 3 08:59:54 UTC 2009 
Responsible-Changed-Why:  
Kip, can you please have a look at this? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136271 

From: Tim Bishop <tim@bishnet.net>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/136271: XEN kernel fails to build on 8-CURRENT i386
Date: Sat, 25 Jul 2009 11:19:03 +0100

 On Fri, Jul 03, 2009 at 07:40:01AM +0000, FreeBSD-gnats-submit@FreeBSD.org wrote:
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=136271
 > 
 > >Category:       kern
 > >Responsible:    freebsd-bugs
 > >Synopsis:       XEN kernel fails to build on 8-CURRENT i386
 > >Arrival-Date:   Fri Jul 03 07:40:01 UTC 2009
 
 This was fixed by r195806.
 
 Tim.
 
 -- 
 Tim Bishop
 http://www.bishnet.net/tim/
 PGP Key: 0x5AE7D984
State-Changed-From-To: open->closed  
State-Changed-By: brucec 
State-Changed-When: Wed Mar 3 20:35:43 UTC 2010 
State-Changed-Why:  
Submitter reports that this was fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136271 
>Unformatted:
