Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/userspace-rcu.spec'], chrootPath='/var/lib/mock/f29-build-31084-16551/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/userspace-rcu.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/userspace-rcu-0.10.1-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/userspace-rcu.spec'], chrootPath='/var/lib/mock/f29-build-31084-16551/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/userspace-rcu.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QJnxds + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf userspace-rcu-0.10.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/userspace-rcu-0.10.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd userspace-rcu-0.10.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (regtest-without-bench.patch):' Patch #0 (regtest-without-bench.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/benchmark/Makefile.am Hunk #1 succeeded at 226 (offset -3 lines). patching file tests/Makefile.am + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.y655Wt + umask 022 + cd /builddir/build/BUILD + cd userspace-rcu-0.10.1 + autoreconf -vif BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force -I m4 BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: running: /usr/bin/autoheader --force BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing BUILDSTDERR: configure.ac:46: installing 'config/compile' BUILDSTDERR: configure.ac:15: installing 'config/missing' BUILDSTDERR: src/Makefile.am: installing 'config/depcomp' BUILDSTDERR: autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub BUILDSTDERR: ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess BUILDSTDERR: ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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"~' ./config/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --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-static checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu 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 whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-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 whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for thread local storage (TLS) class... __thread 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 riscv64-redhat-linux-gnu-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 whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking for nproc... nproc checking for getconf... getconf checking how to print strings... printf checking for a sed that does not truncate output... /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 whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-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... no checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for __attribute__... yes checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for atexit... yes checking for getcpuid... no checking for gettid... no checking for gettimeofday... yes checking for memeset... no checking for memset... yes checking for munmap... yes checking for rand_r... yes checking for sched_getcpu... yes checking for strerror... yes checking for strtoul... yes checking for sysconf... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for sys/param.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys_futex()... yes checking for library containing clock_gettime... none required checking for cpu_set_t... yes checking whether CPU_ZERO works... yes checking whether CPU_SET works... yes checking for sched_setaffinity... yes checking how many arguments sched_setaffinity takes... 3 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/examples/Makefile config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating tests/common/Makefile config.status: creating tests/unit/Makefile config.status: creating tests/benchmark/Makefile config.status: creating tests/regression/Makefile config.status: creating tests/regression/regression_tests config.status: creating tests/utils/Makefile config.status: creating src/liburcu.pc config.status: creating src/liburcu-bp.pc config.status: creating src/liburcu-cds.pc config.status: creating src/liburcu-qsbr.pc config.status: creating src/liburcu-mb.pc config.status: creating src/liburcu-signal.pc config.status: creating include/config.h config.status: creating include/urcu/config.h config.status: linking include/urcu/arch/unknown.h to include/urcu/arch.h config.status: linking include/urcu/uatomic/unknown.h to include/urcu/uatomic.h config.status: executing depfiles commands config.status: executing libtool commands checking for tput... /usr/bin/tput Userspace-RCU 0.10.1 Features Target architecture: riscv64 SMP support: yes Memory fence instructions: no Futex support: yes Thread Local Storage (TLS): __thread clock_gettime(): yes Require membarrier: no Internal debugging: no Install directories Binaries: /usr/bin Libraries: /usr/lib64 + V=1 + make -j4 Making all in include make[1]: Entering directory '/builddir/build/BUILD/userspace-rcu-0.10.1/include' make all-am make[2]: Entering directory '/builddir/build/BUILD/userspace-rcu-0.10.1/include' make[2]: Leaving directory '/builddir/build/BUILD/userspace-rcu-0.10.1/include' make[1]: Leaving directory '/builddir/build/BUILD/userspace-rcu-0.10.1/include' Making all in src make[1]: Entering directory '/builddir/build/BUILD/userspace-rcu-0.10.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -include config.h -I../include -I../include -I../src -Wall -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o wfqueue.lo wfqueue.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -include config.h -I../include -I../include -I../src -Wall -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o wfcqueue.lo wfcqueue.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -include config.h -I../include -I../include -I../src -Wall -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o wfstack.lo wfstack.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -include config.h -I../include -I../include -I../src -Wall -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o compat_futex.lo compat_futex.c libtool: compile: gcc -DHAVE_CONFIG_H -include config.h -I../include -I../include -I../src -Wall -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c wfstack.c -fPIC -DPIC -o .libs/wfstack.o libtool: compile: gcc -DHAVE_CONFIG_H -include config.h -I../include -I../include -I../src -Wall -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c wfqueue.c -fPIC -DPIC -o .libs/wfqueue.o libtool: compile: gcc -DHAVE_CONFIG_H -include config.h -I../include -I../include -I../src -Wall -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c wfcqueue.c -fPIC -DPIC -o .libs/wfcqueue.o libtool: compile: gcc -DHAVE_CONFIG_H -include config.h -I../include -I../include -I../src -Wall -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c compat_futex.c -fPIC -DPIC -o .libs/compat_futex.o BUILDSTDERR: In file included from ../include/urcu/static/wfqueue.h:33, BUILDSTDERR: from wfqueue.c:28: BUILDSTDERR: ../include/urcu/uatomic.h:23:2: error: #error "Cannot build: unrecognized architecture detected." BUILDSTDERR: #error "Cannot build: unrecognized architecture detected." BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from wfqueue.c:28: BUILDSTDERR: ../include/urcu/static/wfqueue.h: In function '_cds_wfq_enqueue': BUILDSTDERR: ../include/urcu/static/wfqueue.h:84:13: warning: implicit declaration of function 'uatomic_xchg' [-Wimplicit-function-declaration] BUILDSTDERR: old_tail = uatomic_xchg(&q->tail, &node->next); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfqueue.h:84:11: warning: assignment to 'struct cds_wfq_node **' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: old_tail = uatomic_xchg(&q->tail, &node->next); BUILDSTDERR: ^ BUILDSTDERR: In file included from ../include/urcu/static/wfstack.h:34, BUILDSTDERR: from wfstack.c:25: BUILDSTDERR: ../include/urcu/uatomic.h:23:2: error: #error "Cannot build: unrecognized architecture detected." BUILDSTDERR: #error "Cannot build: unrecognized architecture detected." BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from wfstack.c:25: BUILDSTDERR: ../include/urcu/static/wfstack.h: In function '_cds_wfs_empty': BUILDSTDERR: ../include/urcu/static/wfstack.h:127:24: warning: implicit declaration of function 'CMM_LOAD_SHARED' [-Wimplicit-function-declaration] BUILDSTDERR: return ___cds_wfs_end(CMM_LOAD_SHARED(s->head)); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfstack.h:127:24: warning: passing argument 1 of '___cds_wfs_end' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: return ___cds_wfs_end(CMM_LOAD_SHARED(s->head)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfstack.h:113:41: note: expected 'void *' but argument is of type 'int' BUILDSTDERR: static inline bool ___cds_wfs_end(void *node) BUILDSTDERR: ~~~~~~^~~~ BUILDSTDERR: ../include/urcu/static/wfqueue.h:90:2: warning: implicit declaration of function 'CMM_STORE_SHARED' [-Wimplicit-function-declaration] BUILDSTDERR: CMM_STORE_SHARED(*old_tail, node); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfstack.h: In function '_cds_wfs_push': BUILDSTDERR: ../include/urcu/static/wfstack.h:151:13: warning: implicit declaration of function 'uatomic_xchg' [-Wimplicit-function-declaration] BUILDSTDERR: old_head = uatomic_xchg(&s->head, new_head); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfstack.h:151:11: warning: assignment to 'struct cds_wfs_head *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: old_head = uatomic_xchg(&s->head, new_head); BUILDSTDERR: ^ BUILDSTDERR: ../include/urcu/static/wfqueue.h: In function '___cds_wfq_node_sync_next': BUILDSTDERR: ../include/urcu/static/wfqueue.h:105:17: warning: implicit declaration of function 'CMM_LOAD_SHARED' [-Wimplicit-function-declaration] BUILDSTDERR: while ((next = CMM_LOAD_SHARED(node->next)) == NULL) { BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfqueue.h:105:15: warning: assignment to 'struct cds_wfq_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: while ((next = CMM_LOAD_SHARED(node->next)) == NULL) { BUILDSTDERR: ^ BUILDSTDERR: ../include/urcu/static/wfqueue.h:110:4: warning: implicit declaration of function 'caa_cpu_relax' [-Wimplicit-function-declaration] BUILDSTDERR: caa_cpu_relax(); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfqueue.h: In function '___cds_wfq_dequeue_blocking': BUILDSTDERR: ../include/urcu/static/wfqueue.h:132:55: warning: comparison between pointer and integer BUILDSTDERR: if (q->head == &q->dummy && CMM_LOAD_SHARED(q->tail) == &q->dummy.next) BUILDSTDERR: ^~ BUILDSTDERR: ../include/urcu/static/wfstack.h:156:2: warning: implicit declaration of function 'CMM_STORE_SHARED' [-Wimplicit-function-declaration] BUILDSTDERR: CMM_STORE_SHARED(node->next, &old_head->node); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfstack.h: In function '___cds_wfs_node_sync_next': BUILDSTDERR: ../include/urcu/static/wfstack.h:172:15: warning: assignment to 'struct cds_wfs_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: while ((next = CMM_LOAD_SHARED(node->next)) == NULL) { BUILDSTDERR: ^ BUILDSTDERR: ../include/urcu/static/wfstack.h:179:4: warning: implicit declaration of function 'caa_cpu_relax' [-Wimplicit-function-declaration] BUILDSTDERR: caa_cpu_relax(); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfstack.h: In function '___cds_wfs_pop': BUILDSTDERR: ../include/urcu/static/wfstack.h:197:8: warning: assignment to 'struct cds_wfs_head *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: head = CMM_LOAD_SHARED(s->head); BUILDSTDERR: ^ BUILDSTDERR: ../include/urcu/static/wfstack.h:206:7: warning: implicit declaration of function 'uatomic_cmpxchg' [-Wimplicit-function-declaration] BUILDSTDERR: if (uatomic_cmpxchg(&s->head, head, new_head) == head) { BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: make[1]: *** [Makefile:647: wfqueue.lo] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: ../include/urcu/static/wfstack.h:206:49: warning: comparison between pointer and integer BUILDSTDERR: if (uatomic_cmpxchg(&s->head, head, new_head) == head) { BUILDSTDERR: ^~ BUILDSTDERR: ../include/urcu/static/wfstack.h: In function '___cds_wfs_pop_all': BUILDSTDERR: ../include/urcu/static/wfstack.h:312:7: warning: assignment to 'struct cds_wfs_head *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: head = uatomic_xchg(&s->head, CDS_WFS_END); BUILDSTDERR: ^ BUILDSTDERR: In file included from ../include/urcu/wfcqueue.h:31, BUILDSTDERR: from wfcqueue.c:25: BUILDSTDERR: ../include/urcu/arch.h:26:2: error: #error "Cannot build: unrecognized architecture detected." BUILDSTDERR: #error "Cannot build: unrecognized architecture detected." BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ../include/urcu/static/wfcqueue.h:35, BUILDSTDERR: from wfcqueue.c:26: BUILDSTDERR: ../include/urcu/uatomic.h:23:2: error: #error "Cannot build: unrecognized architecture detected." BUILDSTDERR: #error "Cannot build: unrecognized architecture detected." BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from wfcqueue.c:26: BUILDSTDERR: ../include/urcu/static/wfcqueue.h: In function '_cds_wfcq_empty': BUILDSTDERR: ../include/urcu/static/wfcqueue.h:156:9: warning: implicit declaration of function 'CMM_LOAD_SHARED' [-Wimplicit-function-declaration] BUILDSTDERR: return CMM_LOAD_SHARED(head->node.next) == NULL BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfcqueue.h:156:42: warning: comparison between pointer and integer BUILDSTDERR: return CMM_LOAD_SHARED(head->node.next) == NULL BUILDSTDERR: ^~ BUILDSTDERR: ../include/urcu/static/wfcqueue.h:157:31: warning: comparison between pointer and integer BUILDSTDERR: && CMM_LOAD_SHARED(tail->p) == &head->node; BUILDSTDERR: ^~ BUILDSTDERR: ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_append': BUILDSTDERR: ../include/urcu/static/wfcqueue.h:191:13: warning: implicit declaration of function 'uatomic_xchg' [-Wimplicit-function-declaration] BUILDSTDERR: old_tail = uatomic_xchg(&tail->p, new_tail); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfcqueue.h:191:11: warning: assignment to 'struct cds_wfcq_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: old_tail = uatomic_xchg(&tail->p, new_tail); BUILDSTDERR: ^ BUILDSTDERR: ../include/urcu/static/wfcqueue.h:202:2: warning: implicit declaration of function 'CMM_STORE_SHARED' [-Wimplicit-function-declaration] BUILDSTDERR: CMM_STORE_SHARED(old_tail->next, new_head); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_busy_wait': BUILDSTDERR: ../include/urcu/static/wfcqueue.h:240:3: warning: implicit declaration of function 'caa_cpu_relax' [-Wimplicit-function-declaration] BUILDSTDERR: caa_cpu_relax(); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_node_sync_next': BUILDSTDERR: ../include/urcu/static/wfcqueue.h:257:15: warning: assignment to 'struct cds_wfcq_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: while ((next = CMM_LOAD_SHARED(node->next)) == NULL) { BUILDSTDERR: ^ BUILDSTDERR: ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_first': BUILDSTDERR: ../include/urcu/static/wfcqueue.h:277:2: warning: implicit declaration of function 'cmm_smp_read_barrier_depends'; did you mean 'pthread_barrier_destroy'? [-Wimplicit-function-declaration] BUILDSTDERR: cmm_smp_read_barrier_depends(); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pthread_barrier_destroy BUILDSTDERR: ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_next': BUILDSTDERR: ../include/urcu/static/wfcqueue.h:330:12: warning: assignment to 'struct cds_wfcq_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: if ((next = CMM_LOAD_SHARED(node->next)) == NULL) { BUILDSTDERR: ^ BUILDSTDERR: ../include/urcu/static/wfcqueue.h:332:3: warning: implicit declaration of function 'cmm_smp_rmb' [-Wimplicit-function-declaration] BUILDSTDERR: cmm_smp_rmb(); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfcqueue.h:333:32: warning: comparison between pointer and integer BUILDSTDERR: if (CMM_LOAD_SHARED(tail->p) == node) BUILDSTDERR: ^~ BUILDSTDERR: ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_dequeue_with_state': BUILDSTDERR: ../include/urcu/static/wfcqueue.h:400:12: warning: assignment to 'struct cds_wfcq_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: if ((next = CMM_LOAD_SHARED(node->next)) == NULL) { BUILDSTDERR: ^ BUILDSTDERR: ../include/urcu/static/wfcqueue.h:416:7: warning: implicit declaration of function 'uatomic_cmpxchg' [-Wimplicit-function-declaration] BUILDSTDERR: if (uatomic_cmpxchg(&tail->p, node, &head->node) == node) { BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: ../include/urcu/static/wfcqueue.h:416:52: warning: comparison between pointer and integer BUILDSTDERR: if (uatomic_cmpxchg(&tail->p, node, &head->node) == node) { BUILDSTDERR: ^~ BUILDSTDERR: ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_splice': BUILDSTDERR: ../include/urcu/static/wfcqueue.h:534:8: warning: assignment to 'struct cds_wfcq_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: head = uatomic_xchg(&src_q_head->node.next, NULL); BUILDSTDERR: ^ BUILDSTDERR: ../include/urcu/static/wfcqueue.h:537:38: warning: comparison between pointer and integer BUILDSTDERR: if (CMM_LOAD_SHARED(src_q_tail->p) == &src_q_head->node) BUILDSTDERR: ^~ BUILDSTDERR: ../include/urcu/static/wfcqueue.h:549:7: warning: assignment to 'struct cds_wfcq_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: tail = uatomic_xchg(&src_q_tail->p, &src_q_head->node); BUILDSTDERR: ^ BUILDSTDERR: make[1]: *** [Makefile:647: wfstack.lo] Error 1 BUILDSTDERR: make[1]: *** [Makefile:647: wfcqueue.lo] Error 1 BUILDSTDERR: In file included from compat_futex.c:31: BUILDSTDERR: ../include/urcu/arch.h:26:2: error: #error "Cannot build: unrecognized architecture detected." BUILDSTDERR: #error "Cannot build: unrecognized architecture detected." BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from compat_futex.c:32: BUILDSTDERR: ../include/urcu/futex.h: In function 'futex': BUILDSTDERR: ../include/urcu/futex.h:65:17: error: '__NR_futex' undeclared (first use in this function); did you mean 'futex'? BUILDSTDERR: return syscall(__NR_futex, uaddr, op, val, timeout, BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: futex BUILDSTDERR: ../include/urcu/futex.h:65:17: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: compat_futex.c: In function 'compat_futex_noasync': BUILDSTDERR: compat_futex.c:70:2: warning: implicit declaration of function 'cmm_smp_mb' [-Wimplicit-function-declaration] BUILDSTDERR: cmm_smp_mb(); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from compat_futex.c:33: BUILDSTDERR: ../include/urcu/system.h:37:3: warning: implicit declaration of function 'cmm_smp_rmc' [-Wimplicit-function-declaration] BUILDSTDERR: cmm_smp_rmc(); \ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: compat_futex.c:85:10: note: in expansion of macro 'CMM_LOAD_SHARED' BUILDSTDERR: while (CMM_LOAD_SHARED(*uaddr) == val) BUILDSTDERR: ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/userspace-rcu-0.10.1/src' BUILDSTDERR: make[1]: *** [Makefile:647: compat_futex.lo] Error 1 RPM build errors: BUILDSTDERR: make: *** [Makefile:475: all-recursive] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.y655Wt (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.y655Wt (%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 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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 riscv64 --nodeps /builddir/build/SPECS/userspace-rcu.spec