Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/ucx.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-343048-69995/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/ucx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/ucx-1.14.1-1.0.1.an8.1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/ucx.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-343048-69995/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/ucx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.s3SskA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ucx-1.14.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/ucx-1.14.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ucx-1.14.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YcSNIt + umask 022 + cd /builddir/build/BUILD + cd ucx-1.14.1 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-optimizations --disable-logging --disable-debug --disable-assertions --disable-params-check --without-java --enable-cma --without-cuda --without-gdrcopy --with-verbs --without-cm --without-knem --with-rdmacm --without-rocm --without-xpmem --without-fuse3 --without-ugni configure: WARNING: unrecognized options: --without-cm checking for loongarch64-Anolis-linux-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for git... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking whether UID '986' is supported by ustar format... yes checking whether GID '135' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking dependency style of gcc... none checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for loongarch64-Anolis-linux-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for loongarch64-Anolis-linux-g++... no checking for loongarch64-Anolis-linux-c++... no checking for loongarch64-Anolis-linux-gpp... no checking for loongarch64-Anolis-linux-aCC... no checking for loongarch64-Anolis-linux-CC... no checking for loongarch64-Anolis-linux-cxx... no checking for loongarch64-Anolis-linux-cc++... no checking for loongarch64-Anolis-linux-cl.exe... no checking for loongarch64-Anolis-linux-FCC... no checking for loongarch64-Anolis-linux-KCC... no checking for loongarch64-Anolis-linux-RCC... no checking for loongarch64-Anolis-linux-xlC_r... no checking for loongarch64-Anolis-linux-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for gcc option to support OpenMP... -fopenmp checking dependency style of gcc... none checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking build system type... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-Anolis-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert loongarch64-Anolis-linux-gnu file names to loongarch64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-Anolis-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-Anolis-linux-strip... no checking for strip... strip checking for loongarch64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for loongarch64-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking for cos in -lm... yes checking for C/C++ restrict keyword... __restrict checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for loongarch64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking if ln -s supports --relative... yes checking for dot... no checking for loongarch64-Anolis-linux-doxygen... no checking for doxygen... no configure: WARNING: doxygen not found - will not generate any doxygen documentation ./configure: line 18039: doxygen: command not found configure: WARNING: doxygen version is bad. Required version: 1.8.6 and above checking for loongarch64-Anolis-linux-perl... no checking for perl... /usr/bin/perl checking for size_t... yes checking compiler flag -diag-error 10006... no checking whether -diag-disable 1478 overrides deprecated declarations... no checking whether -Wno-deprecated-declarations overrides deprecated declarations... yes checking compiler flag -diag-disable 269... no checking compiler flag -fmax-type-align=16... no configure: Detected CPU implementation: configure: Detected CPU architecture: configure: Detected CPU variant: configure: Detected CPU part: checking for __attribute__(optimize)... 1 checking compiler flag -funwind-tables... yes configure: compiling with unwind tables checking if g++ works... yes checking c++11 support... yes checking gnu++11 support... yes checking whether _GLIBCXX_NOTHROW is declared... yes checking compiler flag --display_error_number... no checking compiler flag --diag_suppress 1... no checking compiler flag --diag_suppress 68... no checking compiler flag --diag_suppress 111... no checking compiler flag --diag_suppress 167... no checking compiler flag --diag_suppress 181... no checking compiler flag --diag_suppress 188... no checking compiler flag --diag_suppress 381... no checking compiler flag --diag_suppress 1215... no checking compiler flag --diag_suppress 1901... no checking compiler flag --diag_suppress 1902... no checking compiler flag -pedantic... yes checking compiler flag -Wl,-dynamic-list-data... yes checking compiler flag -Wno-missing-field-initializers... yes checking compiler flag -Wno-unused-parameter... yes checking compiler flag -Wno-unused-label... yes checking compiler flag -Wno-long-long... yes checking compiler flag -Wno-endif-labels... yes checking compiler flag -Wno-sign-compare... yes checking compiler flag -Wno-multichar... yes checking compiler flag -Wno-deprecated-declarations... yes checking compiler flag -Winvalid-pch... yes checking compiler flag -Wno-pointer-sign... yes checking compiler flag -Werror-implicit-function-declaration... yes checking compiler flag -Wno-format-zero-length... yes checking compiler flag -Wnested-externs... yes checking compiler flag -Wshadow... yes checking compiler flag -Werror=declaration-after-statement... yes checking for working alloca.h... yes checking for alloca... yes checking for shm_open in -lrt... yes checking for timer_create in -lrt... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking whether asprintf is declared... yes checking whether basename is declared... yes checking whether fmemopen is declared... yes checking sys/cpuset.h usability... no checking sys/cpuset.h presence... no checking for sys/cpuset.h... no checking whether CPU_ZERO is declared... yes checking whether CPU_ISSET is declared... yes checking for cpu_set_t... yes checking for cpuset_t... no checking for sighandler_t... yes checking for __sighandler_t... yes checking pthread_np.h usability... no checking pthread_np.h presence... no checking for pthread_np.h... no checking for library containing pthread_create... -lpthread checking for library containing pthread_atfork... none required checking for clearenv... yes checking for malloc_trim... yes checking for memalign... yes checking for posix_memalign... yes checking for mremap... yes checking for sched_setaffinity... yes checking for sched_getaffinity... yes checking for cpuset_setaffinity... no checking for cpuset_getaffinity... no checking whether F_SETOWN_EX is declared... yes checking whether ethtool_cmd_speed is declared... yes checking whether SPEED_UNKNOWN is declared... yes checking sys/platform/ppc.h usability... no checking sys/platform/ppc.h presence... no checking for sys/platform/ppc.h... no checking whether __ppc_get_timebase_freq is declared... no checking whether __ppc_get_timebase is declared... no checking for using Google C++ Testing Framework... no checking numa.h usability... yes checking numa.h presence... yes checking for numa.h... yes checking numaif.h usability... yes checking numaif.h presence... yes checking for numaif.h... yes checking for mbind in -lnuma... yes checking for struct bitmask... yes checking malloc hooks... yes checking sys/capability.h usability... no checking sys/capability.h presence... no checking for sys/capability.h... no checking whether PR_SET_PTRACER is declared... yes checking for struct in6_addr.s6_addr32... yes checking for struct in6_addr.__u6_addr.__u6_addr32... no checking for struct iphdr.daddr.s_addr... no checking for struct ip.ip_dst.s_addr... yes checking for struct sigevent._sigev_un._tid... yes checking for struct sigevent.sigev_notify_thread_id... no checking for struct sigaction.sa_restorer... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/thr.h usability... no checking sys/thr.h presence... no checking for sys/thr.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking malloc_np.h usability... no checking malloc_np.h presence... no checking for malloc_np.h... no checking endian.h, usability... no checking endian.h, presence... no checking for endian.h,... no checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking linux/mman.h usability... yes checking linux/mman.h presence... yes checking for linux/mman.h... yes checking linux/ip.h usability... yes checking linux/ip.h presence... yes checking for linux/ip.h... yes checking linux/futex.h usability... yes checking linux/futex.h presence... yes checking for linux/futex.h... yes checking for net/ethernet.h... yes checking for netinet/ip.h... yes configure: Memory allocator is ptmalloc-2.8.6 version checking for malloc_get_state... no checking for malloc_set_state... no checking whether MADV_FREE is declared... yes checking whether MADV_REMOVE is declared... yes checking whether POSIX_MADV_DONTNEED is declared... yes checking whether getauxval is declared... yes checking whether SYS_mmap is declared... yes checking whether SYS_munmap is declared... yes checking whether SYS_mremap is declared... yes checking whether SYS_brk is declared... yes checking whether SYS_madvise is declared... yes checking whether SYS_shmat is declared... yes checking whether SYS_shmdt is declared... yes checking whether SYS_ipc is declared... no checking for __curbrk... yes checking for tc_malloc in -ltcmalloc... no checking for go... no configure: WARNING: FUSEv3 was explicitly disabled configure: WARNING: Disabling GO support - GO compiler version 1.16 or newer not found. configure: WARNING: Java support was explicitly disabled. configure: WARNING: ROCm was explicitly disabled checking whether inotify_init is declared... yes checking whether inotify_add_watch is declared... yes checking whether IN_ATTRIB is declared... yes checking for bfd_openr in -lbfd... no checking for bfd_openr in -lbfd... no checking bfd.h usability... no checking bfd.h presence... no checking for bfd.h... no checking for struct dl_phdr_info... yes checking __attribute__((constructor))... yes configure: enabling builtin memcpy checking for __clear_cache... yes checking for __aarch64_sync_cache_range... no configure: WARNING: GDR_COPY was explicitly disabled configure: Compiling with verbs support from /usr checking infiniband/verbs.h usability... yes checking infiniband/verbs.h presence... yes checking for infiniband/verbs.h... yes checking for ibv_get_device_list in -libverbs... yes checking whether ibv_wc_status_str is declared... yes checking whether ibv_event_type_str is declared... yes checking whether ibv_query_gid is declared... yes checking whether ibv_get_device_name is declared... yes checking whether ibv_create_srq is declared... yes checking whether ibv_get_async_event is declared... yes checking whether IBV_CREATE_CQ_ATTR_IGNORE_OVERRUN is declared... yes configure: Checking for DV bare-metal support checking for mlx5dv_query_device in -lmlx5-rdmav2... no checking for mlx5dv_query_device in -lmlx5... yes checking for infiniband/mlx5dv.h... yes checking whether mlx5dv_init_obj is declared... yes checking whether mlx5dv_create_qp is declared... yes checking whether mlx5dv_is_supported is declared... yes checking whether mlx5dv_devx_subscribe_devx_event is declared... yes checking whether MLX5DV_CQ_INIT_ATTR_MASK_COMPRESSED_CQE is declared... yes checking whether MLX5DV_CQ_INIT_ATTR_MASK_CQE_SIZE is declared... yes checking whether MLX5DV_QP_CREATE_ALLOW_SCATTER_TO_CQE is declared... yes checking whether MLX5DV_UAR_ALLOC_TYPE_BF is declared... yes checking whether MLX5DV_UAR_ALLOC_TYPE_NC is declared... yes checking whether mlx5dv_devx_umem_reg_ex is declared... yes checking for struct mlx5dv_cq.cq_uar... yes checking whether MLX5DV_OBJ_AH is declared... yes checking whether MLX5DV_DCTYPE_DCT is declared... yes checking whether ibv_alloc_td is declared... yes checking whether MLX5DV_CONTEXT_FLAGS_DEVX is declared... yes checking whether IBV_LINK_LAYER_INFINIBAND is declared... yes checking whether IBV_LINK_LAYER_ETHERNET is declared... yes checking whether IBV_EVENT_GID_CHANGE is declared... yes checking whether IBV_TRANSPORT_USNIC is declared... yes checking whether IBV_TRANSPORT_USNIC_UDP is declared... yes checking whether IBV_TRANSPORT_UNSPECIFIED is declared... yes checking whether ibv_create_qp_ex is declared... yes checking whether ibv_create_cq_ex is declared... yes checking whether ibv_create_srq_ex is declared... yes checking whether ibv_reg_dmabuf_mr is declared... yes checking whether ibv_set_ece is declared... yes checking whether ibv_query_device_ex is declared... yes checking for struct ibv_device_attr_ex.pci_atomic_caps... yes checking whether IBV_ACCESS_ON_DEMAND is declared... yes checking whether IBV_ODP_SUPPORT_IMPLICIT is declared... yes checking whether IBV_ACCESS_RELAXED_ORDERING is declared... yes checking whether IBV_QPF_GRH_REQUIRED is declared... yes checking whether ibv_advise_mr is declared... yes checking for struct mlx5_wqe_av.base... no checking for struct mlx5_grh_av.rmac... no checking for struct mlx5_cqe64.ib_stride_index... no checking for struct ibv_tmh.tag... yes checking for struct ibv_tm_caps.flags... yes checking whether ibv_alloc_dm is declared... yes checking whether ibv_cmd_modify_qp is declared... no configure: Checking OFED valgrind libs /usr/lib64/mlnx_ofed/valgrind checking /usr/include/rdma/rdma_cma.h usability... yes checking /usr/include/rdma/rdma_cma.h presence... yes checking for /usr/include/rdma/rdma_cma.h... yes checking for rdma_establish in -lrdmacm... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for process_vm_readv... yes configure: WARNING: KNEM was explicitly disabled checking whether IPPROTO_TCP is declared... yes checking whether SOL_SOCKET is declared... yes checking whether SO_KEEPALIVE is declared... yes checking whether TCP_KEEPCNT is declared... yes checking whether TCP_KEEPIDLE is declared... yes checking whether TCP_KEEPINTVL is declared... yes checking compiler flag -fno-exceptions... yes checking compiler flag -fno-rtti... yes checking compiler flag --no_exceptions... no checking compiler flag -fno-tree-vectorize... yes checking compiler flag --diag_suppress 186... no checking compiler flag --diag_suppress 236... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating src/ucm/cuda/Makefile config.status: creating src/ucm/rocm/Makefile config.status: creating src/ucm/Makefile config.status: creating src/ucs/vfs/sock/Makefile config.status: creating src/ucs/vfs/fuse/Makefile config.status: creating src/ucs/vfs/fuse/ucx-fuse.pc config.status: creating src/ucs/Makefile config.status: creating src/ucs/signal/Makefile config.status: creating src/ucs/ucx-ucs.pc config.status: creating src/uct/cuda/gdr_copy/Makefile config.status: creating src/uct/cuda/gdr_copy/ucx-gdrcopy.pc config.status: creating src/uct/cuda/Makefile config.status: creating src/uct/cuda/ucx-cuda.pc config.status: creating src/uct/ib/rdmacm/Makefile config.status: creating src/uct/ib/rdmacm/ucx-rdmacm.pc config.status: creating src/uct/ib/Makefile config.status: creating src/uct/ib/ucx-ib.pc config.status: creating src/uct/rocm/Makefile config.status: creating src/uct/rocm/ucx-rocm.pc config.status: creating src/uct/sm/scopy/cma/Makefile config.status: creating src/uct/sm/scopy/cma/ucx-cma.pc config.status: creating src/uct/sm/scopy/knem/Makefile config.status: creating src/uct/sm/scopy/knem/ucx-knem.pc config.status: creating src/uct/sm/scopy/Makefile config.status: creating src/uct/sm/mm/xpmem/Makefile config.status: creating src/uct/sm/mm/xpmem/ucx-xpmem.pc config.status: creating src/uct/sm/mm/Makefile config.status: creating src/uct/sm/Makefile config.status: creating src/uct/ugni/Makefile config.status: creating src/uct/ugni/ucx-ugni.pc config.status: creating src/uct/Makefile config.status: creating src/uct/ucx-uct.pc config.status: creating src/tools/perf/lib/Makefile config.status: creating src/tools/perf/cuda/Makefile config.status: creating src/tools/perf/rocm/Makefile config.status: creating src/tools/perf/Makefile config.status: creating test/gtest/common/googletest/Makefile config.status: creating test/gtest/ucm/test_dlopen/Makefile config.status: creating test/gtest/ucm/test_dlopen/rpath-subdir/Makefile config.status: creating test/gtest/ucs/test_module/Makefile config.status: creating test/gtest/Makefile config.status: creating test/apps/uct_info/Makefile config.status: creating Makefile config.status: creating docs/doxygen/header.tex config.status: creating src/uct/api/version.h config.status: creating ucx.spec config.status: creating ucx.pc config.status: creating contrib/rpmdef.sh config.status: creating debian/rules config.status: creating debian/control config.status: creating debian/changelog config.status: creating src/ucp/Makefile config.status: creating src/ucp/api/ucp_version.h config.status: creating src/ucp/core/ucp_version.c config.status: creating src/tools/vfs/Makefile config.status: creating src/tools/info/Makefile config.status: creating src/tools/profile/Makefile config.status: creating test/apps/Makefile config.status: creating test/apps/iodemo/Makefile config.status: creating test/apps/sockaddr/Makefile config.status: creating test/apps/profiling/Makefile config.status: creating test/mpi/Makefile config.status: creating bindings/go/Makefile config.status: creating bindings/java/Makefile config.status: creating bindings/java/pom.xml config.status: creating bindings/java/src/main/native/Makefile config.status: creating examples/Makefile config.status: creating cmake/Makefile config.status: creating cmake/ucx-config-version.cmake config.status: creating cmake/ucx-config.cmake config.status: creating cmake/ucx-targets.cmake config.status: creating test/mpi/run_mpi.sh config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: ========================================================= configure: UCX build configuration: configure: Build prefix: /usr configure: Configuration dir: /etc/ucx configure: Preprocessor flags: -DCPU_FLAGS="" -I${abs_top_srcdir}/src -I${abs_top_builddir} -I${abs_top_builddir}/src configure: C compiler: gcc -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement configure: C++ compiler: g++ -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch configure: Multi-thread: disabled configure: NUMA support: enabled configure: MPI tests: disabled configure: VFS support: no configure: Devel headers: no configure: io_demo CUDA support: no configure: WARNING: unrecognized options: --without-cm configure: Bindings: < > configure: UCS modules: < > configure: UCT modules: < ib rdmacm cma > configure: CUDA modules: < > configure: ROCM modules: < > configure: IB modules: < > configure: UCM modules: < > configure: Perf modules: < > configure: ========================================================= + make -j4 V=1 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/ucx-1.14.1' Making all in src/ucm make[2]: Entering directory '/builddir/build/BUILD/ucx-1.14.1/src/ucm' Making all in . make[3]: Entering directory '/builddir/build/BUILD/ucx-1.14.1/src/ucm' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DCPU_FLAGS="" -I/builddir/build/BUILD/ucx-1.14.1/src -I/builddir/build/BUILD/ucx-1.14.1 -I/builddir/build/BUILD/ucx-1.14.1/src -DUCM_MALLOC_PREFIX=ucm_dl -fno-strict-aliasing -DUSE_LOCKS=1 -DMALLINFO_FIELD_TYPE=int -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -Wno-deprecated-declarations -O2 -g -c -o event/libucm_la-event.lo `test -f 'event/event.c' || echo './'`event/event.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DCPU_FLAGS="" -I/builddir/build/BUILD/ucx-1.14.1/src -I/builddir/build/BUILD/ucx-1.14.1 -I/builddir/build/BUILD/ucx-1.14.1/src -DUCM_MALLOC_PREFIX=ucm_dl -fno-strict-aliasing -DUSE_LOCKS=1 -DMALLINFO_FIELD_TYPE=int -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -Wno-deprecated-declarations -O2 -g -c -o malloc/libucm_la-malloc_hook.lo `test -f 'malloc/malloc_hook.c' || echo './'`malloc/malloc_hook.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DCPU_FLAGS="" -I/builddir/build/BUILD/ucx-1.14.1/src -I/builddir/build/BUILD/ucx-1.14.1 -I/builddir/build/BUILD/ucx-1.14.1/src -DUCM_MALLOC_PREFIX=ucm_dl -fno-strict-aliasing -DUSE_LOCKS=1 -DMALLINFO_FIELD_TYPE=int -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -Wno-deprecated-declarations -O2 -g -c -o mmap/libucm_la-install.lo `test -f 'mmap/install.c' || echo './'`mmap/install.c /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DCPU_FLAGS="" -I/builddir/build/BUILD/ucx-1.14.1/src -I/builddir/build/BUILD/ucx-1.14.1 -I/builddir/build/BUILD/ucx-1.14.1/src -DUCM_MALLOC_PREFIX=ucm_dl -fno-strict-aliasing -DUSE_LOCKS=1 -DMALLINFO_FIELD_TYPE=int -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -Wno-deprecated-declarations -O2 -g -c -o util/libucm_la-replace.lo `test -f 'util/replace.c' || echo './'`util/replace.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DCPU_FLAGS= -I/builddir/build/BUILD/ucx-1.14.1/src -I/builddir/build/BUILD/ucx-1.14.1 -I/builddir/build/BUILD/ucx-1.14.1/src -DUCM_MALLOC_PREFIX=ucm_dl -fno-strict-aliasing -DUSE_LOCKS=1 -DMALLINFO_FIELD_TYPE=int -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -Wno-deprecated-declarations -O2 -g -c event/event.c -fPIC -DPIC -DUCX_SHARED_LIB -o event/.libs/libucm_la-event.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DCPU_FLAGS= -I/builddir/build/BUILD/ucx-1.14.1/src -I/builddir/build/BUILD/ucx-1.14.1 -I/builddir/build/BUILD/ucx-1.14.1/src -DUCM_MALLOC_PREFIX=ucm_dl -fno-strict-aliasing -DUSE_LOCKS=1 -DMALLINFO_FIELD_TYPE=int -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -Wno-deprecated-declarations -O2 -g -c malloc/malloc_hook.c -fPIC -DPIC -DUCX_SHARED_LIB -o malloc/.libs/libucm_la-malloc_hook.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DCPU_FLAGS= -I/builddir/build/BUILD/ucx-1.14.1/src -I/builddir/build/BUILD/ucx-1.14.1 -I/builddir/build/BUILD/ucx-1.14.1/src -DUCM_MALLOC_PREFIX=ucm_dl -fno-strict-aliasing -DUSE_LOCKS=1 -DMALLINFO_FIELD_TYPE=int -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -Wno-deprecated-declarations -O2 -g -c mmap/install.c -fPIC -DPIC -DUCX_SHARED_LIB -o mmap/.libs/libucm_la-install.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DCPU_FLAGS= -I/builddir/build/BUILD/ucx-1.14.1/src -I/builddir/build/BUILD/ucx-1.14.1 -I/builddir/build/BUILD/ucx-1.14.1/src -DUCM_MALLOC_PREFIX=ucm_dl -fno-strict-aliasing -DUSE_LOCKS=1 -DMALLINFO_FIELD_TYPE=int -O3 -g -Wall -Werror -funwind-tables -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-label -Wno-long-long -Wno-endif-labels -Wno-sign-compare -Wno-multichar -Wno-deprecated-declarations -Winvalid-pch -Wno-pointer-sign -Werror-implicit-function-declaration -Wno-format-zero-length -Wnested-externs -Wshadow -Werror=declaration-after-statement -Wno-deprecated-declarations -O2 -g -c util/replace.c -fPIC -DPIC -DUCX_SHARED_LIB -o util/.libs/libucm_la-replace.o In file included from event/event.c:16: /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/cpu.h:102:4: error: #error "Unsupported architecture" # error "Unsupported architecture" ^~~~~ In file included from /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:11, from mmap/install.c:18: /builddir/build/BUILD/ucx-1.14.1/src/ucm/bistro/bistro.h:24:4: error: #error "Unsupported architecture" # error "Unsupported architecture" ^~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/cpu.h: In function 'ucs_cpu_prefer_relaxed_order': /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/cpu.h:156:35: error: implicit declaration of function 'ucs_arch_get_cpu_vendor' [-Werror=implicit-function-declaration] ucs_cpu_vendor_t cpu_vendor = ucs_arch_get_cpu_vendor(); ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/cpu.h:156:35: error: nested extern declaration of 'ucs_arch_get_cpu_vendor' [-Werror=nested-externs] /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/cpu.h:157:35: error: implicit declaration of function 'ucs_arch_get_cpu_model'; did you mean 'ucm_get_hook_mode'? [-Werror=implicit-function-declaration] ucs_cpu_model_t cpu_model = ucs_arch_get_cpu_model(); ^~~~~~~~~~~~~~~~~~~~~~ ucm_get_hook_mode In file included from mmap/install.c:21: /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:19:4: error: #error "Unsupported architecture" # error "Unsupported architecture" ^~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:73:23: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_ADD(8, b); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:73:27: error: unknown type name 'b' UCS_DEFINE_ATOMIC_ADD(8, b); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:74:23: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_ADD(16, w); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:74:27: error: unknown type name 'w' UCS_DEFINE_ATOMIC_ADD(16, w); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:75:23: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_ADD(32, l); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:75:27: error: unknown type name 'l' UCS_DEFINE_ATOMIC_ADD(32, l); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:76:23: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_ADD(64, q); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:76:27: error: unknown type name 'q' UCS_DEFINE_ATOMIC_ADD(64, q); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:78:24: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_FADD(8, b); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:78:28: error: unknown type name 'b' UCS_DEFINE_ATOMIC_FADD(8, b); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:79:24: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_FADD(16, w); ^~ In file included from /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:11, from util/replace.c:19: /builddir/build/BUILD/ucx-1.14.1/src/ucm/bistro/bistro.h:24:4: error: #error "Unsupported architecture" # error "Unsupported architecture" ^~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:79:28: error: unknown type name 'w' UCS_DEFINE_ATOMIC_FADD(16, w); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:80:24: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_FADD(32, l); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:80:28: error: unknown type name 'l' UCS_DEFINE_ATOMIC_FADD(32, l); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:81:24: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_FADD(64, q); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:81:28: error: unknown type name 'q' UCS_DEFINE_ATOMIC_FADD(64, q); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h: In function 'ucs_atomic_sub8': /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:61:9: error: implicit declaration of function 'ucs_atomic_add8'; did you mean 'ucs_atomic_sub8'? [-Werror=implicit-function-declaration] ucs_atomic_add##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:83:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_SUB' UCS_DEFINE_ATOMIC_SUB(8, b); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:61:9: error: nested extern declaration of 'ucs_atomic_add8' [-Werror=nested-externs] ucs_atomic_add##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:83:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_SUB' UCS_DEFINE_ATOMIC_SUB(8, b); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h: In function 'ucs_atomic_sub16': /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:61:9: error: implicit declaration of function 'ucs_atomic_add16'; did you mean 'ucs_atomic_sub16'? [-Werror=implicit-function-declaration] ucs_atomic_add##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:84:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_SUB' UCS_DEFINE_ATOMIC_SUB(16, w); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:61:9: error: nested extern declaration of 'ucs_atomic_add16' [-Werror=nested-externs] ucs_atomic_add##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:84:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_SUB' UCS_DEFINE_ATOMIC_SUB(16, w); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h: In function 'ucs_atomic_sub32': /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:61:9: error: implicit declaration of function 'ucs_atomic_add32'; did you mean 'ucs_atomic_sub32'? [-Werror=implicit-function-declaration] ucs_atomic_add##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:85:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_SUB' UCS_DEFINE_ATOMIC_SUB(32, l); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:61:9: error: nested extern declaration of 'ucs_atomic_add32' [-Werror=nested-externs] ucs_atomic_add##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:85:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_SUB' UCS_DEFINE_ATOMIC_SUB(32, l); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h: In function 'ucs_atomic_sub64': /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:61:9: error: implicit declaration of function 'ucs_atomic_add64'; did you mean 'ucs_atomic_sub64'? [-Werror=implicit-function-declaration] ucs_atomic_add##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:86:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_SUB' UCS_DEFINE_ATOMIC_SUB(64, q); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:61:9: error: nested extern declaration of 'ucs_atomic_add64' [-Werror=nested-externs] ucs_atomic_add##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:86:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_SUB' UCS_DEFINE_ATOMIC_SUB(64, q); ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h: In function 'ucs_atomic_fsub8': /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:67:16: error: implicit declaration of function 'ucs_atomic_fadd8'; did you mean 'ucs_atomic_fsub8'? [-Werror=implicit-function-declaration] return ucs_atomic_fadd##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:88:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_FSUB' UCS_DEFINE_ATOMIC_FSUB(8, b); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:67:16: error: nested extern declaration of 'ucs_atomic_fadd8' [-Werror=nested-externs] return ucs_atomic_fadd##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:88:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_FSUB' UCS_DEFINE_ATOMIC_FSUB(8, b); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h: In function 'ucs_atomic_fsub16': /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:67:16: error: implicit declaration of function 'ucs_atomic_fadd16'; did you mean 'ucs_atomic_fsub16'? [-Werror=implicit-function-declaration] return ucs_atomic_fadd##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:89:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_FSUB' UCS_DEFINE_ATOMIC_FSUB(16, w); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:67:16: error: nested extern declaration of 'ucs_atomic_fadd16' [-Werror=nested-externs] return ucs_atomic_fadd##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:89:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_FSUB' UCS_DEFINE_ATOMIC_FSUB(16, w); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h: In function 'ucs_atomic_fsub32': /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:67:16: error: implicit declaration of function 'ucs_atomic_fadd32'; did you mean 'ucs_atomic_fsub32'? [-Werror=implicit-function-declaration] return ucs_atomic_fadd##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:90:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_FSUB' UCS_DEFINE_ATOMIC_FSUB(32, l); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:67:16: error: nested extern declaration of 'ucs_atomic_fadd32' [-Werror=nested-externs] return ucs_atomic_fadd##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:90:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_FSUB' UCS_DEFINE_ATOMIC_FSUB(32, l); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h: In function 'ucs_atomic_fsub64': /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:67:16: error: implicit declaration of function 'ucs_atomic_fadd64'; did you mean 'ucs_atomic_fsub64'? [-Werror=implicit-function-declaration] return ucs_atomic_fadd##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:91:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_FSUB' UCS_DEFINE_ATOMIC_FSUB(64, q); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:67:16: error: nested extern declaration of 'ucs_atomic_fadd64' [-Werror=nested-externs] return ucs_atomic_fadd##wordsize(ptr, (uint##wordsize##_t)-value); \ ^~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:91:1: note: in expansion of macro 'UCS_DEFINE_ATOMIC_FSUB' UCS_DEFINE_ATOMIC_FSUB(64, q); ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h: At top level: /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:123:24: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_SWAP(8, b); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:123:28: error: unknown type name 'b' UCS_DEFINE_ATOMIC_SWAP(8, b); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:124:24: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_SWAP(16, w); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:124:28: error: unknown type name 'w' UCS_DEFINE_ATOMIC_SWAP(16, w); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:125:24: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_SWAP(32, l); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:125:28: error: unknown type name 'l' UCS_DEFINE_ATOMIC_SWAP(32, l); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:126:24: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_SWAP(64, q); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:126:28: error: unknown type name 'q' UCS_DEFINE_ATOMIC_SWAP(64, q); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:128:25: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_CSWAP(8, b); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:128:29: error: unknown type name 'b' UCS_DEFINE_ATOMIC_CSWAP(8, b); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:129:25: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_CSWAP(16, w); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:129:29: error: unknown type name 'w' UCS_DEFINE_ATOMIC_CSWAP(16, w); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:130:25: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_CSWAP(32, l); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:130:29: error: unknown type name 'l' UCS_DEFINE_ATOMIC_CSWAP(32, l); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:131:25: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_CSWAP(64, q); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:131:29: error: unknown type name 'q' UCS_DEFINE_ATOMIC_CSWAP(64, q); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:133:30: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_BOOL_CSWAP(8, b); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:133:34: error: unknown type name 'b' UCS_DEFINE_ATOMIC_BOOL_CSWAP(8, b); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:134:30: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_BOOL_CSWAP(16, w); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/cpu.h:157:35: error: nested extern declaration of 'ucs_arch_get_cpu_model' [-Werror=nested-externs] /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:134:34: error: unknown type name 'w' UCS_DEFINE_ATOMIC_BOOL_CSWAP(16, w); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:135:30: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_BOOL_CSWAP(32, l); ^~ In file included from util/replace.c:19: util/replace.c: In function 'ucm_override_mmap': /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:36:9: error: 'UCM_BISTRO_PROLOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_PROLOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:50:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(mmap, void*, MAP_FAILED, void*, size_t, int, int, int, off_t) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:36:9: note: each undeclared identifier is reported only once for each function it appears in UCM_BISTRO_PROLOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:50:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(mmap, void*, MAP_FAILED, void*, size_t, int, int, int, off_t) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:135:34: error: unknown type name 'l' UCS_DEFINE_ATOMIC_BOOL_CSWAP(32, l); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:136:30: error: expected declaration specifiers or '...' before numeric constant UCS_DEFINE_ATOMIC_BOOL_CSWAP(64, q); ^~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/atomic.h:136:34: error: unknown type name 'q' UCS_DEFINE_ATOMIC_BOOL_CSWAP(64, q); ^ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:43:9: error: 'UCM_BISTRO_EPILOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_EPILOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:50:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(mmap, void*, MAP_FAILED, void*, size_t, int, int, int, off_t) ^~~~~~~~~~~~~~~~~~~~~~~ util/replace.c: In function 'ucm_override_munmap': /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:36:9: error: 'UCM_BISTRO_PROLOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_PROLOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:51:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(munmap, int, -1, void*, size_t) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:43:9: error: 'UCM_BISTRO_EPILOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_EPILOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:51:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(munmap, int, -1, void*, size_t) ^~~~~~~~~~~~~~~~~~~~~~~ util/replace.c: In function 'ucm_override_mremap': /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:36:9: error: 'UCM_BISTRO_PROLOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_PROLOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:53:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(mremap, void*, MAP_FAILED, void*, size_t, size_t, int) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:43:9: error: 'UCM_BISTRO_EPILOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_EPILOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:53:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(mremap, void*, MAP_FAILED, void*, size_t, size_t, int) ^~~~~~~~~~~~~~~~~~~~~~~ util/replace.c: In function 'ucm_override_shmat': /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:36:9: error: 'UCM_BISTRO_PROLOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_PROLOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:55:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(shmat, void*, MAP_FAILED, int, const void*, int) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:43:9: error: 'UCM_BISTRO_EPILOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_EPILOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:55:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(shmat, void*, MAP_FAILED, int, const void*, int) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/ucx-1.14.1/src/ucs/sys/math.h:17, from malloc/malloc_hook.c:32: /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/bitops.h:24:4: error: #error "Unsupported architecture" # error "Unsupported architecture" ^~~~~ util/replace.c: In function 'ucm_override_shmdt': /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:36:9: error: 'UCM_BISTRO_PROLOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_PROLOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:56:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(shmdt, int, -1, const void*) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:43:9: error: 'UCM_BISTRO_EPILOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_EPILOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:56:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(shmdt, int, -1, const void*) ^~~~~~~~~~~~~~~~~~~~~~~ util/replace.c: In function 'ucm_override_sbrk': /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:36:9: error: 'UCM_BISTRO_PROLOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_PROLOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:57:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(sbrk, void*, MAP_FAILED, intptr_t) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:43:9: error: 'UCM_BISTRO_EPILOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_EPILOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:57:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(sbrk, void*, MAP_FAILED, intptr_t) ^~~~~~~~~~~~~~~~~~~~~~~ util/replace.c: In function 'ucm_override_brk': /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:36:9: error: 'UCM_BISTRO_PROLOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_PROLOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:58:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(brk, int, -1, void*) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:43:9: error: 'UCM_BISTRO_EPILOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_EPILOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:58:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(brk, int, -1, void*) ^~~~~~~~~~~~~~~~~~~~~~~ util/replace.c: In function 'ucm_override_madvise': /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:36:9: error: 'UCM_BISTRO_PROLOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_PROLOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:59:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(madvise, int, -1, void*, size_t, int) ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:43:9: error: 'UCM_BISTRO_EPILOGUE' undeclared (first use in this function); did you mean 'UCM_BISTRO_HOOKS'? UCM_BISTRO_EPILOGUE; \ ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucm/util/replace.h:28:5: note: in expansion of macro '_UCM_DEFINE_REPLACE_FUNC' _UCM_DEFINE_REPLACE_FUNC(ucm_override_##_name, ucm_##_name, _rettype, _fail_val, __VA_ARGS__) ^~~~~~~~~~~~~~~~~~~~~~~~ util/replace.c:59:1: note: in expansion of macro 'UCM_DEFINE_REPLACE_FUNC' UCM_DEFINE_REPLACE_FUNC(madvise, int, -1, void*, size_t, int) ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [Makefile:769: event/libucm_la-event.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:790: util/libucm_la-replace.lo] Error 1 In file included from /builddir/build/BUILD/ucx-1.14.1/src/ucs/sys/math.h:17, from mmap/install.c:23: /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/bitops.h:24:4: error: #error "Unsupported architecture" # error "Unsupported architecture" ^~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/bitops.h:99:5: error: implicit declaration of function '__ucs_ilog2_u32'; did you mean 'ucs_ilog2_or0'? [-Werror=implicit-function-declaration] __ucs_ilog2_u32((uint32_t)(_n)) : \ ^~~~~~~~~~~~~~~ mmap/install.c:53:6: note: in expansion of macro 'ucs_ilog2' [ucs_ilog2(UCM_EVENT_##_event)] = #_event ^~~~~~~~~ mmap/install.c:109:5: note: in expansion of macro 'UCM_MMAP_EVENT_NAME_ENTRY' UCM_MMAP_EVENT_NAME_ENTRY(MMAP), ^~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:776: malloc/libucm_la-malloc_hook.lo] Error 1 /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/bitops.h:100:5: error: implicit declaration of function '__ucs_ilog2_u64'; did you mean 'ucs_ilog2_or0'? [-Werror=implicit-function-declaration] __ucs_ilog2_u64((uint64_t)(_n)) \ ^~~~~~~~~~~~~~~ mmap/install.c:53:6: note: in expansion of macro 'ucs_ilog2' [ucs_ilog2(UCM_EVENT_##_event)] = #_event ^~~~~~~~~ mmap/install.c:109:5: note: in expansion of macro 'UCM_MMAP_EVENT_NAME_ENTRY' UCM_MMAP_EVENT_NAME_ENTRY(MMAP), ^~~~~~~~~~~~~~~~~~~~~~~~~ mmap/install.c: In function 'ucm_mmap_event_report_missing': /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/bitops.h:112:40: error: implicit declaration of function 'ucs_ffs64'; did you mean 'ucs_free'? [-Werror=implicit-function-declaration] #define ucs_ffs64_safe(_val) ((_val) ? ucs_ffs64(_val) : 64) ^~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/sys/math.h:163:21: note: in expansion of macro 'ucs_ffs64_safe' for ((_index) = ucs_ffs64_safe(_map); (_index) < 64; \ ^~~~~~~~~~~~~~ mmap/install.c:265:5: note: in expansion of macro 'ucs_for_each_bit' ucs_for_each_bit(idx, missing_events) { ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/arch/bitops.h:112:40: error: nested extern declaration of 'ucs_ffs64' [-Werror=nested-externs] #define ucs_ffs64_safe(_val) ((_val) ? ucs_ffs64(_val) : 64) ^~~~~~~~~ /builddir/build/BUILD/ucx-1.14.1/src/ucs/sys/math.h:163:21: note: in expansion of macro 'ucs_ffs64_safe' for ((_index) = ucs_ffs64_safe(_map); (_index) < 64; \ ^~~~~~~~~~~~~~ mmap/install.c:265:5: note: in expansion of macro 'ucs_for_each_bit' ucs_for_each_bit(idx, missing_events) { ^~~~~~~~~~~~~~~~ mmap/install.c: In function 'ucs_mmap_install_reloc': mmap/install.c:397:26: error: implicit declaration of function 'ucm_bistro_patch'; did you mean 'ucm_bistro_restore'? [-Werror=implicit-function-declaration] status = ucm_bistro_patch(func_ptr, entry->patch.value, ^~~~~~~~~~~~~~~~ ucm_bistro_restore mmap/install.c:397:26: error: nested extern declaration of 'ucm_bistro_patch' [-Werror=nested-externs] cc1: all warnings being treated as errors make[3]: Leaving directory '/builddir/build/BUILD/ucx-1.14.1/src/ucm' make[3]: *** [Makefile:783: mmap/libucm_la-install.lo] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/ucx-1.14.1/src/ucm' make[2]: *** [Makefile:891: all-recursive] Error 1 make[1]: *** [Makefile:753: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/ucx-1.14.1' make: *** [Makefile:618: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.YcSNIt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.YcSNIt (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/ucx.spec