Re: next-20081216 - powerpc link error 'dynreloc miscount'

From: Stephen Rothwell
Date: Wed Dec 17 2008 - 02:31:24 EST


Hi Kamalesh,

On Wed, 17 Dec 2008 12:38:58 +0530 Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx> wrote:
>
> next-20081216 build breaks on powerpc
>
> ld: dynreloc miscount for kernel/built-in.o, section .opd
> ld: can not edit opd Bad value
> make: *** [vmlinux.o] Error 1
>
> # ld --version
> GNU ld version 2.16.1 Debian GNU/Linux
>
> # gcc --version
> gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

Yeah, I have seen this as well. A later toolchain (gcc 4.3.2, binutils
2.19) works ok. Also it is only a problem for some configs (see
http://kisskb.ellerman.id.au/kisskb/branch/9/). It started with
next-20081215.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature