We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am trying to run Xen on Juno r0 board and while compiling the Xen code getting following error -
make xen XEN_ARCH_TARGET=arm64 debug=y CONFIG_EARLY_PRINTK=juno
make -C xen install
make[1]: Entering directory `/home/nishaj/Xen/xen/xen'
make -f Rules.mk _install
make[2]: Entering directory `/home/nishaj/Xen/xen/xen'
make -C tools
make[3]: Entering directory `/home/nishaj/Xen/xen/xen/tools'
make symbols
make[4]: Entering directory `/home/nishaj/Xen/xen/xen/tools'
make[4]: `symbols' is up to date.
make[4]: Leaving directory `/home/nishaj/Xen/xen/xen/tools'
make[3]: Leaving directory `/home/nishaj/Xen/xen/xen/tools'
make -f /home/nishaj/Xen/xen/xen/Rules.mk include/xen/compile.h
make[3]: Entering directory `/home/nishaj/Xen/xen/xen'
Xen 4.6-unstable
make[3]: Leaving directory `/home/nishaj/Xen/xen/xen'
[ -e include/asm ] || ln -sf asm-x86 include/asm
[ -e arch/x86/efi ] && for f in boot.c runtime.c compat.c efi.h;\
do ln -nsf ../../../common/efi/$f arch/x86/efi/; done;\
true
make -f /home/nishaj/Xen/xen/xen/Rules.mk -C include
make[3]: Entering directory `/home/nishaj/Xen/xen/xen/include'
mkdir -p compat
grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' public/callback.h | \
python /home/nishaj/Xen/xen/xen/tools/compat-build-source.py >compat/callback.c.new
mv -f compat/callback.c.new compat/callback.c
/home/nishaj/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc -E -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -I/home/nishaj/Xen/xen/xen/include -I/home/nishaj/Xen/xen/xen/include/asm-x86/mach-generic -I/home/nishaj/Xen/xen/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -mno-red-zone -mno-sse -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -nostdinc -fno-optimize-sibling-calls -DCONFIG_SHADOW_PAGING -DVERBOSE -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_MEM_ACCESS -DHAS_MEM_PAGING -DHAS_MEM_SHARING -DHAS_PCI -DHAS_IOPORTS -DHAS_PDX -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -fno-optimize-sibling-calls -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -include public/xen-compat.h -m32 -o compat/callback.i compat/callback.c
aarch64-linux-gnu-gcc: error: unrecognized command line option '-m64'
aarch64-linux-gnu-gcc: error: unrecognized command line option '-msoft-float'
aarch64-linux-gnu-gcc: error: unrecognized command line option '-mno-red-zone'
aarch64-linux-gnu-gcc: error: unrecognized command line option '-mno-sse'
aarch64-linux-gnu-gcc: error: unrecognized command line option '-m32'
make[3]: *** [compat/callback.i] Error 1
rm compat/callback.c
make[3]: Leaving directory `/home/nishaj/Xen/xen/xen/include'
make[2]: *** [/home/nishaj/Xen/xen/xen/xen] Error 2
make[2]: Leaving directory `/home/nishaj/Xen/xen/xen'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/nishaj/Xen/xen/xen'
make: *** [install-xen] Error 2
Please let me know how to resolve it ?
Thanks.