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

2012-08-07 Thread Tatulea, Dragos
On Wed, Aug 8, 2012 at 9:27 AM, Dragos Tatulea 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

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

2012-08-07 Thread Dragos Tatulea
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. Signed-o

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

2012-08-07 Thread Dragos Tatulea
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-I

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

2012-08-06 Thread H. Peter Anvin
On 08/06/2012 04:36 AM, dragos.tatu...@intel.com wrote: > From: Dragos Tatulea > > If gcc has a different default fpmath set (e.g. sse), > many unuseful warnings will be spewed when compiling on an > architecture that doesn't support it. > > An example would be Google's Android 4.1 x86 toochain

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

2012-08-06 Thread dragos . tatulea
From: Dragos Tatulea If gcc has a different default fpmath set (e.g. sse), many unuseful warnings will be spewed when compiling on an architecture that doesn't support it. An example would be Google's Android 4.1 x86 toochain which is compiled with -mfpmath=sse. This can affect out of tree modu