Dear Sam, in message <20090503200701.ga32...@uranus.ravnborg.org> you wrote: > > > 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.
On a little endian target? I guess you mean LE build host, because the target (warp board = ppc44x) is definitely big endian? I ran the tests on a LE machine: Linux gemini.denx.de 2.6.27.15-170.2.24.fc10.i686 #1 SMP Wed Feb 11 23:58:12 EST 2009 i686 i686 i386 GNU/Linux > I will push the patch in a few minutes. > > For reference it is below: > > Sam > > From: Anders Kaseorg <ande...@mit.edu> > Subject: [PATCH] kbuild, modpost: fix unexpected non-allocatable section when > cross compiling > > The missing TO_NATIVE(sechdrs[i].sh_flags) was causing many > unexpected non-allocatable section warnings when cross-compiling > for an architecture with a different endianness. I'm confused. Why didn't I see this, then? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de People have one thing in common: they are all different. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev