Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: conf/files.xen changes proposal



Jean-Yves Migeon wrote:
Le 27/06/2013 07:05, rudolf a écrit :
1) enable configuration of XEN_DOM0 kernel without "options CPU_UCODE"

Why 1)?

I wanted to use a (functionally) minimal XEN_DOM0 kernel, so I commented out the "options CPU_UCODE" line. The build failed with (the source is CVS: netbsd-6-1-RELEASE):

[..]
#   compile  XEN3_DOM0_LEN6_9/cpu_ucode_amd.o
/usr/B/tools/bin/x86_64--netbsd-gcc -mcmodel=kernel -mno-red-zone -ffreestanding -fno-zero-initialized-in-bss -g -O2 -fno-omit-frame-pointer -g -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -fno-strict-aliasing -std=gnu99 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -Wold-style-definition -Wno-sign-compare -march=core2 --sysroot=/usr/B/obj/destdir.amd64 -Damd64 -Dx86_64 -I. -I/usr/B/obj/sys/arch/amd64/compile/XEN3_DOM0_LEN6_9/xen-ma -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMSGBUFSIZE=24576 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/x86_64/string -I/usr/src/sys/dist/ipf -I/usr/src/sys/external/bsd/acpica/dist/include -c /usr/src/sys/arch/x86/x86/cpu_ucode_amd.c
cc1: warnings being treated as errors
In file included from /usr/src/sys/arch/x86/x86/cpu_ucode_amd.c:46:0:
./x86/cpu_ucode.h:40:32: error: 'struct cpu_ucode_softc' declared inside parameter list ./x86/cpu_ucode.h:40:32: error: its scope is only this definition or declaration, which is probably not what you want

r.



Home | Main Index | Thread Index | Old Index