Re: [PATCH 2/2] jump label: disable due to compiler bug

From: Ingo Molnar
Date: Fri Oct 29 2010 - 08:23:14 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Fri, 2010-10-29 at 08:34 +0200, Ingo Molnar wrote:
> > * Jason Baron <jbaron@xxxxxxxxxx> wrote:
> >
> > > Thus, I'm going to propose a patch, which makes jump label conditional on x86_64
> > > for now [...]
> >
> > No, we dont do 64-bit only features really.
> >
> > > [...] (adding -maccumulate-outgoing-args to x86 increases the text size, so I'm
> > > not proposing adding the flag there).
> >
> > Please make jump labels configurable instead. (dependent on EMBEDDED)
>
> Do you mean to have it dependent on !EMBEDDED, or perhaps !CC_OPTIMIZE_FOR_SIZE ?

CC_OPTIMIZE_FOR_SIZE dependency probably not. Might even leave out !EMBEDDED, to
make it generally configurable.

Also, we should make it default off - we need to see whether there are any compiler
bugs lurking.

> I can see people making a big stink about adding back a gcc option that makes the
> kernel bigger.

Depends on exactly how much .text we are talking about here. Plus it would be
default-off.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/