From c41670a166908a84baace12631df132df30eef67 Mon Sep 17 00:00:00 2001 From: LemmyHuang Date: Thu, 9 Jun 2022 10:23:57 +0800 Subject: [PATCH] fix abort on startup caused by llvm compiler Signed-off-by: LemmyHuang --- bpftrace.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bpftrace.spec b/bpftrace.spec index 2d2e5a2..0d10b5f 100644 --- a/bpftrace.spec +++ b/bpftrace.spec @@ -1,6 +1,6 @@ Name: bpftrace Version: 0.14.1 -Release: 2 +Release: 3 Summary: High-level tracing language for Linux eBPF License: ASL 2.0 @@ -36,7 +36,8 @@ and predecessor tracers such as DTrace and SystemTap. %cmake . \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DBUILD_TESTING:BOOL=OFF \ - -DBUILD_SHARED_LIBS:BOOL=OFF + -DBUILD_SHARED_LIBS:BOOL=OFF \ + -DENABLE_LLVM_SHARED=1 %make_build @@ -64,6 +65,9 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \ %changelog +* Thu Jun 9 2022 LemmyHuang - 0.14.1-3 +- fix abort on startup caused by llvm compiler + * Sat May 7 2022 liyanan - 0.14.1-2 - Fix 'bpftrace symbols are stripped' -- Gitee