Fix: bump minimal urcu dependency to 0.11
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 2 Jun 2021 15:52:59 +0000 (11:52 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 11 Jun 2021 20:51:57 +0000 (16:51 -0400)
cds_lfht_destroy is used from within RCU read-side critical sections
which is only allowed for urcu >= 0.10 (see userspace-rcu commit
d0ec0ed2f).

Such uses were introduced as part of the 2.11 release (contemporary to
urcu 0.10).

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I0b513f58eacd9fc345eacfddcc2662ffa367695a

README.adoc
configure.ac

index 24d85c1aca25b2313bb9b82b9876551d59803765..e9ff9a812312d3c3ded34b4f4ad83c766695f9b5 100644 (file)
@@ -58,7 +58,7 @@ Use `{nbh}{nbh}disable{nbh}epoll` at <<configure,build configuration>>
 time to build {lt} for an older kernel. However, note that we can't
 provide any guarantee below 2.6.27.
 
-* **http://www.liburcu.org/[Userspace{nbsp}RCU]{nbsp}≥{nbsp}0.9.0**.
+* **http://www.liburcu.org/[Userspace{nbsp}RCU]{nbsp}≥{nbsp}0.11.0**.
 +
 Debian/Ubuntu package: `liburcu{nbh}dev`.
 
index c53a978f77f8d5f7058682e86cb5211bc10cadd5..eb0c666bd65f53dc4132c616c303463afb7e27eb 100644 (file)
@@ -486,9 +486,9 @@ PKG_CHECK_MODULES([libxml2], [libxml-2.0 >= 2.7.6])
 AC_CHECK_FUNC([clock_gettime], [AC_DEFINE_UNQUOTED([LTTNG_HAVE_CLOCK_GETTIME], 1, [Has clock_gettime() support.])])
 
 # URCU library version needed or newer
-PKG_CHECK_MODULES([URCU], [liburcu >= 0.9])
-PKG_CHECK_MODULES([URCU_BP], [liburcu-bp >= 0.9])
-PKG_CHECK_MODULES([URCU_CDS], [liburcu-cds >= 0.9])
+PKG_CHECK_MODULES([URCU], [liburcu >= 0.11])
+PKG_CHECK_MODULES([URCU_BP], [liburcu-bp >= 0.11])
+PKG_CHECK_MODULES([URCU_CDS], [liburcu-cds >= 0.11])
 AM_CPPFLAGS="$AM_CPPFLAGS $URCU_CFLAGS"
 
 # Check for libkmod, it will be auto-neabled if found but won't fail if it's not,
This page took 0.026481 seconds and 4 git commands to generate.