PROBLEM: Build fails in 3.4.6

From: Alexandre Ferrando
Date: Sun Jul 22 2012 - 11:03:26 EST


Summary: Linux kernel 3.4.6 fails to build in some cases when
CONFIG_NO_HZ is set

Full description: Kernel build using configurations [ 0 ] (mine,
trying to build the zen kernel) and [ 1 ] (from someone using
slackware) fail to build with this error message when CONFIG_NO_HZ is
set:

kernel/built-in.o: In function `tick_nohz_stop_sched_tick.isra.9':
tick-sched.c:(.text+0x4a3e9): undefined reference to `calc_load_enter_idle'
kernel/built-in.o: In function `tick_nohz_idle_exit':
(.text+0x4a767): undefined reference to `calc_load_exit_idle'

Unsetting CONFIG_NO_HZ solves the issue.

However, CONFIG_NO_HZ seems not to be the root of the problem because
this configuration [ 2 ] of the zen kernel and Arch's stock kernel [ 3
] both build with CONFIG_NO_HZ set

[ 0 ] https://bugzilla.kernel.org/attachment.cgi?id=75791

[ 1 ] https://bugzilla.kernel.org/attachment.cgi?id=75781

[ 2 ] http://pkgbuild.com/~heftig/linux-zen/config.x86_64

[ 3 ] http://sprunge.us/RHWO

PS: It's my first time reporting an issue to this mailing list, so in
case the input is missing something, please tell me so I can give a
more accurate input.
--
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/