Re: [PATCH bpf v1] tools/libbpf: avoid counting local symbols in ABI check

2020-09-08 Thread Alexei Starovoitov
On Tue, Sep 8, 2020 at 12:53 PM Andrii Nakryiko wrote: > > On Sat, Sep 5, 2020 at 2:49 PM Tony Ambardar wrote: > > > > Encountered the following failure building libbpf from kernel 5.8.5 sources > > with GCC 8.4.0 and binutils 2.34: (long paths shortened) > > > > Warning: Num of global symbols

Re: [PATCH bpf v1] tools/libbpf: avoid counting local symbols in ABI check

2020-09-08 Thread Andrii Nakryiko
On Sat, Sep 5, 2020 at 2:49 PM Tony Ambardar wrote: > > Encountered the following failure building libbpf from kernel 5.8.5 sources > with GCC 8.4.0 and binutils 2.34: (long paths shortened) > > Warning: Num of global symbols in sharedobjs/libbpf-in.o (234) does NOT > match with num of version

[PATCH bpf v1] tools/libbpf: avoid counting local symbols in ABI check

2020-09-05 Thread Tony Ambardar
Encountered the following failure building libbpf from kernel 5.8.5 sources with GCC 8.4.0 and binutils 2.34: (long paths shortened) Warning: Num of global symbols in sharedobjs/libbpf-in.o (234) does NOT match with num of versioned symbols in libbpf.so (236). Please make sure all LIBBPF_API