<div dir="ltr">Same trouble here, and I haven't figured out how to fix it (other than by removing llvm/projects/libcxx*). <div><br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 16, 2017 at 7:39 AM, Brian Cain via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> -----Original Message-----<br>
> From: llvm-dev [mailto:<a href="mailto:llvm-dev-bounces@lists.llvm.org">llvm-dev-bounces@<wbr>lists.llvm.org</a>] On Behalf Of Vedant<br>
> Kumar via llvm-dev<br>
...<br>
> Haven't given the PGO cache file a shot, but I ran into a similar problem today,<br>
> and solved the issue by making sure that my host compiler had access to a<br>
> working copy of the profiling runtime.<br>
><br>
> For me, that's: ninja libclang_rt.profile_osx.a<br>
><br>
> If that's not your issue, try checking the CMake{Error,Output}.log files, and<br>
> figure out why exactly the check is failing (most likely it has nothing to do with<br>
> the "c++11 unsupported" error message).<br>
<br>
</span>When I build with ASan+sanitizer coverage I get the same error as Timo. For me, it's due to undefined references to pthread_*/dlsym/__dynamic_<wbr>cast/typeinfo for __cxxabi, etc. I'm using Ubuntu 14.04.<br>
<br>
I think I understand that the problem is somehow related to my host compiler but it's not clear to me how to address it.<br>
<br>
This bug hints at the fact that the underlying problem might be a need for a static libc++: <a href="https://bugs.llvm.org/show_bug.cgi?id=30919" rel="noreferrer" target="_blank">https://bugs.llvm.org/show_<wbr>bug.cgi?id=30919</a><br>
<br>
The dynamic_cast test case w/-static-libstdc++ fails for me: <a href="https://bugs.llvm.org/show_bug.cgi?id=30919#c3" rel="noreferrer" target="_blank">https://bugs.llvm.org/show_<wbr>bug.cgi?id=30919#c3</a> but my build is after the fix (r 287373). I haven't tried it with LIBCXX_ENABLE_STATIC_ABI_<wbr>LIBRARY yet, I'll try that next. I suppose that must be applied to my stage0/host compiler first before running my ASan build.<br>
<br>
-Brian<br>
<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</div></div></blockquote></div><br></div>