Last active
September 22, 2020 10:19
-
-
Save hiroyuki-sato/5324d8364a9aa0c410cdf821e2b617bf to your computer and use it in GitHub Desktop.
ucx gtest 20200922
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
make -k | |
Making all in ucs/test_module | |
CC libtest_module_la-test_module.lo | |
CCLD libtest_module.la | |
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive library: .libs/libtest_module.a the table of contents is empty (no object file members in the library define global symbols) | |
Making all in ucm/test_dlopen | |
Making all in rpath-subdir | |
CC dlopen_test_rpath.lo | |
CCLD libdlopen_test_rpath.la | |
CC dlopen_test_do_mmap.lo | |
CCLD libdlopen_test_do_mmap.la | |
CC libdlopen_test_do_load_la-dlopen_test_do_load.lo | |
CCLD libdlopen_test_do_load.la | |
CC libdlopen_test_do_load_rpath_la-dlopen_test_do_load.lo | |
CCLD libdlopen_test_do_load_rpath.la | |
CXX common/gtest-gtest-all.o | |
CXX common/gtest-main.o | |
CXX common/gtest-test_gtest_cmn.o | |
CXX common/gtest-mem_buffer.o | |
CXX common/gtest-test_helpers.o | |
common/test_helpers.cc:384:17: error: use of undeclared identifier 'environ' | |
for (envp = environ; *envp != NULL; ++envp) { | |
^ | |
1 error generated. | |
make[1]: *** [common/gtest-test_helpers.o] Error 1 | |
CXX common/gtest-test_obj_size.o | |
CXX common/gtest-test_watchdog.o | |
CXX common/gtest-test_perf.o | |
common/test_perf.cc:131:5: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? | |
cpu_set_t affinity; | |
^~~~~~~~~ | |
cpuset_t | |
/Users/hsato/OpenProjects/openucx/ucx/src/ucs/sys/sys.h:65:3: note: 'cpuset_t' declared here | |
} cpuset_t; | |
^ | |
common/test_perf.cc:134:11: error: use of undeclared identifier 'sched_getaffinity' | |
ret = sched_getaffinity(getpid(), sizeof(affinity), &affinity); | |
^ | |
common/test_perf.cc:147:13: error: use of undeclared identifier 'CPU_ISSET' | |
if (CPU_ISSET(cpu, &affinity)) { | |
^ | |
common/test_perf.cc:157:5: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? | |
cpu_set_t affinity; | |
^~~~~~~~~ | |
cpuset_t | |
/Users/hsato/OpenProjects/openucx/ucx/src/ucs/sys/sys.h:65:3: note: 'cpuset_t' declared here | |
} cpuset_t; | |
^ | |
common/test_perf.cc:158:5: error: use of undeclared identifier 'CPU_ZERO' | |
CPU_ZERO(&affinity); | |
^ | |
common/test_perf.cc:159:5: error: use of undeclared identifier 'CPU_SET' | |
CPU_SET(cpu , &affinity); | |
^ | |
common/test_perf.cc:160:5: error: use of undeclared identifier 'sched_setaffinity' | |
sched_setaffinity(ucs_get_tid(), sizeof(affinity), &affinity); | |
^ | |
7 errors generated. | |
make[1]: *** [common/gtest-test_perf.o] Error 1 | |
CXX common/gtest-test.o | |
common/test.cc:384:23: error: use of undeclared identifier 'PTHREAD_BARRIER_SERIAL_THREAD' | |
} else if (ret == PTHREAD_BARRIER_SERIAL_THREAD) { | |
^ | |
common/test.cc:395:68: error: use of undeclared identifier 'MADV_DOFORK' | |
ret = madvise((void*)info->start, info->end - info->start, MADV_DOFORK); | |
^ | |
2 errors generated. | |
make[1]: *** [common/gtest-test.o] Error 1 | |
CXX ucm/gtest-malloc_hook.o | |
ucm/malloc_hook.cc:238:9: error: use of undeclared identifier 'malloc_trim' | |
malloc_trim(0); | |
^ | |
ucm/malloc_hook.cc:403:15: error: use of undeclared identifier 'malloc_usable_size' | |
EXPECT_GE(malloc_usable_size(ptr), large_alloc_size); | |
^ | |
ucm/malloc_hook.cc:429:15: error: use of undeclared identifier 'malloc_usable_size' | |
EXPECT_GE(malloc_usable_size(ptr_r), small_alloc_size); | |
^ | |
ucm/malloc_hook.cc:473:5: error: use of undeclared identifier 'malloc_trim' | |
malloc_trim(0); | |
^ | |
ucm/malloc_hook.cc:530:5: error: use of undeclared identifier 'malloc_trim' | |
malloc_trim(0); | |
^ | |
ucm/malloc_hook.cc:762:63: error: use of undeclared identifier 'SHM_REMAP' | |
void *shmaddr = shmat(shmid, (char*)buffer + 0x1, SHM_REMAP | SHM_RND); | |
^ | |
ucm/malloc_hook.cc:856:5: error: use of undeclared identifier 'malloc_trim' | |
malloc_trim(0); | |
^ | |
ucm/malloc_hook.cc:914:27: error: use of undeclared identifier 'M_TRIM_THRESHOLD' | |
v = ucm_dlmallopt_get(M_TRIM_THRESHOLD); | |
^ | |
ucm/malloc_hook.cc:917:27: error: use of undeclared identifier 'M_MMAP_THRESHOLD' | |
v = ucm_dlmallopt_get(M_MMAP_THRESHOLD); | |
^ | |
ucm/malloc_hook.cc:946:48: error: use of undeclared identifier 'M_MMAP_THRESHOLD' | |
const size_t size = ucm_dlmallopt_get(M_MMAP_THRESHOLD) * 2; | |
^ | |
ucm/malloc_hook.cc:948:20: error: cannot initialize a variable of type 'const unsigned int' with | |
an rvalue of type 'void' | |
const unsigned count = ucs_min(400000ul, max_mem / size); | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ucm/malloc_hook.cc:967:5: error: use of undeclared identifier 'malloc_trim' | |
malloc_trim(0); | |
^ | |
12 errors generated. | |
make[1]: *** [ucm/gtest-malloc_hook.o] Error 1 | |
CXX uct/gtest-test_amo.o | |
CXX uct/gtest-test_amo_add_xor.o | |
CXX uct/gtest-test_amo_and_or.o | |
CXX uct/gtest-test_amo_cswap.o | |
CXX uct/gtest-test_amo_fadd_fxor.o | |
CXX uct/gtest-test_amo_fand_for.o | |
CXX uct/gtest-test_amo_swap.o | |
CXX uct/gtest-test_event.o | |
CXX uct/gtest-test_fence.o | |
CXX uct/gtest-test_flush.o | |
CXX uct/gtest-test_many2one_am.o | |
CXX uct/gtest-test_md.o | |
uct/test_md.cc:20:10: fatal error: 'linux/sockios.h' file not found | |
#include <linux/sockios.h> | |
^~~~~~~~~~~~~~~~~ | |
1 error generated. | |
make[1]: *** [uct/gtest-test_md.o] Error 1 | |
CXX uct/gtest-test_mm.o | |
CXX uct/gtest-test_mem.o | |
CXX uct/gtest-test_p2p_am.o | |
CXX uct/gtest-test_p2p_err.o | |
CXX uct/gtest-test_p2p_mix.o | |
CXX uct/gtest-test_p2p_rma.o | |
CXX uct/gtest-test_pending.o | |
CXX uct/gtest-test_progress.o | |
CXX uct/gtest-test_uct_ep.o | |
CXX uct/gtest-test_uct_perf.o | |
CXX uct/gtest-test_zcopy_comp.o | |
CXX uct/gtest-uct_p2p_test.o | |
CXX uct/gtest-uct_test.o | |
uct/uct_test.cc:34:5: error: use of undeclared identifier 'CPU_ZERO' | |
CPU_ZERO(&local_cpus); | |
^ | |
uct/uct_test.cc:334:13: error: use of undeclared identifier 'CPU_ZERO' | |
CPU_ZERO(&local_cpus); | |
^ | |
2 errors generated. | |
make[1]: *** [uct/gtest-uct_test.o] Error 1 | |
CXX uct/gtest-test_stats.o | |
In file included from uct/test_stats.cc:13: | |
./common/test.h:16:9: error: '__STDC_FORMAT_MACROS' macro redefined [-Werror,-Wmacro-redefined] | |
#define __STDC_FORMAT_MACROS 1 | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/inttypes.h:248:12: note: | |
previous definition is here | |
# define __STDC_FORMAT_MACROS | |
^ | |
1 error generated. | |
make[1]: *** [uct/gtest-test_stats.o] Error 1 | |
CXX ucs/gtest-test_event_set.o | |
ucs/test_event_set.cc:11:10: fatal error: 'sys/epoll.h' file not found | |
#include <sys/epoll.h> | |
^~~~~~~~~~~~~ | |
1 error generated. | |
make[1]: *** [ucs/gtest-test_event_set.o] Error 1 | |
CXX ucs/gtest-test_stats_filter.o | |
CXX uct/gtest-test_peer_failure.o | |
CXX uct/gtest-test_tag.o | |
CXX uct/tcp/gtest-test_tcp.o | |
CXX ucp/gtest-test_ucp_am.o | |
CXX ucp/gtest-test_ucp_stream.o | |
CXX ucp/gtest-test_ucp_peer_failure.o | |
CXX ucp/gtest-test_ucp_atomic.o | |
CXX ucp/gtest-test_ucp_dt.o | |
CXX ucp/gtest-test_ucp_memheap.o | |
CXX ucp/gtest-test_ucp_mmap.o | |
CXX ucp/gtest-test_ucp_mem_type.o | |
CXX ucp/gtest-test_ucp_perf.o | |
CXX ucp/gtest-test_ucp_proto.o | |
CXX ucp/gtest-test_ucp_rma.o | |
CXX ucp/gtest-test_ucp_rma_mt.o | |
CXX ucp/gtest-test_ucp_tag_cancel.o | |
CXX ucp/gtest-test_ucp_tag_match.o | |
CXX ucp/gtest-test_ucp_tag_offload.o | |
CXX ucp/gtest-test_ucp_tag_mt.o | |
CXX ucp/gtest-test_ucp_tag_perf.o | |
CXX ucp/gtest-test_ucp_tag_probe.o | |
CXX ucp/gtest-test_ucp_tag_xfer.o | |
CXX ucp/gtest-test_ucp_tag_mem_type.o | |
CXX ucp/gtest-test_ucp_tag.o | |
CXX ucp/gtest-test_ucp_context.o | |
CXX ucp/gtest-test_ucp_worker.o | |
CXX ucp/gtest-test_ucp_wireup.o | |
CXX ucp/gtest-test_ucp_wakeup.o | |
ucp/test_ucp_wakeup.cc:10:10: fatal error: 'sys/epoll.h' file not found | |
#include <sys/epoll.h> | |
^~~~~~~~~~~~~ | |
1 error generated. | |
make[1]: *** [ucp/gtest-test_ucp_wakeup.o] Error 1 | |
CXX ucp/gtest-test_ucp_fence.o | |
CXX ucp/gtest-test_ucp_sockaddr.o | |
CXX ucp/gtest-ucp_test.o | |
CXX ucp/gtest-ucp_datatype.o | |
CXX ucs/gtest-test_algorithm.o | |
CXX ucs/gtest-test_arbiter.o | |
CXX ucs/gtest-test_async.o | |
CXX ucs/gtest-test_callbackq.o | |
CXX ucs/gtest-test_class.o | |
CXX ucs/gtest-test_config.o | |
CXX ucs/gtest-test_conn_match.o | |
CXX ucs/gtest-test_datatype.o | |
CXX ucs/gtest-test_debug.o | |
ucs/test_debug.cc:27:22: error: no type named 'basename' in the global namespace | |
std::string bn(::basename(p)); | |
~~^ | |
ucs/test_debug.cc:27:19: error: parentheses were disambiguated as a function declaration | |
[-Werror,-Wvexing-parse] | |
std::string bn(::basename(p)); | |
^~~~~~~~~~~~~~~ | |
ucs/test_debug.cc:27:20: note: add a pair of parentheses to declare a variable | |
std::string bn(::basename(p)); | |
^ | |
( | |
2 errors generated. | |
make[1]: *** [ucs/gtest-test_debug.o] Error 1 | |
CXX ucs/gtest-test_memtrack.o | |
CXX ucs/gtest-test_math.o | |
CXX ucs/gtest-test_mpmc.o | |
CXX ucs/gtest-test_mpool.o | |
CXX ucs/gtest-test_pgtable.o | |
CXX ucs/gtest-test_profile.o | |
CXX ucs/gtest-test_rcache.o | |
CXX ucs/gtest-test_memtype_cache.o | |
CXX ucs/gtest-test_stats.o | |
CXX ucs/gtest-test_strided_alloc.o | |
CXX ucs/gtest-test_string.o | |
CXX ucs/gtest-test_sys.o | |
CXX ucs/gtest-test_topo.o | |
CXX ucs/gtest-test_sock.o | |
CXX ucs/gtest-test_time.o | |
CXX ucs/gtest-test_twheel.o | |
CXX ucs/gtest-test_frag_list.o | |
CXX ucs/gtest-test_type.o | |
CXX ucs/gtest-test_log.o | |
CXX ucs/gtest-test_iov.o | |
CXX ucs/arch/gtest-test_x86_64.o | |
make[1]: Target `all-am' not remade because of errors. | |
make: *** [all-recursive] Error 1 | |
make: Target `all' not remade because of errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment