Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'libbpf: failed to find BTF info for global/extern symbol' since uninitialized global variables on Ubuntu 20.04.6 with clang 10. I was able to compile on a newer ubuntu with a higher version of clang. However, on a development module (nVidia Orin AGX) running Ubuntu 20.04.6 LTS with clang version 10.0.0-4ubuntu1, it is not possible to use apt to update clang to a new version. Downloading the source code of a higher version of clang for compilation is cumbersome. So I hope that with the change, the project code can be easily compiled and used in earlier os. Signed-off-by: LiuLingze <[email protected]>
- Loading branch information