Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2009 07:38:16 GMT
From:      Tim Bishop <tim@bishnet.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/136271: XEN kernel fails to build on 8-CURRENT i386
Message-ID:  <200907030738.n637cGIA062928@www.freebsd.org>
Resent-Message-ID: <200907030740.n637e1wu083421@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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