So everything in Rawhide must be compiled with -fPIC?

Jakub Jelinek jakub at redhat.com
Thu Feb 19 17:05:12 UTC 2015


On Thu, Feb 19, 2015 at 06:00:41PM +0100, Till Maas wrote:
> On Thu, Feb 19, 2015 at 10:42:02AM +0100, Jakub Jelinek wrote:
> > On Thu, Feb 19, 2015 at 09:37:16AM +0000, Richard W.M. Jones wrote:
> > > The thing is, I'm not adding -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
> > > explicitly in the real program.  It's being added to everything by
> > > something in RPM.  I'm not exactly sure what, maybe %{configure}?
> > > 
> > > So I don't know how to control this behaviour in a real autotools-using
> > > program.
> > 
> > I admit I haven't looked at rawhide redhat-rpm-config, perhaps somebody
> > broke something, but usually there is:
> > %_hardening_cflags      -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
> > # we don't escape symbols '~', '"', etc. so be careful when changing this
> > %_hardening_ldflags     -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
> > 
> > #_hardened_build        0
> 
> I plan to change this to 1 now in Rawhide for the upcoming Fedora 23
> feature:
> https://bugzilla.redhat.com/show_bug.cgi?id=1192183
> 
> Since I did not get any feedback from the redhat-rpm-config maintainers
> on the bug, do you want to comment on the change?

I'm opposed to that change and have said that multiple times, but if FESCO
ruled on this already, I guess I have to give up.

	Jakub


More information about the devel mailing list