Skip to content

Incorrect behavior in 64-bit version (PR#11034)

1 message · Brian Ripley

#
This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--27495890-661127544-1206487153=:18251
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

Yes, R has been built in 64-bit mode on amd64 Solaris 10 (and it is not 
going to work on x86, is it?).  As far as I can see I used the SunStudio 
11 compilers (which the box shipped with: there is also SunStudio 12 on 
there) with

blackhawk% cat config.site
CC="cc -xc99 -xarch=amd64"
CFLAGS=-'O -xlibmieee'
F77="f95 -xarch=amd64"
FFLAGS=-O4
...
[,1]      [,2]
[1,] 0.0000000 0.6020600
[2,] 0.3010300 0.6989700
[3,] 0.4771213 0.7781513

(It's a pretty bare build, without either readline or GNU iconv.)

blackhawk% cc -V
cc: Sun C 5.8 Patch 121016-07 2007/10/03
blackhawk% f95 -V
f95: Sun Fortran 95 8.2 Patch 121020-08 2008/02/05

I suppose we are just supposed to know that '5.8'  and '8.2' mean 11.
As I recall there was a good reason why I reduced the optimization level 
-- I used -xO5 and -O5 on Sparc Solaris and the SunStudio x86_64 Linux 
compilers so I suspect that something did not work at those levels.
On Tue, 25 Mar 2008, Peter Dalgaard wrote: