From: Matthias Klein <matthias.klein@optimeas.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] arm-1136jfs-linux-gnueabihf-ld: warning: -z , relro ignored. at module compilation
Date: Tue, 28 Oct 2014 14:20:43 +0100 [thread overview]
Message-ID: <544F982B.9090900@optimeas.de> (raw)
In-Reply-To: <201410281216.19746.jbe@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
prev parent reply other threads:[~2014-10-28 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 11:00 Matthias Klein
2014-10-28 11:16 ` Juergen Borleis
2014-10-28 13:20 ` Matthias Klein [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=544F982B.9090900@optimeas.de \
--to=matthias.klein@optimeas.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox