A problem Siegmar reported on trunk over a year and a half ago is breaking
a 32-bit build of the v1.8 branch with the Sun C++ compiler:

Siegmar's report appears in
http://www.open-mpi.org/community/lists/users/2013/01/21269.php
There are several warnings, but the error is (from my current build):

"/shared/OMPI/openmpi-1.8-latest-solaris11-x86-ib-ss12u3/openmpi-1.8.2rc4r32480/ompi/mpi/cxx/file.cc",
Error: The function opal_atomic_add_32(volatile int*, int) has not had a
body defined.

Brian attached a possible fix to
http://www.open-mpi.org/community/lists/users/2013/01/21272.php
It applies cleanly to v1.8 but appears to make things worse, trading that
one error for two:

"/shared/OMPI/openmpi-1.8-latest-solaris11-x86-ib-ss12u3/openmpi-1.8.2rc4r32480/opal/include/opal/sys/atomic_impl.h",
line 106: Error: opal_atomic_add_64(volatile long long*, long long) was
previously declared "extern", not "inline".
"/shared/OMPI/openmpi-1.8-latest-solaris11-x86-ib-ss12u3/openmpi-1.8.2rc4r32480/opal/include/opal/sys/atomic_impl.h",
line 121: Error: opal_atomic_sub_64(volatile long long*, long long) was
previously declared "extern", not "inline".


The good news is that the problem does not exist on the trunk.
So, hopefully somebody can track down the proper changes to CMR.

-Paul


-- 
Paul H. Hargrove                          phhargr...@lbl.gov
Future Technologies Group
Computer and Data Sciences Department     Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900

Reply via email to