Rolf,
Thanks, your explanation makes sense (intersection of ILP32 and V9 ISA
yields V8+ ABI).
When updating the README, please also consider my posting regarding the
recommended flags for the Sun C compiler, which are causing warnings
from recent Sun compilers:
http://www.open-mpi.org/comm
Paul, I believe you are right. I was referencing information from here
http://gcc.gnu.org/onlinedocs/gcc/SPARC-Options.html From this site, I
also read the following:
"With -mv8plus, GCC generates code for the SPARC-V8+ ABI. The difference
from the V8 ABI is that the global and out registers
Rolf,
Thanks for looking into this issue. Can you explain for me why V8+ is
OK w/ the Sun C complier, but V9 is required w/ gcc? I am guessing that
one is an ABI flag and the other is a CPU flag, right?
-Paul
P.S.
The V8+ vs V9 ABI differences are described at
http://developers.sun.com/so
I have dug a little more into this. I am now just planning to fix the
README to match
the configure message. In short, use CFLAGS="-mcpu=v9". It turns out
this change
was made in the configure code, but the README was never updated. This
should
work properly for all cases.
Rolf
On 8/25/2
In the message below I fouled up some cut-and-paste.
Please mentally replace
And have configured (again stopping after the Assembler ABI probe) with
gcc-4.3.3 AND Rolf's flags
CC=gcc-4.3.3 CXX=g++-4.3.3 CFLAGS=-mv8plus CC=gcc-4.3.3 CXX=g++-4.3.3
CFLAGS=-mv8plus
with
And have configured (ag
Trying Rolf's suggestion, I configure 1.4.3rc1 with
CFLAGS="-mv8plus -Wa,-xarch=v8plus" CXXFLAGS="-mv8plus
-Wa,-xarch=v8plus"
I find that I get configure past the v8+/v9 Assembler ABI probe (but
didn't wait for the full configure to run).
Another datapoint in favor of #2 is that I can succes
Paul, is it possible for you to try one more thing. Can you reconfigure
with
CFLAGS="-mv8plus -Wa,-xarch=v8plus"
I think this will get past the configure test as the configure test is
compiling a piece
of assembly, and for some reason, the -mv8plus is not finding its way to
the assembler.
In both 1.5rc5 and 1.4.3rc1, README says:
- Open MPI does not support the Sparc v8 CPU target, which is the
default on Sun Solaris. The v8plus (32 bit) or v9 (64 bit)
targets must be used to build Open MPI on Solaris. This can be
done by including a flag in CFLAGS, CXXFLAGS, FFLAGS, and FCFLA