linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PROBLEM: Build fails in 3.4.6
@ 2012-07-22 15:02 Alexandre Ferrando
  2012-07-22 18:01 ` Thomas Backlund
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Ferrando @ 2012-07-22 15:02 UTC (permalink / raw)
  To: linux-kernel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PROBLEM: Build fails in 3.4.6
  2012-07-22 15:02 PROBLEM: Build fails in 3.4.6 Alexandre Ferrando
@ 2012-07-22 18:01 ` Thomas Backlund
  2012-07-22 18:45   ` Alexandre Ferrando
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Backlund @ 2012-07-22 18:01 UTC (permalink / raw)
  To: Alexandre Ferrando; +Cc: linux-kernel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PROBLEM: Build fails in 3.4.6
  2012-07-22 18:01 ` Thomas Backlund
@ 2012-07-22 18:45   ` Alexandre Ferrando
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Ferrando @ 2012-07-22 18:45 UTC (permalink / raw)
  To: Thomas Backlund; +Cc: linux-kernel

On 22 July 2012 20:01, Thomas Backlund <tmb@mageia.org> 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
>> 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
>
>

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-22 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-22 15:02 PROBLEM: Build fails in 3.4.6 Alexandre Ferrando
2012-07-22 18:01 ` Thomas Backlund
2012-07-22 18:45   ` Alexandre Ferrando

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).