This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "ld: final link failed: Bad value" when cross-compiling mips kernel


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]