{"action":"created","issue":{"url":"https://api.github.com/repos/open-mpi/ompi/issues/2055","repository_url":"https://api.github.com/repos/open-mpi/ompi","labels_url":"https://api.github.com/repos/open-mpi/ompi/issues/2055/labels{/name}","comments_url":"https://api.github.com/repos/open-mpi/ompi/issues/2055/comments","events_url":"https://api.github.com/repos/open-mpi/ompi/issues/2055/events","html_url":"https://github.com/open-mpi/ompi/issues/2055","id":175076352,"number":2055,"title":"Compilation fails for powerpc with --enable-mpi-cxx","user":{"login":"amckinstry","id":915118,"avatar_url":"https://avatars.githubusercontent.com/u/915118?v=3","gravatar_id":"","url":"https://api.github.com/users/amckinstry","html_url":"https://github.com/amckinstry","followers_url":"https://api.github.com/users/amckinstry/followers","following_url":"https://api.github.com/users/amckinstry/following{/other_user}","gists_url":"https://api.github.com/users/amckinstry/gists{/gist_id}","starred_url":"https://api.github.com/users/amckinstry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amckinstry/subscriptions","organizations_url":"https://api.github.com/users/amckinstry/orgs","repos_url":"https://api.github.com/users/amckinstry/repos","events_url":"https://api.github.com/users/amckinstry/events{/privacy}","received_events_url":"https://api.github.com/users/amckinstry/received_events","type":"User","site_admin":false},"labels":[{"id":129984007,"url":"https://api.github.com/repos/open-mpi/ompi/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"hjelmn","id":1226817,"avatar_url":"https://avatars.githubusercontent.com/u/1226817?v=3","gravatar_id":"","url":"https://api.github.com/users/hjelmn","html_url":"https://github.com/hjelmn","followers_url":"https://api.github.com/users/hjelmn/followers","following_url":"https://api.github.com/users/hjelmn/following{/other_user}","gists_url":"https://api.github.com/users/hjelmn/gists{/gist_id}","starred_url":"https://api.github.com/users/hjelmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjelmn/subscriptions","organizations_url":"https://api.github.com/users/hjelmn/orgs","repos_url":"https://api.github.com/users/hjelmn/repos","events_url":"https://api.github.com/users/hjelmn/events{/privacy}","received_events_url":"https://api.github.com/users/hjelmn/received_events","type":"User","site_admin":false},"assignees":[{"login":"hjelmn","id":1226817,"avatar_url":"https://avatars.githubusercontent.com/u/1226817?v=3","gravatar_id":"","url":"https://api.github.com/users/hjelmn","html_url":"https://github.com/hjelmn","followers_url":"https://api.github.com/users/hjelmn/followers","following_url":"https://api.github.com/users/hjelmn/following{/other_user}","gists_url":"https://api.github.com/users/hjelmn/gists{/gist_id}","starred_url":"https://api.github.com/users/hjelmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjelmn/subscriptions","organizations_url":"https://api.github.com/users/hjelmn/orgs","repos_url":"https://api.github.com/users/hjelmn/repos","events_url":"https://api.github.com/users/hjelmn/events{/privacy}","received_events_url":"https://api.github.com/users/hjelmn/received_events","type":"User","site_admin":false},{"login":"jjhursey","id":4259120,"avatar_url":"https://avatars.githubusercontent.com/u/4259120?v=3","gravatar_id":"","url":"https://api.github.com/users/jjhursey","html_url":"https://github.com/jjhursey","followers_url":"https://api.github.com/users/jjhursey/followers","following_url":"https://api.github.com/users/jjhursey/following{/other_user}","gists_url":"https://api.github.com/users/jjhursey/gists{/gist_id}","starred_url":"https://api.github.com/users/jjhursey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjhursey/subscriptions","organizations_url":"https://api.github.com/users/jjhursey/orgs","repos_url":"https://api.github.com/users/jjhursey/repos","events_url":"https://api.github.com/users/jjhursey/events{/privacy}","received_events_url":"https://api.github.com/users/jjhursey/received_events","type":"User","site_admin":false},{"login":"nysal","id":8509287,"avatar_url":"https://avatars.githubusercontent.com/u/8509287?v=3","gravatar_id":"","url":"https://api.github.com/users/nysal","html_url":"https://github.com/nysal","followers_url":"https://api.github.com/users/nysal/followers","following_url":"https://api.github.com/users/nysal/following{/other_user}","gists_url":"https://api.github.com/users/nysal/gists{/gist_id}","starred_url":"https://api.github.com/users/nysal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nysal/subscriptions","organizations_url":"https://api.github.com/users/nysal/orgs","repos_url":"https://api.github.com/users/nysal/repos","events_url":"https://api.github.com/users/nysal/events{/privacy}","received_events_url":"https://api.github.com/users/nysal/received_events","type":"User","site_admin":false},{"login":"gpaulsen","id":10405509,"avatar_url":"https://avatars.githubusercontent.com/u/10405509?v=3","gravatar_id":"","url":"https://api.github.com/users/gpaulsen","html_url":"https://github.com/gpaulsen","followers_url":"https://api.github.com/users/gpaulsen/followers","following_url":"https://api.github.com/users/gpaulsen/following{/other_user}","gists_url":"https://api.github.com/users/gpaulsen/gists{/gist_id}","starred_url":"https://api.github.com/users/gpaulsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpaulsen/subscriptions","organizations_url":"https://api.github.com/users/gpaulsen/orgs","repos_url":"https://api.github.com/users/gpaulsen/repos","events_url":"https://api.github.com/users/gpaulsen/events{/privacy}","received_events_url":"https://api.github.com/users/gpaulsen/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/open-mpi/ompi/milestones/20","html_url":"https://github.com/open-mpi/ompi/milestones/v2.0.2","labels_url":"https://api.github.com/repos/open-mpi/ompi/milestones/20/labels","id":1945157,"number":20,"title":"v2.0.2","description":"","creator":{"login":"jsquyres","id":617316,"avatar_url":"https://avatars.githubusercontent.com/u/617316?v=3","gravatar_id":"","url":"https://api.github.com/users/jsquyres","html_url":"https://github.com/jsquyres","followers_url":"https://api.github.com/users/jsquyres/followers","following_url":"https://api.github.com/users/jsquyres/following{/other_user}","gists_url":"https://api.github.com/users/jsquyres/gists{/gist_id}","starred_url":"https://api.github.com/users/jsquyres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsquyres/subscriptions","organizations_url":"https://api.github.com/users/jsquyres/orgs","repos_url":"https://api.github.com/users/jsquyres/repos","events_url":"https://api.github.com/users/jsquyres/events{/privacy}","received_events_url":"https://api.github.com/users/jsquyres/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":63,"state":"open","created_at":"2016-08-16T14:31:37Z","updated_at":"2016-10-28T18:44:00Z","due_on":"2016-12-31T00:00:00Z","closed_at":null},"comments":18,"created_at":"2016-09-05T13:53:35Z","updated_at":"2016-10-28T21:33:05Z","closed_at":"2016-10-04T18:54:11Z","body":"Hi,\r\n\r\nEnabling --enable-mpi-cxx leads to:\r\n```\r\nmake[2]: Entering directory '/home/mckinstry/openmpi-2.0.1/ompi/mpi/cxx'\r\n/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../opal/include -I../../../ompi/include -I../../../oshmem/include -I../../../opal/mca/hwloc/hwloc1112/hwloc/include/private/autogen -I../../../opal/mca/hwloc/hwloc1112/hwloc/include/hwloc/autogen -I../../../ompi/mpiext/cuda/c  -DOMPI_BUILDING_CXX_BINDINGS_LIBRARY=1 -DOMPI_SKIP_MPICXX=1 -I../../.. -I../../../orte/include -Wdate-time -D_FORTIFY_SOURCE=2   -I/usr//include -I/home/mckinstry/openmpi-2.0.1/opal/mca/event/libevent2022/libevent -I/home/mckinstry/openmpi-2.0.1/opal/mca/event/libevent2022/libevent/include  -DNDEBUG -g -O2 -fdebug-prefix-map=/home/mckinstry/openmpi-2.0.1=. -fstack-protector-strong -Wformat -Werror=format-security -finline-functions -pthread -c -o mpicxx.lo mpicxx.cc\r\nlibtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../opal/include -I../../../ompi/include -I../../../oshmem/include -I../../../opal/mca/hwloc/hwloc1112/hwloc/include/private/autogen -I../../../opal/mca/hwloc/hwloc1112/hwloc/include/hwloc/autogen -I../../../ompi/mpiext/cuda/c -DOMPI_BUILDING_CXX_BINDINGS_LIBRARY=1 -DOMPI_SKIP_MPICXX=1 -I../../.. -I../../../orte/include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr//include -I/home/mckinstry/openmpi-2.0.1/opal/mca/event/libevent2022/libevent -I/home/mckinstry/openmpi-2.0.1/opal/mca/event/libevent2022/libevent/include -DNDEBUG -g -O2 -fdebug-prefix-map=/home/mckinstry/openmpi-2.0.1=. -fstack-protector-strong -Wformat -Werror=format-security -finline-functions -pthread -c mpicxx.cc  -fPIC -DPIC -o .libs/mpicxx.o\r\nIn file included from ../../../opal/class/opal_object.h:128:0,\r\n                 from ../../../ompi/errhandler/errhandler.h:32,\r\n                 from mpicxx.cc:37:\r\n../../../opal/threads/thread_usage.h: In function 'int32_t opal_thread_swap_32(volatile int32_t*, int32_t)':\r\n../../../opal/threads/thread_usage.h:134:76: error: 'opal_atomic_swap_32' was not declared in this scope\r\n         return opal_atomic_swap_ ## suffix ((volatile type *) ptr, newvalue); \\\r\n```\r\n\r\nThis fails because in opal/include/opal/sys/atomic.h: \r\n```\r\n #if defined(c_plusplus) || defined(__cplusplus)\r\n/* We no longer support inline assembly for C++ as OPAL is a C-only interface */\r\n#define opal_atomic_swap_32 0\r\n#define OPAL_DEC_INLINE_ASSEMBLY 0\r\n#define OPAL_XLC_INLINE_ASSEMBLY 0\r\n```\r\n\r\nand *opal_atomic_swap_32* is conditionally only included if opal_atomic_swap_32 is set"},"comment":{"url":"https://api.github.com/repos/open-mpi/ompi/issues/comments/257034189","html_url":"https://github.com/open-mpi/ompi/issues/2055#issuecomment-257034189","issue_url":"https://api.github.com/repos/open-mpi/ompi/issues/2055","id":257034189,"user":{"login":"hjelmn","id":1226817,"avatar_url":"https://avatars.githubusercontent.com/u/1226817?v=3","gravatar_id":"","url":"https://api.github.com/users/hjelmn","html_url":"https://github.com/hjelmn","followers_url":"https://api.github.com/users/hjelmn/followers","following_url":"https://api.github.com/users/hjelmn/following{/other_user}","gists_url":"https://api.github.com/users/hjelmn/gists{/gist_id}","starred_url":"https://api.github.com/users/hjelmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjelmn/subscriptions","organizations_url":"https://api.github.com/users/hjelmn/orgs","repos_url":"https://api.github.com/users/hjelmn/repos","events_url":"https://api.github.com/users/hjelmn/events{/privacy}","received_events_url":"https://api.github.com/users/hjelmn/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T21:33:04Z","updated_at":"2016-10-28T21:33:04Z","body":"Looks like we have an erroneous include in intercepts.cc still. The powerpc header is not used by default in master because we made (a perhaps poor) decision to use the builtin compiler atomics by default. The powerpc/atomic.h header is legal C99 which is not supported by C++."}}
{"actor":{"display_login":"hjelmn"}}