mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjanv@redhat.com>
To: Terje Eggestad <terje.eggestad@scali.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Does exec-shield with -fpie  work?
Date: Tue, 15 Jun 2004 10:33:21 +0200	[thread overview]
Message-ID: <1087288401.2710.15.camel@laptop.fenrus.com> (raw)
In-Reply-To: <1087286723.3156.35.camel@pc-16.office.scali.no>

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]


> te pc-16 ~ 70> !gcc
> gcc -fPIE -fpic -o ./testsc ./testsc.c
> 

you need to pass -pie as option as well; -fpie for the compiler, -pie for the linker,
eg

gcc -fPIE -pie -o ./testsc ./testsc.c


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-06-15  8:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-15  8:05 Terje Eggestad
2004-06-15  8:33 ` Arjan van de Ven [this message]
2004-06-15  8:41   ` Terje Eggestad
2004-06-15  8:36 ` Jakub Jelinek

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=1087288401.2710.15.camel@laptop.fenrus.com \
    --to=arjanv@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=terje.eggestad@scali.com \
    /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

all inboxes | Powered by JetHome®