summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch')
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch b/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch
new file mode 100644
index 0000000..2d61dfa
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch
@@ -0,0 +1,25 @@
1From 2058584b7e87d6bd9d1765577766e0df7752232c Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Sun, 5 Sep 2021 10:44:19 +0200
4Subject: [PATCH] lttng-ust-common: link with liburcu explicitly
5
6Otherwise linking errors are seen on x86-32.
7
8Upstream-Status: Pending
9Signed-off-by: Alexander Kanavin <alex@linutronix.de>
10---
11 src/lib/lttng-ust-common/Makefile.am | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/src/lib/lttng-ust-common/Makefile.am b/src/lib/lttng-ust-common/Makefile.am
15index caeea2b..30febf0 100644
16--- a/src/lib/lttng-ust-common/Makefile.am
17+++ b/src/lib/lttng-ust-common/Makefile.am
18@@ -15,6 +15,7 @@ liblttng_ust_common_la_SOURCES = \
19
20 liblttng_ust_common_la_LIBADD = \
21 $(top_builddir)/src/common/libcommon.la \
22+ $(URCU_LIBS) \
23 $(DL_LIBS)
24
25 liblttng_ust_common_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)