[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: -fPIE and stuff

Kurt Roeckx <kurt@roeckx.be> writes:
> On Sun, Jan 29, 2012 at 11:06:27PM +0000, Sune Vuorela wrote:

>> One of my upstreams of a collection of shared libraries is about to
>> make a change that is going to require all executables built against
>> these shared libraries to be built with -fPIE (and libraries with
>> -fPIC).

> So my understanding is that you want to build libraries with -fPIE
> instead of -fPIC, and that that creates a different ABI?

No, I think only executables would be built PIE.  Libraries would continue
to be built PIC.  (I don't believe you *can* build shared libraries PIE.)

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: