Re: Why not build kernel with -O3

From: Pengfei Yuan
Date: Tue Apr 07 2015 - 21:01:12 EST

Could you please provide some examples that I can investigate?

2015-04-08 2:05 GMT+08:00 Austin S Hemmelgarn <ahferroin7@xxxxxxxxx>:
> On 2015-04-07 06:09, Mike Galbraith wrote:
>> On Tue, 2015-04-07 at 15:56 +0800, Pengfei Yuan wrote:
>>> I am trying legacy GCC versions.
>>> But I am not able to try different architectures.
>> The point of my reply wasn't to get you to actually test the world ;-)
>> I was indirectly pointing out that "works for me" is not good enough
>> justification. Much checking for safety/benefit required.
> Safety especially, -O3 is known to cause perfectly standards-compliant
> code to break in weird ways in user-space.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at