Comments (7)
Sorry, I was not completely clear on youк next steps.
If you compile with recent OS/compilers, you might want to change _GLIBCXX_USE_CXX11_ABI to 1.
Or better just follow the official llvm Getting Started Guide.
After rebuilding and installing llvm/clang, try to relink bde-verify.
You have to checkout llvm 9 release tag and specify clang and clang-tools-extra as enabled projects.
Here is sample configuration command (for llvm build):
cmake -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DLLVM_ENABLE_BINDINGS=No -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_INSTALL_PREFIX=<install_path> -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_LIBDIR_SUFFIX=64 ../llvm/
from bde_verify.
As noted above - you cannot compile against newer version of llvm/clang. This code is written for llvm 9 API.
There are few errors in this trace:
a) C++11 ABI compatibility.
LLVM config script sets _GLIBCXX_USE_CXX11_ABI=0 here:
https://github.com/bloomberg/bde_verify/blob/master/config_llvm.sh#L48
New distributions and libraries are likely to be compiled with this flag set to 1 ( or not set at all, for gcc 9+ this becomes default behavior).
b). Missing aspell library ( and/or its dev package - with headers ).
from bde_verify.
Just to make sure, which version of llvm/clang did you build?
Thanks!
from bde_verify.
Just to make sure, which version of llvm/clang did you build?
Thanks!
I am using llvm/clang 9.0 and build from source following the instruction on README.md.
from bde_verify.
PS. There is an ongoing work to move bde-verify to newer versions of clang and to simplify build process.
from bde_verify.
Sorry, I was not completely clear on youк next steps.
If you compile with recent OS/compilers, you might want to change _GLIBCXX_USE_CXX11_ABI to 1.
Or better just follow the official llvm Getting Started Guide.
After rebuilding and installing llvm/clang, try to relink bde-verify.
You have to checkout llvm 9 release tag and specify clang and clang-tools-extra as enabled projects.Here is sample configuration command (for llvm build):
cmake -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DLLVM_ENABLE_BINDINGS=No -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_INSTALL_PREFIX=<install_path> -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_LIBDIR_SUFFIX=64 ../llvm/
I solve the build issue by install llvm/clang by Ubuntu package manager. This time I install specified version 9 of llvm/clang and everything goes well.
Thank you very much!
from bde_verify.
If you compile with recent OS/compilers, you might want to change _GLIBCXX_USE_CXX11_ABI to 1. <...> After rebuilding and installing llvm/clang, try to relink bde-verify.
I had the same issue. Setting _GLIBCXX_USE_CXX11_ABI
to 1
in https://github.com/bloomberg/bde_verify/blob/master/config_llvm.sh#L48 worked for me. Thanks.
from bde_verify.
Related Issues (6)
- Building bde_verify on vanilla Centos 6.6 HOT 2
- Running bde_verify prompts "Modification of a read-only value attempted at ... line 462" HOT 1
- pointer to Bloomberg internal documentation HOT 1
- Building bde_verify on linux mint (and ubuntu?) HOT 2
- Building bde_verify fails against clang 3.8, succeeds against 4.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bde_verify.