This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Compiling wiht -fPIE
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 21 Jan 2009 21:16:18 +0100
- Subject: Re: Compiling wiht -fPIE
Hi Roland,
On Wed, 2009-01-21 at 12:08 -0800, Roland McGrath wrote:
> -fPIE should give you less chance of TEXTREL, not more. I guess maybe this
> is that you somehow override the normal -fpic used for the libraries.
> Don't do that. If you need some help figuring out how the badness is
> coming about, I can help if you show the details.
Yes please.
I am building elfutils with just:
./configure CFLAGS=-fPIE && make
systemtap uses something a bit more involved, but the above triggers the
TEXTREL check for me on i386.
Thanks,
Mark