Open VishnuVelayuthan opened 3 months ago
Maybe cmake/clang_libs.cmake needs some tweak to make clang16 work. Unfortunately, I am not able to reproduce the issue in my environment with clang cmake
cmake .. -DCMAKE_BUILD_TYPE=Release -G Ninja \
-DLLVM_ENABLE_PROJECTS="clang;llvm;compiler-rt;lld" \
-DLLVM_TARGETS_TO_BUILD="BPF;X86" \
-DLLVM_ENABLE_ASSERTIONS=ON \
-DLLVM_ENABLE_ZLIB=ON \
-DCMAKE_INSTALL_PREFIX=$PWD/install
I think your clang16 build definitely has a different cmake command line than mine.
Was having a problem using clang version 16 while building bcc from source in a fresh debian bookworm container. Found the solution to be downgrading my clang version to 13. Updated the Install.README to reflect those changes to the installation steps. Resolves #5015