From owner-freebsd-xen@FreeBSD.ORG Thu Jul 11 11:18:08 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7A57596 for ; Thu, 11 Jul 2013 11:18:08 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [46.33.159.39]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0A5122E for ; Thu, 11 Jul 2013 11:18:07 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.87,1043,1363132800"; d="scan'208";a="6578844" Received: from lonpex01cl02.citrite.net ([10.30.203.102]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/AES128-SHA; 11 Jul 2013 11:18:00 +0000 Received: from [192.168.1.30] (10.30.203.1) by LONPEX01CL02.citrite.net (10.30.203.102) with Microsoft SMTP Server id 14.2.342.4; Thu, 11 Jul 2013 12:17:59 +0100 Message-ID: <51DE9468.8090305@citrix.com> Date: Thu, 11 Jul 2013 13:18:00 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Jeroen van der Ham Subject: Re: KERNCONF=XENHVM FAILED to build References: <05769B25-9AC3-4CEF-95E5-E995E337C883@dckd.nl> In-Reply-To: <05769B25-9AC3-4CEF-95E5-E995E337C883@dckd.nl> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.30.203.1] Cc: freebsd-xen@freebsd.org, J X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jul 2013 11:18:08 -0000 On 11/07/13 13:11, Jeroen van der Ham wrote: > Hi, > > I've been trying to build kernel on FreeBSD 9.0 also, and it fails for me as well: > > clang -c -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/home/jeroen/freebsd/sys -I/usr/home/jeroen/freebsd/sys/contrib/altq -I/usr/home/jeroen/freebsd/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/home/jeroen/freebsd/sys/kern/vfs_mountroot.c > /usr/home/jeroen/freebsd/sys/kern/vfs_mountroot.c:270:2: error: expression result unused [-Werror,-Wunused-value] > VFS_ROOT(mporoot, LK_EXCLUSIVE, &vporoot); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/home/jeroen/freebsd/sys/sys/mount.h:668:2: note: expanded from: > _rc; }) > ^~~ > 1 error generated. > *** Error code 1 > > Stop in /usr/obj/usr/home/jeroen/freebsd/sys/GENERIC. > *** Error code 1 This doesn't seem to be related to the Xen support at all, and also you are building the GENERIC kernel, not XENHVM. I guess it would be better to move this thread to freebsd-current ML (if errors are not related to Xen code).