[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <D7D7916C-CE3A-4047-B392-02BE97B4B4F1@redhat.com>
Date: Tue, 24 Dec 2019 16:49:14 +0100
From: "Eelco Chaudron" <echaudro@...hat.com>
To: "Andrii Nakryiko" <andrii.nakryiko@...il.com>
Cc: bpf <bpf@...r.kernel.org>, "David S. Miller" <davem@...emloft.net>,
"Alexei Starovoitov" <ast@...nel.org>,
Networking <netdev@...r.kernel.org>
Subject: Re: [PATCH bpf-next] selftests/bpf: Add a test for attaching a bpf
fentry/fexit trace to an XDP program
On 23 Dec 2019, at 18:57, Andrii Nakryiko wrote:
> On Mon, Dec 23, 2019 at 4:54 AM Eelco Chaudron <echaudro@...hat.com> wrote:
<SNIP<
>>
>> Thanks for the review, updated my kernel to the latest bfp-next, but now
>> I get the following build issue for the test suite:
>>
>> GEN-SKEL [test_progs] loop3.skel.h
>> GEN-SKEL [test_progs] test_skeleton.skel.h
>> libbpf: failed to find BTF for extern 'CONFIG_BPF_SYSCALL': -2
>
> This looks like you have Clang without BTF types for extern. Can you
> try pull the very latest Clang/LLVM and try again? The latest commit
> you should have is e3d8ee35e4ad ("reland "[DebugInfo] Support to emit
> debugInfo for extern variables"").
>
Thanks, rebuilding the latest master LLVM fixed the problem!
//Eelco
Powered by blists - more mailing lists