From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lada Trimasova Date: Mon, 1 Feb 2016 12:40:41 +0000 Subject: [Buildroot] [PATCH v2] Trousers: disable pie option on ARC In-Reply-To: <1453128253-17722-1-git-send-email-ltrimas@synopsys.com> References: <1453128253-17722-1-git-send-email-ltrimas@synopsys.com> Message-ID: <1454330441.2439.17.camel@synopsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 > Cc: Alexey Brodkin > Cc: Thomas Petazzoni > Cc: Peter Korsgaard > --- 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.