numatop: %{optflags} fail the 32bit build

Dan HorĂ¡k dan at danny.cz
Wed Sep 11 06:24:51 UTC 2013


On Wed, 11 Sep 2013 00:31:12 +0200
Dridi Boukelmoune <dridi.boukelmoune at gmail.com> wrote:

> Hi,
> 
> I have my first packaging issue on the numatop package[1].
> 
> During the review it appeared that I forgot the %{optflags}, and that
> adding them breaks the i686 build. The upstream dev is very patient
> and willing to help me, but I feel I have wasted enough of his time.
> 
> The guilty gcc flag seems to be:
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 [2]
> 
> I can (hopefully) easily reproduce the failure with just mock on my
> machine, but right now I can't figure out how to solve this. And the
> fact that I don't know/understand this flag at all doesn't help.
> 
> Does anyone know what could be the cause and how to solve this ?

the -spec option is used to set flags for gcc from a file, see
https://bugzilla.redhat.com/show_bug.cgi?id=991221#c15


		Dan


More information about the devel mailing list