Re: [PATCH bpf v1] libbpf: fix build failure from uninitialized variable warning

2020-09-02 Thread Tony Ambardar
On Mon, 31 Aug 2020 at 07:59, Daniel Borkmann wrote: > > On 8/31/20 2:03 AM, Tony Ambardar wrote: > > While compiling libbpf, some GCC versions (at least 8.4.0) have difficulty > > determining control flow and a emit warning for potentially uninitialized > > usage of 'map', which results in a buil

Re: [PATCH bpf v1] libbpf: fix build failure from uninitialized variable warning

2020-08-31 Thread Daniel Borkmann
On 8/31/20 2:03 AM, Tony Ambardar wrote: While compiling libbpf, some GCC versions (at least 8.4.0) have difficulty determining control flow and a emit warning for potentially uninitialized usage of 'map', which results in a build error if using "-Werror": In file included from libbpf.c:56: libb

[PATCH bpf v1] libbpf: fix build failure from uninitialized variable warning

2020-08-30 Thread Tony Ambardar
While compiling libbpf, some GCC versions (at least 8.4.0) have difficulty determining control flow and a emit warning for potentially uninitialized usage of 'map', which results in a build error if using "-Werror": In file included from libbpf.c:56: libbpf.c: In function '__bpf_object__open': lib