From: Thomas Petazzoni Date: Mon, 10 Aug 2015 15:42:57 +0200 Subject: [Buildroot] [PATCH] tinc: disable PIE on ARC In-Reply-To: <1439213796-31805-1-git-send-email-abrodkin@synopsys.com> References: <1439213796-31805-1-git-send-email-abrodkin@synopsys.com> Message-ID: <20150810154257.0c0c53a3@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Alexey Brodkin, On Mon, 10 Aug 2015 16:36:36 +0300, Alexey Brodkin 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. > > So we disable PIE detection if building for ARC. > That fixes http://autobuild.buildroot.net/results/2b1/2b1aa474fc432f3f79b03c4577d68642bb7e0f9c > and also prevents execution of non-supported PIE binary in runtime. > > Signed-off-by: Alexey Brodkin > Cc: Thomas Petazzoni > --- > package/tinc/tinc.mk | 4 ++++ > 1 file changed, 4 insertions(+) Applied, thanks. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com