Last active
August 21, 2019 12:26
-
-
Save hiroyuki-sato/c7342fb4cda3fda3c3403f9b6ea4c637 to your computer and use it in GitHub Desktop.
OpenUCX build results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last Update: 2019-08-21 | |
cd src/ucs ; make -k | |
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 | |
CC arch/ppc64/libucs_la-global_opts.lo | |
CC arch/x86_64/libucs_la-cpu.lo | |
CC arch/x86_64/libucs_la-global_opts.lo | |
CC arch/libucs_la-cpu.lo | |
CC async/libucs_la-async.lo | |
In file included from async/async.c:7: | |
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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:22: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:7: | |
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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:34:11: error: | |
implicit declaration of function 'pthread_spin_init' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_init(&lock->lock, 0); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:53:11: error: | |
implicit declaration of function 'pthread_spin_destroy' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_destroy(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79:5: error: | |
implicit declaration of function 'pthread_spin_lock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_lock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79: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:7: | |
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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93:9: error: | |
implicit declaration of function 'pthread_spin_trylock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
if (pthread_spin_trylock(&lock->lock) != 0) { | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93: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:7: | |
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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: error: | |
implicit declaration of function 'pthread_spin_unlock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_unlock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: 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:7: | |
In file included from async/async_int.h:10: | |
In file included from async/async.h:11: | |
async/signal.h:21:5: error: unknown type name 'timer_t'; did you mean 'time_t'? | |
timer_t timer; | |
^~~~~~~ | |
time_t | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h:31:33: note: | |
'time_t' declared here | |
typedef __darwin_time_t time_t; | |
^ | |
7 errors generated. | |
make: *** [async/libucs_la-async.lo] Error 1 | |
CC async/libucs_la-signal.lo | |
In file included from async/signal.c:11: | |
async/signal.h:21:5: error: unknown type name 'timer_t'; did you mean 'time_t'? | |
timer_t timer; | |
^~~~~~~ | |
time_t | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h:31:33: note: | |
'time_t' declared here | |
typedef __darwin_time_t time_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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:22: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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:34:11: error: | |
implicit declaration of function 'pthread_spin_init' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_init(&lock->lock, 0); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:53:11: error: | |
implicit declaration of function 'pthread_spin_destroy' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_destroy(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79:5: error: | |
implicit declaration of function 'pthread_spin_lock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_lock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79: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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93:9: error: | |
implicit declaration of function 'pthread_spin_trylock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
if (pthread_spin_trylock(&lock->lock) != 0) { | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93: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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: error: | |
implicit declaration of function 'pthread_spin_unlock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_unlock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: 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 *); | |
^ | |
async/signal.c:30:5: error: unknown type name 'timer_t'; did you mean 'time_t'? | |
timer_t sys_timer_id; /* System timer ID */ | |
^~~~~~~ | |
time_t | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h:31:33: note: | |
'time_t' declared here | |
typedef __darwin_time_t time_t; | |
^ | |
async/signal.c:105:55: error: unknown type name 'timer_t'; did you mean | |
'time_t'? | |
ucs_async_signal_sys_timer_create(int uid, pid_t tid, timer_t *sys_timer_id) | |
^~~~~~~ | |
time_t | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h:31:33: note: | |
'time_t' declared here | |
typedef __darwin_time_t time_t; | |
^ | |
async/signal.c:108:5: error: unknown type name 'timer_t'; did you mean 'time_t'? | |
timer_t timer; | |
^~~~~~~ | |
time_t | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h:31:33: note: | |
'time_t' declared here | |
typedef __darwin_time_t time_t; | |
^ | |
async/signal.c:115:32: error: use of undeclared identifier 'SIGEV_THREAD_ID' | |
ev.sigev_notify = SIGEV_THREAD_ID; | |
^ | |
async/signal.c:118:8: error: no member named '_sigev_un' in 'struct sigevent' | |
ev._sigev_un._tid = tid; /* target thread */ | |
~~ ^ | |
async/signal.c:119:11: error: implicit declaration of function 'timer_create' is | |
invalid in C99 [-Werror,-Wimplicit-function-declaration] | |
ret = timer_create(CLOCK_REALTIME, &ev, &timer); | |
^ | |
async/signal.c:130:41: error: unknown type name 'timer_t'; did you mean | |
'time_t'? | |
ucs_async_signal_sys_timer_set_interval(timer_t sys_timer_id, ucs_time_... | |
^~~~~~~ | |
time_t | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h:31:33: note: | |
'time_t' declared here | |
typedef __darwin_time_t time_t; | |
^ | |
async/signal.c:132:23: error: variable has incomplete type 'struct itimerspec' | |
struct itimerspec its; | |
^ | |
async/signal.c:132:12: note: forward declaration of 'struct itimerspec' | |
struct itimerspec its; | |
^ | |
async/signal.c:135:58: error: format specifies type 'void *' but the argument | |
has type 'time_t' (aka 'long') [-Werror,-Wformat] | |
ucs_trace_func("sys_timer_id=%p interval=%.2f usec", sys_timer_id, | |
~~ ^~~~~~~~~~~~ | |
%ld | |
/path/to/openucx/ucx/src/ucs/debug/log.h:46:104: note: | |
expanded from macro 'ucs_trace_func' | |
..."%s(" _fmt ")", __FUNCTION__, ## __VA_ARGS__) | |
~~~~ ^~~~~~~~~~~ | |
/path/to/openucx/ucx/src/ucs/debug/log.h:33:39: note: expanded | |
from macro 'ucs_log' | |
_fmt, ## __VA_ARGS__); \ | |
~~~~ ^~~~~~~~~~~ | |
async/signal.c:141:11: error: implicit declaration of function 'timer_settime' | |
is invalid in C99 [-Werror,-Wimplicit-function-declaration] | |
ret = timer_settime(sys_timer_id, 0, &its, NULL); | |
^ | |
async/signal.c:150:47: error: unknown type name 'timer_t'; did you mean | |
'time_t'? | |
static void ucs_async_signal_sys_timer_delete(timer_t sys_timer_id) | |
^~~~~~~ | |
time_t | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h:31:33: note: | |
'time_t' declared here | |
typedef __darwin_time_t time_t; | |
^ | |
async/signal.c:154:39: error: format specifies type 'void *' but the argument | |
has type 'time_t' (aka 'long') [-Werror,-Wformat] | |
ucs_trace_func("sys_timer_id=%p", sys_timer_id); | |
~~ ^~~~~~~~~~~~ | |
%ld | |
/path/to/openucx/ucx/src/ucs/debug/log.h:46:104: note: | |
expanded from macro 'ucs_trace_func' | |
..."%s(" _fmt ")", __FUNCTION__, ## __VA_ARGS__) | |
~~~~ ^~~~~~~~~~~ | |
/path/to/openucx/ucx/src/ucs/debug/log.h:33:39: note: expanded | |
from macro 'ucs_log' | |
_fmt, ## __VA_ARGS__); \ | |
~~~~ ^~~~~~~~~~~ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make: *** [async/libucs_la-signal.lo] Error 1 | |
CC async/libucs_la-pipe.lo | |
CC async/libucs_la-thread.lo | |
In file included from async/thread.c:11: | |
In file included from async/thread.h:10: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:22: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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:34:11: error: | |
implicit declaration of function 'pthread_spin_init' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_init(&lock->lock, 0); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:53:11: error: | |
implicit declaration of function 'pthread_spin_destroy' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_destroy(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79:5: error: | |
implicit declaration of function 'pthread_spin_lock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_lock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79: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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93:9: error: | |
implicit declaration of function 'pthread_spin_trylock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
if (pthread_spin_trylock(&lock->lock) != 0) { | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93: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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: error: | |
implicit declaration of function 'pthread_spin_unlock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_unlock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: 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: | |
async/signal.h:21:5: error: unknown type name 'timer_t'; did you mean 'time_t'? | |
timer_t timer; | |
^~~~~~~ | |
time_t | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h:31:33: note: | |
'time_t' declared here | |
typedef __darwin_time_t time_t; | |
^ | |
7 errors generated. | |
make: *** [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 | |
CC datastruct/libucs_la-arbiter.lo | |
CC datastruct/libucs_la-callbackq.lo | |
In file included from datastruct/callbackq.c:8: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:22: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:8: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:34:11: error: | |
implicit declaration of function 'pthread_spin_init' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_init(&lock->lock, 0); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:53:11: error: | |
implicit declaration of function 'pthread_spin_destroy' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_destroy(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79:5: error: | |
implicit declaration of function 'pthread_spin_lock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_lock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79: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:8: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93:9: error: | |
implicit declaration of function 'pthread_spin_trylock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
if (pthread_spin_trylock(&lock->lock) != 0) { | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93: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:8: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: error: | |
implicit declaration of function 'pthread_spin_unlock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_unlock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: 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:11: | |
In file included from /path/to/openucx/ucx/src/ucs/async/async.h:11: | |
/path/to/openucx/ucx/src/ucs/async/signal.h:21:5: error: | |
unknown type name 'timer_t'; did you mean 'time_t'? | |
timer_t timer; | |
^~~~~~~ | |
time_t | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h:31:33: note: | |
'time_t' declared here | |
typedef __darwin_time_t time_t; | |
^ | |
datastruct/callbackq.c:53:5: error: duplicate case value '0' | |
UCS_STATIC_ASSERT(sizeof(cbq->priv) == sizeof(ucs_callbackq_priv_t)); | |
^ | |
/path/to/openucx/ucx/src/ucs/sys/compiler_def.h:28:29: note: | |
expanded from macro 'UCS_STATIC_ASSERT' | |
switch(0) {case 0:case (_cond):;} | |
^ | |
datastruct/callbackq.c:53:5: note: previous case defined here | |
/path/to/openucx/ucx/src/ucs/sys/compiler_def.h:28:22: note: | |
expanded from macro 'UCS_STATIC_ASSERT' | |
switch(0) {case 0:case (_cond):;} | |
^ | |
8 errors generated. | |
make: *** [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 | |
CC datastruct/libucs_la-pgtable.lo | |
CC datastruct/libucs_la-ptr_array.lo | |
CC datastruct/libucs_la-strided_alloc.lo | |
CC datastruct/libucs_la-string_buffer.lo | |
CC debug/libucs_la-assert.lo | |
CC debug/libucs_la-debug.lo | |
In file included from debug/debug.c:20: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:22: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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:34:11: error: | |
implicit declaration of function 'pthread_spin_init' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_init(&lock->lock, 0); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:53:11: error: | |
implicit declaration of function 'pthread_spin_destroy' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_destroy(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79:5: error: | |
implicit declaration of function 'pthread_spin_lock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_lock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79: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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93:9: error: | |
implicit declaration of function 'pthread_spin_trylock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
if (pthread_spin_trylock(&lock->lock) != 0) { | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93: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: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: error: | |
implicit declaration of function 'pthread_spin_unlock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_unlock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: 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 *); | |
^ | |
debug/debug.c:24:10: fatal error: 'link.h' file not found | |
#include <link.h> | |
^~~~~~~~ | |
7 errors generated. | |
make: *** [debug/libucs_la-debug.lo] Error 1 | |
CC debug/libucs_la-log.lo | |
debug/log.c:38:30: error: use of undeclared identifier 'HOST_NAME_MAX' | |
static char ucs_log_hostname[HOST_NAME_MAX] = {0}; | |
^ | |
debug/log.c:43: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:43: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:59: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:59: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:77: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:77:5: note: did you mean 'pthread_spin_lock'? | |
debug/log.c:59:5: note: 'pthread_spin_lock' declared here | |
pthread_spin_lock(&threads_lock); | |
^ | |
debug/log.c:104:70: error: format specifies type 'unsigned long' but the | |
argument has type '__darwin_suseconds_t' (aka 'int') [-Werror,-Wformat] | |
..."[%lu.%06lu] %16s:%-4u %-4s %-5s %s\n", tv->tv_sec, tv->tv_usec, | |
~~~~~ ^~~~~~~~~~~ | |
%06d | |
/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__) | |
^~~~~~~~~~~ | |
debug/log.c:117:29: error: format specifies type 'unsigned long' but the | |
argument has type '__darwin_suseconds_t' (aka 'int') [-Werror,-Wformat] | |
tv->tv_sec, tv->tv_usec, short_file, line, | |
^~~~~~~~~~~ | |
debug/log.c:325: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:356:5: error: implicit declaration of function | |
'pthread_spin_destroy' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_destroy(&threads_lock); | |
^ | |
9 errors generated. | |
make: *** [debug/libucs_la-log.lo] Error 1 | |
CC debug/libucs_la-memtrack.lo | |
CC memory/libucs_la-memory_type.lo | |
CC memory/libucs_la-memtype_cache.lo | |
CC memory/libucs_la-numa.lo | |
CC memory/libucs_la-rcache.lo | |
In file included from memory/rcache.c:17: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:22: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:17: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:34:11: error: | |
implicit declaration of function 'pthread_spin_init' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_init(&lock->lock, 0); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:53:11: error: | |
implicit declaration of function 'pthread_spin_destroy' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_destroy(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79:5: error: | |
implicit declaration of function 'pthread_spin_lock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_lock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79: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:17: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93:9: error: | |
implicit declaration of function 'pthread_spin_trylock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
if (pthread_spin_trylock(&lock->lock) != 0) { | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93: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:17: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: error: | |
implicit declaration of function 'pthread_spin_unlock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_unlock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: 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: *** [memory/libucs_la-rcache.lo] Error 1 | |
CC profile/libucs_la-profile.lo | |
profile/profile.c:292:20: error: format specifies type 'unsigned long' but the | |
argument has type 'pthread_t _Nonnull' (aka 'struct _opaque_pthread_t *') | |
[-Werror,-Wformat] | |
ctx, pthread_self(), ucs_get_tid(), ucs_global_opts.profile_mode); | |
^~~~~~~~~~~~~~ | |
/path/to/openucx/ucx/src/ucs/debug/log.h:41:76: note: expanded | |
from macro 'ucs_debug' | |
......) ucs_log(UCS_LOG_LEVEL_DEBUG, _fmt, ## __VA_ARGS__) | |
~~~~ ^~~~~~~~~~~ | |
/path/to/openucx/ucx/src/ucs/debug/log.h:33:39: note: expanded | |
from macro 'ucs_log' | |
_fmt, ## __VA_ARGS__); \ | |
~~~~ ^~~~~~~~~~~ | |
profile/profile.c:397:38: error: implicit declaration of function 'basename' is | |
invalid in C99 [-Werror,-Wimplicit-function-declaration] | |
!strcmp(loc->super.file, basename(file)) && | |
^ | |
profile/profile.c:397:38: error: incompatible integer to pointer conversion | |
passing 'int' to parameter of type 'const char *' | |
[-Werror,-Wint-conversion] | |
!strcmp(loc->super.file, basename(file)) && | |
^~~~~~~~~~~~~~ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: | |
passing argument to parameter '__s2' here | |
int strcmp(const char *__s1, const char *__s2); | |
^ | |
profile/profile.c:424:39: error: implicit declaration of function 'basename' is | |
invalid in C99 [-Werror,-Wimplicit-function-declaration] | |
ucs_strncpy_zero(loc->super.file, basename(file), sizeof(loc->super.file)); | |
^ | |
profile/profile.c:424:39: error: incompatible integer to pointer conversion | |
passing 'int' to parameter of type 'const char *' | |
[-Werror,-Wint-conversion] | |
ucs_strncpy_zero(loc->super.file, basename(file), sizeof(loc->super.file)); | |
^~~~~~~~~~~~~~ | |
/path/to/openucx/ucx/src/ucs/sys/string.h:75:47: note: passing | |
argument to parameter 'src' here | |
void ucs_strncpy_zero(char *dest, const char *src, size_t max); | |
^ | |
5 errors generated. | |
make: *** [profile/libucs_la-profile.lo] Error 1 | |
CC stats/libucs_la-stats.lo | |
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: *** [sys/libucs_la-event_set.lo] Error 1 | |
CC sys/libucs_la-init.lo | |
In file included from sys/init.c:15: | |
In file included from /path/to/openucx/ucx/src/ucs/async/async.h:10: | |
In file included from /path/to/openucx/ucx/src/ucs/async/thread.h:10: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:22: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:15: | |
In file included from /path/to/openucx/ucx/src/ucs/async/async.h:10: | |
In file included from /path/to/openucx/ucx/src/ucs/async/thread.h:10: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:34:11: error: | |
implicit declaration of function 'pthread_spin_init' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_init(&lock->lock, 0); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:53:11: error: | |
implicit declaration of function 'pthread_spin_destroy' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_destroy(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79:5: error: | |
implicit declaration of function 'pthread_spin_lock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_lock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79: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:15: | |
In file included from /path/to/openucx/ucx/src/ucs/async/async.h:10: | |
In file included from /path/to/openucx/ucx/src/ucs/async/thread.h:10: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93:9: error: | |
implicit declaration of function 'pthread_spin_trylock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
if (pthread_spin_trylock(&lock->lock) != 0) { | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93: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:15: | |
In file included from /path/to/openucx/ucx/src/ucs/async/async.h:10: | |
In file included from /path/to/openucx/ucx/src/ucs/async/thread.h:10: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: error: | |
implicit declaration of function 'pthread_spin_unlock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_unlock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: 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:15: | |
In file included from /path/to/openucx/ucx/src/ucs/async/async.h:11: | |
/path/to/openucx/ucx/src/ucs/async/signal.h:21:5: error: | |
unknown type name 'timer_t'; did you mean 'time_t'? | |
timer_t timer; | |
^~~~~~~ | |
time_t | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types/_time_t.h:31:33: note: | |
'time_t' declared here | |
typedef __darwin_time_t time_t; | |
^ | |
7 errors generated. | |
make: *** [sys/libucs_la-init.lo] Error 1 | |
CC sys/libucs_la-math.lo | |
CC sys/libucs_la-module.lo | |
sys/module.c:20:10: fatal error: 'link.h' file not found | |
#include <link.h> | |
^~~~~~~~ | |
1 error generated. | |
make: *** [sys/libucs_la-module.lo] Error 1 | |
CC sys/libucs_la-string.lo | |
sys/string.c:68:40: error: implicit declaration of function 'basename' is | |
invalid in C99 [-Werror,-Wimplicit-function-declaration] | |
snprintf(p, end - p, "%s", basename(ucs_get_user_name())); | |
^ | |
sys/string.c:68:40: error: format specifies type 'char *' but the argument has | |
type 'int' [-Werror,-Wformat] | |
snprintf(p, end - p, "%s", basename(ucs_get_user_name())); | |
~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
%d | |
/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/string.c:73:40: error: format specifies type 'char *' but the argument has | |
type 'int' [-Werror,-Wformat] | |
snprintf(p, end - p, "%s", basename(ucs_get_exe())); | |
~~ ^~~~~~~~~~~~~~~~~~~~~~~ | |
%d | |
/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__) | |
^~~~~~~~~~~ | |
3 errors generated. | |
make: *** [sys/libucs_la-string.lo] Error 1 | |
CC sys/libucs_la-sys.lo | |
sys/sys.c:57:26: error: use of undeclared identifier 'HOST_NAME_MAX' | |
static char hostname[HOST_NAME_MAX] = {0}; | |
^ | |
sys/sys.c:163:33: error: use of undeclared identifier 'SIOCGIFHWADDR' | |
if (ioctl(sock, SIOCGIFHWADDR, &ifr) != 0) { | |
^ | |
sys/sys.c:169: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:62:33: note: | |
expanded from macro 'memcpy' | |
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz... | |
^~~~~~~~~~~ | |
sys/sys.c:229:5: error: use of undeclared identifier 'cpu_set_t' | |
cpu_set_t mask; | |
^ | |
sys/sys.c:238:5: error: implicit declaration of function 'CPU_ZERO' is invalid | |
in C99 [-Werror,-Wimplicit-function-declaration] | |
CPU_ZERO(&mask); | |
^ | |
sys/sys.c:238: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:363:9: note: | |
'umask' declared here | |
mode_t umask(mode_t); | |
^ | |
sys/sys.c:239:11: error: implicit declaration of function 'sched_getaffinity' is | |
invalid in C99 [-Werror,-Wimplicit-function-declaration] | |
ret = sched_getaffinity(0, sizeof(mask), &mask); | |
^ | |
sys/sys.c:239:39: error: use of undeclared identifier 'mask'; did you mean | |
'umask'? | |
ret = sched_getaffinity(0, sizeof(mask), &mask); | |
^~~~ | |
umask | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:363:9: note: | |
'umask' declared here | |
mode_t umask(mode_t); | |
^ | |
sys/sys.c:239:47: error: use of undeclared identifier 'mask'; did you mean | |
'umask'? | |
ret = sched_getaffinity(0, sizeof(mask), &mask); | |
^~~~ | |
umask | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/stat.h:363:9: note: | |
'umask' declared here | |
mode_t umask(mode_t); | |
^ | |
sys/sys.c:246: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:246: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:363:9: note: | |
'umask' declared here | |
mode_t umask(mode_t); | |
^ | |
sys/sys.c:605:61: error: declaration of 'struct shminfo' will not be visible | |
outside of this function [-Werror,-Wvisibility] | |
const struct shminfo *ipc_info, | |
^ | |
sys/sys.c:610:21: error: variable has incomplete type 'struct shm_info' | |
struct shm_info shm_info; | |
^ | |
sys/sys.c:610:12: note: forward declaration of 'struct shm_info' | |
struct shm_info shm_info; | |
^ | |
sys/sys.c:617:21: error: use of undeclared identifier 'SHM_INFO' | |
ret = shmctl(0, SHM_INFO, (struct shmid_ds *)&shm_info); | |
^ | |
sys/sys.c:623:32: error: incomplete definition of type 'struct shminfo' | |
if (new_used_ids > ipc_info->shmmni) { | |
~~~~~~~~^ | |
sys/sys.c:605:61: note: forward declaration of 'struct shminfo' | |
const struct shminfo *ipc_info, | |
^ | |
sys/sys.c:627: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:605:61: note: forward declaration of 'struct shminfo' | |
const struct shminfo *ipc_info, | |
^ | |
sys/sys.c:633:31: error: incomplete definition of type 'struct shminfo' | |
if (new_shm_tot > ipc_info->shmall) { | |
~~~~~~~~^ | |
sys/sys.c:605:61: note: forward declaration of 'struct shminfo' | |
const struct shminfo *ipc_info, | |
^ | |
sys/sys.c:637:39: error: incomplete definition of type 'struct shminfo' | |
new_shm_tot, ipc_info->shmall); | |
~~~~~~~~^ | |
/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:605:61: note: forward declaration of 'struct shminfo' | |
const struct shminfo *ipc_info, | |
^ | |
sys/sys.c:688:20: error: variable has incomplete type 'struct shminfo' | |
struct shminfo ipc_info; | |
^ | |
sys/sys.c:688:12: note: forward declaration of 'struct shminfo' | |
struct shminfo ipc_info; | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make: *** [sys/libucs_la-sys.lo] Error 1 | |
CC sys/libucs_la-sock.lo | |
sys/sock.c:250:40: error: use of undeclared identifier 'MSG_NOSIGNAL' | |
ret = io_func(fd, data, *length_p, MSG_NOSIGNAL); | |
^ | |
sys/sock.c:294:30: error: use of undeclared identifier 'MSG_NOSIGNAL' | |
ret = iov_func(fd, &msg, MSG_NOSIGNAL); | |
^ | |
2 errors generated. | |
make: *** [sys/libucs_la-sock.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:7: | |
In file included from time/timerq.h:14: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:22: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:7: | |
In file included from time/timerq.h:14: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:34:11: error: | |
implicit declaration of function 'pthread_spin_init' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_init(&lock->lock, 0); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:53:11: error: | |
implicit declaration of function 'pthread_spin_destroy' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
ret = pthread_spin_destroy(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79:5: error: | |
implicit declaration of function 'pthread_spin_lock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_lock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:79: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:7: | |
In file included from time/timerq.h:14: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93:9: error: | |
implicit declaration of function 'pthread_spin_trylock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
if (pthread_spin_trylock(&lock->lock) != 0) { | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:93: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:7: | |
In file included from time/timerq.h:14: | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: error: | |
implicit declaration of function 'pthread_spin_unlock' is invalid in C99 | |
[-Werror,-Wimplicit-function-declaration] | |
pthread_spin_unlock(&lock->lock); | |
^ | |
/path/to/openucx/ucx/src/ucs/type/spinlock.h:107:9: 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: *** [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: *** No rule to make target `../../src/ucm/libucm.la', needed by `libucs.la'. | |
make: Target `all' not remade because of errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment