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

İsmail Dönmez ismail at donmez.ws
Wed Dec 4 02:00:37 PST 2013


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:


[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'


[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'

[while testing compiler-rt/lib/asan/lit_tests/TestCases/deep_call_stack.cc]

==29868==AddressSanitizer: detect_leaks is not supported on this platform.

[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'

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

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131204/9a223047/attachment.html>


More information about the cfe-dev mailing list