mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Backlund <tmb@mageia.org>
To: Alexandre Ferrando <alferpal@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: Build fails in 3.4.6
Date: Sun, 22 Jul 2012 21:01:55 +0300	[thread overview]
Message-ID: <500C4013.2080101@mageia.org> (raw)
In-Reply-To: <CALELsEM07z6BckpSvEUrdJU5T3715uED=9g=K3OicnjRP=O6nw@mail.gmail.com>

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



  reply	other threads:[~2012-07-22 18:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-22 15:02 Alexandre Ferrando
2012-07-22 18:01 ` Thomas Backlund [this message]
2012-07-22 18:45   ` Alexandre Ferrando

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=500C4013.2080101@mageia.org \
    --to=tmb@mageia.org \
    --cc=alferpal@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome