rpms/exim/devel exim.spec,1.47,1.48
Tom "spot" Callaway
tcallawa at redhat.com
Mon Feb 4 18:23:51 UTC 2008
On Mon, 2008-02-04 at 11:02 -0600, Jason L Tibbitts III wrote:
> >>>>> "DG" == Dennis Gilmore (ausil) <fedora-extras-commits at redhat.com> writes:
>
> DG> Log Message: sparc needs -fPIE not -fpie
>
> I recall asking someone about this at the last fudcon and I seem to
> recall hearing that some platforms require -fPIE and the other
> platforms don't care, so you can just use -fPIE everywhere. Is that
> really the case or am I merely confused?
-fpic (and -fpie) set a machine specific maximum size of the global
offset table. For SPARC, the limit is 8K, which is usually not enough.
-fPIC (and -fPIE) doesn't set a limit on the size of the global offset
table, which should work for all architectures/code.
There may be slight performance or binary size implications in using
-fPIC/fPIE, but I'll defer to Jakub (or someone more knowledgable than
me in the ways of gcc) to say whether that is the case or not.
~spot
More information about the fedora-devel-list
mailing list