On Sunday 23 October 2011 13:34:20 Duncan wrote:
> Interestingly enough, unless I've misunderstood, this issue would be
> affected by the recent security-based -fPIC/-fPIE on amd64 by default
> discussion as well, since if everything (including static libs) were
> built with at least -fPIC as required for dynamic linking, then a single
> build, linked once each for static and dynamic, as common on x86 (32-bit)
> would be at least arguably acceptable.  (IOW, my point here isn't to
> argue whether that'd be acceptable or not, but rather, that the forced
> double-build factor on amd64 is much more an issue than simple double-
> linking would be.)

it would be impacted, but not in the way you think.  static libs we'd compile 
with -fPIE while dynamic libs we'd compile with -fPIC.  these flags share a 
lot, but they aren't exactly the same.  -fPIE allows a few assumptions over -
fPIC which, for some code bases, improves performance.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to