-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Add multi-architecture vmlinux.h support #3265
Conversation
Move vmlinux.h header into a per-architecture subdirectory to allow architecture-specific builds of libbpf-tools. Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Add vmlinux.h for arm64 (aarch64) and powerpc (ppc64le) architectures. Makefile already normalizes aarch64 -> arm64 and ppc64le -> powerpc, so no adjustments are necessary. Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
This builds successfully on aarch64, ppc64le, and x86_64. Except there is some compilation warning on powerpc:
etc. Build log is temporary there: http://git.altlinux.org/tasks/265490/build/300/ppc64le/log |
right, eternal @yonghong-song, please consider pulling |
Would be also great to remove |
Yes, it's necessary for BPF skeleton generation and it's here to make it simpler for users to compile libbpf-tools. We could instead do the same thing we did with vmlinux.h and provide per-architecture binaries, though. |
[buildbot, test this please] |
Add support for per-architecture vmlinux.h headers. Add arm64 and powerpc vmlinux.h, generated by @vt-alt in #3252.