Most likely were missing -latomic (IIRC)<div>I wouldn't expect to have to link with that when using the std::atomic, but that might be it.</div><div><br></div><div> <span></span>Filipe<br><br>On Friday, 3 June 2016, Kostya Serebryany <<a href="mailto:kcc@google.com">kcc@google.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">kcc added a comment.<br>
<br>
I am getting these when trying 'ninja check-scudo'<br>
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/atomic:266: undefined reference to `__sync_val_compare_and_swap_16'<br>
Any suggestions?<br>
<br>
BTW, do we make sure that check-scudo is not run if the current machine does not support proper SSE?<br>
<br>
<br>
<a href="http://reviews.llvm.org/D20084" target="_blank">http://reviews.llvm.org/D20084</a><br>
<br>
<br>
<br>
</blockquote></div>