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

Stephen Rothwell
2008-12-17T07:31:25Z

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

Hi Kamalesh,

On Wed, 17 Dec 2008 12:38:58 +0530 Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> 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@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]