[llvm-bugs] [Bug 41015] New: unable to compile sanitizers for aarch64.
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Mar 8 10:49:33 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=41015
Bug ID: 41015
Summary: unable to compile sanitizers for aarch64.
Product: compiler-rt
Version: 8.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: unassignedbugs at nondot.org
Reporter: pawel_sikora at zoho.com
CC: llvm-bugs at lists.llvm.org
hi,
the clang-8 reports errors during sanitizers crosscompilation (host:
x86_64-linux-gnu, target: aarch64-linux-gnu). looks like a missing --target
option for some sources or bad source selection. full configure/build log
attached.
(...)
-- Compiler-RT supported architectures: aarch64
(...)
-- Builtin supported architectures: aarch64
(...)
[69/657] Building CXX object
lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.aarch64.dir/sanitizer_win.cc.o
[70/657] Building CXX object
lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.aarch64.dir/sanitizer_tls_get_addr.cc.o
[71/657] Building ASM object
lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.aarch64.dir/sanitizer_linux_x86_64.S.o
FAILED:
lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.aarch64.dir/sanitizer_linux_x86_64.S.o
/home/builder/src/toolchain/llvm/sysroot/bin/clang -DHAVE_RPC_XDR_H=0
-I/home/builder/src/toolchain/llvm/compiler-rt/lib/sanitizer_common/.. -O2 -g
-DNDEBUG -march=armv8-a -fPIC -fno-builtin -fno-exceptions
-fomit-frame-pointer -funwind-tables -fno-stack-protector
-fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -O3 -gline-tables-only
-Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -Wno-non-virtual-dtor
-fno-rtti -Wframe-larger-than=570 -Wglobal-constructors
-DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT
lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.aarch64.dir/sanitizer_linux_x86_64.S.o
-MF
lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.aarch64.dir/sanitizer_linux_x86_64.S.o.d
-o
lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.aarch64.dir/sanitizer_linux_x86_64.S.o
-c
/home/builder/src/toolchain/llvm/compiler-rt/lib/sanitizer_common/sanitizer_linux_x86_64.S
error: unknown target CPU 'armv8-a'
note: valid target CPU values are: nocona, core2, penryn, bonnell, atom,
silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere,
sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell,
skylake, skylake-avx512, skx, cascadelake, cannonlake, icelake-client,
icelake-server, knl, knm, k8, athlon64, athlon-fx, opteron, k8-sse3,
athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1,
bdver2, bdver3, bdver4, znver1, x86-64
--
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/20190308/9b29dea2/attachment.html>
More information about the llvm-bugs
mailing list