Re: R-alpha: Compiling with Linux

Peter Dalgaard BSA (
12 Nov 1996 13:17:46 +0100

Subject: Re: R-alpha: Compiling with Linux
From: Peter Dalgaard BSA <>
Date: 12 Nov 1996 13:17:46 +0100
In-Reply-To: Jim Lindsey's message of Tue, 12 Nov 1996 11:55:03 +0100 (MET)
Message-Id: <>

Jim Lindsey <> writes:

>   As a followup to my previous message, I have a friend, Philippe
> Lambert who has compiled 0.13 with Elf.
>   Under a.out (my computer), HAVE_ISNAN was not defined, so that I
> found the error in MATH_CHECK. Under Elf (his computer), it is defined
> by configuration. This means that he has a segmentation fault with
> log(-1) instead of NA. Could others using Elf please check this?
> If so, the line defining HAVE_ISNAN should be commented out in
> Platform.h and the error in MATH_CHECK (Arith.h) corrected.
> Make clean must be used before recompiling.

Hmm. Not happening here:

> log(-1)
Warning: NAs produced in function "log"
[1] NA

Could this be the result of an out-of-date libc/libm? 5.4.7/5.0.6
here. Older libraries had a case of someone trying to outsmart the
IEEE standard and didn't mask FPU exceptions by default. However, that
should produce a "floating point error" rather than a segmentation
fault, I suppose.

BTW: Please upgrade. A.out systems are such a pain to support compared
to Elf, especially regarding shared libraries and dynamic loading,
that we can't really can't expect Ross to keep supporting it. 

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (             FAX: (+45) 35327907
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: