No PAE in XEN kernel causes build failure

Linda Messerschmidt linda.messerschmidt at gmail.com
Tue Oct 19 19:13:40 UTC 2010


On Tue, Oct 19, 2010 at 2:51 PM, Linda Messerschmidt
<linda.messerschmidt at gmail.com> wrote:
> With 8.1-STABLE r214066, building the above kernel succeeds.  However,
> uncommenting the "nooptions PAE" gets the following errors:

Just to be thorough I tried again on -CURRENT and got a slightly
different set of errors:

cc -c -O -pipe  -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/data/freebsd-current/src/sys
-I/data/freebsd-current/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  -mno-align-long-strings
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -ffreestanding -fstack-protector -Werror
/data/freebsd-current/src/sys/i386/xen/xen_machdep.c
/data/freebsd-current/src/sys/i386/xen/xen_machdep.c: In function 'initvalues':
/data/freebsd-current/src/sys/i386/xen/xen_machdep.c:1032: error:
'IdlePTDnew' undeclared (first use in this function)
/data/freebsd-current/src/sys/i386/xen/xen_machdep.c:1032: error:
(Each undeclared identifier is reported only once
/data/freebsd-current/src/sys/i386/xen/xen_machdep.c:1032: error: for
each function it appears in.)
/data/freebsd-current/src/sys/i386/xen/xen_machdep.c:1037: error:
'IdlePTDnewma' undeclared (first use in this function)
/data/freebsd-current/src/sys/i386/xen/xen_machdep.c:1040: error:
'IdlePDPTnew' undeclared (first use in this function)
/data/freebsd-current/src/sys/i386/xen/xen_machdep.c:1079: error:
'IdlePDPT' undeclared (first use in this function)
/data/freebsd-current/src/sys/i386/xen/xen_machdep.c:1080: error:
'IdlePDPTma' undeclared (first use in this function)
/data/freebsd-current/src/sys/i386/xen/xen_machdep.c:1080: error:
'IdlePDPTnewma' undeclared (first use in this function)
cc1: warnings being treated as errors
/data/freebsd-current/src/sys/i386/xen/xen_machdep.c:890: warning:
unused variable 'IdlePTDma'
*** Error code 1

Thanks!


More information about the freebsd-xen mailing list