KERNCONF=XENHVM FAILED to build

Jeroen van der Ham jeroen at dckd.nl
Thu Jul 11 11:11:38 UTC 2013


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

Stop in /usr/home/jeroen/freebsd.
*** Error code 1

Stop in /usr/home/jeroen/freebsd.


Jeroen.



More information about the freebsd-xen mailing list