Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2013 13:11:35 +0200
From:      Jeroen van der Ham <jeroen@dckd.nl>
To:        J <jesse@glx.me>
Cc:        freebsd-xen@freebsd.org
Subject:   Re: KERNCONF=XENHVM FAILED to build
Message-ID:  <05769B25-9AC3-4CEF-95E5-E995E337C883@dckd.nl>
In-Reply-To: <CAEMuk5-%2BQrfkBXcMZ1VOBRsgk1ZuJUVbUayhbB3dPPk4QE9GPg@mail.gmail.com>
References:  <CAEMuk5-%2BQrfkBXcMZ1VOBRsgk1ZuJUVbUayhbB3dPPk4QE9GPg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05769B25-9AC3-4CEF-95E5-E995E337C883>