Re: is gcc 2.8 safe to use yet ?

Marek Habersack (grendel@vip.maestro.com.pl)
Wed, 18 Mar 1998 21:35:16 +0100 (CET)


On Wed, 18 Mar 1998, Niels Kristian Bech Jensen wrote:

> > I haven't seen any complaints about it in the last few days, does that
> > mean it's safe to upgrade?
> >
> I've used gcc-2.8.1 since saturday with kernels pre-2.1.90-[23] and 2.1.90
> without any adverse effects.
>
> It seems that gcc-2.8.1 has a somewhat higher warning level than 2.7.2.3,
> so I get more warnings with 2.8.1.
The XFree86 servers still don't run with a kernel compiled with a gcc 2.8.x
with the following command line:

-march=pentium -O3 -fomit-frame-pointer <the usual align stuff>

It seems that the i586+ optimizations break the linux Unix sockets code. The X
server dies with "cannot open socket" message. At first I thought it's a
problem with the X servers, but when I reported it I received a response that
gcc 2.8.x breaks X only on Linux.
Just a while ago I have compiled the 2.0.34-pre3 kernel with gcc 2.8.1 and
-m386 instead of -march=pentium and with -O2 -fomit... -fno-strength.. - the
effect is the same, X won't run.

l8r, marek

---
Democracy is a government where you can say what you think even if you
don't think.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu