diff --git a/backport-Fix-compilation-error-when-built-with-llvm17.patch b/backport-Fix-compilation-error-when-built-with-llvm17.patch deleted file mode 100644 index 69d3fc3..0000000 --- a/backport-Fix-compilation-error-when-built-with-llvm17.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 2c200877c9325dee722f362cf97938a02e8b92e8 Mon Sep 17 00:00:00 2001 -From: Yonghong Song -Date: Sun, 26 Mar 2023 13:10:49 -0700 -Subject: [PATCH] Fix compilation error when built with llvm17 - -With llvm17, building bcc hits the following compilation errors: - ... - /home/yhs/work/bcc/src/cc/bpf_module.cc:21:10: fatal error: llvm-c/Transforms/IPO.h: No such file or directory - 21 | #include - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - /home/yhs/work/bcc/src/cc/bpf_module.cc:48:10: fatal error: llvm/Transforms/IPO/PassManagerBuilder.h: No such file or directory - 48 | #include - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The above two files are removed by https://reviews.llvm.org/D144970 and https://reviews.llvm.org/D145835 - -Signed-off-by: Yonghong Song ---- - src/cc/bpf_module.cc | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/cc/bpf_module.cc b/src/cc/bpf_module.cc -index 7b6f1af9..ffa703ca 100644 ---- a/src/cc/bpf_module.cc -+++ b/src/cc/bpf_module.cc -@@ -17,7 +17,9 @@ - - #include - #include -+#if LLVM_MAJOR_VERSION <= 16 - #include -+#endif - #include - #include - #if LLVM_MAJOR_VERSION >= 16 -@@ -43,7 +45,9 @@ - #include - #include - #include -+#if LLVM_MAJOR_VERSION <= 16 - #include -+#endif - #include - #include - #include --- -2.27.0 - diff --git a/bcc-src-with-submodule.tar.gz b/bcc-src-with-submodule.tar.gz index 84f6f1e..cf441ca 100644 Binary files a/bcc-src-with-submodule.tar.gz and b/bcc-src-with-submodule.tar.gz differ diff --git a/bcc.spec b/bcc.spec index 0147d9f..c9396d6 100644 --- a/bcc.spec +++ b/bcc.spec @@ -1,15 +1,14 @@ %bcond_without llvm_shared Name: bcc -Version: 0.26.0 -Release: 3 +Version: 0.29.1 +Release: 1 Summary: BPF Compiler Collection (BCC) License: ASL 2.0 URL: https://github.com/iovisor/bcc # Upstream now provides a release with the git submodule embedded in it Source0: %{url}/releases/download/v%{version}/%{name}-src-with-submodule.tar.gz -Patch0: backport-Fix-compilation-error-when-built-with-llvm17.patch # Arches will be included as upstream support is added and dependencies are # satisfied in the respective arches @@ -164,6 +163,9 @@ rm -rf %{buildroot}%{_datadir}/%{name}/tools/old/ %changelog +* Mon Feb 19 2024 liweigang - 0.29.1-1 +- update to version 0.29.1 + * Wed Dec 6 2023 zhoujing - 0.26.0-3 - Fix build error with llvm17.