Re: [bpf-next] selftests/bpf fails to compile

From: Alexei Starovoitov
Date: Mon Mar 10 2025 - 04:45:24 EST


On Mon, Mar 10, 2025 at 8:32 AM Venkat Rao Bagalkote
<venkat88@xxxxxxxxxxxxx> wrote:
>
> Greetings!!!
>
> selftests/bpf fails to compile with below error on bpf-next repo with
> commit head: f28214603dc6c09b3b5e67b1ebd5ca83ad943ce3
>
> Repo link:
> https://web.git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/
>
> Reverting below commit resolves the issue.
>
> Commit ID: 48b3be8d7f82bea6affe6b9f11ee67380b55ede8

...

> If you happen to fix the issue, please add below tag.
>
> Reported-by: Venkat Rao Bagalkote <venkat88@xxxxxxxxxxxxx>

Not quite. The issue is likely that your llvm is too old.
Please upgrade.