From: Jérémie Galarneau Date: Wed, 2 Jun 2021 15:52:59 +0000 (-0400) Subject: Fix: bump minimal urcu dependency to 0.11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=879000628;p=lttng-tools.git Fix: bump minimal urcu dependency to 0.11 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 Change-Id: I0b513f58eacd9fc345eacfddcc2662ffa367695a --- diff --git a/README.adoc b/README.adoc index 24d85c1ac..e9ff9a812 100644 --- a/README.adoc +++ b/README.adoc @@ -58,7 +58,7 @@ Use `{nbh}{nbh}disable{nbh}epoll` at <> 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`. diff --git a/configure.ac b/configure.ac index 069f447b6..9b093763b 100644 --- a/configure.ac +++ b/configure.ac @@ -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,