[llvm-bugs] [Bug 46093] New: Posix/getrandom.c fails for 32-bit arm
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed May 27 01:37:30 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46093
Bug ID: 46093
Summary: Posix/getrandom.c fails for 32-bit arm
Product: compiler-rt
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: asan
Assignee: unassignedbugs at nondot.org
Reporter: diana.picus at linaro.org
CC: llvm-bugs at lists.llvm.org
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
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200527/009d15fa/attachment.html>
More information about the llvm-bugs
mailing list