public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bpftool] rawhide: Release 7.8.1
@ 2026-10-21 8:20 Viktor Malik
0 siblings, 0 replies; only message in thread
From: Viktor Malik @ 2026-10-21 8:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bpftool
Branch : rawhide
Commit : 27ea948bbbfaa684483e160e7640c9c9cc29900d
Author : Viktor Malik <vmalik@redhat.com>
Date : 2026-10-21T10:18:54+02:00
Stats : +10/-76 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/bpftool/c/27ea948bbbfaa684483e160e7640c9c9cc29900d?branch=rawhide
Log:
Release 7.8.1
Drop the two extra patches which are now included in the release.
Also add `HOST_EXTRACFLAGS="-Wno-error=format-security"` to the build to
fix the bootstrap libbpf build failure.
Signed-off-by: Viktor Malik <vmalik@redhat.com>
---
diff --git a/.gitignore b/.gitignore
index 6b8913a..017ec91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/bpftool-libbpf-v7.5.0-sources.tar.gz
/bpftool-libbpf-v7.6.0-sources.tar.gz
/bpftool-libbpf-v7.7.0-sources.tar.gz
+/bpftool-libbpf-v7.8.1-sources.tar.gz
diff --git a/0001-libbpf-include-add-128-bit-integer-types.patch b/0001-libbpf-include-add-128-bit-integer-types.patch
deleted file mode 100644
index 932fda7..0000000
--- a/0001-libbpf-include-add-128-bit-integer-types.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From f90a9c487d7542d91fa584b83b6a624a4fbeb341 Mon Sep 17 00:00:00 2001
-From: Daniel Golle <daniel@makrotopia.org>
-Date: Mon, 7 Sep 2026 16:54:26 +0100
-Subject: [PATCH] include: add 128-bit integer types to linux/types.h
-
-Linux 7.3 declares the fpsimd registers in the arm64 sigcontext as
-__u128 instead of __uint128_t, see kernel commit d4bf9e08d412 ("arm64:
-uapi: Use __u128 instead of __uint128_t in UAPI headers"). The private
-linux/types.h in include/ shadows the kernel's linux/types.h while
-building libbpf, so with glibc, whose signal.h pulls in
-asm/sigcontext.h, the build fails with an unknown type name __u128.
-Add the __s128 and __u128 typedefs as the kernel's uapi and tools
-headers define them.
-
-Signed-off-by: Daniel Golle <daniel@makrotopia.org>
----
- include/linux/types.h | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/libbpf/include/linux/types.h b/libbpf/include/linux/types.h
-index cfb558ac3..3560e9539 100644
---- a/libbpf/include/linux/types.h
-+++ b/libbpf/include/linux/types.h
-@@ -12,6 +12,11 @@
- #include <asm/types.h>
- #include <asm/posix_types.h>
-
-+#ifdef __SIZEOF_INT128__
-+typedef __signed__ __int128 __s128 __attribute__((aligned(16)));
-+typedef unsigned __int128 __u128 __attribute__((aligned(16)));
-+#endif
-+
- #define __bitwise__
- #define __bitwise __bitwise__
-
diff --git a/0002-include-add-u128-to-linux-types.h.patch b/0002-include-add-u128-to-linux-types.h.patch
deleted file mode 100644
index f3423ff..0000000
--- a/0002-include-add-u128-to-linux-types.h.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From e51a4fe89dfcff3fc7f2143cb0d829c09c7b3145 Mon Sep 17 00:00:00 2001
-From: Yaakov Selkowitz <yselkowi@redhat.com>
-Date: Wed, 14 Oct 2026 11:10:27 -0400
-Subject: [PATCH] include: add u128 to linux/types.h
-
-This corresponds to kernel commit 224d80c584d3016cb8d83d1c33914fdd3508aa8c,
-and is necessary for building on aarch64 with latest kernel UAPI headers.
-
-Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
----
- include/linux/types.h | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/include/linux/types.h b/include/linux/types.h
-index d2df5ed..f5ee0ed 100644
---- a/include/linux/types.h
-+++ b/include/linux/types.h
-@@ -10,6 +10,11 @@
- #include <asm/types.h>
- #include <asm/posix_types.h>
-
-+#ifdef __SIZEOF_INT128__
-+typedef unsigned __int128 __u128 __attribute__((aligned(16)));
-+typedef __u128 u128;
-+#endif
-+
- typedef uint64_t u64;
- typedef __u32 u32;
- typedef __u16 u16;
---
-2.56.0
-
diff --git a/bpftool.spec b/bpftool.spec
index 9752f01..0f4f053 100644
--- a/bpftool.spec
+++ b/bpftool.spec
@@ -1,6 +1,6 @@
Name: bpftool
-Version: 7.7.0
-Release: 4%{?dist}
+Version: 7.8.1
+Release: 1%{?dist}
Summary: Inspection and simple manipulation of eBPF programs and maps
%global libname libbpf
@@ -10,11 +10,6 @@ License: GPL-2.0-only OR BSD-2-Clause
URL: https://github.com/libbpf/bpftool
Source: https://github.com/libbpf/bpftool/releases/download/v%{version}/%{sources}.tar.gz
-# https://github.com/libbpf/libbpf/pull/982, included in libbpf-1.8.0
-Patch: 0001-libbpf-include-add-128-bit-integer-types.patch
-# https://github.com/libbpf/bpftool/pull/297
-Patch: 0002-include-add-u128-to-linux-types.h.patch
-
ExcludeArch: %{ix86}
BuildRequires: gcc
@@ -37,7 +32,9 @@ manipulation of eBPF programs and maps.
%build
# We need to use vmlinux.h from kernel-devel rather than the one from the running system
%define kernel_version %(rpm -q --qf "%%{VERSION}-%%{RELEASE}.%%{ARCH}" kernel-devel)
-%make_build -C src/ EXTRA_CFLAGS="%{build_cflags}" EXTRA_LDFLAGS="%{build_ldflags}" VMLINUX_H="/usr/src/kernels/%{kernel_version}/vmlinux.h"
+# {build_clags} contains -Werror=security, which causes build failures for
+# libbpf bootstrap build. Just disable it via HOST_EXTRACFLAGS.
+%make_build -C src/ EXTRA_CFLAGS="%{build_cflags}" EXTRA_LDFLAGS="%{build_ldflags}" HOST_EXTRACFLAGS="-Wno-error=format-security" VMLINUX_H="/usr/src/kernels/%{kernel_version}/vmlinux.h"
%install
%make_install -C src/ prefix=%{_prefix} bash_compdir=%{bash_completions_dir} mandir=%{_mandir} doc-install
@@ -51,6 +48,9 @@ mv %{buildroot}%{_prefix}/sbin %{buildroot}%{_bindir}
%{_mandir}/man8/bpftool*.8*
%changelog
+* Wed Oct 21 2026 Viktor Malik <vmalik@redhat.com> - 7.8.0-1
+- Release 7.8.0-1
+
* Tue Oct 06 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 7.7.0-4
- Rebuilt for LLVM 23
diff --git a/sources b/sources
index 4d146e6..70efeb1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bpftool-libbpf-v7.7.0-sources.tar.gz) = d74b3ace03981791e08ac50d6b977a27de67bfd5e088e0ecb424eaebb58c30b85ef306f51d0e9244666511b430606b1ed52382d360348da40787c0045b6c8f43
+SHA512 (bpftool-libbpf-v7.8.1-sources.tar.gz) = 8e13487a70ea5a7da7b697a95e4bb6b7d02954d19d37a7ce1d499ae75eca266557095ed5dabf27cbbe184771e451c7f707ba054b5ad383854fc999dc79c34fc9
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-21 8:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21 8:20 [rpms/bpftool] rawhide: Release 7.8.1 Viktor Malik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox