Re: more bpf samples build breakage...

2017-05-01 Thread David Miller
From: Daniel Borkmann Date: Mon, 01 May 2017 22:38:58 +0200 > BPF samples: > > [root@apoc bpf]# make > /dev/null > In file included from > /root/cilium/net-next/samples/bpf/cookie_uid_helper_example.c:54:0: > /root/cilium/net-next/samples/bpf/cookie_uid_helper_example.c: In > function ‘prog_load

Re: more bpf samples build breakage...

2017-05-01 Thread Daniel Borkmann
On 05/01/2017 09:30 PM, David Miller wrote: Inlcuding bpf_util.h into test_pkt_access.c et al. broke the build even more so than it already is on sparc. The problem is we end up including all the stdio.h bits and eventually hit things like: In file included from /usr/include/stdio.h:933: /usr/

Re: more bpf samples build breakage...

2017-05-01 Thread David Miller
From: David Miller Date: Mon, 01 May 2017 15:30:05 -0400 (EDT) > > Inlcuding bpf_util.h into test_pkt_access.c et al. broke the build even > more so than it already is on sparc. > > The problem is we end up including all the stdio.h bits and eventually > hit things like: > > In file included f

more bpf samples build breakage...

2017-05-01 Thread David Miller
Inlcuding bpf_util.h into test_pkt_access.c et al. broke the build even more so than it already is on sparc. The problem is we end up including all the stdio.h bits and eventually hit things like: In file included from /usr/include/stdio.h:933: /usr/include/bits/stdio-ldbl.h:28:20: error: cannot