From: Dan Morrill <morrill@crd.ge.com>
To: axp-list@redhat.com
Subject: Linux/AXP signum.h
Date: Mon, 21 Sep 1998 13:35:21 -0400 [thread overview]
Message-ID: <36068E59.9568AD65@crd.ge.com> (raw)
The other day, I attempted to build the OpenLDAP package
on my Red Hat 5.1 box. OpenLDAP has threading support, and
the threading library it uses snarfs SIGUSR1 and SIGUSR2.
OpenLDAP itself, however, also requires the availability of two
signals.
OpenLDAP has an #ifdef LINUX around the points where it uses
these signals; however, it uses SIGSTKFLT and SIGUNUSED,
which are present on Linux/Intel but not on Linux/Alpha.
In other words, the authors of OpenLDAP have assumed that
all Linuxes have the same signum.h, whatever platform they're
running on. The Alpha signum.h says:
/*
* Linux/AXP has different signal numbers that Linux/i386: I'm trying
* to make it OSF/1 binary compatible, at least for normal binaries.
*/
While this is a laudable goal, I suppose, it bothers me that this
was done in this particular way: why does Linux/Alpha try to be
compatible with OSF/1 at the expense of compatibility with Linux?
At any rate, what is the feasibility of extending the number of
signals to include all the Linux/Intel signals? (Or at least
all the signals that make sense on the Alpha architecture.)
Granted, this is obscure and pretty arcane, but I think it would
be a good idea to make sure, as much as possible, that when
Joe Programmer says "#ifdef LINUX" it's compatible with ALL
Linuxes.
Dan Morrill
Computer Scientist
GE Corporate R&D, K1 5C36
(518) 387 - 6761
next reply other threads:[~1998-09-21 17:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-21 17:35 Dan Morrill [this message]
1998-09-21 19:17 ` Linux/AXP signum.h Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1998-09-21 17:41 A van Kessel
1998-09-21 17:58 ` Dan Morrill
1998-09-21 18:08 A van Kessel
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