Re: [PATCH bpf-next] samples/bpf: fix build with new clang

2019-04-05 Thread Daniel Borkmann
On 04/04/2019 11:37 PM, Alexei Starovoitov wrote: > clang started to error on invalid asm clobber usage in x86 headers > and many bpf program samples failed to build with the message: > > CLANG-bpf /data/users/ast/bpf-next/samples/bpf/xdp_redirect_kern.o > In file included from > /data/users/a

[PATCH bpf-next] samples/bpf: fix build with new clang

2019-04-04 Thread Alexei Starovoitov
clang started to error on invalid asm clobber usage in x86 headers and many bpf program samples failed to build with the message: CLANG-bpf /data/users/ast/bpf-next/samples/bpf/xdp_redirect_kern.o In file included from /data/users/ast/bpf-next/samples/bpf/xdp_redirect_kern.c:14: In file includ