eunomia-bpf / bpftime

Userspace eBPF runtime for fast Uprobe & Syscall hook & Extensions with LLVM JIT
https://eunomia.dev/bpftime/
MIT License
699 stars 70 forks source link

[BUG] bpftime fails to build on Fedora Linux x86_64 #170

Closed agentzh closed 5 months ago

agentzh commented 6 months ago

I saw a lot of compilation and linking errors when building the latest master branch of bpftime. I've prepared the following patch to address all of them:

https://gist.github.com/agentzh/2d7f763a8a66382c107af6cd3c413823

Sorry that it might contain one unrelated change in Makefile. Please ignore that change in the patch.

I never tested this patch on any other Linux distros, though. So just for your information.

Thanks! Yichun

yunwei37 commented 6 months ago

Thanks!

https://github.com/eunomia-bpf/bpftime/pull/161 is adding CI test on Fedora to solve this.

yunwei37 commented 5 months ago

We have enabled build and test bpftime on Fedora for all CI in #161 and #192, and fix some related errors.

Officeyutong commented 5 months ago

We have enabled build and test bpftime on Fedora for all CI in #161 and #192, and fix some related errors.

But note that we are using Fedora39 for CI. If you encounter errors on other versions, please let me know