From plummer@iarc.fr  Fri Dec  8 13:22:17 2000
From: plummer@iarc.fr (Martyn Plummer)
Date: Fri, 08 Dec 2000 14:22:17 +0100 (CET)
Subject: [Rd] nmath bug (PR#762)
In-Reply-To: <x23dfzp596.fsf@blueberry.kubism.ku.dk>
Message-ID: <XFMail.001208142217.plummer@iarc.fr>

On 08-Dec-00 Peter Dalgaard BSA wrote:
> spoon@hilbert.maths.utas.edu.au writes:
> 
>> Hi,
>>      I've been playing with the standalone math library (R.1.1.1,
>> Redhat 7 i386), and have detected a problem with rpois.
>> 
>> 
>> Basically, the rejection step in rpois can result in an infinite loop.
>> The simplest thing I can come up with that reproduces the problem is
>> the following.
> 
> Hmm. There are bugs in rpois from 1.1.1 *and* compiler bugs in redhat7
> that are known to affect rpois...
> 
> In order to get something that has a decent chance of working you
> should probably use a *very* recent gcc from the rawhide distribution,
> and try a snapshot of 1.2.0.

To be precise, you will need gcc-2.96-65 from the rawhide distribution.
However, this does not seem to have been released yet: I just checked on
ftp.redhat.com and the latest release is -64.

For details see
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=21423

Alternatively you can install gcc-2.95 (the latest *stable* compiler from
the gcc development team), which does not suffer from this bug.  If you want
to do this, look in the directory bin/linux/redhat/7.x/DIY/ on CRAN for
some tips.

Martyn
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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] nmath bug (PR#762)
Martyn Plummer