#libbpf — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #libbpf, aggregated by home.social.
-
PPAs Updates
Latest versions of BCC (v0.29.1) and libbpf (v1.3.0) are now available from the bpftrace PPA for bionic, focal and jammy. There's also latest bpftrace (0.19.0) available but only for jammy (I [...]
-
Today's bug is a `libbpf` bug: https://lore.kernel.org/bpf/ZXcFRJVKbK[email protected]/
`bpftool` fails to recognize `BPF` programs. But it does it only when all of the below are true:
1. ran on 32-bit host system (`bpftool` is a 32-bit `ELF`)
2. `BPF` is compiled with compressed debug sections, like `-Wa,--compress-debug-sections` flagError: failed to link 'bpf.o': Invalid argument (22)
it now says
libbpf: ELF section #9 has inconsistent alignment addr=8 != d=4 in bpf.o