<div dir="ltr">Fix this. It's not a bug caused by clang. Use `set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti -fcolor-diagnostics")` fix this.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Mar 1, 2018 at 5:30 PM meritozh <<a href="mailto:ah841814092@gmail.com">ah841814092@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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 l<span style="font-size:13px;color:rgb(51,51,51);font-family:arial">atest analyzer component, this will cause linker raise `</span>Undefined symbols for architecture x86_64:<span class="m_-2485000936913643925inbox-inbox-Apple-converted-space">  </span>"typeinfo for clang::ASTConsumer", referenced from: ...` when I build with svn version, but success with 5.0.1. <span style="color:rgb(51,51,51);font-family:arial">I just build clang with official guide.</span></div><div><span style="color:rgb(34,34,34);font-family:Helvetica,Arial,sans-serif;font-size:14px">How can I get started to fix it ?</span><br></div><div><span style="color:rgb(51,51,51);font-family:arial"><br></span></div><div><span style="color:rgb(51,51,51);font-family:arial">Thanks,</span></div><div><span style="color:rgb(51,51,51);font-family:arial">meritozh</span></div></div></blockquote></div>