Olivier SMEDTS wrote:
2009/5/2 Julian Elischer <jul...@elischer.org>:
The VIMAGE code is nearly all in the the kernel.

One is now able to make VIMAGE kernels (add options VIMAGE)
though they don't actually allow you to make multiple
vimages instances yet..

The VIMAGE option enables all the low level changes needed
throughout the kernel.

Here is a warning I have when building kernel with options VIMAGE and INET6 :

cc -c -O2 -pipe -march=native -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 -nostdinc  -I.  -I/work/src/sys
-I/work/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2
-mno-sse3 -mno-mmx -mno-3dnow  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-Werror  /work/src/sys/netinet6/mld6.c
cc1: warnings being treated as errors
/work/src/sys/netinet6/mld6.c: In function 'vnet_mld_idetach':
/work/src/sys/netinet6/mld6.c:3145: warning: unused variable 'vnet_inet6'
*** Error code 1

I assume you do not have INVARIANTS..

can you just put #ifdef INVARIANTS around that line and do the compile again?

freebsd-virtualization@freebsd.org mailing list
To unsubscribe, send any mail to 

Reply via email to