Date: Thu, 11 Jul 2013 13:18:00 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= <roger.pau@citrix.com> To: Jeroen van der Ham <jeroen@dckd.nl> Cc: freebsd-xen@freebsd.org, J <jesse@glx.me> Subject: Re: KERNCONF=XENHVM FAILED to build Message-ID: <51DE9468.8090305@citrix.com> In-Reply-To: <05769B25-9AC3-4CEF-95E5-E995E337C883@dckd.nl> References: <CAEMuk5-%2BQrfkBXcMZ1VOBRsgk1ZuJUVbUayhbB3dPPk4QE9GPg@mail.gmail.com> <05769B25-9AC3-4CEF-95E5-E995E337C883@dckd.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51DE9468.8090305>