Re: libbpf's hashmap use of __WORDSIZE

2020-06-08 Thread Arnaldo Carvalho de Melo
Mi On June 8, 2020 2:32:16 PM GMT-03:00, Andrii Nakryiko wrote: >On Mon, Jun 8, 2020 at 9:11 AM Arnaldo Carvalho de Melo > wrote: >> >> Hi Andrii, >> >> We've got that hashmap.[ch] copy from libbpf so that we can >> build perf in systems where libbpf isn't available, and to make it >buil

Re: libbpf's hashmap use of __WORDSIZE

2020-06-08 Thread Andrii Nakryiko
On Mon, Jun 8, 2020 at 9:11 AM Arnaldo Carvalho de Melo wrote: > > Hi Andrii, > > We've got that hashmap.[ch] copy from libbpf so that we can > build perf in systems where libbpf isn't available, and to make it build > in all the containers I regularly test build perf I had to add the patc

libbpf's hashmap use of __WORDSIZE

2020-06-08 Thread Arnaldo Carvalho de Melo
Hi Andrii, We've got that hashmap.[ch] copy from libbpf so that we can build perf in systems where libbpf isn't available, and to make it build in all the containers I regularly test build perf I had to add the patch below, I test build with many versions of both gcc and clang and multiple