mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Borleis <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Matthias Klein <matthias.klein@optimeas.de>
Subject: Re: [ptxdist] arm-1136jfs-linux-gnueabihf-ld: warning: -z , relro ignored. at module compilation
Date: Tue, 28 Oct 2014 12:16:19 +0100	[thread overview]
Message-ID: <201410281216.19746.jbe@pengutronix.de> (raw)
In-Reply-To: <544F7751.60309@optimeas.de>

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.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2014-10-28 11:16 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 [this message]
2014-10-28 13:20   ` Matthias Klein

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=201410281216.19746.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=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