Re: is gcc 2.8 safe to use yet ?

Niels Kristian Bech Jensen (nkbj@image.dk)
Thu, 19 Mar 1998 05:34:02 +0100 (CET)


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.
>
I use the standing compile options for an i486 (-m486 -O2 -fomit-fr...
-fno-str.. etc.) X runs fine on my system (RH5 with updates.)

--
Med venlig hilsen / Best regards
                                                              nkbj@image.dk
Niels Kristian Bech Jensen                       http://www.image.dk/~nkbj/

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