I think I chased this down - looks like it is r28034. I've attached the patch here - can you please let me know if this fixes the problem?

Attachment: atomics.patch
Description: Binary data


On Aug 8, 2014, at 11:11 PM, Paul Hargrove <phhargr...@lbl.gov> wrote:

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:

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.

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
_______________________________________________
devel mailing list
de...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
Link to this post: http://www.open-mpi.org/community/lists/devel/2014/08/15582.php

Reply via email to