Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965013AbVLNWNF (ORCPT ); Wed, 14 Dec 2005 17:13:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965017AbVLNWNF (ORCPT ); Wed, 14 Dec 2005 17:13:05 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:9231 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S965013AbVLNWNE (ORCPT ); Wed, 14 Dec 2005 17:13:04 -0500 Date: Wed, 14 Dec 2005 23:13:04 +0100 From: Adrian Bunk To: Andrew Morton Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org Subject: [2.6 patch] offer CC_OPTIMIZE_FOR_SIZE only if EXPERIMENTAL Message-ID: <20051214221304.GE23349@stusta.de> References: <20051214191006.GC23349@stusta.de> <20051214140531.7614152d.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051214140531.7614152d.akpm@osdl.org> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1489 Lines: 50 On Wed, Dec 14, 2005 at 02:05:31PM -0800, Andrew Morton wrote: > Adrian Bunk wrote: > > > > Hi Linus, > > > > your patch to allow CC_OPTIMIZE_FOR_SIZE even for EMBEDDED=n has broken > > the EMBEDDED menu. > > It looks like that patch needs to be reverted or altered anyway. sparc64 > machines are failing all over the place, possibly due to newly-exposed > compiler bugs. > > Whether it's the compiler or it's genuine kernel bugs, the same problems > are likely to bite other architectures. The help text already contains a bold warning. What about marking it as EXPERIMENTAL? That is not that heavy as EMBEDDED but expresses this. cu Adrian <-- snip --> CC_OPTIMIZE_FOR_SIZE is still an experimental feature that doesn't work with all supported gcc/architecture combinations. Signed-off-by: Adrian Bunk --- linux-git/init/Kconfig.old 2005-12-14 23:08:51.000000000 +0100 +++ linux-git/init/Kconfig 2005-12-14 23:09:09.000000000 +0100 @@ -257,7 +257,7 @@ source "usr/Kconfig" config CC_OPTIMIZE_FOR_SIZE - bool "Optimize for size" + bool "Optimize for size (EXPERIMENTAL)" if EXPERIMENTAL default y if ARM || H8300 help Enabling this option will pass "-Os" instead of "-O2" to gcc - 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/