Package Details: libbpf 0.0.4-1

Git Clone URL: (read-only, click to copy)
Package Base: libbpf
Description: BPF library
Upstream URL:
Licenses: custom
Submitter: adytzu2007
Maintainer: adytzu2007
Last Packager: adytzu2007
Votes: 0
Popularity: 0.000000
First Submitted: 2019-10-19 09:40
Last Updated: 2019-12-21 13:39

Latest Comments

adytzu2007 commented on 2019-12-21 13:46

Okay, switched this version to use the libbpf github repository but use the v0.0.4 tag which is in line with the 5.3 linux-api-headers.

adytzu2007 commented on 2019-12-21 09:05

Added libbpf-git.

adytzu2007 commented on 2019-12-21 09:02

The problem is that github libbpf has a that contains XDP_RING_NEED_WAKEUP. However, that file is not packaged as part of the library and is expected to come from linux-api-headers. But the ArchLinux linux-api-headers are still stuck at 5.3 and they don't know about that XDP_RING_NEED_WAKEUP which is why when trying to use the library, you end up with compilation errors in xsk.h:82 since it needs that XDP_RING_NEED_WAKEUP.

This is why I resorted to use the 5.3.7 version. I will add a libbpf-git package but the caveat is that you will need to locally upgrade your linux-api-headers to 5.4 if you want that to work.

I will also check how other distros work with this.

otilmans commented on 2019-12-20 15:01


Per ; would it be possible for this package to align to the libbpf github (possibly also start a -git package)? Cloning the whole kernel source tree just for this is kind of expensive...