Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.windows.x Subject: Re: X11R4 on sun 4/110 Message-ID: <3824@auspex.auspex.com> Date: 5 Aug 90 01:16:48 GMT References: <37200002@inmet> Organization: Auspex Systems, Santa Clara Lines: 16 >I found that the server would not run correctly (with the above symptoms) >when compiled with /usr/5bin/cc (which uses /usr/5lib for C libraries). >When compiled with /usr/bin/cc every thing was fine. Yup, if "/usr/bin/cc" and "/usr/5bin/cc" produced code that worked the same, Sun wouldn't have provided both of them. X11 for Suns probably shares lots of code written assuming BSD-style behavior, and as such should be compiled in the environment that provides that behavior, i.e. compiled with "/usr/bin/cc". Why that causes streams buffers to be eaten up (which is what the messages in question indicate happened) is another matter; perhaps the miscompiled X server is misbehaving and not reading from the keyboard or mouse file descriptors, and various flow control limits aren't set appropriately to keep the system from running out of streams buffers in that situation.