-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Fix some redundant spaces in the INSTALL.md #3977
Conversation
Fix some redundant spaces in the INSTALL.md some command line like : "curl -LO http://releases.llvm.org/7.0.1/llvm-7.0.1.src.tar.xz" should be "curl -LO http://releases.llvm.org/7.0.1/llvm-7.0.1.src.tar.xz".
When "make install bcc" in CentOS system, we need the versions of llvm and clang to be greater than or equal to 10.0.0. Otherwise, an error will be reported as follows: ``` /tmp/bcc/src/cc/bpf_module.cc: In member function ‘virtual void ebpf::MyMemoryManager::notifyObjectLoaded(llvm::ExecutionEngine*, const llvm::object::ObjectFile&)’: /tmp/bcc/src/cc/bpf_module.cc:108:46: error: no matching function for call to ‘llvm::object::SectionRef::getName() const’ auto sec_name = section.get()->getName(); ``` ^
Before #3808 is landed, I think this compilation error should be addressed. |
Since we intend to use more recent llvm compilers, changing to llvm10 from llvm7 looks good to me. |
1 similar comment
Since we intend to use more recent llvm compilers, changing to llvm10 from llvm7 looks good to me. |
Could you squash 4 commits into one with proper commit message? |
1 similar comment
Could you squash 4 commits into one with proper commit message? |
OK, I will close this PR and resubmit a new proper one |
Fix some redundant spaces in the INSTALL.md
some command line like : "curl -LO http://releases.llvm.org/7.0.1/llvm-7.0.1.src.tar.xz" should be "curl -LO http://releases.llvm.org/7.0.1/llvm-7.0.1.src.tar.xz".
And other:
When "make install bcc" in CentOS(7.X) system, we need the versions of llvm and clang to be greater than or equal to 10.0.0. Otherwise, an error will be reported as follows: