Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753509AbbFRGzu (ORCPT ); Thu, 18 Jun 2015 02:55:50 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:56478 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752435AbbFRGzo (ORCPT ); Thu, 18 Jun 2015 02:55:44 -0400 Message-ID: <55826966.6050202@synopsys.com> Date: Thu, 18 Jun 2015 12:17:02 +0530 From: Vineet Gupta User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Geert Uytterhoeven , Michal Marek CC: "linux-arch@vger.kernel.org" , lkml Subject: subtle side effect of commit a1c48bb160f836 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.12.197.3] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 826 Lines: 20 Hi Geert, commit a1c48bb160f8368 "Makefile: Fix unrecognized cross-compiler command line options" moved ARCH specific cc option handling before common -Os/O2 setup. For ARC this had a subtle effect that we can no longer over-ride generic -O2 with -O3, hence a performance regression observed going from 3.13 to 3.18 (the above commit went into 3.16) I want to understand how to properly fix this. Moving the include of arch makefile will bring back the old issue. I can introduce another option to set default optim level, but only arc/m32r care about it anyways. Thx, -Vineet -- 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/