Rawhide LDFLAGS (-pie)

Steve Grubb sgrubb at redhat.com
Wed Jan 29 03:35:02 UTC 2014


On Tue, 28 Jan 2014 12:44:42 -0500
Nathaniel McCallum <npmccallum at redhat.com> wrote:

> FreeIPA is experiencing build-failure in Koji Rawhide.
> 
> http://koji.fedoraproject.org/koji/packageinfo?packageID=11554
> 
> This is due to -pie being present in the LDFLAGS on rawhide. This in
> turn requires that all code be compiled with -fPIC, which is not
> normally required for simple executables. Nor is -fPIC being added to
> the list of CFLAGS by Koji.
> 
> Where does this bug lie, and who needs to fix it? I could add -fPIC to
> FreeIPA, but this doesn't seem correct.

This sounds like a problem in the build root. PIE should be passed
explicitly on a case by case basis. A lot of times you have to
specially fix the Make files to pass the correct flags. -fpic for some
and -pie for others. I don't know why or how its doing this but it
sounds wrong.

-Steve


More information about the devel mailing list