<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Just tested 0.12.2 and lookd like build fails on compile test programs:</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/userspace-rcu-0.12.2/tests/benchmark'<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu.o test_urcu.c<br>In file included from test_urcu.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/../common/debug-yield.h:34,<br>                 from test_urcu.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1321: test_urcu.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DDYNAMIC_LINK_TEST  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_dynamic_link-test_urcu.o `test -f 'test_urcu.c' || echo './'`test_urcu.c<br>In file included from test_urcu.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/../common/debug-yield.h:34,<br>                 from test_urcu.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1370: test_urcu_dynamic_link-test_urcu.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DRCU_SIGNAL  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_signal-test_urcu.o `test -f 'test_urcu.c' || echo './'`test_urcu.c<br>In file included from test_urcu.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/../common/debug-yield.h:34,<br>                 from test_urcu.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1552: test_urcu_signal-test_urcu.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DRCU_SIGNAL -DDYNAMIC_LINK_TEST  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_signal_dynamic_link-test_urcu.o `test -f 'test_urcu.c' || echo './'`test_urcu.c<br>In file included from test_urcu.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/../common/debug-yield.h:34,<br>                 from test_urcu.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1566: test_urcu_signal_dynamic_link-test_urcu.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_rwlock.o test_rwlock.c<br>In file included from test_rwlock.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_rwlock.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1321: test_rwlock.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_perthreadlock.o test_perthreadlock.c<br>In file included from test_perthreadlock.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_perthreadlock.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1321: test_perthreadlock.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DDEBUG_YIELD  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_yield-test_urcu.o `test -f 'test_urcu.c' || echo './'`test_urcu.c<br>In file included from test_urcu.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/../common/debug-yield.h:34,<br>                 from test_urcu.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1678: test_urcu_yield-test_urcu.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DRCU_SIGNAL -DDEBUG_YIELD  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_signal_yield-test_urcu.o `test -f 'test_urcu.c' || echo './'`test_urcu.c<br>In file included from test_urcu.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/../common/debug-yield.h:34,<br>                 from test_urcu.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1622: test_urcu_signal_yield-test_urcu.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DRCU_MB  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_mb-test_urcu.o `test -f 'test_urcu.c' || echo './'`test_urcu.c<br>In file included from test_urcu.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/../common/debug-yield.h:34,<br>                 from test_urcu.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1482: test_urcu_mb-test_urcu.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_qsbr.o test_urcu_qsbr.c<br>In file included from test_urcu_qsbr.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_qsbr.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_qsbr.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_qsbr.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_qsbr.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_mutex.o test_mutex.c<br>In file included from test_mutex.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_mutex.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1321: test_mutex.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_gc.o test_urcu_gc.c<br>In file included from test_urcu_gc.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_gc.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_gc.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_gc.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_gc.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DRCU_SIGNAL  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_signal_gc-test_urcu_gc.o `test -f 'test_urcu_gc.c' || echo './'`test_urcu_gc.c<br>In file included from test_urcu_gc.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_gc.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_gc.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_gc.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1580: test_urcu_signal_gc-test_urcu_gc.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DTEST_LOCAL_GC  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_lgc-test_urcu_gc.o `test -f 'test_urcu_gc.c' || echo './'`test_urcu_gc.c<br>In file included from test_urcu_gc.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_gc.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_gc.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_gc.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1468: test_urcu_lgc-test_urcu_gc.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DRCU_MB  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_mb_gc-test_urcu_gc.o `test -f 'test_urcu_gc.c' || echo './'`test_urcu_gc.c<br>In file included from test_urcu_gc.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_gc.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_gc.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_gc.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1496: test_urcu_mb_gc-test_urcu_gc.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_qsbr_gc.o test_urcu_qsbr_gc.c<br>In file included from test_urcu_qsbr_gc.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_qsbr_gc.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_qsbr_gc.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_qsbr_gc.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_qsbr_gc.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DTEST_LOCAL_GC  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_qsbr_lgc-test_urcu_qsbr_gc.o `test -f 'test_urcu_qsbr_gc.c' || echo './'`test_urcu_qsbr_gc.c<br>In file included from test_urcu_qsbr_gc.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_qsbr_gc.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_qsbr_gc.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_qsbr_gc.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1538: test_urcu_qsbr_lgc-test_urcu_qsbr_gc.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DRCU_SIGNAL -DTEST_LOCAL_GC  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_signal_lgc-test_urcu_gc.o `test -f 'test_urcu_gc.c' || echo './'`test_urcu_gc.c<br>In file included from test_urcu_gc.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_gc.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_gc.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_gc.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1594: test_urcu_signal_lgc-test_urcu_gc.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DTEST_LOCAL_GC -DRCU_MB  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_mb_lgc-test_urcu_gc.o `test -f 'test_urcu_gc.c' || echo './'`test_urcu_gc.c<br>In file included from test_urcu_gc.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_gc.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_gc.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_gc.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1510: test_urcu_mb_lgc-test_urcu_gc.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DDYNAMIC_LINK_TEST  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_qsbr_dynamic_link-test_urcu_qsbr.o `test -f 'test_urcu_qsbr.c' || echo './'`test_urcu_qsbr.c<br>In file included from test_urcu_qsbr.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_qsbr.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_qsbr.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_qsbr.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1524: test_urcu_qsbr_dynamic_link-test_urcu_qsbr.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_defer.o test_urcu_defer.c<br>In file included from test_urcu_defer.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_defer.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_defer.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_defer.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_defer.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_assign.o test_urcu_assign.c<br>In file included from test_urcu_assign.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_assign.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_assign.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_assign.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_assign.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DDYNAMIC_LINK_TEST  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_assign_dynamic_link-test_urcu_assign.o `test -f 'test_urcu_assign.c' || echo './'`test_urcu_assign.c<br>In file included from test_urcu_assign.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_assign.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_assign.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_assign.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1342: test_urcu_assign_dynamic_link-test_urcu_assign.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_bp.o test_urcu_bp.c<br>In file included from test_urcu_bp.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_bp.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_bp.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_bp.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_bp.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DDYNAMIC_LINK_TEST  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_bp_dynamic_link-test_urcu_bp.o `test -f 'test_urcu_bp.c' || echo './'`test_urcu_bp.c<br>In file included from test_urcu_bp.c:36:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_bp.c:24:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../common/debug-yield.h:34,<br>                 from test_urcu_bp.c:38:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_bp.c:25:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>make[2]: *** [Makefile:1356: test_urcu_bp_dynamic_link-test_urcu_bp.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_lfq.o test_urcu_lfq.c<br>In file included from test_urcu_lfq.c:39:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_lfq.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_lfq.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_wfq.o test_urcu_wfq.c<br>In file included from test_urcu_wfq.c:39:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_wfq.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_wfq.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_lfs.o test_urcu_lfs.c<br>In file included from test_urcu_lfs.c:39:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_lfs.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_lfs.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_wfs.o test_urcu_wfs.c<br>In file included from test_urcu_wfs.c:40:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_wfs.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_wfs.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_lfs_rcu.o test_urcu_lfs_rcu.c<br>In file included from test_urcu_lfs_rcu.c:39:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_lfs_rcu.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_lfs_rcu.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common   -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_wfcq.o test_urcu_wfcq.c<br>In file included from test_urcu_wfcq.c:40:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_wfcq.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1321: test_urcu_wfcq.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DDYNAMIC_LINK_TEST  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_wfq_dynlink-test_urcu_wfq.o `test -f 'test_urcu_wfq.c' || echo './'`test_urcu_wfq.c<br>In file included from test_urcu_wfq.c:39:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_wfq.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1650: test_urcu_wfq_dynlink-test_urcu_wfq.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DDYNAMIC_LINK_TEST  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_wfs_dynlink-test_urcu_wfs.o `test -f 'test_urcu_wfs.c' || echo './'`test_urcu_wfs.c<br>In file included from test_urcu_wfs.c:40:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_wfs.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1664: test_urcu_wfs_dynlink-test_urcu_wfs.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DDYNAMIC_LINK_TEST  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_wfcq_dynlink-test_urcu_wfcq.o `test -f 'test_urcu_wfcq.c' || echo './'`test_urcu_wfcq.c<br>In file included from test_urcu_wfcq.c:40:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_wfcq.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1636: test_urcu_wfcq_dynlink-test_urcu_wfcq.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DDYNAMIC_LINK_TEST  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_lfq_dynlink-test_urcu_lfq.o `test -f 'test_urcu_lfq.c' || echo './'`test_urcu_lfq.c<br>In file included from test_urcu_lfq.c:39:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_lfq.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1426: test_urcu_lfq_dynlink-test_urcu_lfq.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DDYNAMIC_LINK_TEST  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_lfs_dynlink-test_urcu_lfs.o `test -f 'test_urcu_lfs.c' || echo './'`test_urcu_lfs.c<br>In file included from test_urcu_lfs.c:39:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_lfs.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1440: test_urcu_lfs_dynlink-test_urcu_lfs.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DRCU_QSBR  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_hash-test_urcu_hash.o `test -f 'test_urcu_hash.c' || echo './'`test_urcu_hash.c<br>In file included from test_urcu_hash.h:39,<br>                 from test_urcu_hash.c:23:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_hash.h:28,<br>                 from test_urcu_hash.c:23:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>In file included from test_urcu_hash.h:40,<br>                 from test_urcu_hash.c:23:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_hash.h:27,<br>                 from test_urcu_hash.c:23:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1384: test_urcu_hash-test_urcu_hash.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DRCU_QSBR  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_hash-test_urcu_hash_rw.o `test -f 'test_urcu_hash_rw.c' || echo './'`test_urcu_hash_rw.c<br>In file included from test_urcu_hash.h:39,<br>                 from test_urcu_hash_rw.c:23:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_hash.h:28,<br>                 from test_urcu_hash_rw.c:23:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>In file included from test_urcu_hash.h:40,<br>                 from test_urcu_hash_rw.c:23:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_hash.h:27,<br>                 from test_urcu_hash_rw.c:23:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1398: test_urcu_hash-test_urcu_hash_rw.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DRCU_QSBR  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_hash-test_urcu_hash_unique.o `test -f 'test_urcu_hash_unique.c' || echo './'`test_urcu_hash_unique.c<br>In file included from test_urcu_hash.h:39,<br>                 from test_urcu_hash_unique.c:23:<br>../../src/compat-rand.h:38:19: error: static declaration of ‘rand_r’ follows non-static declaration<br>   38 | static inline int rand_r(unsigned int *seed)<br>      |                   ^~~~~~<br>In file included from test_urcu_hash.h:28,<br>                 from test_urcu_hash_unique.c:23:<br>/usr/include/stdlib.h:459:12: note: previous declaration of ‘rand_r’ with type ‘int(unsigned int *)’<br>  459 | extern int rand_r (unsigned int *__seed) __THROW;<br>      |            ^~~~~~<br>In file included from test_urcu_hash.h:40,<br>                 from test_urcu_hash_unique.c:23:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_hash.h:27,<br>                 from test_urcu_hash_unique.c:23:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1412: test_urcu_hash-test_urcu_hash_unique.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/common  -DDYNAMIC_LINK_TEST  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o test_urcu_lfs_rcu_dynlink-test_urcu_lfs_rcu.o `test -f 'test_urcu_lfs_rcu.c' || echo './'`test_urcu_lfs_rcu.c<br>In file included from test_urcu_lfs_rcu.c:39:<br>../../tests/common/cpuset.h:32:23: error: conflicting types for ‘cpu_set_t’; have ‘long unsigned int’<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from test_urcu_lfs_rcu.c:25:<br>/usr/include/bits/cpu-set.h:42:3: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>make[2]: *** [Makefile:1454: test_urcu_lfs_rcu_dynlink-test_urcu_lfs_rcu.o] Error 1<br>make[2]: Target 'all' not remade because of errors.<br>make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/userspace-rcu-0.12.2/tests/benchmark'<br>Making all in regression<br>make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/userspace-rcu-0.12.2/tests/regression'<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/utils -I../../tests/common  -DRCU_MEMBARRIER  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o rcutorture_urcu_membarrier-urcutorture.o `test -f 'urcutorture.c' || echo './'`urcutorture.c<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from ../../tests/common/api.h:65,<br>                 from urcutorture.c:8:<br>/usr/include/bits/cpu-set.h:42:3: error: conflicting types for ‘cpu_set_t’; have ‘struct <anonymous>’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/api.h:29,<br>                 from urcutorture.c:8:<br>../../tests/common/cpuset.h:32:23: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’ {aka ‘long unsigned int’}<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>make[2]: *** [Makefile:1048: rcutorture_urcu_membarrier-urcutorture.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/utils -I../../tests/common  -DRCU_SIGNAL  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o rcutorture_urcu_signal-urcutorture.o `test -f 'urcutorture.c' || echo './'`urcutorture.c<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from ../../tests/common/api.h:65,<br>                 from urcutorture.c:8:<br>/usr/include/bits/cpu-set.h:42:3: error: conflicting types for ‘cpu_set_t’; have ‘struct <anonymous>’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/api.h:29,<br>                 from urcutorture.c:8:<br>../../tests/common/cpuset.h:32:23: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’ {aka ‘long unsigned int’}<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>make[2]: *** [Makefile:1076: rcutorture_urcu_signal-urcutorture.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/utils -I../../tests/common  -DRCU_MB  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o rcutorture_urcu_mb-urcutorture.o `test -f 'urcutorture.c' || echo './'`urcutorture.c<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from ../../tests/common/api.h:65,<br>                 from urcutorture.c:8:<br>/usr/include/bits/cpu-set.h:42:3: error: conflicting types for ‘cpu_set_t’; have ‘struct <anonymous>’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/api.h:29,<br>                 from urcutorture.c:8:<br>../../tests/common/cpuset.h:32:23: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’ {aka ‘long unsigned int’}<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>make[2]: *** [Makefile:1034: rcutorture_urcu_mb-urcutorture.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/utils -I../../tests/common  -DRCU_BP  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o rcutorture_urcu_bp-urcutorture.o `test -f 'urcutorture.c' || echo './'`urcutorture.c<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from ../../tests/common/api.h:65,<br>                 from urcutorture.c:8:<br>/usr/include/bits/cpu-set.h:42:3: error: conflicting types for ‘cpu_set_t’; have ‘struct <anonymous>’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/api.h:29,<br>                 from urcutorture.c:8:<br>../../tests/common/cpuset.h:32:23: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’ {aka ‘long unsigned int’}<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br>make[2]: *** [Makefile:1020: rcutorture_urcu_bp-urcutorture.o] Error 1<br>/usr/bin/gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I../../src -I../../tests/utils -I../../tests/common  -DTORTURE_QSBR -DRCU_QSBR  -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o rcutorture_urcu_qsbr-urcutorture.o `test -f 'urcutorture.c' || echo './'`urcutorture.c<br>In file included from /usr/include/sched.h:44,<br>                 from /usr/include/pthread.h:22,<br>                 from ../../tests/common/api.h:65,<br>                 from urcutorture.c:8:<br>/usr/include/bits/cpu-set.h:42:3: error: conflicting types for ‘cpu_set_t’; have ‘struct <anonymous>’<br>   42 | } cpu_set_t;<br>      |   ^~~~~~~~~<br>In file included from ../../tests/common/api.h:29,<br>                 from urcutorture.c:8:<br>../../tests/common/cpuset.h:32:23: note: previous declaration of ‘cpu_set_t’ with type ‘cpu_set_t’ {aka ‘long unsigned int’}<br>   32 | typedef unsigned long cpu_set_t;<br>      |                       ^~~~~~~~~<br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">kloczek</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="monospace, monospace">-- </font></div><div dir="ltr"><font face="monospace, monospace">Tomasz Kłoczko | LinkedIn: <b style="font-weight:normal"><a href="http://lnkd.in/FXPWxH" style="text-decoration:none" target="_blank"><span style="font-size:13px;color:rgb(17,85,204);background-color:transparent;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">http://lnkd.in/FXPWxH</span></a></b></font></div></div></div></div></div></div>