[llvm-dev] Missing symbol `typeinfo for llvm::raw_ostream' in LLVM-4.0.so
Mehdi AMINI via llvm-dev
llvm-dev at lists.llvm.org
Wed Jul 12 09:53:55 PDT 2017
It seems you are building some code using the LLVM headers and linking to
the LLVM library and getting this error, is this correct?
The LLVM library you're linking to was built with -fno-rtti. You need to
use the same flag for every translation unit that is using a header from
LLVM. Alternatively you can rebuild LLVM and disable this flag.
LLVM usually comes with llvm-config, which is a tool that can give you the
list of compilation flags that you should use to build your code to match
how LLVM was built.
2017-07-07 15:40 GMT-07:00 Yuri via llvm-dev <llvm-dev at lists.llvm.org>:
> How can I understand why this symbol is missing:
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev