> I've also been wondering if the problems with Egcs & GCC 2.8.x compiling the
> Linux kernel are bad kernel code or bad compiler code. It would seem to me
> that if it was a compiler problem, then it would be listed in the cavaets or
> bugs listings somewhere, but it isn't.
>
In all known cases this is not compiler problems. There are a lot of subtle
errors (if you have <expression1>+<expression2> code then compiler could
calculate expression1 first and expression2 last or expression2 first and
expression1 last; this is only one simple example). Of course if there will
be found problems in compiler than this errors will be sended to gcc/egcs team...
> GCC 2.8.x has been out for some time, so has Egcs, it's strange that no one
> has fixed the problems that plague compilation of Linux kernel.. probably
> one of the most recompiled things on the planet.
>
There are was found (and fixed) many problems not shown by gcc 2.7.2.3 but
shown by gcc 2.8.x, egcs 1.0.x or pgcc 1.0.x. Unfortunatelly it's almost
impossible to catch all such errors in so big program with so big number of
#ifdef's ...
P.S. All talks above is ONLY about 2.1.10x. 2.0.3x is not designed to be
compiled with anything except gcc 2.7.2.3 and there are no plans to clean them...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu