From: Wei Liu <wei.liu2@citrix.com>
To: Kamenee Arumugam <kamenee@seas.upenn.edu>
Cc: xen-devel@lists.xenproject.org, Wei Liu <wei.liu2@citrix.com>
Subject: Re: unable to compile android-hikey-linaro-4.1
Date: Tue, 19 Jul 2016 09:29:58 +0100 [thread overview]
Message-ID: <20160719082958.GG1815@citrix.com> (raw)
In-Reply-To: <CAJNzrL=2PMvrvo0JaigjG93B=psqdJ5f3xOKz4aH2AMJkw2d8w@mail.gmail.com>
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@lists.xen.org
> https://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-07-19 8:30 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 [this message]
2016-07-19 8:42 ` Julien Grall
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=20160719082958.GG1815@citrix.com \
--to=wei.liu2@citrix.com \
--cc=kamenee@seas.upenn.edu \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.