[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] unable to compile android-hikey-linaro-4.1
On Mon, Jul 18, 2016 at 02:23:54PM -0400, Kamenee Arumugam wrote: > 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 [...]j > aarch64-linux-gnu-gcc: error: unrecognized command line option > ‘-fstack-protector-strong’ [...] > aarch64-linux-gnu-gcc: error: unrecognized command line option > ‘-fstack-protector-strong’ [...] > I am using gcc version 4.8 here. Does any one know how to solve this or > should I use specific linux repo ? > The issue is clear: your compiler doesn't support that option. The example config file [0] on the wiki page has CONFIG_HAVE_CC_STACKPROTECTOR=y # CONFIG_CC_STACKPROTECTOR is not set CONFIG_CC_STACKPROTECTOR_NONE=y # CONFIG_CC_STACKPROTECTOR_REGULAR is not set # CONFIG_CC_STACKPROTECTOR_STRONG is not set so I guess you should give that a try. Wei. [0] http://xenbits.xen.org/people/sstabellini/config-hikey > Thanks, > Kamenee > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxx > https://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |