Re: [PATCH bpf v2] libbpf: handle symbol versioning properly for libbpf.a

2019-09-30 Thread Yonghong Song
On 9/29/19 11:06 PM, Andrii Nakryiko wrote: > On Sat, Sep 28, 2019 at 4:23 PM Yonghong Song wrote: >> >> bcc uses libbpf repo as a submodule. It brings in libbpf source >> code and builds everything together to produce shared libraries. >> With latest libbpf, I got the following errors: >>/b

Re: [PATCH bpf v2] libbpf: handle symbol versioning properly for libbpf.a

2019-09-29 Thread Andrii Nakryiko
On Sat, Sep 28, 2019 at 4:23 PM Yonghong Song wrote: > > bcc uses libbpf repo as a submodule. It brings in libbpf source > code and builds everything together to produce shared libraries. > With latest libbpf, I got the following errors: > /bin/ld: libbcc_bpf.so.0.10.0: version node not found fo

[PATCH bpf v2] libbpf: handle symbol versioning properly for libbpf.a

2019-09-28 Thread Yonghong Song
bcc uses libbpf repo as a submodule. It brings in libbpf source code and builds everything together to produce shared libraries. With latest libbpf, I got the following errors: /bin/ld: libbcc_bpf.so.0.10.0: version node not found for symbol xsk_umem__create@LIBBPF_0.0.2 /bin/ld: failed to set