jean.coursol@math.u-psud.fr
2003-Nov-25 15:51 UTC
[Rd] O2 optimization produces wrong code (PR#5315)
Full_Name: jean coursol Version: 1.7.1, 1.8.0 OS: linux & Windows-XP Submission from: (NULL) (129.175.52.7) Binary MS-Windows akima module from CRAN (1.8.0 version) produces wrong results with some data. Installing akima source in linux, with same data: -with gcc-2.95.3 -O2 : give correct results (under R 1.7.1); -with gcc-3.2.3 -O2 : give wrong results (under R-1.7.1 and R-1.8.0); -with gcc-3.2.3 (no optimization) give correct results (under R-1.7.1 and R-1.8.0); Installing akima module made by RCrossBuild (with gcc-2.95.3, R-1.7.1) in Windows-XP and R-1.8.0 gives correct results (it is possible to use cross-compiled akima module using R-1.7.1, because there is no call from akima to R...). It would be better to use RCrossBuild and R-1.8.0, but actually, RCrossBuild is not running with gcc-3.2.3 and R-1.8.0...
On Tue, 25 Nov 2003 15:51:22 +0100 (CET), jean.coursol@math.u-psud.fr wrote :>Full_Name: jean coursol >Version: 1.7.1, 1.8.0 >OS: linux & Windows-XP >Submission from: (NULL) (129.175.52.7) > > >Binary MS-Windows akima module from CRAN (1.8.0 version) produces wrong results >with some data.This isn't an R bug, it's a contributed package bug. You should write to the package maintainer Albrecht Gebhardt <albrecht.gebhardt@uni-klu.ac.at> and the Windows binary package maintainer Uwe Ligges <ligges@statistik.uni-dortmund.de>, including code to reproduce the bug. I'd suggest trying it with 1.8.1 first; it's possible you were seeing the effects of some other bug that has been fixed. Duncan Murdoch
ripley@stats.ox.ac.uk
2003-Nov-25 16:49 UTC
[Rd] O2 optimization produces wrong code (PR#5315)
This is a long-known problem: one example is the MASS example in the script ch15.R, and that has gone wrong on platforms other than Windows. It has been reported to the maintainer in the past. On Tue, 25 Nov 2003, Duncan Murdoch wrote:> On Tue, 25 Nov 2003 15:51:22 +0100 (CET), jean.coursol@math.u-psud.fr > wrote : > > >Full_Name: jean coursol > >Version: 1.7.1, 1.8.0 > >OS: linux & Windows-XP > >Submission from: (NULL) (129.175.52.7) > > > > > >Binary MS-Windows akima module from CRAN (1.8.0 version) produces wrong results > >with some data. > > This isn't an R bug, it's a contributed package bug. You should write > to the package maintainer Albrecht Gebhardt > <albrecht.gebhardt@uni-klu.ac.at> and the Windows binary package > maintainer Uwe Ligges <ligges@statistik.uni-dortmund.de>, including > code to reproduce the bug. > > I'd suggest trying it with 1.8.1 first; it's possible you were seeing > the effects of some other bug that has been fixed. > > Duncan Murdoch > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-devel > >-- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595