On Wed, May 20, 2026 at 02:46:48PM -0700, Florian Fainelli wrote:
perf fails to build on ARM/ARM64/MIPS with: [...] libbpf.c:1538:76: error: implicit declaration of function 'errstr'; [...] we would need to backport the below commit, but it does not apply cleanly to 6.12.y:
commit c68b6fdc3600466e3c265bad34d099eb8c5280f1 libbpf: move libbpf_errstr() into libbpf_utils.c
Dropped 271abf041cb3 ("libbpf: Stringify errno in log messages in libbpf.c") from the 6.12 queue, along with its two dep-of companions (libbpf: Prevent double close and leak of btf objects; libbpf: Change log level of btf loading error message), since c68b6fdc3600 doesn't apply without a larger libbpf refactor coming along.
Thanks for the report.
-- Thanks, Sasha