Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!+ From: dpm@cs.cmu.edu (David Maynard) Newsgroups: comp.windows.x Subject: Re: Xsun server with Purdue dies. Message-ID: Date: 16 Aug 89 01:00:48 GMT References: <10774@boulder.Colorado.EDU> Organization: Carnegie Mellon, Pittsburgh, PA Lines: 42 In-Reply-To: <10774@boulder.Colorado.EDU> > I am having difficulty getting R3 running on a Sun3 with the Purdue speedups. > Below is enclosed a message that was posted here awhile back with a similar > problem. I, too am using gcc-1.35 and R3 with all patches and Purdue speedups, > and receive the same error, regardless of DISPLAY variable settings. The > non-purdue version compiled using cc works with no problems, so it must be > a purdue speedup bug or a gcc bug (or an incompatibility between the two). I > have tried to get the server to run on a sun3/260 and a sun3/110 running > sunOS4.0.3. Well, just as another (successful) data point, I recently used gcc 1.35 to compile: X11R3 + fixes 1-10 + Purdue 2.0 + Purdue 2.1 on a Sun-2 (yes, a Sun-2) under SunOS 3.5 I used "-traditional -O -finline-functions -fstrength-reduce -DPURDUE" as my compile flags. There was one file in server/cfb which tickled the signal 11 bug in gcc so I manually compiled it without the optimizations. I also recompiled dbm.c and malloc.c with gcc so I didn't need the pcc-struct-return option. The compile took 12 hours, but seemed to yield a working server. I had to use /bin/cc on the libraries and some clients. I haven't tested it thoroughly, but haven't had any server problems so far (using unix:0, localhost:0, or hostname:0). Perhaps the SunOS 3.5 vs 4.0.X difference is significant here. I would tend to suspect a gcc 1.35 problem since the Purdue speedups would seem fairly benign. (The Sun-2 server doesn't use the bitfield optimizations in the Purdue speedups so that could be relevant, although I doubt it.) -David Maynard --- David P. Maynard (dpm@cs.cmu.edu), Dept. of Electrical and Computer Engineering Carnegie Mellon University, Pittsburgh, PA 15213 ---