This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]