[cfe-dev] Different result when execute `nm libclangAST.dylib | grep __ZTIN5clang11ASTConsumerE` in version 5.0.1 and svn 6ba4f92

meritozh via cfe-dev cfe-dev at lists.llvm.org
Fri Mar 9 02:36:01 PST 2018


Fix this. It's not a bug caused by clang. Use `set(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -fno-rtti -fcolor-diagnostics")` fix this.

On Thu, Mar 1, 2018 at 5:30 PM meritozh <ah841814092 at gmail.com> wrote:

> I don't know if I should post a bug to the tracker (I have no account and
> this is svn version). My plugin build with svn version because I also want
> to use latest analyzer component, this will cause linker raise `Undefined
> symbols for architecture x86_64:  "typeinfo for clang::ASTConsumer",
> referenced from: ...` when I build with svn version, but success with
> 5.0.1. I just build clang with official guide.
> How can I get started to fix it ?
>
> Thanks,
> meritozh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180309/d3ff91e5/attachment.html>


More information about the cfe-dev mailing list