From: Julien Grall <julien.grall@arm.com>
To: Kamenee Arumugam <kamenee@seas.upenn.edu>,
xen-devel@lists.xenproject.org,
Stefano Stabellini <sstabellini@kernel.org>
Subject: Re: unable to compile android-hikey-linaro-4.1
Date: Tue, 19 Jul 2016 09:42:31 +0100 [thread overview]
Message-ID: <fe6a45f6-b4db-09bf-5e7e-610c0aea1361@arm.com> (raw)
In-Reply-To: <CAJNzrL=2PMvrvo0JaigjG93B=psqdJ5f3xOKz4aH2AMJkw2d8w@mail.gmail.com>
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@lists.xen.org
https://lists.xen.org/xen-devel
prev parent reply other threads:[~2016-07-19 8:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-18 18:23 unable to compile android-hikey-linaro-4.1 Kamenee Arumugam
2016-07-19 8:29 ` Wei Liu
2016-07-19 8:42 ` Julien Grall [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fe6a45f6-b4db-09bf-5e7e-610c0aea1361@arm.com \
--to=julien.grall@arm.com \
--cc=kamenee@seas.upenn.edu \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).