Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llc: error: llc: xdp-dispatcher.ll:10:40: error: expected type #381

Open
LinArcX opened this issue Jan 3, 2024 · 3 comments
Open

llc: error: llc: xdp-dispatcher.ll:10:40: error: expected type #381

LinArcX opened this issue Jan 3, 2024 · 3 comments

Comments

@LinArcX
Copy link

LinArcX commented Jan 3, 2024

Hello, i want to build libxdp on my wsl machine(Debian bullseye), but i get this error during make:

↳ make libxdp

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:10:40: error: expected type
@dispatcher_version = dso_local global ptr null, section "xdp_metadata", align 8, !dbg !21
                                       ^
make[2]: *** [Makefile:139: xdp-dispatcher.o] Error 1
make[1]: *** [Makefile:20: libxdp] Error 2
make: *** [Makefile:34: libxdp] Error 2
@tohojo
Copy link
Member

tohojo commented Jan 3, 2024 via email

@LinArcX
Copy link
Author

LinArcX commented Jan 15, 2024

I think my wsl is messed up. i tried it on a real debian and it's working now. a question. how to build library in debug version?

@tohojo
Copy link
Member

tohojo commented Jan 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants