"do section mismatch check on full vmlinux" breaks powerpc build

Nathan Lynch ntl at pobox.com
Wed Jul 25 08:41:05 EST 2007


2.6.23-rc1 breaks the build for 64-bit powerpc for me (using

  LD      vmlinux.o
powerpc64-unknown-linux-gnu-ld: dynreloc miscount for
kernel/built-in.o, section .opd
powerpc64-unknown-linux-gnu-ld: can not edit opd Bad value
make: *** [vmlinux.o] Error 1

This is on a i386 host with:
powerpc64-unknown-linux-gnu-gcc (GCC) 4.1.2
GNU ld version 2.16.1

Reverting the following commit fixes it:

commit 741f98fe298a73c9d47ed53703c1279a29718581
Author: Sam Ravnborg <sam at ravnborg.org>
Date:   Tue Jul 17 10:54:06 2007 +0200

    kbuild: do section mismatch check on full vmlinux

However, I see a possibly related binutils patch:

Will there be a kbuild fix for this or should I update my binutils?

More information about the Linuxppc-dev mailing list