<div dir="ltr">Hi Ben,<div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 3, 2015 at 9:52 PM, Ben Pope <span dir="ltr"><<a href="mailto:benpope81@gmail.com" target="_blank">benpope81@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When I run with UBSAN over the Boost libraries, I get a lot of output of the form:<br>
==20717==Sanitizer CHECK failed: /home/ben/development/llvm/trunk/llvm/projects/compiler-rt/lib/ubsan/ubsan_init.cc:60 ((UBSAN_MODE_UNKNOWN)) != ((ubsan_mode)) (0, 0)<br>
<br>
I'm not sure what's going wrong, I was expecting something more descriptive!</blockquote><div><br></div><div>Right, I should probably add more descriptive error message...</div><div><br></div><div>Can you provide the details of how you compile</div><div>your source files and link them into libraries and executable? It looks like your executable is linked with both UBSan</div><div>runtime and ASan runtime. It can happen if the link flags used were inconsistent, or you mix libraries/executables<br></div><div>built with different versions of Clang.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">  Other tests do fail with more descriptive errors.<br>
<br>
Any suggestions?<br>
<br>
Thanks,<br>
<br>
Ben<br>
<br>
_______________________________________________<br>
cfe-users mailing list<br>
<a href="mailto:cfe-users@cs.uiuc.edu" target="_blank">cfe-users@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Alexey Samsonov<br><a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a></div></div>
</div></div>