lkml.org 
[lkml]   [2012]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PROBLEM: Build fails in 3.4.6
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
> 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

This fallout comes from the BFS scheduler patch in zen kernel that is
not updated/adapted for the:

sched-nohz-rewrite-and-fix-load-avg-computation-again.patch

that went into 3.4.6


--
Thomas




\
 
 \ /
  Last update: 2012-07-22 20:41    [from the cache]
©2003-2011 Jasper Spaans