From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752300Ab2GVSJF (ORCPT ); Sun, 22 Jul 2012 14:09:05 -0400 Received: from smtp.multi.fi ([85.134.37.151]:43744 "EHLO smtp.multi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752219Ab2GVSJE (ORCPT ); Sun, 22 Jul 2012 14:09:04 -0400 X-Greylist: delayed 422 seconds by postgrey-1.27 at vger.kernel.org; Sun, 22 Jul 2012 14:09:04 EDT Message-ID: <500C4013.2080101@mageia.org> Date: Sun, 22 Jul 2012 21:01:55 +0300 From: Thomas Backlund User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120718 Thunderbird/14.0 MIME-Version: 1.0 To: Alexandre Ferrando CC: linux-kernel@vger.kernel.org Subject: Re: PROBLEM: Build fails in 3.4.6 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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