Minor compatibility patches for R9B-0?

Mikael Pettersson mikpe@REDACTED
Wed Oct 9 21:05:44 CEST 2002

Kent Boortz writes:
 > On Wednesday next week we will release the commercial distribution of
 > OTP R9B and short after that the OpenSource distribution R9B-0. Only
 > very small changes are allowed in this stage of the release process
 > but if you have any minor changes to the make files or configure
 > script that are needed to build on your system please let us know. I
 > can't promise the changes will make it into R9B-0, they may have to
 > wait for R9B-1.
 > We know about the RedHat 8.0 issues but this require bigger changes
 > than we have time to code and verify at this stage. 

I'm including below our patch for compiling a HiPE-enabled system on
glibc-2.3 systems like RedHat 8.0. It looks like a trivial change,
but it required careful study and testing.

 > HiPE support is now by default enabled by configure on platforms where
 > HiPE is supported. We know that HiPE support will not compile on
 > RedHat 5 and this will probably not be corrected. You need to set
 > --disable-hipe to compile on RedHat 5.

RH5 will only work if those that care about it do the port themselves.
The issue is, again, hipe_x86_signal.c and it's dependency on C library
internals. We do support RH6.2/7.0/7.1/7.2/7.3/8.0 and Solaris/x86 8.

/Mikael Pettersson

--- otp-0927/erts/emulator/hipe/hipe_x86_signal.c.~1~	2002-05-27 23:45:03.000000000 +0200
+++ otp-0927/erts/emulator/hipe/hipe_x86_signal.c	2002-10-09 17:38:36.000000000 +0200
@@ -24,8 +24,9 @@
 #include <signal.h>
 #include <stdio.h>
+#include <stdlib.h>
-#if __GLIBC__ == 2 && __GLIBC_MINOR__ == 2
+#if __GLIBC__ == 2 && (__GLIBC_MINOR__ == 2 || __GLIBC_MINOR__ == 3)
  * __libc_sigaction() is the core routine.
  * Without libpthread, sigaction() and __sigaction() are both aliases

More information about the erlang-questions mailing list