"ld: final link failed: Bad value" when cross-compiling mips kernel
David Daney
ddaney@avtrex.com
Mon Aug 18 21:45:00 GMT 2008
Yann E. MORIN wrote:
> Hello David!
> Hello All!
>
> On Monday 18 August 2008 20:44:31 David Wuertele wrote:
>> When cross-compiling linux-2.6.12, mipsel-linux-ld from binutils version
>> 2.17.50.0.12 complains "ld: final link failed: Bad value".
> [--SNIP--]
>
> Maybe the following applies:
> http://sourceware.org/ml/binutils/2007-03/msg00214.html
>
> It was reported in March 2007, about two month after your binutils were built:
>> GNU ld version 2.17.50.0.12 20070128
>
If that is hitting, you may be seeing the bug I fixed here:
http://sourceware.org/ml/binutils/2006-11/msg00059.html
...but your version appears to be from after that commit.
If neither of these suggestions help, I think you should upgrade to binutils 2.18 and if that is still failing, rebuild binutils with CFLAGS=-g and run ld in the debugger and find out which of the 'Bad values' is actually hitting.
David Daney
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list