Skip to content

Instantly share code, notes, and snippets.

@hiroyuki-sato
Created September 27, 2020 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiroyuki-sato/af9e3d41b072fd8bef03fe8906ed030f to your computer and use it in GitHub Desktop.
Save hiroyuki-sato/af9e3d41b072fd8bef03fe8906ed030f to your computer and use it in GitHub Desktop.
ucx gtest 20200927
make -k
Making all in ucs/test_module
CCLD libtest_module.la
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: .libs/libtest_module.a the table of contents is empty (no object file members in the library define global symbols)
LN libtest_module.la
LN .libs/libtest_module.0.dylib
LN .libs/libtest_module.dylib
Making all in ucm/test_dlopen
Making all in rpath-subdir
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
CXX common/gtest-test_obj_size.o
CXX common/gtest-test_watchdog.o
CXX common/gtest-test_perf.o
CXX common/gtest-test.o
CXX uct/gtest-test_amo.o
In file included from uct/test_amo.cc:7:
uct/test_amo.h:163:5: error: unknown type name 'pthread_spinlock_t'; did you
mean 'pthread_rwlock_t'?
pthread_spinlock_t m_replies_lock;
^~~~~~~~~~~~~~~~~~
pthread_rwlock_t
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h:31:35: note:
'pthread_rwlock_t' declared here
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
^
uct/test_amo.cc:13:5: error: use of undeclared identifier 'pthread_spin_init';
did you mean 'pthread_cond_init'?
pthread_spin_init(&m_replies_lock, 0);
^~~~~~~~~~~~~~~~~
pthread_cond_init
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:299:5: note:
'pthread_cond_init' declared here
int pthread_cond_init(
^
uct/test_amo.cc:13:23: error: cannot initialize a parameter of type
'pthread_cond_t * _Nonnull' (aka '_opaque_pthread_cond_t *') with an
rvalue of type 'pthread_rwlock_t *' (aka '_opaque_pthread_rwlock_t *')
pthread_spin_init(&m_replies_lock, 0);
^~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:300:30: note:
passing argument to parameter here
pthread_cond_t * __restrict,
^
uct/test_amo.cc:53:5: error: use of undeclared identifier 'pthread_spin_lock';
did you mean 'pthread_mutex_lock'?
pthread_spin_lock(&m_replies_lock);
^~~~~~~~~~~~~~~~~
pthread_mutex_lock
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:383:5: note:
'pthread_mutex_lock' declared here
int pthread_mutex_lock(pthread_mutex_t *);
^
uct/test_amo.cc:53:23: error: cannot initialize a parameter of type
'pthread_mutex_t * _Nonnull' (aka '_opaque_pthread_mutex_t *') with an
rvalue of type 'pthread_rwlock_t *' (aka '_opaque_pthread_rwlock_t *')
pthread_spin_lock(&m_replies_lock);
^~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:383:41: note:
passing argument to parameter here
int pthread_mutex_lock(pthread_mutex_t *);
^
uct/test_amo.cc:55:5: error: use of undeclared identifier 'pthread_spin_unlock';
did you mean 'pthread_mutex_unlock'?
pthread_spin_unlock(&m_replies_lock);
^~~~~~~~~~~~~~~~~~~
pthread_mutex_unlock
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:393:5: note:
'pthread_mutex_unlock' declared here
int pthread_mutex_unlock(pthread_mutex_t *);
^
uct/test_amo.cc:55:25: error: cannot initialize a parameter of type
'pthread_mutex_t * _Nonnull' (aka '_opaque_pthread_mutex_t *') with an
rvalue of type 'pthread_rwlock_t *' (aka '_opaque_pthread_rwlock_t *')
pthread_spin_unlock(&m_replies_lock);
^~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:393:43: note:
passing argument to parameter here
int pthread_mutex_unlock(pthread_mutex_t *);
^
7 errors generated.
make[1]: *** [uct/gtest-test_amo.o] Error 1
CXX uct/gtest-test_amo_add_xor.o
In file included from uct/test_amo_add_xor.cc:7:
uct/test_amo.h:163:5: error: unknown type name 'pthread_spinlock_t'; did you
mean 'pthread_rwlock_t'?
pthread_spinlock_t m_replies_lock;
^~~~~~~~~~~~~~~~~~
pthread_rwlock_t
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h:31:35: note:
'pthread_rwlock_t' declared here
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
^
1 error generated.
make[1]: *** [uct/gtest-test_amo_add_xor.o] Error 1
CXX uct/gtest-test_amo_and_or.o
In file included from uct/test_amo_and_or.cc:7:
uct/test_amo.h:163:5: error: unknown type name 'pthread_spinlock_t'; did you
mean 'pthread_rwlock_t'?
pthread_spinlock_t m_replies_lock;
^~~~~~~~~~~~~~~~~~
pthread_rwlock_t
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h:31:35: note:
'pthread_rwlock_t' declared here
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
^
1 error generated.
make[1]: *** [uct/gtest-test_amo_and_or.o] Error 1
CXX uct/gtest-test_amo_cswap.o
In file included from uct/test_amo_cswap.cc:7:
uct/test_amo.h:163:5: error: unknown type name 'pthread_spinlock_t'; did you
mean 'pthread_rwlock_t'?
pthread_spinlock_t m_replies_lock;
^~~~~~~~~~~~~~~~~~
pthread_rwlock_t
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h:31:35: note:
'pthread_rwlock_t' declared here
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
^
1 error generated.
make[1]: *** [uct/gtest-test_amo_cswap.o] Error 1
CXX uct/gtest-test_amo_fadd_fxor.o
In file included from uct/test_amo_fadd_fxor.cc:7:
uct/test_amo.h:163:5: error: unknown type name 'pthread_spinlock_t'; did you
mean 'pthread_rwlock_t'?
pthread_spinlock_t m_replies_lock;
^~~~~~~~~~~~~~~~~~
pthread_rwlock_t
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h:31:35: note:
'pthread_rwlock_t' declared here
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
^
1 error generated.
make[1]: *** [uct/gtest-test_amo_fadd_fxor.o] Error 1
CXX uct/gtest-test_amo_fand_for.o
In file included from uct/test_amo_fand_for.cc:7:
uct/test_amo.h:163:5: error: unknown type name 'pthread_spinlock_t'; did you
mean 'pthread_rwlock_t'?
pthread_spinlock_t m_replies_lock;
^~~~~~~~~~~~~~~~~~
pthread_rwlock_t
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h:31:35: note:
'pthread_rwlock_t' declared here
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
^
1 error generated.
make[1]: *** [uct/gtest-test_amo_fand_for.o] Error 1
CXX uct/gtest-test_amo_swap.o
In file included from uct/test_amo_swap.cc:7:
uct/test_amo.h:163:5: error: unknown type name 'pthread_spinlock_t'; did you
mean 'pthread_rwlock_t'?
pthread_spinlock_t m_replies_lock;
^~~~~~~~~~~~~~~~~~
pthread_rwlock_t
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h:31:35: note:
'pthread_rwlock_t' declared here
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
^
1 error generated.
make[1]: *** [uct/gtest-test_amo_swap.o] Error 1
CXX uct/gtest-test_event.o
CXX uct/gtest-test_fence.o
CXX uct/gtest-test_flush.o
CXX uct/gtest-test_many2one_am.o
CXX uct/gtest-test_md.o
CXX uct/gtest-test_mm.o
CXX uct/gtest-test_mem.o
CXX uct/gtest-test_p2p_am.o
CXX uct/gtest-test_p2p_err.o
CXX uct/gtest-test_p2p_mix.o
CXX uct/gtest-test_p2p_rma.o
CXX uct/gtest-test_pending.o
CXX uct/gtest-test_progress.o
CXX uct/gtest-test_uct_ep.o
CXX uct/gtest-test_uct_perf.o
CXX uct/gtest-test_zcopy_comp.o
CXX uct/gtest-uct_p2p_test.o
CXX uct/gtest-uct_test.o
CXX uct/gtest-test_stats.o
CXX ucs/gtest-test_event_set.o
CXX ucs/gtest-test_stats_filter.o
CXX uct/gtest-test_peer_failure.o
CXX uct/gtest-test_tag.o
CXX uct/tcp/gtest-test_tcp.o
CXX ucp/gtest-test_ucp_am.o
CXX ucp/gtest-test_ucp_stream.o
CXX ucp/gtest-test_ucp_peer_failure.o
CXX ucp/gtest-test_ucp_atomic.o
CXX ucp/gtest-test_ucp_dt.o
CXX ucp/gtest-test_ucp_memheap.o
CXX ucp/gtest-test_ucp_mmap.o
CXX ucp/gtest-test_ucp_mem_type.o
CXX ucp/gtest-test_ucp_perf.o
CXX ucp/gtest-test_ucp_proto.o
CXX ucp/gtest-test_ucp_rma.o
CXX ucp/gtest-test_ucp_rma_mt.o
CXX ucp/gtest-test_ucp_tag_cancel.o
CXX ucp/gtest-test_ucp_tag_match.o
CXX ucp/gtest-test_ucp_tag_offload.o
CXX ucp/gtest-test_ucp_tag_mt.o
CXX ucp/gtest-test_ucp_tag_perf.o
CXX ucp/gtest-test_ucp_tag_probe.o
CXX ucp/gtest-test_ucp_tag_xfer.o
CXX ucp/gtest-test_ucp_tag_mem_type.o
CXX ucp/gtest-test_ucp_tag.o
CXX ucp/gtest-test_ucp_context.o
CXX ucp/gtest-test_ucp_worker.o
CXX ucp/gtest-test_ucp_wireup.o
CXX ucp/gtest-test_ucp_wakeup.o
CXX ucp/gtest-test_ucp_fence.o
CXX ucp/gtest-test_ucp_sockaddr.o
CXX ucp/gtest-ucp_test.o
CXX ucp/gtest-ucp_datatype.o
CXX ucs/gtest-test_algorithm.o
CXX ucs/gtest-test_arbiter.o
CXX ucs/gtest-test_async.o
CXX ucs/gtest-test_callbackq.o
CXX ucs/gtest-test_class.o
CXX ucs/gtest-test_config.o
CXX ucs/gtest-test_conn_match.o
CXX ucs/gtest-test_datatype.o
CXX ucs/gtest-test_debug.o
CXX ucs/gtest-test_memtrack.o
CXX ucs/gtest-test_math.o
CXX ucs/gtest-test_mpmc.o
CXX ucs/gtest-test_mpool.o
CXX ucs/gtest-test_pgtable.o
CXX ucs/gtest-test_profile.o
CXX ucs/gtest-test_rcache.o
CXX ucs/gtest-test_memtype_cache.o
CXX ucs/gtest-test_stats.o
CXX ucs/gtest-test_strided_alloc.o
CXX ucs/gtest-test_string.o
CXX ucs/gtest-test_sys.o
CXX ucs/gtest-test_topo.o
CXX ucs/gtest-test_sock.o
CXX ucs/gtest-test_time.o
CXX ucs/gtest-test_twheel.o
CXX ucs/gtest-test_frag_list.o
CXX ucs/gtest-test_type.o
CXX ucs/gtest-test_log.o
CXX ucs/gtest-test_iov.o
CXX ucs/arch/gtest-test_x86_64.o
CC common/gtest-pthread_barrier.o
make[1]: *** No rule to make target `../../src/tools/perf/lib/libucxperf.la', needed by `gtest'.
make[1]: Target `all-am' not remade because of errors.
make: *** [all-recursive] Error 1
make: Target `all' not remade because of errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment