From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by ozlabs.org (Postfix) with ESMTP id B5B2BDDED7 for ; Mon, 4 May 2009 06:49:38 +1000 (EST) Date: Sun, 3 May 2009 22:51:38 +0200 From: Sam Ravnborg To: Sean MacLennan Subject: Re: unexpected non-allocatable section Message-ID: <20090503205138.GB1506@uranus.ravnborg.org> References: <20090502224126.641c63bf@lappy.seanm.ca> <20090503204546.691ec6e7.sfr@canb.auug.org.au> <20090503123959.0cc5c967@lappy.seanm.ca> <20090503193316.E72BC83420E8@gemini.denx.de> <20090503200701.GA32601@uranus.ravnborg.org> <20090503163241.50bfcae4@lappy.seanm.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20090503163241.50bfcae4@lappy.seanm.ca> Cc: Stephen Rothwell , Wolfgang Denk , linuxppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, May 03, 2009 at 04:32:41PM -0400, Sean MacLennan wrote: > On Sun, 3 May 2009 22:07:01 +0200 > "Sam Ravnborg" wrote: > > > On Sun, May 03, 2009 at 09:33:16PM +0200, Wolfgang Denk wrote: > > > > Which exact commands did you use to build the kenrel, and how did > > > you set (and export?) the CROSS_COMPILE environment variable? > > export CROSS_COMPILE=ppc_4xxFP- > export ARCH=powerpc > > The toolchain is in my path > > > > The thing is, that I cannot reproduce this - I tested it with > > > v2.6.30-rc4, both with ELDK 4.1 (as you) and ELDK 4.2. > > > > > > Both build the kernel image without any such warnings. > > > > Anders already found the cause of this - it > > was a missing endian conversion. > > So you need to run this on a little endian target to > > see it. And you need to do a full kernel build > > so we run modpsot on vmlinux. > > > > I will push the patch in a few minutes. > > That patch gets rid of the warnings. Thanks for the quick testing. I will add a "Tested-by: if I rebase the tree. Sam