Re: [PATCH bpf] bpf, libbpf: guard bpf inline asm from bpf_tail_call_static

2020-10-21 Thread Andrii Nakryiko
On Wed, Oct 21, 2020 at 1:33 PM Daniel Borkmann wrote: > > Yaniv reported a compilation error after pulling latest libbpf: > > [...] > ../libbpf/src/root/usr/include/bpf/bpf_helpers.h:99:10: error: > unknown register name 'r0' in asm > : "r0", "r1", "r2", "r3", "r4", "r5

Re: [PATCH bpf] bpf, libbpf: guard bpf inline asm from bpf_tail_call_static

2020-10-21 Thread Yaniv Agman
‫בתאריך יום ד׳, 21 באוק׳ 2020 ב-23:33 מאת ‪Daniel Borkmann‬‏ <‪dan...@iogearbox.net‬‏>:‬ > > Yaniv reported a compilation error after pulling latest libbpf: > > [...] > ../libbpf/src/root/usr/include/bpf/bpf_helpers.h:99:10: error: > unknown register name 'r0' in asm > :

Re: [PATCH bpf] bpf, libbpf: guard bpf inline asm from bpf_tail_call_static

2020-10-21 Thread Yonghong Song
On 10/21/20 1:32 PM, Daniel Borkmann wrote: Yaniv reported a compilation error after pulling latest libbpf: [...] ../libbpf/src/root/usr/include/bpf/bpf_helpers.h:99:10: error: unknown register name 'r0' in asm : "r0", "r1", "r2", "r3", "r4", "r5"); [...] Th

[PATCH bpf] bpf, libbpf: guard bpf inline asm from bpf_tail_call_static

2020-10-21 Thread Daniel Borkmann
Yaniv reported a compilation error after pulling latest libbpf: [...] ../libbpf/src/root/usr/include/bpf/bpf_helpers.h:99:10: error: unknown register name 'r0' in asm : "r0", "r1", "r2", "r3", "r4", "r5"); [...] The issue got triggered given Yaniv was compiling tracin