[cfe-dev] [release_34] [compiler-rt] Multiple test failures on i586
İsmail Dönmez
ismail at donmez.ws
Thu Dec 5 00:31:41 PST 2013
1. Memory sanitizer not supported on i386-linux?
FAIL: MemorySanitizer :: allocator_returns_null.cc (16403 of 16692)
******************** TEST 'MemorySanitizer :: allocator_returns_null.cc'
FAILED ********************
Script:
--
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/clang --driver-mode=g++
-fsanitize=memory -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -O0
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
-o
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
not
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
malloc 2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
--check-prefix=CHECK-mCRASH
MSAN_OPTIONS=allocator_may_return_null=0 not
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
malloc 2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
--check-prefix=CHECK-mCRASH
MSAN_OPTIONS=allocator_may_return_null=1
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
malloc 2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
--check-prefix=CHECK-mNULL
MSAN_OPTIONS=allocator_may_return_null=0 not
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
calloc 2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
--check-prefix=CHECK-cCRASH
MSAN_OPTIONS=allocator_may_return_null=1
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
calloc 2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
--check-prefix=CHECK-cNULL
MSAN_OPTIONS=allocator_may_return_null=0 not
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
calloc-overflow 2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
--check-prefix=CHECK-coCRASH
MSAN_OPTIONS=allocator_may_return_null=1
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
calloc-overflow 2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
--check-prefix=CHECK-coNULL
MSAN_OPTIONS=allocator_may_return_null=0 not
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
realloc 2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
--check-prefix=CHECK-rCRASH
MSAN_OPTIONS=allocator_may_return_null=1
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
realloc 2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
--check-prefix=CHECK-rNULL
MSAN_OPTIONS=allocator_may_return_null=0 not
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
realloc-after-malloc 2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
--check-prefix=CHECK-mrCRASH
MSAN_OPTIONS=allocator_may_return_null=1
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/msan/lit_tests/Output/allocator_returns_null.cc.tmp
realloc-after-malloc 2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/msan/lit_tests/allocator_returns_null.cc
--check-prefix=CHECK-mrNULL
--
Exit Code: 1
Command Output (stderr):
--
clang-3.4: error: unsupported option '-fsanitize=memory' for target
'i386-suse-linux'
2. Thread sanitizer is not supported either?
FAIL: ThreadSanitizer :: fd_socket_norace.cc (16543 of 16692)
******************** TEST 'ThreadSanitizer :: fd_socket_norace.cc' FAILED
********************
Script:
--
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/clang --driver-mode=g++
-fsanitize=thread -g -Wall -lpthread -ldl -O1
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/tsan/lit_tests/fd_socket_norace.cc
-o
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/tsan/lit_tests/Output/fd_socket_norace.cc.tmp
&&
/home/abuild/rpmbuild/BUILD/llvm/stage2/projects/compiler-rt/lib/tsan/lit_tests/Output/fd_socket_norace.cc.tmp
2>&1 | FileCheck
/home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/tsan/lit_tests/fd_socket_norace.cc
--
Exit Code: 1
Command Output (stderr):
--
clang-3.4: error: unsupported option '-fsanitize=thread' for target
'i386-suse-linux'
Note that if indeed its not supported the test should not run at all.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131205/364987e0/attachment.html>
More information about the cfe-dev
mailing list