<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Posix/getrandom.c fails for 32-bit arm"
href="https://bugs.llvm.org/show_bug.cgi?id=46093">46093</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Posix/getrandom.c fails for 32-bit arm
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>asan
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>diana.picus@linaro.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>This fails in a cryptic way for asan, lsan and ubsan. Seen on llvm 10.0.1-rc1,
but IIUC not on llvm 10.0.0.
FAIL: SanitizerCommon-asan-armhf-Linux :: Posix/getrandom.c (57011 of 66740)
******************** TEST 'SanitizerCommon-asan-armhf-Linux ::
Posix/getrandom.c' FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/Phase3/Release/llvmCore-10.0.1-rc1.obj/./bin/clang
-gline-tables-only -fsanitize=address -ldl -O2
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/getrandom.c
-o
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/Phase3/Release/llvmCore-10.0.1-rc1.obj/projects/compiler-rt/test/sanitizer_common/asan-armhf-Linux/Posix/Output/getrandom.c.tmp
&&
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/Phase3/Release/llvmCore-10.0.1-rc1.obj/projects/compiler-rt/test/sanitizer_common/asan-armhf-Linux/Posix/Output/getrandom.c.tmp
--
Exit Code: 1
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: SanitizerCommon-lsan-armhf-Linux :: Posix/getrandom.c (57166 of 66740)
******************** TEST 'SanitizerCommon-lsan-armhf-Linux ::
Posix/getrandom.c' FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/Phase3/Release/llvmCore-10.0.1-rc1.obj/./bin/clang
-gline-tables-only -fsanitize=leak -ldl -O2
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/getrandom.c
-o
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/Phase3/Release/llvmCore-10.0.1-rc1.obj/projects/compiler-rt/test/sanitizer_common/lsan-armhf-Linux/Posix/Output/getrandom.c.tmp
&&
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/Phase3/Release/llvmCore-10.0.1-rc1.obj/projects/compiler-rt/test/sanitizer_common/lsan-armhf-Linux/Posix/Output/getrandom.c.tmp
--
Exit Code: 1
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: SanitizerCommon-ubsan-armhf-Linux :: Posix/getrandom.c (57320 of 66740)
******************** TEST 'SanitizerCommon-ubsan-armhf-Linux ::
Posix/getrandom.c' FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/Phase3/Release/llvmCore-10.0.1-rc1.obj/./bin/clang
-gline-tables-only -fsanitize=undefined -ldl -O2
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/getrandom.c
-o
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/Phase3/Release/llvmCore-10.0.1-rc1.obj/projects/compiler-rt/test/sanitizer_common/ubsan-armhf-Linux/Posix/Output/getrandom.c.tmp
&&
/home/tcwg-buildslave/workspace/tcwg-llvm-release/tcwg-tk1_32-build/rc1/Phase3/Release/llvmCore-10.0.1-rc1.obj/projects/compiler-rt/test/sanitizer_common/ubsan-armhf-Linux/Posix/Output/getrandom.c.tmp
--
Exit Code: 1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>