Re: [bpf PATCH v2] bpf: fix for lex/yacc build error with gcc-5

2018-04-26 Thread Jiri Benc
On Wed, 25 Apr 2018 14:22:45 -0700, John Fastabend wrote: > --- a/tools/bpf/Makefile > +++ b/tools/bpf/Makefile > @@ -76,6 +76,8 @@ $(OUTPUT)bpf_asm: $(OUTPUT)bpf_asm.o > $(OUTPUT)bpf_exp.yacc.o $(OUTPUT)bpf_exp.le > $(QUIET_LINK)$(CC) $(CFLAGS) -o $@ $^ > > $(OUTPUT)bpf_exp.lex.c: $(OUTP

Re: [bpf PATCH v2] bpf: fix for lex/yacc build error with gcc-5

2018-04-25 Thread Daniel Borkmann
On 04/25/2018 11:22 PM, John Fastabend wrote: > Fix build error found with Ubuntu shipped gcc-5 > > ~/git/bpf/tools/bpf$ make all > > Auto-detecting system features: > ...libbfd: [ OFF ] > ...disassembler-four-args: [ OFF ] > > CC bpf_jit_disasm.o > LINK

[bpf PATCH v2] bpf: fix for lex/yacc build error with gcc-5

2018-04-25 Thread John Fastabend
Fix build error found with Ubuntu shipped gcc-5 ~/git/bpf/tools/bpf$ make all Auto-detecting system features: ...libbfd: [ OFF ] ...disassembler-four-args: [ OFF ] CC bpf_jit_disasm.o LINK bpf_jit_disasm CC bpf_dbg.o /home/john/git/bpf/tools/