-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Open
Description
These were failing for as long as I remember — I thought I've reported them already but can't find the reports. I can reproduce with 10e146a.
Commands:
cmake ${srcdir}/llvm -G Ninja -DLLVM_ENABLE_PROJECTS='clang' -DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_ENABLE_RUNTIMES='compiler-rt' -DLLVM_CCACHE_BUILD=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON -DCLANG_LINK_CLANG_DYLIB=ON -DLLVM_TARGETS_TO_BUILD=host
ninja
ninja check-compiler-rt
Output:
[151/152] Running compiler_rt regression tests
llvm-lit: /home/mgorny/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/interception/Unit' contained no tests
llvm-lit: /home/mgorny/llvm-project/llvm/utils/lit/lit/discovery.py:276: warning: input '/home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit' contained no tests
FAIL: MemorySanitizer-AARCH64 :: dtls_test.c (1951 of 5873)
******************** TEST 'MemorySanitizer-AARCH64 :: dtls_test.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
==3186624==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0xaaaacf714c34 in Thread1 /home/mgorny/llvm-project/compiler-rt/test/msan/dtls_test.c:29:7
#1 0xffffa0cd2ae8 (/usr/lib64/libc.so.6+0x82ae8)
#2 0xffffa0d36b88 (/usr/lib64/libc.so.6+0xe6b88)
SUMMARY: MemorySanitizer: use-of-uninitialized-value /home/mgorny/llvm-project/compiler-rt/test/msan/dtls_test.c:29:7 in Thread1
Exiting
--
Command Output (stderr):
--
/home/mgorny/llvm-project/build/./bin/clang -fsanitize=memory -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -g /home/mgorny/llvm-project/compiler-rt/test/msan/dtls_test.c -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/dtls_test.c.tmp # RUN: at line 1
+ /home/mgorny/llvm-project/build/./bin/clang -fsanitize=memory -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -g /home/mgorny/llvm-project/compiler-rt/test/msan/dtls_test.c -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/dtls_test.c.tmp
/home/mgorny/llvm-project/build/./bin/clang -fsanitize=memory -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -g /home/mgorny/llvm-project/compiler-rt/test/msan/dtls_test.c -DBUILD_SO -fPIC -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/dtls_test.c.tmp-so.so -shared # RUN: at line 2
+ /home/mgorny/llvm-project/build/./bin/clang -fsanitize=memory -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -gline-tables-only -g /home/mgorny/llvm-project/compiler-rt/test/msan/dtls_test.c -DBUILD_SO -fPIC -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/dtls_test.c.tmp-so.so -shared
/home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/dtls_test.c.tmp 2>&1 # RUN: at line 3
+ /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64/Output/dtls_test.c.tmp
--
********************
FAIL: RealtimeSanitizer-Unit :: ./Rtsan-aarch64-Test/134/174 (2711 of 5873)
******************** TEST 'RealtimeSanitizer-Unit :: ./Rtsan-aarch64-Test/134/174' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/rtsan/tests/./Rtsan-aarch64-Test-RealtimeSanitizer-Unit-3129887-134-174.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=174 GTEST_SHARD_INDEX=134 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/rtsan/tests/./Rtsan-aarch64-Test
--
Note: This is test shard 135 of 174.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from RtsanOpenedFileTest
[ RUN ] RtsanOpenedFileTest.IoctlDiesWhenRealtime
[ OK ] RtsanOpenedFileTest.IoctlDiesWhenRealtime (13 ms)
--
exit: -11
--
shard JSON output does not exist: /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/lib/rtsan/tests/./Rtsan-aarch64-Test-RealtimeSanitizer-Unit-3129887-134-174.json
********************
FAIL: SanitizerCommon-asan-aarch64-Linux :: Linux/tls_get_addr.c (2850 of 5873)
******************** TEST 'SanitizerCommon-asan-aarch64-Linux :: Linux/tls_get_addr.c' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
/home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=address -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp # RUN: at line 1
+ /home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=address -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp
/home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=address -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -DBUILD_SO -fPIC -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp-so.so -shared # RUN: at line 2
+ /home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=address -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -DBUILD_SO -fPIC -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp-so.so -shared
/home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp 2>&1 | FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c # RUN: at line 3
+ /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp
+ FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c
FileCheck error: '<stdin>' is empty.
FileCheck command line: FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c
--
********************
FAIL: SanitizerCommon-msan-aarch64-Linux :: Linux/tls_get_addr.c (3592 of 5873)
******************** TEST 'SanitizerCommon-msan-aarch64-Linux :: Linux/tls_get_addr.c' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
/home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=memory -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp # RUN: at line 1
+ /home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=memory -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp
/home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=memory -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -DBUILD_SO -fPIC -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp-so.so -shared # RUN: at line 2
+ /home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=memory -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -DBUILD_SO -fPIC -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp-so.so -shared
/home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp 2>&1 | FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c # RUN: at line 3
+ FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c
+ /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp
FileCheck error: '<stdin>' is empty.
FileCheck command line: FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c
--
********************
FAIL: SanitizerCommon-asan-aarch64-Linux :: Linux/resize_tls_dynamic.cpp (3678 of 5873)
******************** TEST 'SanitizerCommon-asan-aarch64-Linux :: Linux/resize_tls_dynamic.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=address -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -DBUILD_DSO -fPIC -shared -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp.so # RUN: at line 1
+ /home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=address -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -DBUILD_DSO -fPIC -shared -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp.so
/home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=address -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl --std=c++11 /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp # RUN: at line 2
+ /home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=address -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl --std=c++11 /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp
env ASAN_OPTIONS=verbosity=3 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp 2>&1 | FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp # RUN: at line 3
+ env ASAN_OPTIONS=verbosity=3 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp
+ FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
/home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp:54:11: error: CHECK: expected string not found in input
// CHECK: DTLS_Find [[DTLS:0x[a-f0-9]+]] {{[0-9]+}}
^
<stdin>:1:1: note: scanning from here
==3217082==Registered root region at 0xffff81402dc0 of size 192
^
<stdin>:1:41: note: possible intended match here
==3217082==Registered root region at 0xffff81402dc0 of size 192
^
Input file: <stdin>
Check file: /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ==3217082==Registered root region at 0xffff81402dc0 of size 192
check:54'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:54'1 ? possible intended match
2: ==3217082==Registered root region at 0xffff810007a0 of size 32
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: ==3217082==Unregistered root region at 0xffff81402dc0 of size 192
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4: ==3217082==Unregistered root region at 0xffff810007a0 of size 32
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5: ==3217082==AddressSanitizer: failed to intercept '__isoc99_printf'
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6: ==3217082==Registered root region at 0xffff81402dc0 of size 192
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
>>>>>>
--
********************
FAIL: SanitizerCommon-tsan-aarch64-Linux :: Linux/tls_get_addr.c (3832 of 5873)
******************** TEST 'SanitizerCommon-tsan-aarch64-Linux :: Linux/tls_get_addr.c' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
/home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=thread -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp # RUN: at line 1
+ /home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=thread -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp
/home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=thread -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -DBUILD_SO -fPIC -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp-so.so -shared # RUN: at line 2
+ /home/mgorny/llvm-project/build/./bin/clang -gline-tables-only -fsanitize=thread -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl -g /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c -DBUILD_SO -fPIC -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp-so.so -shared
/home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp 2>&1 | FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c # RUN: at line 3
+ FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c
+ /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/tls_get_addr.c.tmp
FileCheck error: '<stdin>' is empty.
FileCheck command line: FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/tls_get_addr.c
--
********************
FAIL: SanitizerCommon-msan-aarch64-Linux :: Linux/resize_tls_dynamic.cpp (4655 of 5873)
******************** TEST 'SanitizerCommon-msan-aarch64-Linux :: Linux/resize_tls_dynamic.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=memory -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -DBUILD_DSO -fPIC -shared -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp.so # RUN: at line 1
+ /home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=memory -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -DBUILD_DSO -fPIC -shared -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp.so
/home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=memory -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl --std=c++11 /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp # RUN: at line 2
+ /home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=memory -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl --std=c++11 /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp
env MSAN_OPTIONS=verbosity=3 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp 2>&1 | FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp # RUN: at line 3
+ env MSAN_OPTIONS=verbosity=3 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp
+ FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
/home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp:54:11: error: CHECK: expected string not found in input
// CHECK: DTLS_Find [[DTLS:0x[a-f0-9]+]] {{[0-9]+}}
^
<stdin>:1:1: note: scanning from here
==3241677==MemorySanitizer: failed to intercept '__isoc99_printf'
^
<stdin>:45:3: note: possible intended match here
__msan_init 0xaaaab99d85c0
^
Input file: <stdin>
Check file: /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ==3241677==MemorySanitizer: failed to intercept '__isoc99_printf'
check:54'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
2: ==3241677==MemorySanitizer: failed to intercept '__isoc99_sprintf'
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: ==3241677==MemorySanitizer: failed to intercept '__isoc99_snprintf'
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4: ==3241677==MemorySanitizer: failed to intercept '__isoc99_fprintf'
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5: ==3241677==MemorySanitizer: failed to intercept '__isoc99_vprintf'
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6: ==3241677==MemorySanitizer: failed to intercept '__isoc99_vsprintf'
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
40: ==3241677==MemorySanitizer: failed to intercept 'xdrrec_create'
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: ==3241677==MemorySanitizer: failed to intercept 'xdr_destroy'
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42: ==3241677==Installed the sigaction for signal 11
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43: ==3241677==Installed the sigaction for signal 7
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44: ==3241677==Installed the sigaction for signal 8
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45: __msan_init 0xaaaab99d85c0
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:54'1 ? possible intended match
46: app-10-13: 0 - fffffffffff
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
47: shadow-14: 100000000000 - 1fffffffffff
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
48: invalid: 200000000000 - 2fffffffffff
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49: origin-14: 300000000000 - 3fffffffffff
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50: shadow-15: 400000000000 - 5fffffffffff
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
>>>>>>
--
********************
FAIL: SanitizerCommon-tsan-aarch64-Linux :: Linux/resize_tls_dynamic.cpp (4809 of 5873)
******************** TEST 'SanitizerCommon-tsan-aarch64-Linux :: Linux/resize_tls_dynamic.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=thread -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -DBUILD_DSO -fPIC -shared -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp.so # RUN: at line 1
+ /home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=thread -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -DBUILD_DSO -fPIC -shared -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp.so
/home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=thread -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl --std=c++11 /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp # RUN: at line 2
+ /home/mgorny/llvm-project/build/./bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=thread -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -funwind-tables -I/home/mgorny/llvm-project/compiler-rt/test -ldl --std=c++11 /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp -o /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp
env TSAN_OPTIONS=verbosity=3 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp 2>&1 | FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp # RUN: at line 3
+ env TSAN_OPTIONS=verbosity=3 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux/Linux/Output/resize_tls_dynamic.cpp.tmp
+ FileCheck /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
/home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp:54:11: error: CHECK: expected string not found in input
// CHECK: DTLS_Find [[DTLS:0x[a-f0-9]+]] {{[0-9]+}}
^
<stdin>:1:1: note: scanning from here
==3246486==Installed the sigaction for signal 11
^
<stdin>:5:37: note: possible intended match here
***** Running under ThreadSanitizer v3 (pid 3246486) *****
^
Input file: <stdin>
Check file: /home/mgorny/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ==3246486==Installed the sigaction for signal 11
check:54'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
2: ==3246486==Installed the sigaction for signal 7
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: ==3246486==Installed the sigaction for signal 8
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4: ==3246486==Using llvm-symbolizer found at: /home/mgorny/llvm-project/build/./bin/llvm-symbolizer
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5: ***** Running under ThreadSanitizer v3 (pid 3246486) *****
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:54'1 ? possible intended match
6: ThreadSanitizer: growing sync allocator: 0 out of 1048576*1024
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7: ThreadSanitizer: growing heap block allocator: 0 out of 262144*4096
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8: ThreadSanitizer: growing heap block allocator: 1 out of 262144*4096
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9: Stats: LargeMmapAllocator: allocated 0 times, remains 0 (0 K) max 0 M; by size logs:
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>
--
********************
********************
Failed Tests (8):
MemorySanitizer-AARCH64 :: dtls_test.c
RealtimeSanitizer-Unit :: ./Rtsan-aarch64-Test/134/174
SanitizerCommon-asan-aarch64-Linux :: Linux/resize_tls_dynamic.cpp
SanitizerCommon-asan-aarch64-Linux :: Linux/tls_get_addr.c
SanitizerCommon-msan-aarch64-Linux :: Linux/resize_tls_dynamic.cpp
SanitizerCommon-msan-aarch64-Linux :: Linux/tls_get_addr.c
SanitizerCommon-tsan-aarch64-Linux :: Linux/resize_tls_dynamic.cpp
SanitizerCommon-tsan-aarch64-Linux :: Linux/tls_get_addr.c
Testing Time: 106.03s
Total Discovered Tests: 6205
Skipped : 20 (0.32%)
Unsupported : 1686 (27.17%)
Passed : 4445 (71.64%)
Expectedly Failed: 46 (0.74%)
Failed : 8 (0.13%)
2 warning(s) in tests
FAILED: compiler-rt/test/CMakeFiles/check-compiler-rt /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/CMakeFiles/check-compiler-rt
cd /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test && /usr/bin/python3.13 /home/mgorny/llvm-project/build/./bin/llvm-lit -sv --param HWASAN_ENABLE_ALIASES=1 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/interception/Unit /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/lsan/AARCH64LsanConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/lsan/AARCH64AsanConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/lsan/AARCH64HWAsanConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/ubsan/Standalone-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/ubsan/AddressSanitizer-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/ubsan/MemorySanitizer-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/ubsan/ThreadSanitizer-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/asan-aarch64-Linux /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-aarch64-Linux /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-aarch64-Linux /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/msan-aarch64-Linux /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/tsan-aarch64-Linux /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/ubsan-aarch64-Linux /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/fuzzer/unit /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/fuzzer/AARCH64DefaultLinuxConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/AARCH64LinuxConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/Unit/AARCH64LinuxConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/AARCH64LinuxDynamicConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/asan/Unit/AARCH64LinuxDynamicConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/rtsan/AARCH64LinuxConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/rtsan/Unit /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/dfsan/AARCH64Config /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/AARCH64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/hwasan/AARCH64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/tsan/AARCH64Config /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/tsan/Unit /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/tysan/AARCH64Config /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/safestack/Standalone-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-thinlto-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-thinlto-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Standalone-lld-thinlto-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/cfi/Devirt-lld-thinlto-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/scudo/standalone/unit /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/scudo/standalone/unit/gwp_asan /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/ubsan_minimal/aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/gwp_asan/unit /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/gwp_asan/AARCH64LinuxConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-aarch64 /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/xray/AARCH64LinuxConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/orc/AARCH64LinuxConfig /home/mgorny/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/shadowcallstack/aarch64
ninja: build stopped: subcommand failed.
FAILED: runtimes/CMakeFiles/check-compiler-rt /home/mgorny/llvm-project/build/runtimes/CMakeFiles/check-compiler-rt
cd /home/mgorny/llvm-project/build/runtimes/runtimes-bins && /usr/bin/cmake --build /home/mgorny/llvm-project/build/runtimes/runtimes-bins/ --target check-compiler-rt --config MinSizeRel
ninja: build stopped: subcommand failed.
Gentoo/arm64
glibc 2.40
$ lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 96
On-line CPU(s) list: 0-95
Vendor ID: ARM
Model name: Neoverse-N1
Model: 1
Thread(s) per core: 1
Core(s) per socket: 96
Socket(s): 1
Stepping: r3p1
Frequency boost: disabled
CPU(s) scaling MHz: 100%
CPU max MHz: 3000.0000
CPU min MHz: 1000.0000
BogoMIPS: 50.08
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
Caches (sum of all):
L1d: 6 MiB (96 instances)
L1i: 6 MiB (96 instances)
L2: 96 MiB (96 instances)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-95
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; __user pointer sanitization
Spectre v2: Mitigation; CSV2, BHB
Srbds: Not affected
Tsx async abort: Not affected