[Buildroot] How to build gcc with -m24k option
Elizabeth Oldham
beth at the-hug.org
Wed Oct 17 21:11:57 UTC 2007
sathesh babu wrote:
> td/.tmp_mtd_blkdevs.o drivers/mtd/mtd_blkdevs.c
> mips-linux-ld: final link failed: Bad value
Thought I recognised this, it's been on the linux-mips.org mailing list.
Here is a response to that OP:
-------- Original Message --------
Subject: Re: Linux-2.6.18.8 compilation errors with GCC-4.2.1 and
binutils-2.17 on MIPS
Date: Wed, 17 Oct 2007 09:21:43 -0700
From: David Daney <ddaney at avtrex.com>
To: veerasena reddy <veerasena_b at yahoo.co.in>
CC: linux-kernel.org <linux-kernel at vger.kernel.org>, linux-mips
<linux-mips at linux-mips.org>
References: <304090.76321.qm at web8411.mail.in.yahoo.com>
veerasena reddy wrote:
> Hi,
>
> I tried to compile Linux-2.6.18.8 for MIPS24KE
> processor using cross-compiler built from gcc-4.2.1,
> binutils-2.17 and uClibc-0.9.27. But, the compilation
> failed with below error message ("mips-linux-ld: final
> link failed: Bad value"):
> ================================
The likely cause is:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33755
As indicated in the PR, Richard has a patch that he is testing. I would
think that by the time gcc-4.2.3 is released that it would be fixed.
I would recommend using a non-4.2.x version of gcc until the problem is
fixed.
David Daney
> Can you pls tell what could be the reason.
I guess 4.2.1 is broken :)
Beth
More information about the buildroot
mailing list