[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] unable to compile android-hikey-linaro-4.1
On 18/07/2016 19:23, Kamenee Arumugam wrote: Hi All, Hello, 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 Based on the description in the Kconfig (CC_STACKPROTECTOR_STRONG) is only supported by gcc version 4.9 or above, or a distribution gcc with the feature backported. 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 ? By either selecting a different stack protector mode or upgrading your compiler to at least gcc 4.9. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |