[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180515055751.yhr7wklhh2lshnzd@ast-mbp>
Date: Mon, 14 May 2018 22:57:53 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: daniel@...earbox.net, oss-drivers@...ronome.com,
netdev@...r.kernel.org,
Björn Töpel <bjorn.topel@...il.com>,
Y Song <ys114321@...il.com>,
Jesper Dangaard Brouer <brouer@...hat.com>
Subject: Re: [PATCH bpf-next v2 0/5] samples: bpf: fix build after move to
full libbpf
On Mon, May 14, 2018 at 10:35:01PM -0700, Jakub Kicinski wrote:
> Hi!
>
> Following patches address build issues after recent move to libbpf.
> For out-of-tree builds we would see the following error:
>
> gcc: error: samples/bpf/../../tools/lib/bpf/libbpf.a: No such file or directory
>
> libbpf build system is now always invoked explicitly rather than
> relying on building single objects most of the time. We need to
> resolve the friction between Kbuild and tools/ build system.
>
> Mini-library called libbpf.h in samples is renamed to bpf_insn.h,
> using linux/filter.h seems not completely trivial since some samples
> get upset when order on include search path in changed. We do have
> to rename libbpf.h, however, because otherwise it's hard to reliably
> get to libbpf's header in out-of-tree builds.
>
> v2:
> - fix the build error harder (patch 3);
> - add patch 5 (make clang less noisy).
Applied, Thanks
Powered by blists - more mailing lists