Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756376AbZJ2F5S (ORCPT ); Thu, 29 Oct 2009 01:57:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756354AbZJ2F5S (ORCPT ); Thu, 29 Oct 2009 01:57:18 -0400 Received: from pfepa.post.tele.dk ([195.41.46.235]:49522 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756349AbZJ2F5R (ORCPT ); Thu, 29 Oct 2009 01:57:17 -0400 Date: Thu, 29 Oct 2009 06:57:21 +0100 From: Sam Ravnborg To: Bob Tracy Cc: linux-kernel@vger.kernel.org, debian-alpha@lists.debian.org Subject: Re: [BUG] 2.6.32-rc5 build failure on Alpha Message-ID: <20091029055721.GA20758@merkur.ravnborg.org> References: <20091029053947.GA9872@gherkin.frus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091029053947.GA9872@gherkin.frus.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1359 Lines: 34 On Thu, Oct 29, 2009 at 12:39:47AM -0500, Bob Tracy wrote: > On Wed, Oct 28, 2009 at 10:53:05PM -0500, Bob Tracy wrote: > > Mainline 2.6.32-rc5 kernel build failure. The last few lines of the kernel > > build output are: > > > > LD vmlinux.o > > MODPOST vmlinux.o > > WARNING: "saved_config" [vmlinux] is COMMON symbol > > GEN .version > > CHK include/linux/compile.h > > UPD include/linux/compile.h > > CC init/version.o > > LD init/built-in.o > > LD .tmp_vmlinux1 > > arch/alpha/kernel/vmlinux.lds:241: undefined symbol `THREAD_SIZE' referenced in expression > > make: *** [.tmp_vmlinux1] Error 1 > > > In arch/alpha/include/asm/thread_info.h, THREAD_SIZE is defined as > > (2*PAGE_SIZE). > > Ok. Found it. The THREAD_SIZE definition is inside a > "#ifndef __ASSEMBLY__" block, so it never gets referenced (because > "__ASSEMBLY__" is defined for the "vmlinux.lds" build). The obvious > suggested fix is to move the definition outside the block. A patch doing this has been posted some time ago. I think/hope it is in -mm if it is not yet in -linus. Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/