Re: PROBLEM: Build fails in 3.4.6
From: Alexandre Ferrando
Date: Sun Jul 22 2012 - 14:45:34 EST
On 22 July 2012 20:01, Thomas Backlund <tmb@xxxxxxxxxx> wrote:
> 22.07.2012 18:02, Alexandre Ferrando skrev:
>> 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
>> 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
> This fallout comes from the BFS scheduler patch in zen kernel that is
> not updated/adapted for the:
> that went into 3.4.6
Thank you for pointing out the root of the issue.
I apologize for bringing in an issue related to code not included into
the mainstream kernel.
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/