Re: 2.6.27-rc5-mm1 compilation fix with gcc 3.4.6

From: Ingo Molnar
Date: Sat Sep 06 2008 - 09:17:54 EST



* Krzysztof Helt <krzysztof.h1@xxxxxxxxx> wrote:

> Hi Andrew,
>
> I found that 2.6.27-rc5-mm1 does not compile with gcc 3.4.6.
> The error is:
> CC kernel/sched.o
> kernel/sched.c: In function `start_rt_bandwidth':
> kernel/sched.c:208: sorry, unimplemented: inlining failed in call to 'rt_bandwidth_enabled': function body not available
> kernel/sched.c:214: sorry, unimplemented: called from here
> make[1]: *** [kernel/sched.o] Error 1
> make: *** [kernel] Error 2
>
> It seems that the gcc 3.4.6 requires full inline definition before
> first usage. The patch below fixes the compilation problem.

applied to tip/sched/rt, thanks Krzysztof!

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/