unexpected non-allocatable section

Sean MacLennan smaclennan at pikatech.com
Mon May 4 06:32:41 EST 2009


On Sun, 3 May 2009 22:07:01 +0200
"Sam Ravnborg" <sam at ravnborg.org> 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.

Cheers,
   Sean



More information about the Linuxppc-dev mailing list