Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753385AbbDHBBA (ORCPT ); Tue, 7 Apr 2015 21:01:00 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:33473 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752128AbbDHBA7 (ORCPT ); Tue, 7 Apr 2015 21:00:59 -0400 MIME-Version: 1.0 In-Reply-To: <55241C51.8040107@gmail.com> References: <1428388995.3152.10.camel@gmail.com> <1428401356.3152.38.camel@gmail.com> <55241C51.8040107@gmail.com> From: Pengfei Yuan <0xcoolypf@gmail.com> Date: Wed, 8 Apr 2015 09:00:37 +0800 Message-ID: Subject: Re: Why not build kernel with -O3 To: Austin S Hemmelgarn Cc: Mike Galbraith , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 920 Lines: 23 Could you please provide some examples that I can investigate? Thanks! 2015-04-08 2:05 GMT+08:00 Austin S Hemmelgarn : > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/