On Tue, Oct 01, 2013 at 02:41:14PM -0700, Sean Bruno wrote:

> Ok, so this email thread is on freebsd-current and I think you're trying
> to buld a XENHVM kernel for stable/9 ?  What happens if you use the
> provided XENHVM kernconf?

oops, sorry. I'll re-post in -stable if it's more appropiate there. As
you're here though, in answer to your query:

I re-did this on a different vanilla machine, and tried to build XENHVM. 
The GENERIC it sources is unmodified, as is the XENHVM. svn says this:

root@dev-0:/sys/amd64/compile/XENHVM # svn info /usr/src
Path: /usr/src
Working Copy Root Path: /usr/src
URL: https://svn0.eu.freebsd.org/base/releng/9.2
Relative URL: ^/releng/9.2
Repository Root: https://svn0.eu.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 255996
Node Kind: directory
Schedule: normal
Last Changed Author: gjb
Last Changed Rev: 255896
Last Changed Date: 2013-09-26 19:10:19 +0100 (Thu, 26 Sep 2013)

root@dev-0:/sys/amd64/compile/XENHVM # 

make errors like this:

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../../.. 
-I../../../contrib/altq -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  ../../../xen/evtchn/evtchn_dev.c
../../../xen/evtchn/evtchn_dev.c:321:2: error: use of GNU old-style field 
designator extension
      [-Werror,-Wgnu-designator]
        d_version:   D_VERSION,
        ^~~~~~~~~~
        .d_version = 
../../../xen/evtchn/evtchn_dev.c:322:2: error: use of GNU old-style field 
designator extension
      [-Werror,-Wgnu-designator]
        d_open:      evtchn_open,
        ^~~~~~~
        .d_open = 
../../../xen/evtchn/evtchn_dev.c:323:2: error: use of GNU old-style field 
designator extension
      [-Werror,-Wgnu-designator]
        d_close:     evtchn_close,
        ^~~~~~~~
        .d_close = 
../../../xen/evtchn/evtchn_dev.c:324:2: error: use of GNU old-style field 
designator extension
      [-Werror,-Wgnu-designator]
        d_read:      evtchn_read,
        ^~~~~~~
        .d_read = 
../../../xen/evtchn/evtchn_dev.c:325:2: error: use of GNU old-style field 
designator extension
      [-Werror,-Wgnu-designator]
        d_write:     evtchn_write,
        ^~~~~~~~
        .d_write = 
../../../xen/evtchn/evtchn_dev.c:326:2: error: use of GNU old-style field 
designator extension
      [-Werror,-Wgnu-designator]
        d_ioctl:     evtchn_ioctl,
        ^~~~~~~~
        .d_ioctl = 
../../../xen/evtchn/evtchn_dev.c:327:2: error: use of GNU old-style field 
designator extension
      [-Werror,-Wgnu-designator]
        d_poll:      evtchn_poll,
        ^~~~~~~
        .d_poll = 
../../../xen/evtchn/evtchn_dev.c:328:2: error: use of GNU old-style field 
designator extension
      [-Werror,-Wgnu-designator]
        d_name:      "evtchn",
        ^~~~~~~
        .d_name = 
../../../xen/evtchn/evtchn_dev.c:329:2: error: use of GNU old-style field 
designator extension
      [-Werror,-Wgnu-designator]
        d_flags:     0,
        ^~~~~~~~
        .d_flags = 
9 errors generated.
*** [evtchn_dev.o] Error code 1

Stop in /usr/src/sys/amd64/compile/XENHVM.
root@dev-0:/sys/amd64/compile/XENHVM # 

thanks for looking at this.
-- 
John


_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to