Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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: