From owner-freebsd-bugs@FreeBSD.ORG Fri Jul 3 07:40:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D79701065670 for ; Fri, 3 Jul 2009 07:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E9DF08FC16 for ; Fri, 3 Jul 2009 07:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n637e1Nh083422 for ; Fri, 3 Jul 2009 07:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n637e1wu083421; Fri, 3 Jul 2009 07:40:01 GMT (envelope-from gnats) Resent-Date: Fri, 3 Jul 2009 07:40:01 GMT Resent-Message-Id: <200907030740.n637e1wu083421@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tim Bishop Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04962106566C for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/136271: XEN kernel fails to build on 8-CURRENT i386 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 07:40:03 -0000 >Number: 136271 >Category: kern >Synopsis: XEN kernel fails to build on 8-CURRENT i386 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 03 07:40:01 UTC 2009 >Closed-Date: >Last-Modified: >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: >Unformatted: