Re: egcs-1.1.2 ping bug also causes miscompilation of pcbit isdn drive

Pavel Machek (pavel@bug.ucw.cz)
Fri, 18 Jun 1999 12:11:44 +0200


Hi!

> > > It just so happens that the kernel is _the_ code that most streches the
> > > compiler, AFAIK. Breakage due to ill-understood features, usage of outright
> > > compiler bugs and reliance on optimizations done a certain way (or not
> > > done) does happen.
> >
> > I believe that the compiler itself is a larger code base, but it likely
> > doesn't have as much hack work in it. :-)
>
> no, the EGCS compiler codebase is smaller than the Linux kernel. The Linux
> kernel is also fundamentally different from GCC, which makes it
> fundamentally harder to write: inherent parallelizm is in every
> piece of

No.

Most kernel's sources are not compiled into "your" kernel: those are
drivers for hw you don't have. You really don't care that seagate.c
scsi driver is broken w.r.t. SMP, do you?

gcc is nightmare compared to kernel, because code is not reasonably
modular and all of it is used all the time. Gcc is subtle, inside. Ask
hubicka@atrey why it is nightmare (compared to l-k).

Pavel

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.  Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

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