Skip to content
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

Updating Debian source installation build tool versions #5041

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

VishnuVelayuthan
Copy link

@VishnuVelayuthan VishnuVelayuthan commented Jun 25, 2024

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

…s include clang version 13 and zip dependency
@yonghong-song
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BCC source setup make error on Debian Bookworm
2 participants