xdp-project / xdp-tools

Utilities and example programs for use with XDP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: llc: xdp-dispatcher.ll:410:54: error: unterminated attribute group

NobinPegasus opened this issue · comments

When I try to install xdp-tools I get the following error:

pegasus@pegasus:~/Documents/xdp-tools$ make

lib

  libbpf
    CC       libbpf/src/libbpf.a
    INSTALL  libbpf/src/libbpf.a

  libxdp
    CC       staticobjs/libxdp.o
    CC       staticobjs/xsk.o
    M4       xdp-dispatcher.c
    CLANG    xdp-dispatcher.o
    LLC      xdp-dispatcher.o
llc: error: llc: xdp-dispatcher.ll:410:54: error: unterminated attribute group
attributes #0 = { nofree noinline norecurse nounwind memory(inaccessiblemem: readwrite) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
                                                     ^
make[2]: *** [Makefile:139: xdp-dispatcher.o] Error 1
make[1]: *** [Makefile:20: libxdp] Error 2
make: *** [Makefile:31: lib] Error 2

Thanks matching the llc and clang version solved the issue.