[llvm-bugs] [Bug 38415] New: compiler-rt: sanitizer test failures when using libtirpc
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 1 20:41:52 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38415
Bug ID: 38415
Summary: compiler-rt: sanitizer test failures when using
libtirpc
Product: compiler-rt
Version: 7.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: compiler-rt
Assignee: unassignedbugs at nondot.org
Reporter: mgorny at gentoo.org
CC: llvm-bugs at lists.llvm.org
Blocks: 38406
Created attachment 20632
--> https://bugs.llvm.org/attachment.cgi?id=20632&action=edit
sys-libs:compiler-rt-sanitizers-7.0.9999:20180802-032830.log.xz
On a system using new glibc that doesn't include RPC, and libtirpc as RPC
provider, a number of compiler-rt tests fail:
Failing Tests (4):
MemorySanitizer-X86_64 :: Linux/sunrpc.cc
MemorySanitizer-X86_64 :: Linux/sunrpc_bytes.cc
MemorySanitizer-X86_64 :: Linux/sunrpc_string.cc
ThreadSanitizer-x86_64 :: sunrpc.cc
The tests fail trying to find RPC headers without adding appropriate -I paths:
Command Output (stderr):
--
+ : 'RUN: at line 1'
+
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-7.0.9999/work/compiler-rt-sanitizers-7.0.9999_build/lib/llvm/7/bin/clang
--driver-mode=g++ -fsanitize=memory -mno-omit-leaf-frame-pointer
-fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -gline-tables-only -g
-O0 -DTYPE=int -DFN=xdr_int
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-7.0.9999/work/compiler-rt-sanitizers-7.0.9999/test/msan/Linux/sunrpc.cc
-o
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-7.0.9999/work/compiler-rt-sanitizers-7.0.9999_build/test/msan/X86_64/Linux/Output/sunrpc.cc.tmp
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-7.0.9999/work/compiler-rt-sanitizers-7.0.9999/test/msan/Linux/sunrpc.cc:15:10:
fatal error: 'rpc/xdr.h' file not found
#include <rpc/xdr.h>
^~~~~~~~~~~
1 error generated.
A month ago, I've submitted two fixes for finding and using libtirpc which are
stuck in review:
https://reviews.llvm.org/D47817
https://reviews.llvm.org/D47819
I'm attaching a complete build log.
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=38406
[Bug 38406] [meta] 7.0.0 Release Blockers
--
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/20180802/c8583731/attachment-0001.html>
More information about the llvm-bugs
mailing list