summaryrefslogtreecommitdiff
path: root/dev-util/bpftool
AgeCommit message (Collapse)Author
2025-11-04dev-*/*: update for virtual/zlibMichał Górny
Update done using: ``` git grep -l sys-libs/zlib dev-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g git diff --name-only | xargs copybump git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error ``` Followed by manual revert in dev-python/zlib-ng where it accidentally caught sys-libs/zlib-ng dependencies. Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-26dev-util/bpftool: Stabilize 7.6.0 ppc64, #963306Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-09-26dev-util/bpftool: Stabilize 7.6.0 ppc, #963306Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-09-23dev-util/bpftool: Stabilize 7.6.0 amd64, #963306Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-09-23dev-util/bpftool: Stabilize 7.6.0 x86, #963306Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-22dev-util/bpftool: Stabilize 7.6.0 arm64, #963306Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-09-22dev-util/bpftool: Stabilize 7.6.0 arm, #963306Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-07-25dev-util/bpftool: add 7.6.0Holger Hoffstätte
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/43134 Closes: https://github.com/gentoo/gentoo/pull/43134 Signed-off-by: Sam James <sam@gentoo.org>
2025-07-25dev-util/bpftool: add python-3.14 to 7.5Holger Hoffstätte
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/43134 Signed-off-by: Sam James <sam@gentoo.org>
2025-07-25dev-util/bpftool: add python-3.14 to liveHolger Hoffstätte
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/43134 Signed-off-by: Sam James <sam@gentoo.org>
2025-05-03dev-util/bpftool: warn when using bpf-toolchainHolger Hoffstätte
While using bpf-toolchain "mostly works", there are still some rough edges due to ongoing work in Linux and gcc itself. Make users aware that USE=-clang might result in bugs. Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/41913 Closes: https://github.com/gentoo/gentoo/pull/41913 Signed-off-by: Sam James <sam@gentoo.org>
2025-05-03dev-util/bpftool: prevent attribute warning with bpf-toolchainHolger Hoffstätte
The bpf-generated kernel headers currently use a clang-specific pragma to annotate data structures with the preserve_access_index attribute; since this does not work with gcc, the attribute will be ignored. Luckily the BPF test suite already has a macro guard called BPF_NO_PRESERVE_ACCESS_INDEX for this case, so just define that for the bpftool build as well. Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/41913 Signed-off-by: Sam James <sam@gentoo.org>
2025-05-02dev-util/bpftool: clean up old versionsHolger Hoffstätte
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/41884 Signed-off-by: Sam James <sam@gentoo.org>
2025-05-02dev-util/bpftool: set error code in do_loader()Holger Hoffstätte
Patch from -stable kernel tree to correctly return error code when loading a BPF program fails. Bug: https://github.com/libbpf/bpftool/issues/156 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/41884 Signed-off-by: Sam James <sam@gentoo.org>
2025-05-02dev-util/bpftool: always build bpf bits with std=gnu11, remove py3.10Holger Hoffstätte
The bpf-toolchain-15 compiler defaults to C23, which fails to compile various kernel headers due to their use of a custom 'bool' type. Explicitly using -std=gnu11 works with both clang and bpf-toolchain. Closes: https://bugs.gentoo.org/955156 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/41884 Signed-off-by: Sam James <sam@gentoo.org>
2025-04-10dev-util/bpftool: Stabilize 7.5.0 ppc, #947594Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-10dev-util/bpftool: Stabilize 7.5.0 x86, #947594Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-10dev-util/bpftool: Stabilize 7.5.0 arm64, #947594Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-10dev-util/bpftool: Stabilize 7.5.0 ppc64, #947594Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-10dev-util/bpftool: Stabilize 7.5.0 arm, #947594Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-08dev-util/bpftool: enable enable llvm_slot_20Holger Hoffstätte
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/40926 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-01-06dev-util/bpftool: Stabilize 7.5.0 amd64, #947594Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2024-12-11Move {sys-devel → llvm-core}/llvmMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-12-11Move {sys-devel → llvm-core}/clangMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-12-07dev-util/bpftool: clean up masked versionsHolger Hoffstätte
Bug: https://bugs.gentoo.org/941185 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-11-11dev-util/bpftool: add 7.5.0 with USE=clang to select BPF toolchainHolger Hoffstätte
We still default to using clang for now, but using the GCC-based sys-devel/bpf-toolchain as alternative should work. Closes: https://bugs.gentoo.org/943113 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Sam James <sam@gentoo.org>
2024-11-11dev-util/bpftool: remove unused optfeatureHolger Hoffstätte
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Sam James <sam@gentoo.org>
2024-11-09dev-util/bpftool: fix clang dependency & always build CO-RE supportHolger Hoffstätte
Making CO-RE support an optfeature causes way too many unintentional problems, so for now just BDEPEND on clang and explicitly pass it to the build. Closes: https://bugs.gentoo.org/943029 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/39247 Signed-off-by: Sam James <sam@gentoo.org>
2024-11-03dev-util/bpftool: Stabilize 7.4.0 amd64, #942815Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2024-10-30dev-util/bpftool: add a sane 7.4.0 releaseHolger Hoffstätte
This adds a proper 7.4.0 release (with some necessary patches sent upstream) built from the Github mirror instead of the previously used fragile kernel tree that produces unversioned 'mystery meat of the week'. This greatly simplifies the ebuild, makes generated code conform to well-defined ABI/API and no longer outputs misleading version information. Bug: https://bugs.gentoo.org/941248 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/39088 Signed-off-by: Sam James <sam@gentoo.org>
2024-10-30dev-util/bpftool: add rewritten live ebuild for Github-based bpftool mirrorHolger Hoffstätte
This new ebuild for bpftool gets rid of the fragile kernel-tree based build and uses the Github-based mirror repository. Unlike the previous ebuilds it allows well-defined version upgrades and optionally makes bundling a newer, properly versioned libbpf easy and reproducible. No more mystery meat! Closes: https://bugs.gentoo.org/941248 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Sam James <sam@gentoo.org>
2024-10-06dev-util/bpftool: fix python shebang for python-exec[-native-symlinks]Holger Hoffstätte
Closes: https://bugs.gentoo.org/940781 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/38883 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
2024-10-05dev-util/bpftool: bump to use 6.11.2, use llvm-r1, support llvm-19Holger Hoffstätte
Closes: https://bugs.gentoo.org/938351 Closes: https://bugs.gentoo.org/939737 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/38880 Signed-off-by: Sam James <sam@gentoo.org>
2024-09-12dev-util/bpftool: Stabilize 7.5.0-r1 amd64, #939462Joonas Niilola
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-08-24dev-util/bpftool: relax binutils-libs dependency, do not USE=llvm by defaultHolger Hoffstätte
Discussion on IRC found that the binutils-libs dependency can be relaxed and that default-enabling llvm is also not really necessary. This should help with the adoption of sys-devel/bpf-toolchain. Closes: https://bugs.gentoo.org/938347 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/38265 Signed-off-by: Sam James <sam@gentoo.org>
2024-08-23dev-util/bpftool: update USE=llvm descriptionSam James
Per discussion with Holger. Signed-off-by: Sam James <sam@gentoo.org>
2024-08-23dev-util/bpftool: fix assert placementSam James
Otherwise we're not testing the result from xzcat+filterdiff. While here, add a die to the `test -s` check. Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06dev-util/bpftool: clean up oldHolger Hoffstätte
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
2024-08-06dev-util/bpftool: support python-3.13Holger Hoffstätte
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
2024-08-06dev-util/bpftool: fix miscompilation with clang & correctly apply patchesHolger Hoffstätte
Closes: https://bugs.gentoo.org/937402 Closes: https://bugs.gentoo.org/937403 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
2024-07-21dev-util/bpftool: fix overriding of PV in 7.5.0Violet Purcell
Closes: https://github.com/gentoo/gentoo/pull/37643 Signed-off-by: Violet Purcell <vimproved@inventati.org> Signed-off-by: Yixun Lan <dlan@gentoo.org>
2024-07-19dev-util/bpftool: add 7.5.0 from kernel 6.10, no longer set explicit versionHolger Hoffstätte
This avoids confusion wrt. bpftool's advertised capabilities via its --version output. The ebuild will no longer follow the kernel version. Closes: https://bugs.gentoo.org/936209 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/37591 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
2024-07-19dev-util/bpftool: add myself as proxy maintainerHolger Hoffstätte
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
2024-07-04dev-util/bpftool: Stabilize 6.9.2 arm64, #935497Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-07-04dev-util/bpftool: Stabilize 6.9.2 x86, #935497Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-07-04dev-util/bpftool: Stabilize 6.9.2 ppc, #935497Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-07-04dev-util/bpftool: Stabilize 6.9.2 ppc64, #935497Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-07-04dev-util/bpftool: Stabilize 6.9.2 amd64, #935497Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-07-04dev-util/bpftool: Stabilize 6.9.2 arm, #935497Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-06-25dev-util/bpftool: drop 6.7.6-r1Jakov Smolić
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>