From ripley at stats.ox.ac.uk  Fri Aug 20 18:01:42 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri Aug 20 18:01:52 2004
Subject: [Rd] Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable
In-Reply-To: <200408201524.i7KFOrp9015320@hypatia.math.ethz.ch>
Message-ID: <Pine.LNX.4.44.0408201652270.13691-100000@gannet.stats>

As I read the posting guide this is not a help request and not of general 
interest, so diverted to R-devel.

Several people including me have built R on AMD64 with 3.3.3.  That's the
compiler of Fedora Core 2, and of whatever version of SuSE (perhaps 9.0)  
we have on our 110-processor cluster.  I am currently use 3.4.1.

Your error is in Fortran, and we have seen Fortran errors in earlier 
versions of the gcc collection so it's the g77 version that is relevant.

On Fri, 20 Aug 2004 ivo_welch-rstat8783@mailblocks.com wrote:

> 
> dear wizards:
> 
>   FYI: gentoo is a linux meta distribution, which compiles all packages. 
>   Once running, gentoo is stable on most applications.  (it has some 
> problems with system tools, such as grub.)  the compiler is gcc 3.3.3.  
> I do not expect anyone to track down for me why R fails on the gentoo 
> amd64+gcc3.3.3 system, but I thought that it would be good to put it on 
> the record to save others some time.
> 
> The resulting from-source-compiled R is not stable in this combination. 
>   R starts up ok, but a couple of commands (a simple linear regression) 
> usually result in a Segfault.  this applies both to the R provided by 
> gentoo (an old version of 1.9.0) or the latest version 1.9.1 which I 
> just pulled down.  in case someone is wondering, the debugger backtrace 
> provides
> 
> #0  0x000000000052ac16 in dnrm2_ ()
> #1  0x00000000005185e8 in dqrdc2_ ()
> #2  0x0000000000518db1 in dqrls_ ()
> #3  0x000000000045d5d5 in do_dotCode ()
> #4  0x0000000000472b6b in Rf_eval ()
> ...
> 
> (if any R wizard were to find it useful to try it out for himself, I 
> could arrange for machine access, or provide other relevant 
> information.  if anyone has compiled R 1.9.1 under amd64 with gcc 3.3.3 
> and found it to be stable, please let me know, too.)
> 
> sincerely,
> 
> /ivo welch
> 
> ---
> ivo welch
> professor of finance and economics
> brown / nber / yale
> 
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
> 

-- 
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


[Rd] Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable
Prof Brian Ripley