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). _______________________________________________ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xen To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"