Re: [PATCH] 2.5.21 kill warnings 4/19

From: Russell King (rmk@arm.linux.org.uk)
Date: Tue Jun 11 2002 - 04:06:34 EST


On Tue, Jun 11, 2002 at 10:34:39AM +0200, Martin Dalecki wrote:
> Użytkownik Russell King napisał:
> > On Tue, Jun 11, 2002 at 08:33:18AM +0200, Martin Dalecki wrote:
> >
> >>6. In esp. ARM seems to be much better off with GCC 3.1 then anything else.
> >
> >
> > Not yet proven. Only a minority of people are using gcc 3.1 compared
>
> Few +1. However this was the first "official" release which
> was "working out of the box". Well at least for me.

GCC 2.95.3, +4 both work with a patch from Phil Blundell, as detailed
in the build instructions for these versions.

GCC 3.x introduces the dodgy practice of removing the frame pointer
from every function despite telling the compiler not to with
-fno-omit-frame-pointer. It's also contary to the GCC documentation
when it interferes with debugging.

Overall, using gcc 3.1 causes the following problems in _any_ kernel:

1. crashes when things like knfsd and other kernel daemons exit.
2. you can't get a call trace from the kernel.

For anyone, I'd recommend using gcc 2.95.[34] for building a kernel that
should be stable and can be trusted. gcc 3.x is still very experimental
afaiac. We're still finding its quirks.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

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



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:21 EST