<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 2:00 PM, İsmail Dönmez <span dir="ltr"><<a href="mailto:ismail@donmez.ws" target="_blank">ismail@donmez.ws</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>When running clang test on PPC64 I get:</div>
<div><br></div><div><div>/usr/lib64/gcc/powerpc64-suse-linux/4.8/../../../../powerpc64-suse-linux/bin/ld: cannot find /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib64/clang/3.4/lib/linux/libclang_rt.ubsan-powerpc64.a: No such file or directory</div>


</div><div><br></div><div>So I think ubsan is unsupported on PPC64 and tests should be disabled. Also same for more sanitizers:</div></div></blockquote><div>Probably so, but I'll let ubsan folks speak.  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><br></div><div><div><br></div><div>[while compiling compiler-rt/lib/tsan/lit_tests/vptr_benign_race.c]</div>

<div>clang-3.4: error: unsupported option '-fsanitize=thread' for target 'powerpc64-unknown-linux-gnu'</div></div></div></blockquote><div><br></div><div>tsan is not supported on anything other than Linux x86_64 </div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div><br></div><div>
[while compiling compiler-rt/lib/msan/lit_tests/Output/ptrace.cc]</div>

<div>clang-3.4: error: unsupported option '-fsanitize=memory' for target 'powerpc64-unknown-linux-gnu'<br></div></div></blockquote><div><br></div><div>same for msan  </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div></div><div><br></div><div>[while testing compiler-rt/lib/asan/lit_tests/TestCases/deep_call_stack.cc]</div>

<div><br></div><div>==29868==AddressSanitizer: detect_leaks is not supported on this platform.<br></div></div></blockquote><div><br></div><div>strange. Let me check. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div></div><div><br></div><div>[while compiling compiler-rt/lib/dfsan/lit_tests/Output/custom.c]</div><div>clang-3.4: error: unsupported option '-fsanitize=dataflow' for target 'powerpc64-unknown-linux-gnu'<br>
</div></div></blockquote><div><br></div><div>same as tsan/msan, I guess.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div>

</div><div><br></div><div>So, shall I completely disable compiler-rt for PPC64/Linux?</div></div></blockquote><div><br></div><div>I'd like to keep asan tests on PowerPC64.</div><div>they are not particularly green today, but better than nothing. </div>
<div>You can of course disable compiler-rt in your testing process on PPC64/Linux. </div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><br></div><div>Thanks!</div><div><br></div></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div></div>