Re: [PATCH bpf-next 1/2] libbpf: Add missing per-arch include path

From: Björn Töpel
Date: Mon Nov 04 2024 - 05:26:20 EST


patchwork-bot+netdevbpf@xxxxxxxxxx writes:

> Hello:
>
> This series was applied to bpf/bpf-next.git (master)
> by Andrii Nakryiko <andrii@xxxxxxxxxx>:
>
> On Fri, 27 Sep 2024 15:13:52 +0200 you wrote:
>> From: Björn Töpel <bjorn@xxxxxxxxxxxx>
>>
>> libbpf does not include the per-arch tools include path, e.g.
>> tools/arch/riscv/include. Some architectures depend those files to
>> build properly.
>>
>> Include tools/arch/$(SUBARCH)/include in the libbpf build.
>>
>> [...]
>
> Here is the summary with links:
> - [bpf-next,1/2] libbpf: Add missing per-arch include path
> https://git.kernel.org/bpf/bpf-next/c/710fbca820c7
> - [bpf-next,2/2] selftests: bpf: Add missing per-arch include path
> https://git.kernel.org/bpf/bpf-next/c/19090f0306f1

Andrii, I just noted that this landed into bpf-next, and not bpf
(fixes).

RISC-V libbpf/perf needs this fix in 6.12 to properly build. Would it be
possible to have it in the bpf tree, and have it land in 6.12-rc7?

Andreas that has a similar fix [1].


Björn

[1] https://lore.kernel.org/linux-riscv/mvm5xq44bqh.fsf@xxxxxxx/