Skip to content

Instantly share code, notes, and snippets.

@keisukefukuda
Last active August 30, 2020 15:48
Show Gist options
  • Save keisukefukuda/eed1883571fd7a4624863bed45c1317b to your computer and use it in GitHub Desktop.
Save keisukefukuda/eed1883571fd7a4624863bed45c1317b to your computer and use it in GitHub Desktop.
Follow https://github.com/hiroyuki-sato/ucx/issues/34
$ git clean -xfd
$ ./autogen.sh && ./configure --disable-numa --with-progress64=./progress64
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in src/ucm
Making all in .
CC event/libucm_la-event.lo
In file included from event/event.c:21:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from event/event.c:21:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from event/event.c:21:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from event/event.c:21:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
event/event.c:303:19: error: use of undeclared identifier 'SHM_REMAP'
if ((shmflg & SHM_REMAP) && (shmaddr != NULL)) {
^
7 errors generated.
make[3]: *** [event/libucm_la-event.lo] Error 1
CC malloc/libucm_la-malloc_hook.lo
In file included from malloc/malloc_hook.c:34:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from malloc/malloc_hook.c:35:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from malloc/malloc_hook.c:35:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from malloc/malloc_hook.c:35:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from malloc/malloc_hook.c:35:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [malloc/libucm_la-malloc_hook.lo] Error 1
CC mmap/libucm_la-install.lo
In file included from mmap/install.c:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
mmap/install.c:178:50: error: use of undeclared identifier 'SHM_REMAP'
data, p = shmat(shmid, p, SHM_REMAP));
^
6 errors generated.
make[3]: *** [mmap/libucm_la-install.lo] Error 1
CC util/libucm_la-replace.lo
CC util/libucm_la-log.lo
CC util/libucm_la-reloc.lo
In file included from util/reloc.c:24:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
util/reloc.c:35:10: fatal error: 'link.h' file not found
#include <link.h>
^~~~~~~~
6 errors generated.
make[3]: *** [util/libucm_la-reloc.lo] Error 1
CC util/libucm_la-sys.lo
util/sys.c:21:10: fatal error: 'linux/mman.h' file not found
#include <linux/mman.h>
^~~~~~~~~~~~~~
1 error generated.
make[3]: *** [util/libucm_la-sys.lo] Error 1
CC bistro/libucm_la-bistro.lo
CC bistro/libucm_la-bistro_x86_64.lo
CC bistro/libucm_la-bistro_aarch64.lo
CC bistro/libucm_la-bistro_ppc64.lo
CC ptmalloc286/libucm_la-malloc.lo
make[3]: Target `all-am' not remade because of errors.
Making all in cuda
make[3]: Nothing to be done for `all'.
Making all in rocm
make[3]: Nothing to be done for `all'.
make[2]: *** [all-recursive] Error 1
make[2]: Target `all' not remade because of errors.
Making all in src/ucs
CC algorithm/libucs_la-crc.lo
CC algorithm/libucs_la-qsort_r.lo
CC arch/aarch64/libucs_la-cpu.lo
CC arch/aarch64/libucs_la-global_opts.lo
CC arch/ppc64/libucs_la-timebase.lo
In file included from arch/ppc64/timebase.c:12:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [arch/ppc64/libucs_la-timebase.lo] Error 1
CC arch/ppc64/libucs_la-global_opts.lo
CC arch/x86_64/libucs_la-cpu.lo
In file included from arch/x86_64/cpu.c:17:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [arch/x86_64/libucs_la-cpu.lo] Error 1
CC arch/x86_64/libucs_la-global_opts.lo
CC arch/libucs_la-cpu.lo
In file included from arch/cpu.c:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [arch/libucs_la-cpu.lo] Error 1
CC async/libucs_la-async.lo
In file included from async/async.c:11:
In file included from async/async_int.h:10:
In file included from async/async.h:10:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from async/async.c:11:
In file included from async/async_int.h:10:
In file included from async/async.h:10:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from async/async.c:11:
In file included from async/async_int.h:10:
In file included from async/async.h:10:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from async/async.c:11:
In file included from async/async_int.h:10:
In file included from async/async.h:10:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from async/async.c:11:
In file included from async/async_int.h:10:
In file included from async/async.h:11:
In file included from async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [async/libucs_la-async.lo] Error 1
CC async/libucs_la-signal.lo
In file included from async/signal.c:11:
In file included from async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from async/signal.c:12:
In file included from async/async_int.h:10:
In file included from async/async.h:10:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from async/signal.c:12:
In file included from async/async_int.h:10:
In file included from async/async.h:10:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from async/signal.c:12:
In file included from async/async_int.h:10:
In file included from async/async.h:10:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from async/signal.c:12:
In file included from async/async_int.h:10:
In file included from async/async.h:10:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[2]: *** [async/libucs_la-signal.lo] Error 1
CC async/libucs_la-pipe.lo
In file included from async/pipe.c:14:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [async/libucs_la-pipe.lo] Error 1
CC async/libucs_la-thread.lo
In file included from async/thread.c:11:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from async/thread.c:11:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from async/thread.c:11:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from async/thread.c:11:
In file included from async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from async/thread.c:12:
In file included from async/async_int.h:10:
In file included from async/async.h:11:
In file included from async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [async/libucs_la-thread.lo] Error 1
CC config/libucs_la-global_opts.lo
CC config/libucs_la-ucm_opts.lo
CC config/libucs_la-parser.lo
In file included from config/parser.c:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [config/libucs_la-parser.lo] Error 1
CC datastruct/libucs_la-arbiter.lo
CC datastruct/libucs_la-array.lo
CC datastruct/libucs_la-callbackq.lo
In file included from datastruct/callbackq.c:12:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from datastruct/callbackq.c:12:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from datastruct/callbackq.c:12:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from datastruct/callbackq.c:12:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from datastruct/callbackq.c:15:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
datastruct/callbackq.c:56:5: error: duplicate case value '0'
UCS_STATIC_ASSERT(sizeof(cbq->priv) == sizeof(ucs_callbackq_priv_t));
^
/Users/keisukefukuda/ucx/src/ucs/sys/compiler_def.h:27:29: note: expanded from macro 'UCS_STATIC_ASSERT'
switch(0) {case 0:case (_cond):;}
^
datastruct/callbackq.c:56:5: note: previous case defined here
/Users/keisukefukuda/ucx/src/ucs/sys/compiler_def.h:27:22: note: expanded from macro 'UCS_STATIC_ASSERT'
switch(0) {case 0:case (_cond):;}
^
12 errors generated.
make[2]: *** [datastruct/libucs_la-callbackq.lo] Error 1
CC datastruct/libucs_la-frag_list.lo
CC datastruct/libucs_la-mpmc.lo
CC datastruct/libucs_la-mpool.lo
In file included from datastruct/mpool.c:12:
In file included from datastruct/mpool.inl:14:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [datastruct/libucs_la-mpool.lo] Error 1
CC datastruct/libucs_la-pgtable.lo
CC datastruct/libucs_la-ptr_array.lo
In file included from datastruct/ptr_array.c:12:
In file included from datastruct/ptr_array.h:13:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from datastruct/ptr_array.c:12:
In file included from datastruct/ptr_array.h:13:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from datastruct/ptr_array.c:12:
In file included from datastruct/ptr_array.h:13:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from datastruct/ptr_array.c:12:
In file included from datastruct/ptr_array.h:13:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from datastruct/ptr_array.c:15:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [datastruct/libucs_la-ptr_array.lo] Error 1
CC datastruct/libucs_la-strided_alloc.lo
In file included from datastruct/strided_alloc.c:16:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [datastruct/libucs_la-strided_alloc.lo] Error 1
CC datastruct/libucs_la-string_buffer.lo
CC datastruct/libucs_la-string_set.lo
CC datastruct/libucs_la-conn_match.lo
CC debug/libucs_la-assert.lo
CC debug/libucs_la-debug.lo
In file included from debug/debug.c:19:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from debug/debug.c:20:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from debug/debug.c:20:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from debug/debug.c:20:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from debug/debug.c:20:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[2]: *** [debug/libucs_la-debug.lo] Error 1
CC debug/libucs_la-log.lo
In file included from debug/log.c:17:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
debug/log.c:73:8: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
static pthread_spinlock_t threads_lock = 0;
^~~~~~~~~~~~~~~~~~
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;
^
debug/log.c:73:27: error: initializing 'pthread_rwlock_t' (aka 'struct _opaque_pthread_rwlock_t') with an expression of incompatible type 'int'
static pthread_spinlock_t threads_lock = 0;
^ ~
debug/log.c:93:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&threads_lock);
^
debug/log.c:93:5: note: did you mean '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 *);
^
debug/log.c:115:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&threads_lock);
^
debug/log.c:115:5: note: did you mean 'pthread_spin_lock'?
debug/log.c:93:5: note: 'pthread_spin_lock' declared here
pthread_spin_lock(&threads_lock);
^
debug/log.c:435:5: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_init(&threads_lock, 0);
^
debug/log.c:485:5: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_destroy(&threads_lock);
^
11 errors generated.
make[2]: *** [debug/libucs_la-log.lo] Error 1
CC debug/libucs_la-memtrack.lo
In file included from debug/memtrack.c:16:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [debug/libucs_la-memtrack.lo] Error 1
CC memory/libucs_la-memory_type.lo
CC memory/libucs_la-memtype_cache.lo
In file included from memory/memtype_cache.c:20:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [memory/libucs_la-memtype_cache.lo] Error 1
CC memory/libucs_la-numa.lo
CC memory/libucs_la-rcache.lo
In file included from memory/rcache.c:19:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from memory/rcache.c:20:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from memory/rcache.c:20:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from memory/rcache.c:20:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from memory/rcache.c:20:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[2]: *** [memory/libucs_la-rcache.lo] Error 1
CC profile/libucs_la-profile.lo
In file included from profile/profile.c:17:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [profile/libucs_la-profile.lo] Error 1
CC stats/libucs_la-stats.lo
In file included from stats/stats.c:18:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [stats/libucs_la-stats.lo] Error 1
CC sys/libucs_la-event_set.lo
sys/event_set.c:22:10: fatal error: 'sys/epoll.h' file not found
#include <sys/epoll.h>
^~~~~~~~~~~~~
1 error generated.
make[2]: *** [sys/libucs_la-event_set.lo] Error 1
CC sys/libucs_la-init.lo
In file included from sys/init.c:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from sys/init.c:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from sys/init.c:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from sys/init.c:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from sys/init.c:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [sys/libucs_la-init.lo] Error 1
CC sys/libucs_la-math.lo
In file included from sys/math.c:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [sys/libucs_la-math.lo] Error 1
CC sys/libucs_la-module.lo
CC sys/libucs_la-string.lo
In file included from sys/string.c:13:
sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [sys/libucs_la-string.lo] Error 1
CC sys/libucs_la-sys.lo
In file included from sys/sys.c:17:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
sys/sys.c:193:33: error: use of undeclared identifier 'SIOCGIFHWADDR'
if (ioctl(sock, SIOCGIFHWADDR, &ifr) != 0) {
^
sys/sys.c:199:42: error: no member named 'ifr_hwaddr' in 'struct ifreq'
memcpy(&mac_address, ifr.ifr_hwaddr.sa_data, 6);
~~~ ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
^~~~~~~~~~~
sys/sys.c:259:5: error: use of undeclared identifier 'ucs_sys_cpuset_t'; did you mean 'ucs_sys_cpuset_copy'?
ucs_sys_cpuset_t mask;
^~~~~~~~~~~~~~~~
ucs_sys_cpuset_copy
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:6: note: 'ucs_sys_cpuset_copy' declared here
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
sys/sys.c:268:5: error: implicit declaration of function 'CPU_ZERO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
CPU_ZERO(&mask);
^
sys/sys.c:268:15: error: use of undeclared identifier 'mask'; did you mean 'umask'?
CPU_ZERO(&mask);
^~~~
umask
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:386:9: note: 'umask' declared here
mode_t umask(mode_t);
^
sys/sys.c:269:32: error: use of undeclared identifier 'mask'; did you mean 'umask'?
ret = ucs_sys_getaffinity(&mask);
^~~~
umask
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:386:9: note: 'umask' declared here
mode_t umask(mode_t);
^
sys/sys.c:276:13: error: implicit declaration of function 'CPU_ISSET' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (CPU_ISSET(first_cpu, &mask)) {
^
sys/sys.c:276:35: error: use of undeclared identifier 'mask'; did you mean 'umask'?
if (CPU_ISSET(first_cpu, &mask)) {
^~~~
umask
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:386:9: note: 'umask' declared here
mode_t umask(mode_t);
^
sys/sys.c:703:61: error: declaration of 'struct shminfo' will not be visible outside of this function [-Werror,-Wvisibility]
const struct shminfo *ipc_info,
^
sys/sys.c:708:21: error: variable has incomplete type 'struct shm_info'
struct shm_info shm_info;
^
sys/sys.c:708:12: note: forward declaration of 'struct shm_info'
struct shm_info shm_info;
^
sys/sys.c:715:21: error: use of undeclared identifier 'SHM_INFO'
ret = shmctl(0, SHM_INFO, (struct shmid_ds *)&shm_info);
^
sys/sys.c:721:32: error: incomplete definition of type 'struct shminfo'
if (new_used_ids > ipc_info->shmmni) {
~~~~~~~~^
sys/sys.c:703:61: note: forward declaration of 'struct shminfo'
const struct shminfo *ipc_info,
^
sys/sys.c:725:40: error: incomplete definition of type 'struct shminfo'
new_used_ids, ipc_info->shmmni);
~~~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^~~~~~~~~~~
sys/sys.c:703:61: note: forward declaration of 'struct shminfo'
const struct shminfo *ipc_info,
^
sys/sys.c:731:31: error: incomplete definition of type 'struct shminfo'
if (new_shm_tot > ipc_info->shmall) {
~~~~~~~~^
sys/sys.c:703:61: note: forward declaration of 'struct shminfo'
const struct shminfo *ipc_info,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [sys/libucs_la-sys.lo] Error 1
CC sys/libucs_la-iovec.lo
CC sys/libucs_la-sock.lo
In file included from sys/sock.c:17:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[2]: *** [sys/libucs_la-sock.lo] Error 1
CC sys/libucs_la-topo.lo
In file included from sys/topo.c:16:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from sys/topo.c:16:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from sys/topo.c:16:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from sys/topo.c:16:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
6 errors generated.
make[2]: *** [sys/libucs_la-topo.lo] Error 1
CC sys/libucs_la-stubs.lo
CC time/libucs_la-time.lo
CC time/libucs_la-timer_wheel.lo
CC time/libucs_la-timerq.lo
In file included from time/timerq.c:11:
In file included from time/timerq.h:14:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from time/timerq.c:11:
In file included from time/timerq.h:14:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from time/timerq.c:11:
In file included from time/timerq.h:14:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from time/timerq.c:11:
In file included from time/timerq.h:14:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
6 errors generated.
make[2]: *** [time/libucs_la-timerq.lo] Error 1
CC type/libucs_la-class.lo
CC type/libucs_la-status.lo
CC type/libucs_la-init_once.lo
make[2]: *** No rule to make target `../../src/ucm/libucm.la', needed by `libucs.la'.
make[2]: Target `all' not remade because of errors.
Making all in src/uct
Making all in .
CC base/libuct_la-uct_md.lo
In file included from base/uct_md.c:14:
In file included from base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [base/libuct_la-uct_md.lo] Error 1
CC base/libuct_la-uct_mem.lo
In file included from base/uct_mem.c:11:
In file included from base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [base/libuct_la-uct_mem.lo] Error 1
CC base/libuct_la-uct_component.lo
CC base/libuct_la-uct_iface.lo
In file included from base/uct_iface.c:12:
In file included from base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from base/uct_iface.c:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from base/uct_iface.c:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from base/uct_iface.c:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from base/uct_iface.c:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [base/libuct_la-uct_iface.lo] Error 1
CC base/libuct_la-uct_worker.lo
In file included from base/uct_worker.c:17:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from base/uct_worker.c:17:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from base/uct_worker.c:17:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from base/uct_worker.c:17:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from base/uct_worker.c:17:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[3]: *** [base/libuct_la-uct_worker.lo] Error 1
CC base/libuct_la-uct_cm.lo
In file included from base/uct_cm.c:11:
In file included from base/uct_cm.h:11:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [base/libuct_la-uct_cm.lo] Error 1
CC sm/base/libuct_la-sm_ep.lo
In file included from sm/base/sm_ep.c:10:
In file included from sm/base/sm_ep.h:9:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [sm/base/libuct_la-sm_ep.lo] Error 1
CC sm/base/libuct_la-sm_iface.lo
In file included from sm/base/sm_iface.c:12:
In file included from sm/base/sm_iface.h:11:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [sm/base/libuct_la-sm_iface.lo] Error 1
CC sm/mm/base/libuct_la-mm_iface.lo
In file included from sm/mm/base/mm_iface.c:11:
In file included from sm/mm/base/mm_iface.h:13:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from sm/mm/base/mm_iface.c:18:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from sm/mm/base/mm_iface.c:18:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from sm/mm/base/mm_iface.c:18:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from sm/mm/base/mm_iface.c:18:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [sm/mm/base/libuct_la-mm_iface.lo] Error 1
CC sm/mm/base/libuct_la-mm_ep.lo
In file included from sm/mm/base/mm_ep.c:12:
In file included from sm/mm/base/mm_ep.h:11:
In file included from sm/mm/base/mm_iface.h:13:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [sm/mm/base/libuct_la-mm_ep.lo] Error 1
CC sm/mm/base/libuct_la-mm_md.lo
CC sm/mm/posix/libuct_la-mm_posix.lo
In file included from sm/mm/posix/mm_posix.c:13:
In file included from /Users/keisukefukuda/ucx/src/uct/sm/mm/base/mm_iface.h:13:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [sm/mm/posix/libuct_la-mm_posix.lo] Error 1
CC sm/mm/sysv/libuct_la-mm_sysv.lo
In file included from sm/mm/sysv/mm_sysv.c:12:
In file included from /Users/keisukefukuda/ucx/src/uct/sm/mm/base/mm_iface.h:13:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [sm/mm/sysv/libuct_la-mm_sysv.lo] Error 1
CC sm/scopy/base/libuct_la-scopy_iface.lo
In file included from sm/scopy/base/scopy_iface.c:10:
In file included from sm/scopy/base/scopy_iface.h:9:
In file included from sm/scopy/base/scopy_ep.h:9:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [sm/scopy/base/libuct_la-scopy_iface.lo] Error 1
CC sm/scopy/base/libuct_la-scopy_ep.lo
In file included from sm/scopy/base/scopy_ep.c:10:
In file included from sm/scopy/base/scopy_iface.h:9:
In file included from sm/scopy/base/scopy_ep.h:9:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [sm/scopy/base/libuct_la-scopy_ep.lo] Error 1
CC sm/self/libuct_la-self.lo
In file included from sm/self/self.c:10:
In file included from sm/self/self.h:10:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [sm/self/libuct_la-self.lo] Error 1
CC tcp/libuct_la-tcp_ep.lo
In file included from tcp/tcp_ep.c:10:
In file included from tcp/tcp.h:12:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from tcp/tcp_ep.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tcp/tcp_ep.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tcp/tcp_ep.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tcp/tcp_ep.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [tcp/libuct_la-tcp_ep.lo] Error 1
CC tcp/libuct_la-tcp_iface.lo
In file included from tcp/tcp_iface.c:11:
In file included from tcp/tcp.h:12:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from tcp/tcp_iface.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tcp/tcp_iface.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tcp/tcp_iface.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tcp/tcp_iface.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [tcp/libuct_la-tcp_iface.lo] Error 1
CC tcp/libuct_la-tcp_md.lo
In file included from tcp/tcp_md.c:10:
In file included from tcp/tcp.h:12:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [tcp/libuct_la-tcp_md.lo] Error 1
CC tcp/libuct_la-tcp_net.lo
In file included from tcp/tcp_net.c:7:
In file included from tcp/tcp.h:12:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [tcp/libuct_la-tcp_net.lo] Error 1
CC tcp/libuct_la-tcp_cm.lo
In file included from tcp/tcp_cm.c:10:
In file included from tcp/tcp.h:12:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from tcp/tcp_cm.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tcp/tcp_cm.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tcp/tcp_cm.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tcp/tcp_cm.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [tcp/libuct_la-tcp_cm.lo] Error 1
CC tcp/libuct_la-tcp_base.lo
CC tcp/libuct_la-tcp_sockcm.lo
In file included from tcp/tcp_sockcm.c:11:
In file included from tcp/tcp_sockcm_ep.h:7:
In file included from tcp/tcp_listener.h:7:
In file included from tcp/tcp_sockcm.h:8:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_cm.h:11:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from tcp/tcp_sockcm.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tcp/tcp_sockcm.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tcp/tcp_sockcm.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tcp/tcp_sockcm.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [tcp/libuct_la-tcp_sockcm.lo] Error 1
CC tcp/libuct_la-tcp_listener.lo
In file included from tcp/tcp_listener.c:11:
In file included from tcp/tcp_sockcm_ep.h:7:
In file included from tcp/tcp_listener.h:7:
In file included from tcp/tcp_sockcm.h:8:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_cm.h:11:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from tcp/tcp_listener.c:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tcp/tcp_listener.c:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tcp/tcp_listener.c:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tcp/tcp_listener.c:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [tcp/libuct_la-tcp_listener.lo] Error 1
CC tcp/libuct_la-tcp_sockcm_ep.lo
In file included from tcp/tcp_sockcm_ep.c:11:
In file included from tcp/tcp_sockcm_ep.h:7:
In file included from tcp/tcp_listener.h:7:
In file included from tcp/tcp_sockcm.h:8:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_cm.h:11:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from tcp/tcp_sockcm_ep.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tcp/tcp_sockcm_ep.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tcp/tcp_sockcm_ep.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tcp/tcp_sockcm_ep.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [tcp/libuct_la-tcp_sockcm_ep.lo] Error 1
CC tcp/sockcm/libuct_la-sockcm_iface.lo
In file included from tcp/sockcm/sockcm_iface.c:11:
In file included from tcp/sockcm/sockcm_iface.h:10:
In file included from tcp/sockcm/sockcm_def.h:12:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from tcp/sockcm/sockcm_iface.c:11:
In file included from tcp/sockcm/sockcm_iface.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tcp/sockcm/sockcm_iface.c:11:
In file included from tcp/sockcm/sockcm_iface.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tcp/sockcm/sockcm_iface.c:11:
In file included from tcp/sockcm/sockcm_iface.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tcp/sockcm/sockcm_iface.c:11:
In file included from tcp/sockcm/sockcm_iface.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [tcp/sockcm/libuct_la-sockcm_iface.lo] Error 1
CC tcp/sockcm/libuct_la-sockcm_ep.lo
In file included from tcp/sockcm/sockcm_ep.c:11:
In file included from tcp/sockcm/sockcm_ep.h:10:
In file included from tcp/sockcm/sockcm_iface.h:10:
In file included from tcp/sockcm/sockcm_def.h:12:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from tcp/sockcm/sockcm_ep.c:11:
In file included from tcp/sockcm/sockcm_ep.h:10:
In file included from tcp/sockcm/sockcm_iface.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tcp/sockcm/sockcm_ep.c:11:
In file included from tcp/sockcm/sockcm_ep.h:10:
In file included from tcp/sockcm/sockcm_iface.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tcp/sockcm/sockcm_ep.c:11:
In file included from tcp/sockcm/sockcm_ep.h:10:
In file included from tcp/sockcm/sockcm_iface.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tcp/sockcm/sockcm_ep.c:11:
In file included from tcp/sockcm/sockcm_ep.h:10:
In file included from tcp/sockcm/sockcm_iface.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [tcp/sockcm/libuct_la-sockcm_ep.lo] Error 1
CC tcp/sockcm/libuct_la-sockcm_md.lo
In file included from tcp/sockcm/sockcm_md.c:11:
In file included from tcp/sockcm/sockcm_md.h:10:
In file included from tcp/sockcm/sockcm_def.h:12:
In file included from /Users/keisukefukuda/ucx/src/uct/base/uct_iface.h:21:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from tcp/sockcm/sockcm_md.c:11:
In file included from tcp/sockcm/sockcm_md.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tcp/sockcm/sockcm_md.c:11:
In file included from tcp/sockcm/sockcm_md.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tcp/sockcm/sockcm_md.c:11:
In file included from tcp/sockcm/sockcm_md.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tcp/sockcm/sockcm_md.c:11:
In file included from tcp/sockcm/sockcm_md.h:10:
In file included from tcp/sockcm/sockcm_def.h:16:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
11 errors generated.
make[3]: *** [tcp/sockcm/libuct_la-sockcm_md.lo] Error 1
make[3]: *** No rule to make target `../../src/ucs/libucs.la', needed by `libuct.la'.
make[3]: Target `all-am' not remade because of errors.
Making all in cuda
make[4]: Nothing to be done for `all-am'.
Making all in ib
make[4]: Nothing to be done for `all-am'.
Making all in rocm
make[4]: Nothing to be done for `all-am'.
Making all in sm
Making all in scopy
Making all in cma
make[5]: Nothing to be done for `all'.
Making all in knem
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in mm
Making all in xpmem
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
make[4]: Nothing to be done for `all-am'.
Making all in ugni
make[3]: Nothing to be done for `all'.
make[2]: *** [all-recursive] Error 1
make[2]: Target `all' not remade because of errors.
Making all in src/ucp
CC core/libucp_la-ucp_context.lo
In file included from core/ucp_context.c:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from core/ucp_context.c:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from core/ucp_context.c:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from core/ucp_context.c:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from core/ucp_context.c:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [core/libucp_la-ucp_context.lo] Error 1
CC core/libucp_la-ucp_am.lo
In file included from core/ucp_am.c:13:
In file included from core/ucp_am.inl:7:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from core/ucp_am.c:13:
In file included from core/ucp_am.inl:7:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from core/ucp_am.c:13:
In file included from core/ucp_am.inl:7:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from core/ucp_am.c:13:
In file included from core/ucp_am.inl:7:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from core/ucp_am.c:13:
In file included from core/ucp_am.inl:7:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [core/libucp_la-ucp_am.lo] Error 1
CC core/libucp_la-ucp_ep.lo
In file included from core/ucp_ep.c:13:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from core/ucp_ep.c:13:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from core/ucp_ep.c:13:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from core/ucp_ep.c:13:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from core/ucp_ep.c:13:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [core/libucp_la-ucp_ep.lo] Error 1
CC core/libucp_la-ucp_listener.lo
In file included from core/ucp_listener.c:11:
In file included from core/ucp_listener.h:11:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from core/ucp_listener.c:11:
In file included from core/ucp_listener.h:11:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from core/ucp_listener.c:11:
In file included from core/ucp_listener.h:11:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from core/ucp_listener.c:11:
In file included from core/ucp_listener.h:11:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from core/ucp_listener.c:11:
In file included from core/ucp_listener.h:11:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [core/libucp_la-ucp_listener.lo] Error 1
CC core/libucp_la-ucp_mm.lo
In file included from core/ucp_mm.c:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from core/ucp_mm.c:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from core/ucp_mm.c:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from core/ucp_mm.c:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from core/ucp_mm.c:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [core/libucp_la-ucp_mm.lo] Error 1
CC core/libucp_la-ucp_proxy_ep.lo
In file included from core/ucp_proxy_ep.c:12:
In file included from core/ucp_ep.inl:12:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from core/ucp_proxy_ep.c:12:
In file included from core/ucp_ep.inl:12:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from core/ucp_proxy_ep.c:12:
In file included from core/ucp_ep.inl:12:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from core/ucp_proxy_ep.c:12:
In file included from core/ucp_ep.inl:12:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from core/ucp_proxy_ep.c:12:
In file included from core/ucp_ep.inl:12:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [core/libucp_la-ucp_proxy_ep.lo] Error 1
CC core/libucp_la-ucp_request.lo
In file included from core/ucp_request.c:11:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from core/ucp_request.c:11:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from core/ucp_request.c:11:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from core/ucp_request.c:11:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from core/ucp_request.c:11:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [core/libucp_la-ucp_request.lo] Error 1
CC core/libucp_la-ucp_rkey.lo
In file included from core/ucp_rkey.c:12:
In file included from core/ucp_request.h:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from core/ucp_rkey.c:12:
In file included from core/ucp_request.h:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from core/ucp_rkey.c:12:
In file included from core/ucp_request.h:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from core/ucp_rkey.c:12:
In file included from core/ucp_request.h:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from core/ucp_rkey.c:12:
In file included from core/ucp_request.h:13:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [core/libucp_la-ucp_rkey.lo] Error 1
CC core/libucp_la-ucp_version.lo
CC core/libucp_la-ucp_worker.lo
In file included from core/ucp_worker.c:13:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from core/ucp_worker.c:13:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from core/ucp_worker.c:13:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from core/ucp_worker.c:13:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from core/ucp_worker.c:13:
In file included from core/ucp_worker.h:12:
In file included from core/ucp_context.h:14:
In file included from core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [core/libucp_la-ucp_worker.lo] Error 1
CC dt/libucp_la-dt_contig.lo
CC dt/libucp_la-dt_iov.lo
CC dt/libucp_la-dt_generic.lo
CC dt/libucp_la-dt.lo
In file included from dt/dt.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from dt/dt.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from dt/dt.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from dt/dt.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from dt/dt.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [dt/libucp_la-dt.lo] Error 1
CC proto/libucp_la-lane_type.lo
CC proto/libucp_la-proto_am.lo
In file included from proto/proto_am.c:11:
In file included from proto/proto_am.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from proto/proto_am.c:11:
In file included from proto/proto_am.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from proto/proto_am.c:11:
In file included from proto/proto_am.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from proto/proto_am.c:11:
In file included from proto/proto_am.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from proto/proto_am.c:11:
In file included from proto/proto_am.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [proto/libucp_la-proto_am.lo] Error 1
CC proto/libucp_la-proto_common.lo
In file included from proto/proto_common.c:12:
In file included from proto/proto_select.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from proto/proto_common.c:12:
In file included from proto/proto_select.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from proto/proto_common.c:12:
In file included from proto/proto_select.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from proto/proto_common.c:12:
In file included from proto/proto_select.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from proto/proto_common.c:12:
In file included from proto/proto_select.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [proto/libucp_la-proto_common.lo] Error 1
CC proto/libucp_la-proto_multi.lo
CC proto/libucp_la-proto_select.lo
In file included from proto/proto_select.c:12:
In file included from proto/proto_select.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from proto/proto_select.c:12:
In file included from proto/proto_select.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from proto/proto_select.c:12:
In file included from proto/proto_select.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from proto/proto_select.c:12:
In file included from proto/proto_select.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from proto/proto_select.c:12:
In file included from proto/proto_select.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [proto/libucp_la-proto_select.lo] Error 1
CC proto/libucp_la-proto_single.lo
CC proto/libucp_la-proto.lo
CC rma/libucp_la-amo_basic.lo
In file included from rma/amo_basic.c:13:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from rma/amo_basic.c:13:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from rma/amo_basic.c:13:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from rma/amo_basic.c:13:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from rma/amo_basic.c:13:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [rma/libucp_la-amo_basic.lo] Error 1
CC rma/libucp_la-amo_send.lo
In file included from rma/amo_send.c:13:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from rma/amo_send.c:13:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from rma/amo_send.c:13:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from rma/amo_send.c:13:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from rma/amo_send.c:13:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [rma/libucp_la-amo_send.lo] Error 1
CC rma/libucp_la-amo_sw.lo
In file included from rma/amo_sw.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from rma/amo_sw.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from rma/amo_sw.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from rma/amo_sw.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from rma/amo_sw.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [rma/libucp_la-amo_sw.lo] Error 1
CC rma/libucp_la-rma_basic.lo
In file included from rma/rma_basic.c:15:
In file included from /Users/keisukefukuda/ucx/src/ucp/proto/proto_am.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from rma/rma_basic.c:15:
In file included from /Users/keisukefukuda/ucx/src/ucp/proto/proto_am.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from rma/rma_basic.c:15:
In file included from /Users/keisukefukuda/ucx/src/ucp/proto/proto_am.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from rma/rma_basic.c:15:
In file included from /Users/keisukefukuda/ucx/src/ucp/proto/proto_am.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from rma/rma_basic.c:15:
In file included from /Users/keisukefukuda/ucx/src/ucp/proto/proto_am.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [rma/libucp_la-rma_basic.lo] Error 1
CC rma/libucp_la-rma_send.lo
In file included from rma/rma_send.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from rma/rma_send.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from rma/rma_send.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from rma/rma_send.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from rma/rma_send.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [rma/libucp_la-rma_send.lo] Error 1
CC rma/libucp_la-rma_sw.lo
In file included from rma/rma_sw.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from rma/rma_sw.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from rma/rma_sw.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from rma/rma_sw.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from rma/rma_sw.c:12:
In file included from rma/rma.inl:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.inl:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [rma/libucp_la-rma_sw.lo] Error 1
CC rma/libucp_la-flush.lo
In file included from rma/flush.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from rma/flush.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from rma/flush.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from rma/flush.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from rma/flush.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [rma/libucp_la-flush.lo] Error 1
CC rndv/libucp_la-rndv.lo
In file included from rndv/rndv.c:11:
In file included from rndv/rndv.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from rndv/rndv.c:11:
In file included from rndv/rndv.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from rndv/rndv.c:11:
In file included from rndv/rndv.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from rndv/rndv.c:11:
In file included from rndv/rndv.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from rndv/rndv.c:11:
In file included from rndv/rndv.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [rndv/libucp_la-rndv.lo] Error 1
CC tag/libucp_la-eager_multi.lo
In file included from tag/eager_multi.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tag/eager_multi.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tag/eager_multi.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tag/eager_multi.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from tag/eager_multi.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [tag/libucp_la-eager_multi.lo] Error 1
CC tag/libucp_la-eager_rcv.lo
In file included from tag/eager_rcv.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tag/eager_rcv.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tag/eager_rcv.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tag/eager_rcv.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from tag/eager_rcv.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [tag/libucp_la-eager_rcv.lo] Error 1
CC tag/libucp_la-eager_snd.lo
In file included from tag/eager_snd.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tag/eager_snd.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tag/eager_snd.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tag/eager_snd.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from tag/eager_snd.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [tag/libucp_la-eager_snd.lo] Error 1
CC tag/libucp_la-eager_single.lo
In file included from tag/eager_single.c:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tag/eager_single.c:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tag/eager_single.c:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tag/eager_single.c:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from tag/eager_single.c:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [tag/libucp_la-eager_single.lo] Error 1
CC tag/libucp_la-probe.lo
In file included from tag/probe.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tag/probe.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tag/probe.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tag/probe.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from tag/probe.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [tag/libucp_la-probe.lo] Error 1
CC tag/libucp_la-tag_rndv.lo
In file included from tag/tag_rndv.c:11:
In file included from tag/tag_rndv.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/rndv/rndv.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tag/tag_rndv.c:11:
In file included from tag/tag_rndv.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/rndv/rndv.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tag/tag_rndv.c:11:
In file included from tag/tag_rndv.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/rndv/rndv.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tag/tag_rndv.c:11:
In file included from tag/tag_rndv.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/rndv/rndv.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from tag/tag_rndv.c:11:
In file included from tag/tag_rndv.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/rndv/rndv.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_request.h:13:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [tag/libucp_la-tag_rndv.lo] Error 1
CC tag/libucp_la-tag_match.lo
In file included from tag/tag_match.c:11:
In file included from tag/tag_match.inl:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tag/tag_match.c:11:
In file included from tag/tag_match.inl:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tag/tag_match.c:11:
In file included from tag/tag_match.inl:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tag/tag_match.c:11:
In file included from tag/tag_match.inl:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from tag/tag_match.c:11:
In file included from tag/tag_match.inl:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [tag/libucp_la-tag_match.lo] Error 1
CC tag/libucp_la-tag_recv.lo
In file included from tag/tag_recv.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tag/tag_recv.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tag/tag_recv.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tag/tag_recv.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from tag/tag_recv.c:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [tag/libucp_la-tag_recv.lo] Error 1
CC tag/libucp_la-tag_send.lo
In file included from tag/tag_send.c:11:
In file included from tag/tag_match.inl:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tag/tag_send.c:11:
In file included from tag/tag_match.inl:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tag/tag_send.c:11:
In file included from tag/tag_match.inl:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tag/tag_send.c:11:
In file included from tag/tag_match.inl:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from tag/tag_send.c:11:
In file included from tag/tag_match.inl:11:
In file included from tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [tag/libucp_la-tag_send.lo] Error 1
CC tag/libucp_la-offload.lo
In file included from tag/offload.c:11:
In file included from tag/offload.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tag/offload.c:11:
In file included from tag/offload.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tag/offload.c:11:
In file included from tag/offload.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tag/offload.c:11:
In file included from tag/offload.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from tag/offload.c:11:
In file included from tag/offload.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucp/tag/eager.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [tag/libucp_la-offload.lo] Error 1
CC wireup/libucp_la-address.lo
In file included from wireup/address.c:11:
In file included from wireup/address.h:10:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from wireup/address.c:11:
In file included from wireup/address.h:10:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from wireup/address.c:11:
In file included from wireup/address.h:10:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from wireup/address.c:11:
In file included from wireup/address.h:10:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from wireup/address.c:11:
In file included from wireup/address.h:10:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [wireup/libucp_la-address.lo] Error 1
CC wireup/libucp_la-ep_match.lo
In file included from wireup/ep_match.c:15:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from wireup/ep_match.c:15:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from wireup/ep_match.c:15:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from wireup/ep_match.c:15:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from wireup/ep_match.c:15:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [wireup/libucp_la-ep_match.lo] Error 1
CC wireup/libucp_la-select.lo
In file included from wireup/select.c:12:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from wireup/select.c:12:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from wireup/select.c:12:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from wireup/select.c:12:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from wireup/select.c:12:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [wireup/libucp_la-select.lo] Error 1
CC wireup/libucp_la-signaling_ep.lo
In file included from wireup/signaling_ep.c:11:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from wireup/signaling_ep.c:11:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from wireup/signaling_ep.c:11:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from wireup/signaling_ep.c:11:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from wireup/signaling_ep.c:11:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [wireup/libucp_la-signaling_ep.lo] Error 1
CC wireup/libucp_la-wireup_ep.lo
In file included from wireup/wireup_ep.c:11:
In file included from wireup/wireup_ep.h:11:
In file included from wireup/address.h:10:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from wireup/wireup_ep.c:11:
In file included from wireup/wireup_ep.h:11:
In file included from wireup/address.h:10:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from wireup/wireup_ep.c:11:
In file included from wireup/wireup_ep.h:11:
In file included from wireup/address.h:10:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from wireup/wireup_ep.c:11:
In file included from wireup/wireup_ep.h:11:
In file included from wireup/address.h:10:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from wireup/wireup_ep.c:11:
In file included from wireup/wireup_ep.h:11:
In file included from wireup/address.h:10:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [wireup/libucp_la-wireup_ep.lo] Error 1
CC wireup/libucp_la-wireup.lo
In file included from wireup/wireup.c:11:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from wireup/wireup.c:11:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from wireup/wireup.c:11:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from wireup/wireup.c:11:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from wireup/wireup.c:11:
In file included from wireup/wireup.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [wireup/libucp_la-wireup.lo] Error 1
CC wireup/libucp_la-wireup_cm.lo
In file included from wireup/wireup_cm.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_listener.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from wireup/wireup_cm.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_listener.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from wireup/wireup_cm.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_listener.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from wireup/wireup_cm.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_listener.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from wireup/wireup_cm.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_listener.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [wireup/libucp_la-wireup_cm.lo] Error 1
CC stream/libucp_la-stream_send.lo
In file included from stream/stream_send.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from stream/stream_send.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from stream/stream_send.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from stream/stream_send.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from stream/stream_send.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_ep.inl:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [stream/libucp_la-stream_send.lo] Error 1
CC stream/libucp_la-stream_recv.lo
In file included from stream/stream_recv.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from stream/stream_recv.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from stream/stream_recv.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from stream/stream_recv.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from stream/stream_recv.c:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_worker.h:12:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_context.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucp/core/ucp_thread.h:14:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[2]: *** [stream/libucp_la-stream_recv.lo] Error 1
make[2]: *** No rule to make target `../ucs/libucs.la', needed by `libucp.la'.
make[2]: *** No rule to make target `../uct/libuct.la', needed by `libucp.la'.
make[2]: Target `all' not remade because of errors.
Making all in src/tools/info
/usr/local/bin/gsed -nr 's:\s*#define\s+(\w+)(\s+(\w+)|\s+(".*")|\s*)$:{"\1", UCS_PP_MAKE_STRING(\3\4)},:p' <../../../config.h >build_config.h
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
CC ucx_info-build_info.o
CC ucx_info-proto_info.o
CC ucx_info-sys_info.o
In file included from sys_info.c:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
5 errors generated.
make[3]: *** [ucx_info-sys_info.o] Error 1
CC ucx_info-tl_info.o
In file included from tl_info.c:17:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from tl_info.c:17:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from tl_info.c:17:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from tl_info.c:17:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from tl_info.c:17:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[3]: *** [ucx_info-tl_info.o] Error 1
CC ucx_info-type_info.o
In file included from type_info.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async_int.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from type_info.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async_int.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from type_info.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async_int.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from type_info.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async_int.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from type_info.c:13:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async_int.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[3]: *** [ucx_info-type_info.o] Error 1
CC ucx_info-ucx_info.o
make[3]: *** No rule to make target `/Users/keisukefukuda/ucx/src/uct/libuct.la', needed by `ucx_info'.
make[3]: *** No rule to make target `/Users/keisukefukuda/ucx/src/ucp/libucp.la', needed by `ucx_info'.
make[3]: *** No rule to make target `/Users/keisukefukuda/ucx/src/ucs/libucs.la', needed by `ucx_info'.
make[3]: *** No rule to make target `/Users/keisukefukuda/ucx/src/ucm/libucm.la', needed by `ucx_info'.
make[3]: Target `all-am' not remade because of errors.
make[2]: *** [all] Error 2
Making all in src/tools/perf
Making all in cuda
make[3]: Nothing to be done for `all'.
Making all in rocm
make[3]: Nothing to be done for `all'.
Making all in lib
CC libucxperf_la-libperf.lo
In file included from libperf.c:19:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from libperf.c:19:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from libperf.c:19:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from libperf.c:19:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from libperf.c:19:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
11 errors generated.
make[3]: *** [libucxperf_la-libperf.lo] Error 1
CXX libucxperf_la-uct_tests.lo
In file included from uct_tests.cc:15:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from uct_tests.cc:15:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: use of undeclared identifier 'pthread_spin_init'; did you mean 'pthread_cond_init'?
ret = pthread_spin_init(&lock->lock, lock_flags);
^~~~~~~~~~~~~~~~~
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(
^
In file included from uct_tests.cc:15:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:29: 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 *')
ret = pthread_spin_init(&lock->lock, lock_flags);
^~~~~~~~~~~
/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,
^
In file included from uct_tests.cc:15:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: use of undeclared identifier 'pthread_spin_destroy'
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: use of undeclared identifier 'pthread_spin_lock'; did you mean 'pthread_mutex_lock'?
pthread_spin_lock(&lock->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 *);
^
In file included from uct_tests.cc:15:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123: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(&lock->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 *);
^
In file included from uct_tests.cc:15:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: use of undeclared identifier 'pthread_spin_trylock'; did you mean 'pthread_mutex_trylock'?
if (pthread_spin_trylock(&lock->lock) != 0) {
^~~~~~~~~~~~~~~~~~~~
pthread_mutex_trylock
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from uct_tests.cc:15:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:30: 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 *')
if (pthread_spin_trylock(&lock->lock) != 0) {
^~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:44: note: passing argument to parameter here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from uct_tests.cc:15:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: use of undeclared identifier 'pthread_spin_unlock'; did you mean 'pthread_mutex_unlock'?
pthread_spin_unlock(&lock->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 *);
^
In file included from uct_tests.cc:15:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179: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(&lock->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 *);
^
In file included from uct_tests.cc:15:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from uct_tests.cc:15:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
/Users/keisukefukuda/ucx/src/ucs/async/signal.h:19:9: error: empty struct has size 0 in C, size 1 in C++ [-Werror,-Wextern-c-compat]
typedef struct ucs_async_signal_context {
^
16 errors generated.
make[3]: *** [libucxperf_la-uct_tests.lo] Error 1
CXX libucxperf_la-ucp_tests.lo
In file included from ucp_tests.cc:13:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from ucp_tests.cc:13:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: use of undeclared identifier 'pthread_spin_init'; did you mean 'pthread_cond_init'?
ret = pthread_spin_init(&lock->lock, lock_flags);
^~~~~~~~~~~~~~~~~
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(
^
In file included from ucp_tests.cc:13:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:29: 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 *')
ret = pthread_spin_init(&lock->lock, lock_flags);
^~~~~~~~~~~
/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,
^
In file included from ucp_tests.cc:13:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: use of undeclared identifier 'pthread_spin_destroy'
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: use of undeclared identifier 'pthread_spin_lock'; did you mean 'pthread_mutex_lock'?
pthread_spin_lock(&lock->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 *);
^
In file included from ucp_tests.cc:13:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123: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(&lock->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 *);
^
In file included from ucp_tests.cc:13:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: use of undeclared identifier 'pthread_spin_trylock'; did you mean 'pthread_mutex_trylock'?
if (pthread_spin_trylock(&lock->lock) != 0) {
^~~~~~~~~~~~~~~~~~~~
pthread_mutex_trylock
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from ucp_tests.cc:13:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:30: 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 *')
if (pthread_spin_trylock(&lock->lock) != 0) {
^~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:44: note: passing argument to parameter here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from ucp_tests.cc:13:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: use of undeclared identifier 'pthread_spin_unlock'; did you mean 'pthread_mutex_unlock'?
pthread_spin_unlock(&lock->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 *);
^
In file included from ucp_tests.cc:13:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179: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(&lock->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 *);
^
In file included from ucp_tests.cc:13:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
In file included from ucp_tests.cc:13:
In file included from /Users/keisukefukuda/ucx/src/tools/perf/lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
/Users/keisukefukuda/ucx/src/ucs/async/signal.h:19:9: error: empty struct has size 0 in C, size 1 in C++ [-Werror,-Wextern-c-compat]
typedef struct ucs_async_signal_context {
^
16 errors generated.
make[3]: *** [libucxperf_la-ucp_tests.lo] Error 1
make[3]: *** No rule to make target `/Users/keisukefukuda/ucx/src/uct/libuct.la', needed by `libucxperf.la'.
make[3]: *** No rule to make target `/Users/keisukefukuda/ucx/src/ucp/libucp.la', needed by `libucxperf.la'.
make[3]: *** No rule to make target `/Users/keisukefukuda/ucx/src/ucs/libucs.la', needed by `libucxperf.la'.
make[3]: Target `all' not remade because of errors.
CC ucx_perftest-perftest.o
In file included from perftest.c:16:
In file included from ./lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:36:5: error: unknown type name 'pthread_spinlock_t'; did you mean 'pthread_rwlock_t'?
pthread_spinlock_t 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;
^
In file included from perftest.c:16:
In file included from ./lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:67:11: error: implicit declaration of function 'pthread_spin_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_init(&lock->lock, lock_flags);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:89:11: error: implicit declaration of function 'pthread_spin_destroy' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = pthread_spin_destroy(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: error: implicit declaration of function 'pthread_spin_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_lock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:123:5: note: did you mean '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 *);
^
In file included from perftest.c:16:
In file included from ./lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: error: implicit declaration of function 'pthread_spin_trylock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pthread_spin_trylock(&lock->lock) != 0) {
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:148:9: note: did you mean 'pthread_mutex_trylock'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/pthread.h:390:5: note: 'pthread_mutex_trylock' declared here
int pthread_mutex_trylock(pthread_mutex_t *);
^
In file included from perftest.c:16:
In file included from ./lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:10:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/thread.h:10:
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: error: implicit declaration of function 'pthread_spin_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pthread_spin_unlock(&lock->lock);
^
/Users/keisukefukuda/ucx/src/ucs/type/spinlock.h:179:5: note: did you mean '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 *);
^
In file included from perftest.c:16:
In file included from ./lib/libperf_int.h:19:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/async.h:11:
In file included from /Users/keisukefukuda/ucx/src/ucs/async/signal.h:13:
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:63:2: error: "Port me"
#error "Port me"
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:497:35: error: unknown type name 'ucs_sys_cpuset_t'
char *ucs_make_affinity_str(const ucs_sys_cpuset_t *cpuset, char *str, size_t len);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:506:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_setaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:515:25: error: unknown type name 'ucs_sys_cpuset_t'
int ucs_sys_getaffinity(ucs_sys_cpuset_t *cpuset);
^
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:52: error: unknown type name 'ucs_sys_cpuset_t'
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
perftest.c:1489:5: error: use of undeclared identifier 'ucs_sys_cpuset_t'; did you mean 'ucs_sys_cpuset_copy'?
ucs_sys_cpuset_t cpuset;
^~~~~~~~~~~~~~~~
ucs_sys_cpuset_copy
/Users/keisukefukuda/ucx/src/ucs/sys/sys.h:523:6: note: 'ucs_sys_cpuset_copy' declared here
void ucs_sys_cpuset_copy(ucs_cpu_set_t *dst, const ucs_sys_cpuset_t *src);
^
perftest.c:1502:31: error: use of undeclared identifier 'cpuset'
memset(&cpuset, 0, sizeof(cpuset));
^
perftest.c:1502:13: error: use of undeclared identifier 'cpuset'
memset(&cpuset, 0, sizeof(cpuset));
^
perftest.c:1502:13: error: use of undeclared identifier 'cpuset'
perftest.c:1512:13: error: implicit declaration of function 'CPU_SET' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
CPU_SET(ctx->cpus[i], &cpuset);
^
perftest.c:1512:36: error: use of undeclared identifier 'cpuset'
CPU_SET(ctx->cpus[i], &cpuset);
^
perftest.c:1515:36: error: use of undeclared identifier 'cpuset'
ret = ucs_sys_setaffinity(&cpuset);
^
perftest.c:1521:36: error: use of undeclared identifier 'cpuset'
ret = ucs_sys_getaffinity(&cpuset);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [ucx_perftest-perftest.o] Error 1
make[3]: *** No rule to make target `/Users/keisukefukuda/ucx/src/uct/libuct.la', needed by `ucx_perftest'.
make[3]: *** No rule to make target `/Users/keisukefukuda/ucx/src/ucp/libucp.la', needed by `ucx_perftest'.
make[3]: *** No rule to make target `/Users/keisukefukuda/ucx/src/ucs/libucs.la', needed by `ucx_perftest'.
make[3]: *** No rule to make target `lib/libucxperf.la', needed by `ucx_perftest'.
make[3]: Target `all-am' not remade because of errors.
make[2]: *** [all-recursive] Error 1
make[2]: Target `all' not remade because of errors.
Making all in src/tools/profile
CC ucx_read_profile-read_profile.o
CCLD ucx_read_profile
Making all in bindings/java
Making all in src/main/native
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
Making all in test/apps
Making all in profiling
CC ucx_profiling-ucx_profiling.o
make[3]: *** No rule to make target `../../../src/ucs/libucs.la', needed by `ucx_profiling'.
make[3]: Target `all' not remade because of errors.
Making all in sockaddr
CXX sa-sa_base.o
CXX sa-sa_main.o
sa_main.cc:15:10: fatal error: 'sys/epoll.h' file not found
#include <sys/epoll.h>
^~~~~~~~~~~~~
1 error generated.
make[3]: *** [sa-sa_main.o] Error 1
CXX sa-sa_tcp.o
sa_tcp.cc:10:10: fatal error: 'sys/epoll.h' file not found
#include <sys/epoll.h>
^~~~~~~~~~~~~
1 error generated.
make[3]: *** [sa-sa_tcp.o] Error 1
CXX sa-sa_util.o
sa_util.cc:9:10: fatal error: 'sys/epoll.h' file not found
#include <sys/epoll.h>
^~~~~~~~~~~~~
1 error generated.
make[3]: *** [sa-sa_util.o] Error 1
make[3]: Target `all' not remade because of errors.
sed: RE error: illegal byte sequence
CC test_ucp_dlopen-test_ucp_dlopen.o
CCLD test_ucp_dlopen
sed: RE error: illegal byte sequence
CC test_ucs_dlopen-test_ucs_dlopen.o
CCLD test_ucs_dlopen
CC test_link_map-test_link_map.o
make[3]: *** No rule to make target `../../src/ucp/libucp.la', needed by `test_link_map'.
sed: RE error: illegal byte sequence
sed: RE error: illegal byte sequence
CC test_dlopen_cfg_print-test_dlopen_cfg_print.o
CCLD test_dlopen_cfg_print
CC test_tcmalloc-test_tcmalloc.o
make[3]: Target `all-am' not remade because of errors.
make[2]: *** [all-recursive] Error 1
make[2]: Target `all' not remade because of errors.
Making all in examples
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all-am'.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment