• Alexei Starovoitov's avatar
    selftests/bpf: fix bpf_flow.c build · 70e88c75
    Alexei Starovoitov authored
    fix the following build error:
    clang -I. -I./include/uapi -I../../../include/uapi -idirafter /usr/local/include -idirafter /data/users/ast/llvm/bld/lib/clang/7.0.0/include -idirafter /usr/include -Wno-compare-distinct-pointer-types \
    	 -O2 -target bpf -emit-llvm -c bpf_flow.c -o - |      \
    llc -march=bpf -mcpu=generic  -filetype=obj -o /data/users/ast/bpf-next/tools/testing/selftests/bpf/bpf_flow.o
    LLVM ERROR: 'dissect' label emitted multiple times to assembly file
    make: *** [/data/users/ast/bpf-next/tools/testing/selftests/bpf/bpf_flow.o] Error 1
    
    Fixes: 9c98b13c ("flow_dissector: implements eBPF parser")
    Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
    70e88c75
bpf_flow.c 8.53 KB