[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
Hi,
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.
Best,
--
Mehdi
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:
> https://bugs.llvm.org/show_bug.cgi?id=33683
>
> Thanks,
> Yuri
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170712/b1fac05e/attachment.html>
More information about the llvm-dev
mailing list