+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/userspace-rcu.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JO024p + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf userspace-rcu-0.10.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/userspace-rcu-0.10.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd userspace-rcu-0.10.0 + /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.HIFTTP + umask 022 + cd /builddir/build/BUILD + cd userspace-rcu-0.10.0 + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing 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' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:46: installing 'config/compile' configure.ac:15: installing 'config/missing' src/Makefile.am: installing 'config/depcomp' 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -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/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ 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) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ 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-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="-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.0 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.0/include' make all-am make[2]: Entering directory '/builddir/build/BUILD/userspace-rcu-0.10.0/include' make[2]: Leaving directory '/builddir/build/BUILD/userspace-rcu-0.10.0/include' make[1]: Leaving directory '/builddir/build/BUILD/userspace-rcu-0.10.0/include' Making all in src make[1]: Entering directory '/builddir/build/BUILD/userspace-rcu-0.10.0/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 -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 -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 -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 -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 -c compat_futex.c -fPIC -DPIC -o .libs/compat_futex.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 -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 -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 -c wfcqueue.c -fPIC -DPIC -o .libs/wfcqueue.o In file included from ../include/urcu/wfcqueue.h:31:0, from wfcqueue.c:25: ../include/urcu/arch.h:26:2: error: #error "Cannot build: unrecognized architecture detected." #error "Cannot build: unrecognized architecture detected." ^~~~~ In file included from ../include/urcu/static/wfstack.h:34:0, from wfstack.c:25: ../include/urcu/uatomic.h:23:2: error: #error "Cannot build: unrecognized architecture detected." #error "Cannot build: unrecognized architecture detected." ^~~~~ In file included from wfstack.c:25:0: ../include/urcu/static/wfstack.h: In function '_cds_wfs_empty': ../include/urcu/static/wfstack.h:127:24: warning: implicit declaration of function 'CMM_LOAD_SHARED' [-Wimplicit-function-declaration] return ___cds_wfs_end(CMM_LOAD_SHARED(s->head)); ^~~~~~~~~~~~~~~ ../include/urcu/static/wfstack.h:127:24: warning: passing argument 1 of '___cds_wfs_end' makes pointer from integer without a cast [-Wint-conversion] ../include/urcu/static/wfstack.h:113:20: note: expected 'void *' but argument is of type 'int' static inline bool ___cds_wfs_end(void *node) ^~~~~~~~~~~~~~ ../include/urcu/static/wfstack.h: In function '_cds_wfs_push': ../include/urcu/static/wfstack.h:151:13: warning: implicit declaration of function 'uatomic_xchg'; did you mean '__atomic_exchange'? [-Wimplicit-function-declaration] old_head = uatomic_xchg(&s->head, new_head); ^~~~~~~~~~~~ __atomic_exchange ../include/urcu/static/wfstack.h:151:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] old_head = uatomic_xchg(&s->head, new_head); ^ In file included from ../include/urcu/static/wfqueue.h:33:0, from wfqueue.c:28: ../include/urcu/uatomic.h:23:2: error: #error "Cannot build: unrecognized architecture detected." #error "Cannot build: unrecognized architecture detected." ^~~~~ ../include/urcu/static/wfstack.h:156:2: warning: implicit declaration of function 'CMM_STORE_SHARED' [-Wimplicit-function-declaration] CMM_STORE_SHARED(node->next, &old_head->node); ^~~~~~~~~~~~~~~~ ../include/urcu/static/wfstack.h: In function '___cds_wfs_node_sync_next': ../include/urcu/static/wfstack.h:172:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] while ((next = CMM_LOAD_SHARED(node->next)) == NULL) { ^ ../include/urcu/static/wfstack.h:179:4: warning: implicit declaration of function 'caa_cpu_relax' [-Wimplicit-function-declaration] caa_cpu_relax(); ^~~~~~~~~~~~~ ../include/urcu/static/wfstack.h: In function '___cds_wfs_pop': ../include/urcu/static/wfstack.h:197:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] head = CMM_LOAD_SHARED(s->head); ^ In file included from ../include/urcu/static/wfcqueue.h:35:0, from wfcqueue.c:26: ../include/urcu/uatomic.h:23:2: error: #error "Cannot build: unrecognized architecture detected." #error "Cannot build: unrecognized architecture detected." ^~~~~ In file included from wfqueue.c:28:0: ../include/urcu/static/wfqueue.h: In function '_cds_wfq_enqueue': ../include/urcu/static/wfqueue.h:84:13: warning: implicit declaration of function 'uatomic_xchg'; did you mean '__atomic_exchange'? [-Wimplicit-function-declaration] old_tail = uatomic_xchg(&q->tail, &node->next); ^~~~~~~~~~~~ __atomic_exchange In file included from wfcqueue.c:26:0: ../include/urcu/static/wfcqueue.h: In function '_cds_wfcq_empty': ../include/urcu/static/wfqueue.h:84:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] old_tail = uatomic_xchg(&q->tail, &node->next); ^ ../include/urcu/static/wfstack.h:206:7: warning: implicit declaration of function 'uatomic_cmpxchg' [-Wimplicit-function-declaration] if (uatomic_cmpxchg(&s->head, head, new_head) == head) { ^~~~~~~~~~~~~~~ ../include/urcu/static/wfstack.h:206:49: warning: comparison between pointer and integer if (uatomic_cmpxchg(&s->head, head, new_head) == head) { ^~ ../include/urcu/static/wfcqueue.h:156:9: warning: implicit declaration of function 'CMM_LOAD_SHARED' [-Wimplicit-function-declaration] return CMM_LOAD_SHARED(head->node.next) == NULL ^~~~~~~~~~~~~~~ ../include/urcu/static/wfcqueue.h:156:42: warning: comparison between pointer and integer return CMM_LOAD_SHARED(head->node.next) == NULL ^~ ../include/urcu/static/wfcqueue.h:157:31: warning: comparison between pointer and integer && CMM_LOAD_SHARED(tail->p) == &head->node; ^~ ../include/urcu/static/wfstack.h: In function '___cds_wfs_pop_all': ../include/urcu/static/wfstack.h:312:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] head = uatomic_xchg(&s->head, CDS_WFS_END); ^ ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_append': ../include/urcu/static/wfcqueue.h:191:13: warning: implicit declaration of function 'uatomic_xchg'; did you mean '__atomic_exchange'? [-Wimplicit-function-declaration] old_tail = uatomic_xchg(&tail->p, new_tail); ^~~~~~~~~~~~ __atomic_exchange ../include/urcu/static/wfcqueue.h:191:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] old_tail = uatomic_xchg(&tail->p, new_tail); ^ ../include/urcu/static/wfqueue.h:90:2: warning: implicit declaration of function 'CMM_STORE_SHARED' [-Wimplicit-function-declaration] CMM_STORE_SHARED(*old_tail, node); ^~~~~~~~~~~~~~~~ ../include/urcu/static/wfqueue.h: In function '___cds_wfq_node_sync_next': ../include/urcu/static/wfqueue.h:105:17: warning: implicit declaration of function 'CMM_LOAD_SHARED' [-Wimplicit-function-declaration] while ((next = CMM_LOAD_SHARED(node->next)) == NULL) { ^~~~~~~~~~~~~~~ ../include/urcu/static/wfqueue.h:105:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] while ((next = CMM_LOAD_SHARED(node->next)) == NULL) { ^ ../include/urcu/static/wfcqueue.h:202:2: warning: implicit declaration of function 'CMM_STORE_SHARED' [-Wimplicit-function-declaration] CMM_STORE_SHARED(old_tail->next, new_head); ^~~~~~~~~~~~~~~~ ../include/urcu/static/wfqueue.h:110:4: warning: implicit declaration of function 'caa_cpu_relax' [-Wimplicit-function-declaration] caa_cpu_relax(); ^~~~~~~~~~~~~ ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_busy_wait': ../include/urcu/static/wfcqueue.h:240:3: warning: implicit declaration of function 'caa_cpu_relax' [-Wimplicit-function-declaration] caa_cpu_relax(); ^~~~~~~~~~~~~ ../include/urcu/static/wfqueue.h: In function '___cds_wfq_dequeue_blocking': ../include/urcu/static/wfqueue.h:132:55: warning: comparison between pointer and integer if (q->head == &q->dummy && CMM_LOAD_SHARED(q->tail) == &q->dummy.next) ^~ ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_node_sync_next': ../include/urcu/static/wfcqueue.h:257:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] while ((next = CMM_LOAD_SHARED(node->next)) == NULL) { ^ ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_first': ../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] cmm_smp_read_barrier_depends(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pthread_barrier_destroy ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_next': ../include/urcu/static/wfcqueue.h:330:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] if ((next = CMM_LOAD_SHARED(node->next)) == NULL) { ^ ../include/urcu/static/wfcqueue.h:332:3: warning: implicit declaration of function 'cmm_smp_rmb' [-Wimplicit-function-declaration] cmm_smp_rmb(); ^~~~~~~~~~~ ../include/urcu/static/wfcqueue.h:333:32: warning: comparison between pointer and integer if (CMM_LOAD_SHARED(tail->p) == node) ^~ ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_dequeue_with_state': ../include/urcu/static/wfcqueue.h:400:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] if ((next = CMM_LOAD_SHARED(node->next)) == NULL) { ^ ../include/urcu/static/wfcqueue.h:416:7: warning: implicit declaration of function 'uatomic_cmpxchg' [-Wimplicit-function-declaration] if (uatomic_cmpxchg(&tail->p, node, &head->node) == node) { ^~~~~~~~~~~~~~~ ../include/urcu/static/wfcqueue.h:416:52: warning: comparison between pointer and integer if (uatomic_cmpxchg(&tail->p, node, &head->node) == node) { ^~ ../include/urcu/static/wfcqueue.h: In function '___cds_wfcq_splice': ../include/urcu/static/wfcqueue.h:534:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] head = uatomic_xchg(&src_q_head->node.next, NULL); ^ ../include/urcu/static/wfcqueue.h:537:38: warning: comparison between pointer and integer if (CMM_LOAD_SHARED(src_q_tail->p) == &src_q_head->node) ^~ ../include/urcu/static/wfcqueue.h:549:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] tail = uatomic_xchg(&src_q_tail->p, &src_q_head->node); ^ make[1]: *** [Makefile:647: wfqueue.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:647: wfstack.lo] Error 1 make[1]: *** [Makefile:647: wfcqueue.lo] Error 1 In file included from compat_futex.c:31:0: ../include/urcu/arch.h:26:2: error: #error "Cannot build: unrecognized architecture detected." #error "Cannot build: unrecognized architecture detected." ^~~~~ In file included from compat_futex.c:32:0: ../include/urcu/futex.h: In function 'futex': ../include/urcu/futex.h:65:17: error: '__NR_futex' undeclared (first use in this function); did you mean 'futex'? return syscall(__NR_futex, uaddr, op, val, timeout, ^~~~~~~~~~ futex ../include/urcu/futex.h:65:17: note: each undeclared identifier is reported only once for each function it appears in compat_futex.c: In function 'compat_futex_noasync': compat_futex.c:70:2: warning: implicit declaration of function 'cmm_smp_mb' [-Wimplicit-function-declaration] cmm_smp_mb(); ^~~~~~~~~~ In file included from compat_futex.c:33:0: ../include/urcu/system.h:37:3: warning: implicit declaration of function 'cmm_smp_rmc' [-Wimplicit-function-declaration] cmm_smp_rmc(); \ ^ compat_futex.c:85:10: note: in expansion of macro 'CMM_LOAD_SHARED' while (CMM_LOAD_SHARED(*uaddr) == val) ^~~~~~~~~~~~~~~ make[1]: *** [Makefile:647: compat_futex.lo] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/userspace-rcu-0.10.0/src' make: *** [Makefile:475: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.HIFTTP (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HIFTTP (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff