Re: [PATCH 5/9] XArray: entry in last level is not expected to be a node

From: Wei Yang
Date: Wed Apr 01 2020 - 18:10:27 EST


On Tue, Mar 31, 2020 at 04:59:12PM -0700, Matthew Wilcox wrote:
>On Tue, Mar 31, 2020 at 10:04:40PM +0000, Wei Yang wrote:
>> cc -I. -I../../include -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o main.o main.c
>> In file included from ./linux/../../../../include/linux/radix-tree.h:15,
>> from ./linux/radix-tree.h:5,
>> from main.c:10:
>> ./linux/rcupdate.h:5:10: fatal error: urcu.h: No such file or directory
>> 5 | #include <urcu.h>
>> | ^~~~~~~~
>> compilation terminated.
>> make: *** [<builtin>: main.o] Error 1
>
>Oh, you need liburcu installed. On Debian, that's liburcu-dev ... probably
>liburcu-devel on Red Hat style distros.

The bad news is I didn't find the package on Fedora.

I am trying to build it from source. Is this git repo the correct one?

git clone git://git.liburcu.org/userspace-rcu.git

--
Wei Yang
Help you, Help me