[ELDK] Binutils 2.17 an issue for 2.6.26 kernel?
frank.svendsboe at gmail.com
Fri Jul 18 09:55:41 CEST 2008
Here's some related information. I just tried to build .26 using ELDK 4.2
(gcc 4.2.2, binutils 18.104.22.168.12) and it fails. It successfully build
for an mpc8xx target, but it doesn't work. Late in the build stage, when running
strip and embedding the device tree blob into the cuImage, we get warnings
BFD: ./vmlinux.strip.12757: section .text lma 0xc0000000 overlaps previous
BFD: ./vmlinux.strip.12757: section .ref.text lma 0xc01b2000 overlaps previous
BFD: ./vmlinux.strip.12757: section .devinit.text lma 0xc01b28e4 overlaps
The same toolchain builds 2.6.25 without problems. I've build a new toolchain
using binutils 2.18 and gcc 4.1, that successfully builds .26, so it seems the
problem must be related to binutils.
What is the workaround segher is referring to, and why not just upgrade ELDK
with binutils 2.18?
On Thu, Jul 17, 2008 at 9:21 PM, Detlev Zundel <dzu at denx.de> wrote:
> Hi Steven,
>> I have been following a thread on the linuxppc-dev mailing list: [HOW]
>> binutils-2.17 breaks the 2.6.26 kernel.
>> I noticed that EKDL-4.2 uses a variant of binutils-2.17. I personally
>> have not had any problems with this (using kernel 22.214.171.124), but I am
>> now curious: Does ELDK already contain a patch for this issue, or
>> should I upgrade to binutils-2.18?
> ELDK does not yet contain a patch. Also I would wait just a little
> bit. This is from an IRC discussion today:
> <segher> a .26 kernel that is compiled with GCC < 4.2 _and_ binutils < 2.18
> doesn't work
> <segher> so we have a workaround that seems to work
> <segher> i'll send it later today, please put it in -next ASAP
> <segher> so we can send it to -stable for .1
> So let's see if we really need a binutils update.
> Indeed, the author firmly believes that the best serious work is also
> good fun. We needn't apologize if we enjoy doing research.
> -- Donald Knuth
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
> eldk mailing list
> eldk at lists.denx.de
More information about the eldk