core dump on 0.64.2 SPARC/Solaris 2.6 in eigen (PR#223)

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Mon, 12 Jul 1999 11:22:17 +0200 (CEST)


>>>>> ripley  writes:

> On 10 Jul 1999, Peter Dalgaard BSA wrote:
>> > On Fri, 9 Jul 1999 bates@stat.wisc.edu wrote:
>> > 
>> > > ..
>> > > R is now configured for sparc-sun-solaris2.6
>> > > 
>> > >   Source directory:         .
>> > >   Installation directory:   /unsup/R-0.64.2
>> > >   C compiler:               gcc -g -O2
>> > >   FORTRAN compiler:         g77 -O2

> (Why is the default to have -g for C but not Fortran? That has puzzled me
> before now. At least for gcc/g77 we could be consistent.)

Simply an omission.  Autoconf does almost everything for the C compiler
and basically nothing for the Fortran compiler.  R_PROG_F77 now sets
FFLAGS to "-g -O2" for g77 unless FFLAGS is already set.

> The remedy (as usual) seems to be not to optimize when compiling eigen.f
> under egcs-1.1.2.

Should we special-case this into configure?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._