linux-mips
[Top] [All Lists]

Re: Linux-2.6.18.8 compilation errors with GCC-4.2.1 and binutils-2.17 o

To: veerasena reddy <veerasena_b@yahoo.co.in>
Subject: Re: Linux-2.6.18.8 compilation errors with GCC-4.2.1 and binutils-2.17 on MIPS
From: David Daney <ddaney@avtrex.com>
Date: Wed, 17 Oct 2007 09:21:43 -0700
Cc: "linux-kernel.org" <linux-kernel@vger.kernel.org>, linux-mips <linux-mips@linux-mips.org>
In-reply-to: <304090.76321.qm@web8411.mail.in.yahoo.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <304090.76321.qm@web8411.mail.in.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5.0.12 (X11/20070719)
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


<Prev in Thread] Current Thread [Next in Thread>