[Buildroot] [PATCH v2] Trousers: disable pie option on ARC

Lada Trimasova Lada.Trimasova at synopsys.com
Mon Feb 1 12:40:41 UTC 2016


Hi Thomas,

On Mon, 2016-01-18 at 17:44 +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 at synopsys.com<mailto:ltrimas at synopsys.com>>
Cc: Alexey Brodkin <abrodkin at synopsys.com<mailto:abrodkin at synopsys.com>>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com<mailto:thomas.petazzoni at free-electrons.com>>
Cc: Peter Korsgaard <peter at korsgaard.com<mailto:peter at korsgaard.com>>

---
Changes v1 -> v2:
 - Check if compiler understands PIE_CFLAGS and RELRO_LDFLAGS
---



Please treat this as a polite reminder to review this patch sometime soon.

Regards,
Lada.


More information about the buildroot mailing list