Re: [PATCH] x86: set fpmath to 387 to avoid gcc warnings

From: Tatulea, Dragos
Date: Wed Aug 08 2012 - 02:27:25 EST


On Wed, Aug 8, 2012 at 9:27 AM, Dragos Tatulea <dragos.tatulea@xxxxxxxxx> wrote:
> If gcc has a different default fpmath set (ex: sse),
> many unuseful warnings will be spewed.
>
> This can affect out of tree modules that compile with
> -Werror (ex: systemtap stp scripts).
>
> Be paranoid and add -msoft-float as well to try to
> get an error if FP instructions are generated at all.
>
> Change-Id: If9271d7aea7371f394ede0bc5e3ed1383cdb0e1a
Ooops, leaked some trash. Patch re-sent.

Thanks,
Dragos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/