Hello,
I am trying kernel build, but stop at
My kernel is of FreeBSD9.0-Release-amd64 with all of source and without any modification, but its on Virtual Box4.1 for Mac.
Would someone help me?
I am trying kernel build, but stop at
Code:
cc -c -x assembler-with-cpp -DLOCORE -O2 -frename-registers -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 -nostdinc -I. -I/usr/src/sys -I/usr/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 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/src/sys/amd64/amd64/cpu_switch.S
/usr/src/sys/amd64/amd64/cpu_switch.S: Assembler messages:
/usr/src/sys/amd64/amd64/cpu_switch.S:128: Error: no such instruction: `xsave (%r8)'
/usr/src/sys/amd64/amd64/cpu_switch.S:504: Error: no such instruction: `xsetbv'
/usr/src/sys/amd64/amd64/cpu_switch.S:505: Error: no such instruction: `xrstor (%rbx)'
*** Error code 1
Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1
Stop in /usr/src.
*** Error code 1
My kernel is of FreeBSD9.0-Release-amd64 with all of source and without any modification, but its on Virtual Box4.1 for Mac.
Would someone help me?