From: David.Mosberger@DONTSPAMacm.org
Subject: Re: Wich Red Hat version should I Buy ???
Date: 1997/12/13 [thread overview]
Message-ID: <ugpvn1rp7t.fsf@panda.mostang.com> (raw)
In-Reply-To: slrn6935bd.8tc.adisaacs@trurl.resnet.mtu.edu
adisaacs@trurl.resnet.mtu.edu (Andy Isaacson) writes:
> I'd strongly recommend installing 5.0. The libc is much less buggy, the
> sh-utils actually log to utmp correctly, XEmacs might even link correctly,
> new versions of the compiler (like egcs) will install without the user
> going through contortions, and in general it's a better system.
While I generally agree with this sentiment, there is one relatively
serious glibc 2.x bug that bites rh5.0: the glibc version shipped with
rh5.0 has an FDMASK macro that is broken. The effect is that if you
try to use fd_sets with file descriptors >31 then things may go
awfully wrong. E.g., XF86_TGA terminates with extreme prejudice when
trying to open more than ~30 windows. More important, emacs seems to
get stuck randomly due to this bug. The following two changes should
be made to fix the problem:
> <gnu/types.h>:
>
> old: #define __FDMASK(d) (1 << ((d) % __NFDBITS))
> new: #define __FDMASK(d) ((__fd_mask) 1 << ((d) % __NFDBITS))
>
> <selectbits.h>:
>
> old: #define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d))
> new: #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0)
Of course, you'll need to rebuild packages that use select in order to
get the correct behavior. I'd think rebuilding XFree86, [X]emacs, and
the networking daemons (certainly inetd) should make the system quite
stable.
On a positive note, rh5.0 seems to be the first Linux/Alpha release
where profiling (with -pg & gprof) works out of the box. Good work!
--david
next prev parent reply other threads:[~1997-12-13 5:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-12 5:00 Wich Red Hat version should I Buy ??? JaNuS
1997-12-12 5:00 ` Andy Isaacson
1997-12-13 5:00 ` David.Mosberger [this message]
1997-12-14 5:00 ` Michal Jaegermann
1997-12-14 5:00 ` Alvin Brattli
1997-12-16 5:00 ` David.Mosberger
1997-12-21 5:00 ` Onno Hovers
1997-12-12 5:00 ` warp
1997-12-12 5:00 ` Clemens Vonrhein
1997-12-12 5:00 ` warp
1997-12-12 5:00 ` Greg Lindahl
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox