Hi All,

I am referring to this wiki page (http://wiki.xen.org/wiki/HiKey) to setup
xen in hikey. I am currently facing problem in building linux (
android-hikey-linaro-4.1
<https://github.com/96boards/linux/tree/android-hikey-linaro-4.1> ),but I
am getting compile error as below:


kamenee@kamenee-Lenovo-Z51-70:~/hikey-build/linux$ make ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- -j4
Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG:
-fstack-protector-strong not supported by compiler
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/bin2c
  CHK     include/generated/utsrelease.h
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/genksyms/genksyms.o
  CC      kernel/bounds.s
aarch64-linux-gnu-gcc: error: unrecognized command line option
‘-fstack-protector-strong’
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
make: *** Waiting for unfinished jobs....
  CC      scripts/mod/empty.o
aarch64-linux-gnu-gcc: error: unrecognized command line option
‘-fstack-protector-strong’
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
  HOSTCC  scripts/genksyms/parse.tab.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/genksyms/lex.lex.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTLD  scripts/genksyms/genksyms
  HOSTCC  scripts/dtc/util.o
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/dtc/dtc
make: *** [scripts] Error 2


I am using gcc version 4.8 here. Does any one know how to solve this or
should I use specific linux repo ?

Thanks,
Kamenee
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to