So everything in Rawhide must be compiled with -fPIC?

Jakub Jelinek jakub at redhat.com
Thu Feb 19 10:23:18 UTC 2015


On Thu, Feb 19, 2015 at 10:11:07AM +0000, Richard W.M. Jones wrote:
> 
> I'm still no closer to being able to fix the problem.
> 
> I have to add -fPIE (or is that -pie or -fpie or -DPIE) to every
> executable?  Upstream?  Will that break on some platforms/architectures?

It really should be just about using the %{optflags} and
%{__global_ldflags} consistently, unless somebody introduced recently a
redhat-rpm-config bug.

> And indeed what is the difference between -fPIE / -pie / -fpie /
> -fPIC / -fpic / -DPIC / etc?  Where is this stuff documented?

Have you tried something so obvious as man gcc ?

	Jakub


More information about the devel mailing list