| Age | Commit message (Collapse) | Author |
|
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>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
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>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/941185
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
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>
|
|
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
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>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
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>
|
|
Per discussion with Holger.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
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>
|
|
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
|
|
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
|
|
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>
|
|
Closes: https://github.com/gentoo/gentoo/pull/37643
Signed-off-by: Violet Purcell <vimproved@inventati.org>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
|
|
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>
|
|
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
|