Replies: 2 comments
-
|
Solved. It turns out that my LLVM was compiled without DLLVM_ENABLE_RTTI=ON |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Glad you were able to solve it! If you stumble upon any other issues do not hesitate to ask. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi community,
VAST compile fails in my local ubuntu due to the following link errors:
Commands:
`vast$ cmake --preset ninja-multi-default --toolchain ./cmake/lld.toolchain.cmake -DCMAKE_PREFIX_PATH=/usr/local/llvm-17/ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_ENABLE_LLD=ON -DLLVM_ENABLE_RTTI=ON
// There are many of these link errors. I only list one of them
vast$ cmake --build --preset ninja-rel
.....
[188/191] Linking CXX executable tools/vast-lsp-server/Release/vast-lsp-server
FAILED: tools/vast-lsp-server/Release/vast-lsp-server
.......
ld.lld: error: undefined symbol: typeinfo for mlir::Dialect
It seems that MLIR builds are not linked correctly.
LLVM&MLIR project(I build llvm-17 from source code) is built correclty and the install path is /usr/local/llvm-17/ which is already in the vast cmake config CLI
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions