Diman Todorov
2004-Aug-29 16:49 UTC
[Rd] Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable --- no!
My appologies, this estimation is about right, I spent last week at COMPSTAT in prague and didn't follow the list closely. Inspite of this fact I believe my posting is not entirely out of date. regards Diman Todorov ------------------------------ You are 8 days behind the times -- take a look at the current R-devel. On Sun, 29 Aug 2004, Diman Todorov wrote: > Dear Dirk, > I have had the exactly same problem like Ivo and his solution worked for me. > Hence the USE=f77 flag is NOT a typo but a Gentoo quirk. > As far as modifying the configure script is concerned, I believe that it is certainly > possible to perform said check (if 'f77 --version == f2c' then die) > only on x86_64 platforms. > And I'd argue it is f2c's fault. AMD64 linux distros have been known to have troubles of this sort > especially as far as compilers are concerned. > > > regards > Diman Todorov > > On Sat, Aug 21, 2004 at 06:59:14AM -0700, [EMAIL PROTECTED] wrote: > > > > peter/brian: thank you for the help. i can now report that gentoo > > amd64 can compile R just fine, too; it requires the f77 USE flag and a > > (Err, no such thing exists: either g77, f2c or the fort77 wrapper for f2c.) > > > gcc compiler rebuild first, though. I also went to gcc 3.4.1. my > > segfault troubles earlier were caused by my use of f2c. > > > > suggestion: would it be possible to add a code snippet that tests > > whether the user is trying to compile with f2c and if so, bombs the > > installation? (if "f77 --version == f2c" then die) I know the > > Bad idea. > > My Debian configuration, driven from a single configuration, is used on > about a dozen different platforms. One of these, m68k, has a continually > been problematic with g77, which forces us to use f2c. > > And despite your fears, that is working swimmingly for R as well as the by > now 40 or so CRAN packages that are in the distro too, incl the ones like > VR, Hmisc/Design, tseries, ... that contain Fortran code. > > > problems are not R's fault, but it can percolate into R and it can > > protect people like myself. > > I'd argue that it wasn't f2c's fault, but maybe an unlucky mix of parts of > your toolchain (gcc, binutils, libc, ...). > > ______________________________________________ > R-devel at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > -- Brian D. Ripley, ripley at 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
Prof Brian Ripley
2004-Aug-29 17:02 UTC
[Rd] Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable --- no!
On Sun, 29 Aug 2004, Diman Todorov wrote:> My appologies, this estimation is about right, > I spent last week at COMPSTAT in prague and didn't follow the list > closely. > Inspite of this fact I believe my posting is not entirely out of date.Have you actually looked at the current R-devel, which no longer allows f2c to be used on 64-bit platforms?> > > regards > Diman Todorov > > > > ------------------------------ > > You are 8 days behind the times -- take a look at the current R-devel. > > On Sun, 29 Aug 2004, Diman Todorov wrote: > > > Dear Dirk, > > I have had the exactly same problem like Ivo and his solution worked > for me. > > Hence the USE=f77 flag is NOT a typo but a Gentoo quirk. > > As far as modifying the configure script is concerned, I believe that > it is certainly > > possible to perform said check (if 'f77 --version == f2c' then die) > > only on x86_64 platforms. > > And I'd argue it is f2c's fault. AMD64 linux distros have been known > to have troubles of this sort > > especially as far as compilers are concerned. > > > > > > regards > > Diman Todorov > > > > On Sat, Aug 21, 2004 at 06:59:14AM -0700, [EMAIL PROTECTED] wrote: > > > > > > peter/brian: thank you for the help. i can now report that gentoo > > > amd64 can compile R just fine, too; it requires the f77 USE flag > and a > > > > (Err, no such thing exists: either g77, f2c or the fort77 wrapper for > f2c.) > > > > > gcc compiler rebuild first, though. I also went to gcc 3.4.1. my > > > segfault troubles earlier were caused by my use of f2c. > > > > > > suggestion: would it be possible to add a code snippet that tests > > > whether the user is trying to compile with f2c and if so, bombs the > > > installation? (if "f77 --version == f2c" then die) I know the > > > > Bad idea. > > > > My Debian configuration, driven from a single configuration, is used > on > > about a dozen different platforms. One of these, m68k, has a > continually > > been problematic with g77, which forces us to use f2c. > > > > And despite your fears, that is working swimmingly for R as well as > the by > > now 40 or so CRAN packages that are in the distro too, incl the ones > like > > VR, Hmisc/Design, tseries, ... that contain Fortran code. > > > > > problems are not R's fault, but it can percolate into R and it can > > > protect people like myself. > > > > I'd argue that it wasn't f2c's fault, but maybe an unlucky mix of > parts of > > your toolchain (gcc, binutils, libc, ...). > > > > ______________________________________________ > > R-devel at stat.math.ethz.ch mailing list > > https://stat.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