Re: is gcc 2.8 safe to use yet ?

James Mastros (root@jennifer-unix.dyn.ml.org)
Wed, 18 Mar 1998 17:43:39 -0500 (EST)


On Wed, 18 Mar 1998, Marek Habersack wrote:
> 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.

Odd... I've been running kernels with -O16 -mpentium -fomit-frame-pointer
for quite some time (BTW - Yes, 12 is the highest optmisation level, but
16 is easyer for me to remember -- the atiomic weight of Oxygen is 16.)
No problems here...

-=- James Mastros

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