[cfe-dev] [release_34] [compiler_rt] Unsupported tests on PPC64

Kostya Serebryany kcc at google.com
Wed Dec 4 03:01:36 PST 2013


On Wed, Dec 4, 2013 at 2:00 PM, İsmail Dönmez <ismail at donmez.ws> wrote:

> Hi,
>
> When running clang test on PPC64 I get:
>
> /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
>
> So I think ubsan is unsupported on PPC64 and tests should be disabled.
> Also same for more sanitizers:
>
Probably so, but I'll let ubsan folks speak.

>
>
> [while compiling compiler-rt/lib/tsan/lit_tests/vptr_benign_race.c]
> clang-3.4: error: unsupported option '-fsanitize=thread' for target
> 'powerpc64-unknown-linux-gnu'
>

tsan is not supported on anything other than Linux x86_64


>
>
> [while compiling compiler-rt/lib/msan/lit_tests/Output/ptrace.cc]
> clang-3.4: error: unsupported option '-fsanitize=memory' for target
> 'powerpc64-unknown-linux-gnu'
>

same for msan


> [while testing compiler-rt/lib/asan/lit_tests/TestCases/deep_call_stack.cc]
>
> ==29868==AddressSanitizer: detect_leaks is not supported on this platform.
>

strange. Let me check.


>
> [while compiling compiler-rt/lib/dfsan/lit_tests/Output/custom.c]
> clang-3.4: error: unsupported option '-fsanitize=dataflow' for target
> 'powerpc64-unknown-linux-gnu'
>

same as tsan/msan, I guess.


>
> So, shall I completely disable compiler-rt for PPC64/Linux?
>

I'd like to keep asan tests on PowerPC64.
they are not particularly green today, but better than nothing.
You can of course disable compiler-rt in your testing process on
PPC64/Linux.





>
> Thanks!
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131204/14650375/attachment.html>


More information about the cfe-dev mailing list