lkml.org 
[lkml]   [2005]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] offer CC_OPTIMIZE_FOR_SIZE only if EXPERIMENTAL
On Wed, Dec 14, 2005 at 02:05:31PM -0800, Andrew Morton wrote:
> Adrian Bunk <bunk@stusta.de> 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 <bunk@stusta.de>

--- 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/

\
 
 \ /
  Last update: 2005-12-14 23:15    [W:0.731 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site