[PATCH] D67195: Adding support for overriding LLVM_ENABLE_RUNTIMES for runtimes builds.
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 17:23:46 PDT 2019
leonardchan added a comment.
Hi. I think this might be causing some linker failures on our x64 bots:
[304/396] Linking CXX shared library /b/s/w/ir/k/recipe_cleanup/clangdPn0KT/llvm_build_dir/lib/clang/10.0.0/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so
FAILED: /b/s/w/ir/k/recipe_cleanup/clangdPn0KT/llvm_build_dir/lib/clang/10.0.0/lib/x86_64-unknown-fuchsia/libclang_rt.ubsan_standalone.so
... The long link invocation
ld.lld: error: undefined symbol: _Unwind_GetIP
>>> referenced by sanitizer_symbolizer_markup.cpp:113 (compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:113)
>>> compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_markup.cpp.obj:(__sanitizer::Unwind_Trace(_Unwind_Context*, void*))
ld.lld: error: undefined symbol: _Unwind_Backtrace
>>> referenced by sanitizer_symbolizer_markup.cpp:124 (compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:124)
>>> compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_markup.cpp.obj:(__sanitizer::BufferedStackTrace::UnwindSlow(unsigned long, unsigned int))
ld.lld: error: undefined symbol: typeinfo for std::type_info
>>> referenced by ubsan_type_hash_itanium.cpp:231 (compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cpp:231)
>>> compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.x86_64.dir/ubsan_type_hash_itanium.cpp.obj:(__ubsan::checkDynamicType(void*, void*, unsigned long))
... A bunch more link errors
Could you take a look? Thanks.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67195/new/
https://reviews.llvm.org/D67195
More information about the llvm-commits
mailing list