From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Borleis Date: Tue, 28 Oct 2014 12:16:19 +0100 References: <544F7751.60309@optimeas.de> In-Reply-To: <544F7751.60309@optimeas.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <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-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Matthias Klein 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 toolcha= in = 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 kerne= l = 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. Regards, Juergen -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Borleis =A0 =A0 =A0 =A0 =A0 =A0 | Industrial Linux Solutions =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de