lkml.org 
[lkml]   [2010]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 03/13] jump label v9: x86 support

* H. Peter Anvin <hpa@zytor.com> wrote:

> On 06/10/2010 05:14 AM, Ingo Molnar wrote:
> >
> > * Peter Zijlstra <peterz@infradead.org> wrote:
> >
> >> On Wed, 2010-06-09 at 17:39 -0400, Jason Baron wrote:
> >>> + select HAVE_ARCH_JUMP_LABEL if !CC_OPTIMIZE_FOR_SIZE
> >>
> >> That deserves a comment somewhere, it basically makes OPTIMIZE_FOR_SIZE
> >> useless...
> >
> > Hm, we need more than a comment for that - distros enable
> > CC_OPTIMIZE_FOR_SIZE all the time, for the massive kernel image (and
> > hotpath cache footprint) savings. Is this fixable?
>
> Actually the current reports from the gcc community is that gcc 4.5.0 + -Os
> produces a broken kernel even without asm goto:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44129

Well, most distros havent switched to gcc 4.5 yet (even rawhide is still on
4.4 + backports) and i guess the lack of testing shows. New GCC versions have
a long history of causing bugs in the kernel.

Thanks,

Ingo


\
 
 \ /
  Last update: 2010-06-11 10:01    [W:0.079 / U:4.604 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site