Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932069AbVLQVUP (ORCPT ); Sat, 17 Dec 2005 16:20:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932600AbVLQVUP (ORCPT ); Sat, 17 Dec 2005 16:20:15 -0500 Received: from relais.videotron.ca ([24.201.245.36]:12457 "EHLO relais.videotron.ca") by vger.kernel.org with ESMTP id S932069AbVLQVUN (ORCPT ); Sat, 17 Dec 2005 16:20:13 -0500 Date: Sat, 17 Dec 2005 16:20:12 -0500 (EST) From: Nicolas Pitre Subject: Re: [2.6 patch] fix the EMBEDDED menu In-reply-to: <20051214221702.GH7124@flint.arm.linux.org.uk> X-X-Sender: nico@localhost.localdomain To: Russell King Cc: Andrew Morton , Adrian Bunk , torvalds@osdl.org, lkml Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20051214191006.GC23349@stusta.de> <20051214140531.7614152d.akpm@osdl.org> <20051214221702.GH7124@flint.arm.linux.org.uk> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 979 Lines: 22 On Wed, 14 Dec 2005, Russell King wrote: > I believe there are instances where ARM fails if CC_OPTIMIZE_FOR_SIZE > is not set. Luckily we have assertions in the generated assembly to > flag these as assembly errors when they happen, rather than silently > continuing to build. Actually that gcc problem was unrelated to -Os vs -O2. I was able to produce a test case that triggered the bug even with -Os at the time. It is true that, for the kernel, using -Os made the gcc bug more unlikely, but it could have happened regardless. This particular gcc bug was fixed quite a while ago so using either -O2 and -Os on ARM should be fine (especially since we fail the compilation if a bad compiler triggers the bug). Nicolas - 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/