Skip to content

chore(deps): update dependency libbpf/bpftool to v7.7.0#472

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/libbpf-bpftool-7.x
Closed

chore(deps): update dependency libbpf/bpftool to v7.7.0#472
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/libbpf-bpftool-7.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 21, 2026

This PR contains the following updates:

Package Update Change
libbpf/bpftool minor v7.6.0v7.7.0

Release Notes

libbpf/bpftool (libbpf/bpftool)

v7.7.0: bpftool v7.7

Compare Source

New features
  • Add support for signing BPF programs before loading them, using a private PEM key and X.509 certificate. This comes at the cost of an additional build dependency to OpenSSL's development library. (6b9405a, 2d37198, 865da8c)
  • Add a new command bpftool token list showing information for each BPF virtual file system mount point containing BPF token information. (91d14c3, 70d7843, 3cfb156, 9a1d7b3, 00ade8b)
  • Add support for instructions array maps (insn_array keyword), and teach the disassembler about indirect jump instructions. (6a7a050, 3db1faa)
  • Support merging multiple module BTF objects with bpftool btf dump file <path1> file <path2> .... (1664891)
  • Add a prepend option for loading tcx programs (bpftool net attach tcx_ingress name tc_prog dev lo prepend) to insert the program at the beginning of the chain. (e22710d)
  • Add support for fsession attach type for cgroup programs. (0f57bca)
  • Improve the error message when dumping a JIT-ed BPF program returns no instructions, to hint at kernel.kptr_restrict that might interfere with the dump. (0b99945)
  • Update the bpftool-prog manual page to mention newer ekfunc bpf_stream_vprintk_impl() rather than the legacy bpf_stream_vprintk(). (640fb7c)
Bug fixes
  • Fix truncated Netlink dumps. (f38edf1)
  • Fix a missing closing parenthesis when dumping BTF and printing an item with unsupported BTF kind. (60f3d88)
  • Fix symbol matching logic for showing multi-kprobe links to account for Control-flow Enforcement Technology (CET) for x86_64 architectures. (43342f4, bdf9e48)
Build fixes
  • Fix dependencies order for static build. (2381434)
  • Make skeleton C++ compatible with explicit casts. (8b1712f)
  • Build, and fix the resulting warnings, with -fms-extensions, to support for anonymous structs or unions. This is required because the kernel now builds with these extensions as well, and may leak anonymous structs or unions into the vmlinux.h BTF header generated and used by bpftool. (829b8a6)
  • Fix uninitialized-const-pointer warnings for clang >= 21. (8ed27e2)
Other internal changes
  • Remove duplicate string.h header inclusion in one source file. (66fec80)
Continuous deployment
  • Publish Docker images to GHCR on new releases. (1cb60a5)
Known bugs
  • Static builds on Ubuntu 24.04 relying on the libbfd-based disassembler may fail, because of missing linker flags to add the zstd and sframe libraries. Workarounds include using the LLVM-based disassembler instead, using no disassembler, using libbfd < 2.40, or manually overwriting all LIBS flags when building bpftool (it's ugly but it works). (#​73)

Full Changelog: libbpf/bpftool@v7.6.0...v7.7.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <bot@renovateapp.com>
@renovate renovate bot requested a review from a team as a code owner March 21, 2026 05:36
@renovate renovate bot requested a review from rgo3 March 21, 2026 05:36
HadrienPatte added a commit that referenced this pull request Mar 23, 2026
This PR is #472 with a couple additional fixes to account for changes
between 7.6.0 and 7.7.0:

* It is no longer necessary to patch `LIBS` to add `-lzstd` since libbpf/bpftool@67f1758
* `bpftool` now links against `openssl`: "This comes at the cost of an
  additional build dependency to OpenSSL's development library." (see https://github.com/libbpf/bpftool/releases/tag/v7.7.0)

Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
HadrienPatte added a commit that referenced this pull request Mar 23, 2026
This PR is #472 with a couple additional fixes to account for changes
between 7.6.0 and 7.7.0:

* It is no longer necessary to patch `LIBS` to add `-lzstd` since libbpf/bpftool@67f1758
* `bpftool` now links against `openssl`: "This comes at the cost of an
  additional build dependency to OpenSSL's development library." (see https://github.com/libbpf/bpftool/releases/tag/v7.7.0)

Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
@HadrienPatte
Copy link
Copy Markdown
Member

Closing in favor of #473

@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Mar 23, 2026

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (v7.7.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/libbpf-bpftool-7.x branch March 23, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant