"ld: final link failed: Bad value" when cross-compiling mips kernel
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
>> 220.127.116.11.12 complains "ld: final link failed: Bad value".
> Maybe the following applies:
> It was reported in March 2007, about two month after your binutils were built:
>> GNU ld version 18.104.22.168.12 20070128
If that is hitting, you may be seeing the bug I fixed here:
...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.
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc