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

From: David Daney
Date: Wed Oct 17 2007 - 12:22:12 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/