From owner-freebsd-xen@FreeBSD.ORG Thu Jul 11 11:11:38 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 95FE2F60 for ; Thu, 11 Jul 2013 11:11:38 +0000 (UTC) (envelope-from jeroen@dckd.nl) Received: from positron.dckd.nl (positron.dckd.nl [IPv6:2a02:898:62:f6::63]) by mx1.freebsd.org (Postfix) with ESMTP id 5FC3F11D9 for ; Thu, 11 Jul 2013 11:11:38 +0000 (UTC) Received: from nb-vdham.science.uva.nl (nb-vdham.science.uva.nl [146.50.52.179]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by positron.dckd.nl (Postfix) with ESMTPSA id F38E5F800F; Thu, 11 Jul 2013 13:11:35 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: KERNCONF=XENHVM FAILED to build From: Jeroen van der Ham In-Reply-To: Date: Thu, 11 Jul 2013 13:11:35 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <05769B25-9AC3-4CEF-95E5-E995E337C883@dckd.nl> References: To: J X-Mailer: Apple Mail (2.1508) Cc: freebsd-xen@freebsd.org 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:11:38 -0000 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=3Dc99 -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=3Dkernel = -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 Stop in /usr/home/jeroen/freebsd. *** Error code 1 Stop in /usr/home/jeroen/freebsd. Jeroen.