freenode/#clasp - IRC Chatlog
Search
3:02:24
yosh33
Clasp is successfully compiled but then the build process shows errors about some undefined symbols on linking. Should some specific link keys be set? Target system is Debian 10. For instance: /usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/typeinfo:100: error: undefined reference to 'typeinfo for
3:02:26
yosh33
../../src/llvmo/llvmoExpose.cc:511: error: undefined reference to 'typeinfo for llvm::TargetMachine'
4:08:20
yosh33
Not sure why it cant find llvm9. I've export the ld_library_path to the library of llvm9.
4:09:04
drmeister
I think these are the best instructions that we have: https://github.com/clasp-developers/clasp/wiki/Road-to-clasp-with-lvm@9
4:15:32
yosh33
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/opt/llvm/9.0.1 -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;libcxx;libcxxabi;lld;clang-tools-extra;compiler-rt;libclc;libunwind;debuginfo-tests;libc;lldb;polly;pstl;openmp;parallel-libs" -DCMAKE_C_FLAGS=-DLLVM_ENABLE_DUMP -DCMAKE_CXX_FLAGS=-DLLVM_ENABLE_DUMP -DLLVM_ENABLE_ASSERTIONS=ON
4:21:53
yosh33
It would be good to use a package manager. But I've tried and I cant install llvm@9 with apt, that why I head to build llvm from source.