From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from cl-420.ede-01.nl.sixxs.net ([2001:7b8:2ff:1a3::2] helo=fischmarkt.penguin.de) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Xj87V-0004zZ-7R for ptxdist@pengutronix.de; Tue, 28 Oct 2014 15:51:37 +0100 Received: from obi-wan.optimeas.de ([82.165.198.204]) by fischmarkt.penguin.de with esmtp (Exim 4.80) (envelope-from ) id 1Xj6hy-0002dL-Av for ptxdist@pengutronix.de; Tue, 28 Oct 2014 14:21:11 +0100 Received: from [192.168.1.129] (p57B97B8F.dip0.t-ipconnect.de [87.185.123.143]) by obi-wan.optimeas.de (Postfix) with ESMTPSA id E6B8F6854B70 for ; Tue, 28 Oct 2014 14:21:02 +0100 (CET) Message-ID: <544F982B.9090900@optimeas.de> Date: Tue, 28 Oct 2014 14:20:43 +0100 From: Matthias Klein MIME-Version: 1.0 References: <544F7751.60309@optimeas.de> <201410281216.19746.jbe@pengutronix.de> In-Reply-To: <201410281216.19746.jbe@pengutronix.de> Subject: Re: [ptxdist] arm-1136jfs-linux-gnueabihf-ld: warning: -z , relro ignored. at module compilation Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Am 28.10.2014 um 12:16 schrieb Juergen Borleis: > Hi Matthias, > > On Tuesday 28 October 2014 12:00:33 Matthias Klein wrote: >> can anyone give me a tip what the following warnings mean while >> compiling a kernel module:# >> >> [...] >> >> arm-1136jfs-linux-gnueabihf-ld: warning: -z ,now ignored. >> >> [...] > Did you add something to "ptxdist platform -> architecture -> extra toolchain > options"? > > Or did you enable the "hardening options" (like TARGET_HARDEN_RELRO for > example)? Then you should let PTXdist sort out these options for your kernel > module. They are important for userland only. Refer the "kernel.make" rule > file and the macro "*_WRAPPER_BLACKLIST". The same you need for your module > rule file. Thanks for the pointer! TARGET_HARDEN_FORTIFY, TARGET_HARDEN_RELRO and TARGET_HARDEN_BINDNOW was activated which I was not aware about. Best regards, Matthias -- ptxdist mailing list ptxdist@pengutronix.de