iovisor / bcc

BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to build with LLVM 18

12101111 opened this issue · comments

In #1289 , -nopie is used when compiler is clang
In llvm/llvm-project@cac82e2 , clang 18+ don't accept -nopie except on OpenBSD

This lead to a build error error: unsupported option '-nopie' for target when compile bcc using clang-18

Could you send a patch for this? Currently bcc supports llvm >= 12, so it is okay to remove -nopie from bcc.