From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] Trousers: disable pie option on ARC
Date: Wed, 24 Feb 2016 11:46:30 +0100 [thread overview]
Message-ID: <20160224114630.6acadfea@free-electrons.com> (raw)
In-Reply-To: <1453128253-17722-1-git-send-email-ltrimas@synopsys.com>
Dear Lada Trimasova,
On Mon, 18 Jan 2016 17:44:13 +0300, Lada Trimasova wrote:
> ARC gcc understands "-pie" option and attempts to generate PIE
> binaries as of today PIE is not really supported for user-space
> applications.
> So we provide option which checks if compiler understands relro
> and pie options and disable PIE detection if building for ARC.
> Also AUTORECONF option should be added because of modified
> configure.in and Makefile.am files.
>
> Signed-off-by: Lada Trimasova <ltrimas@synopsys.com>
> Cc: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: Peter Korsgaard <peter@korsgaard.com>
>
> ---
> Changes v1 -> v2:
> - Check if compiler understands PIE_CFLAGS and RELRO_LDFLAGS
> ---
> ...ompiler-understands-pie-and-relro-options.patch | 215 +++++++++++++++++++++
> package/trousers/trousers.mk | 9 +
> 2 files changed, 224 insertions(+)
> create mode 100644 package/trousers/0002-Check-if-the-compiler-understands-pie-and-relro-options.patch
Applied to master, thanks. I've just changed the commit title to use
lowercase package name, i.e "trousers" instead of "Trousers".
Can you submit your patch to the upstream trousers developers?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2016-02-24 10:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-18 14:44 [Buildroot] [PATCH v2] Trousers: disable pie option on ARC Lada Trimasova
2016-01-25 15:27 ` Lada Trimasova
2016-02-01 12:40 ` Lada Trimasova
2016-02-24 10:46 ` Thomas Petazzoni [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=20160224114630.6acadfea@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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