Skip to content
Prev 5728 / 63421 Next

core dump on 64-bit Solaris (PR#990)

On Wed, 20 Jun 2001, Kurt Hornik wrote:

            
I will add that to R-admin.texi, though.
I am not 100% sure this can be automated.  For a start, there are lots of
versions of the Sun compilers, and Thomas' is not current.  Really the
issue is that the compiler flags had better match, and that is very hard to
ensure except manually.  My f77 man page does say

          If you compile one subprogram or file with -dalign,
          then all subprograms and files in the program unit must
          be compiled with -dalign.

and my system is current (re-installed a month ago).

This issue comes up with mixed compilers too: AFAIR gcc does the equivalent
of -dalign and so could not be used with S-PLUS 3.2 (or about then, built
with SunPro cc).
Just gcc on Alpha running whatever Compaq calls Dec's UNIX today. CXML/DXML
are compiled with a different compiler.


So the general issue is the you need to ensure that you use the same
compiler and the same flags to compile R as you used for the libraries you
use, or know the perils if you do not.  I've just added a warning to
R-admin.texi about that.