Re: [PATCH bpf] bpf: fix "unresolved symbol" build error with resolve_btfids

2020-09-30 Thread Yonghong Song
On 9/30/20 3:59 PM, Martin KaFai Lau wrote: On Wed, Sep 30, 2020 at 03:50:10PM -0700, Yonghong Song wrote: On 9/30/20 1:58 PM, Martin KaFai Lau wrote: On Wed, Sep 30, 2020 at 09:41:09AM -0700, Yonghong Song wrote: Michal reported a build failure likes below: BTFIDS vmlinux FAIL

Re: [PATCH bpf] bpf: fix "unresolved symbol" build error with resolve_btfids

2020-09-30 Thread Martin KaFai Lau
On Wed, Sep 30, 2020 at 03:50:10PM -0700, Yonghong Song wrote: > > > On 9/30/20 1:58 PM, Martin KaFai Lau wrote: > > On Wed, Sep 30, 2020 at 09:41:09AM -0700, Yonghong Song wrote: > > > Michal reported a build failure likes below: > > > BTFIDS vmlinux > > > FAILED unresolved symbol tcp_t

Re: [PATCH bpf] bpf: fix "unresolved symbol" build error with resolve_btfids

2020-09-30 Thread Yonghong Song
On 9/30/20 1:58 PM, Martin KaFai Lau wrote: On Wed, Sep 30, 2020 at 09:41:09AM -0700, Yonghong Song wrote: Michal reported a build failure likes below: BTFIDS vmlinux FAILED unresolved symbol tcp_timewait_sock make[1]: *** [/.../linux-5.9-rc7/Makefile:1176: vmlinux] Error 255 Th

Re: [PATCH bpf] bpf: fix "unresolved symbol" build error with resolve_btfids

2020-09-30 Thread Martin KaFai Lau
On Wed, Sep 30, 2020 at 09:41:09AM -0700, Yonghong Song wrote: > Michal reported a build failure likes below: >BTFIDS vmlinux >FAILED unresolved symbol tcp_timewait_sock >make[1]: *** [/.../linux-5.9-rc7/Makefile:1176: vmlinux] Error 255 > > This error can be triggered when config has

Re: [PATCH bpf] bpf: fix "unresolved symbol" build error with resolve_btfids

2020-09-30 Thread Andrii Nakryiko
On Wed, Sep 30, 2020 at 12:25 PM Yonghong Song wrote: > > > > On 9/30/20 11:40 AM, Andrii Nakryiko wrote: > > On Wed, Sep 30, 2020 at 9:41 AM Yonghong Song wrote: > >> > >> Michal reported a build failure likes below: > >> BTFIDS vmlinux > >> FAILED unresolved symbol tcp_timewait_sock >

Re: [PATCH bpf] bpf: fix "unresolved symbol" build error with resolve_btfids

2020-09-30 Thread Yonghong Song
On 9/30/20 11:40 AM, Andrii Nakryiko wrote: On Wed, Sep 30, 2020 at 9:41 AM Yonghong Song wrote: Michal reported a build failure likes below: BTFIDS vmlinux FAILED unresolved symbol tcp_timewait_sock make[1]: *** [/.../linux-5.9-rc7/Makefile:1176: vmlinux] Error 255 This error

Re: [PATCH bpf] bpf: fix "unresolved symbol" build error with resolve_btfids

2020-09-30 Thread Andrii Nakryiko
On Wed, Sep 30, 2020 at 9:41 AM Yonghong Song wrote: > > Michal reported a build failure likes below: >BTFIDS vmlinux >FAILED unresolved symbol tcp_timewait_sock >make[1]: *** [/.../linux-5.9-rc7/Makefile:1176: vmlinux] Error 255 > > This error can be triggered when config has CONFIG_

[PATCH bpf] bpf: fix "unresolved symbol" build error with resolve_btfids

2020-09-30 Thread Yonghong Song
Michal reported a build failure likes below: BTFIDS vmlinux FAILED unresolved symbol tcp_timewait_sock make[1]: *** [/.../linux-5.9-rc7/Makefile:1176: vmlinux] Error 255 This error can be triggered when config has CONFIG_NET enabled but CONFIG_INET disabled. In this case, there is no use