[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAADnVQKQRKtDz0Boy=-cudc4eKGXB-yParGZv6qvYcQR4uMUQQ@mail.gmail.com>
Date: Wed, 19 Feb 2020 08:41:27 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: Andrii Nakryiko <andrii.nakryiko@...il.com>,
Andrii Nakryiko <andriin@...com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
BPF-dev-list <bpf@...r.kernel.org>,
Daniel Borkmann <borkmann@...earbox.net>,
David Miller <davem@...emloft.net>,
LKML <linux-kernel@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Anders Roxell <anders.roxell@...aro.org>,
Toke Høiland-Jørgensen <toke@...hat.com>
Subject: Re: Kernel 5.5.4 build fail for BPF-selftests with latest LLVM
On Wed, Feb 19, 2020 at 4:30 AM Jesper Dangaard Brouer
<brouer@...hat.com> wrote:
>
> I'm willing to help out, such that we can do either version or feature
> detection, to either skip compiling specific test programs or at least
> give users a proper warning of they are using a too "old" LLVM version.
...
> progs/test_core_reloc_bitfields_probed.c:47:13: error: use of unknown builtin '__builtin_preserve_field_info' [-Wimplicit-function-declaration]
> out->ub1 = BPF_CORE_READ_BITFIELD_PROBED(in, ub1);
imo this is proper warning message already.
Powered by blists - more mailing lists