linux-mips
[Top] [All Lists]

Re: compilation problem with kernel 2.6.15

To: dhunjukrishna@gmail.com
Subject: Re: compilation problem with kernel 2.6.15
From: James E Wilson <wilson@specifix.com>
Date: Tue, 28 Mar 2006 11:09:22 -0800
Cc: linux-mips@linux-mips.org
In-reply-to: <20060328143708.57991.qmail@web53507.mail.yahoo.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060328143708.57991.qmail@web53507.mail.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 2006-03-28 at 06:37, Krishna wrote:
>  err
> or: read-only variable ΓÇÿ__gu_valΓÇÖ used as ΓÇÿasmΓÇÖ output

This means a new error check in gcc has found a latent kernel bug.

It is also sometimes the case that a new linux kernel finds a latent gcc
bug.

Note, in general, key parts of linux such as the kernel, glibc, and gcc,
often have such heavy dependencies on each other that you can not pick
and choose random versions.  If you want to use a particular kernel
version, then there are often particular glibc and gcc versions you
should use with it, otherwise you are likely to run into trouble.

This link:
    http://www.linux-mips.org/wiki/Toolchains#Prologue
recommends gcc-3.4.  And if you follow the "recommended" link to
    http://www.linux-mips.org/wiki/GCC
it specifically recommends against use of gcc-4.1 for compiling the
linux kernel, as this hasn't been well tested yet.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com


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