[Buildroot] [PATCH 1/2] Disabling trousers package for arc
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Jan 14 12:39:34 UTC 2016
Lada,
On Thu, 14 Jan 2016 14:55:55 +0300, Lada Trimasova wrote:
> Even though ARC gcc understands "-pie" option and attempts
> to generate PIE binaries as of today PIE is not really supported
> for user-space applications. Trousers configure scripts don't provide any
> options which can disable pie usage. So there is no easy way to prevent
> linking with -pie on ARC. The easiest solution is just to make
> the trousers package not available on ARC.
>
> Signed-off-by: Lada Trimasova <ltrimas at synopsys.com>
> Cc: Alexey Brodkin <abrodkin at synopsys.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Cc: Peter Korsgaard <peter at korsgaard.com>
Rather than doing this, what about adding an option to make the pie
usage optional? You can take some inspiration from
http://www.spinics.net/lists/linux-cifs/msg06418.html for example.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list