[Buildroot] [PATCH 1/1] package/kmemd: needs headers >= 5.14

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Oct 30 14:03:18 UTC 2022


On Sun, 30 Oct 2022 13:53:58 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> kmemd unconditionally uses BPF_PSEUDO_MAP_IDX_VALUE which is only
> available since kernel 5.14 and
> https://github.com/torvalds/linux/commit/387544bfa291a22383d60b40f887360e2b931ec6
> resulting in the following build failure since the addition of the
> package in commit b3f915c6561bcb2f7952faca3bedf1766f299538:
> 
> kmem.c:36:17: error: 'BPF_PSEUDO_MAP_IDX_VALUE' undeclared here (not in a function); did you mean 'BPF_PSEUDO_MAP_VALUE'?
>    36 |                 BPF_PSEUDO_MAP_IDX_VALUE, 0, _idx       \
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/dcd7e6321d64746b8b867fa3f32095d1180a40fc
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/kmemd/Config.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list