linux-mips
[Top] [All Lists]

Re: gcc -3.4.4 and linux-2.4.32

To: "P. Christeas" <p_christ@hol.gr>
Subject: Re: gcc -3.4.4 and linux-2.4.32
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Thu, 19 Jan 2006 11:00:52 +0100 (CET)
Cc: David Daney <ddaney@avtrex.com>, Kishore K <hellokishore@gmail.com>, Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <200601190035.19022.p_christ@hol.gr>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <f07e6e0601160423h5ce1c0d7lcb7e38f8509c4116@mail.gmail.com> <43CBD91B.4020607@avtrex.com> <200601171426.10317.p_christ@hol.gr> <200601190035.19022.p_christ@hol.gr>
Sender: linux-mips-bounce@linux-mips.org
On Thu, 19 Jan 2006, P. Christeas wrote:
> On Tuesday 17 January 2006 2:26 pm, P. Christeas wrote:
> > Does that apply to gcc-4.0.2 as well? It is mentioned in linux
> > documentation that -funit-at-a-time is safe as of gcc-4.x. Is there (I'm
> > not a MIPS expert) a way to verify whether gcc produces wrong instructions?
> > I've had a similar problem (I only try with gcc 4, because I compile linux
> > 2.6) and is reduced when I use -fno-unit-at-a-time. Still, I have
> > instability, which now appears less often.
> > I've tried the '-fno-unit-at-a-time' solution (for the whole kernel) and
> > the 'pop/push' at interrupt.h fix.
> >
> Just to let you know:
> In a very interesting twist, gcc4.0.2 produces a faulty kernel with the 
> 2.4.31 
> kernel (as the latter is provided from the hardware's manufacturer).
> I'm validating gcc and binutils at the moment.

That's why 2 days ago this one went in in 2.4.x:

| [PATCH] document that gcc 4 is not supported
| 
| gcc 4 is not supported for compiling kernel 2.4, and I don't see any
| compelling reason why kernel 2.4 should ever be adapted to gcc 4.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

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