Re: ebpf: issue with clang

2016-06-12 Thread Eric Leblond
Hello, On Sun, 2016-06-12 at 20:35 +0200, Daniel Borkmann wrote: > On 06/12/2016 07:37 PM, Eric Leblond wrote: > > On Thu, 2016-06-09 at 17:34 -0700, Alexei Starovoitov wrote: > > > On Thu, Jun 09, 2016 at 11:10:05PM +0200, Eric Leblond wrote: > > > > Hello, > > > > > > > > I'm working on

Re: ebpf: issue with clang

2016-06-12 Thread Daniel Borkmann
On 06/12/2016 07:37 PM, Eric Leblond wrote: On Thu, 2016-06-09 at 17:34 -0700, Alexei Starovoitov wrote: On Thu, Jun 09, 2016 at 11:10:05PM +0200, Eric Leblond wrote: Hello, I'm working on integrating ebpf cluster load balancing for AF_PACKET and I've got some problem to get real code inside

Re: ebpf: issue with clang

2016-06-12 Thread Eric Leblond
Hello, On Thu, 2016-06-09 at 17:34 -0700, Alexei Starovoitov wrote: > On Thu, Jun 09, 2016 at 11:10:05PM +0200, Eric Leblond wrote: > > Hello, > > > > I'm working on integrating ebpf cluster load balancing for > > AF_PACKET > > and I've got some problem to get real code inside the EBPF filter. >

Re: ebpf: issue with clang

2016-06-09 Thread Alexei Starovoitov
On Thu, Jun 09, 2016 at 11:10:05PM +0200, Eric Leblond wrote: > Hello, > > I'm working on integrating ebpf cluster load balancing for AF_PACKET > and I've got some problem to get real code inside the EBPF filter. > > I've tried different command lines in the build process. One of them > is: >

ebpf: issue with clang

2016-06-09 Thread Eric Leblond
Hello, I'm working on integrating ebpf cluster load balancing for AF_PACKET and I've got some problem to get real code inside the EBPF filter. I've tried different command lines in the build process. One of them is: clang-3.9 -Wall -O2 -emit-llvm -c hash_ports.c -o - | llc-3.9 -march=bpf