From bates@stat.wisc.edu  Wed Mar  8 13:39:59 2000
From: bates@stat.wisc.edu (Douglas Bates)
Date: 08 Mar 2000 07:39:59 -0600
Subject: [Rd] Error compiling R on RS6000 (PR#475)
In-Reply-To: Thomas J Vogels's message of "07 Mar 2000 17:31:43 -0500"
References: <200003071536.QAA20337@pubhealth.ku.dk> <x2r9dmkcik.fsf@blueberry.kubism.ku.dk> <871z5m1kfk.fsf@bavaria.ece.cmu.edu>
Message-ID: <6rwvndh974.fsf@franz.stat.wisc.edu>

Thomas J Vogels <tov@ece.cmu.edu> writes:

>   I'll assume Paul meant config.site which contains all the extra
>   compiler and linker flags and those flags are somewhat involved in
>   his environment.  Triggered by Paul's email I tried to
>   compile R-1.0.0.  It compiles cleanly but dies with "Illegal
>   Instruction" upon start.  Sorry, I don't have any further insight
>   into this problem at this time.

Do the compilers need special flags to control IEEE floating point
behavior?  One of the first things that R does on startup is to force
an evaluation of 1.0/0.0 and store the result as a global "Infinity".
On some architecture/compiler combinations this will generate an error
unless you instruct the compiler to insert special code for full IEEE
compliance.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Error compiling R on RS6000 (PR#475)
Douglas Bates