[clang] [compiler-rt] Reland [asan][windows] Eliminate the static asan runtime on windows (PR #107899)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 9 22:01:12 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `bolt-aarch64-ubuntu-clang` running on `bolt-worker-aarch64` while building `clang,compiler-rt` at step 5 "build-clang-bolt".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/128/builds/609

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-clang-bolt) failure: build (failure)
...
BOLT-INFO: padding code to 0x16400000 to accommodate hot text
BOLT-INFO: output linked against instrumentation runtime library, lib entry point is 0x190d88d4
BOLT-INFO: clear procedure is 0x190d74d0
BOLT-INFO: patched build-id (flipped last bit)
BOLT-INFO: setting __bolt_runtime_start to 0x190d8840
BOLT-INFO: setting __bolt_runtime_fini to 0x190d88d4
BOLT-INFO: setting __hot_start to 0x8c00000
BOLT-INFO: setting __hot_end to 0x162f67d4
558.554 [2/1/3040] Generating BOLT profile for Clang
-- Testing: 1 tests, 1 workers --
FAIL: Clang Perf Training :: cxx/hello_world.cpp (1 of 1)
******************** TEST 'Clang Perf Training :: cxx/hello_world.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/bin/clang-bolt.inst --driver-mode=g++  -c /home/worker/buildbot-aarch64/llvm-project/clang/utils/perf-training/cxx/hello_world.cpp
# executed command: /home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/bin/clang-bolt.inst --driver-mode=g++ -c /home/worker/buildbot-aarch64/llvm-project/clang/utils/perf-training/cxx/hello_world.cpp
# .---command stderr------------
# | free(): invalid pointer
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0.	Program arguments: /home/worker/buildbot-aarch64/bolt-aarch64-ubuntu-clang/build/bin/clang-bolt.inst --driver-mode=g++ -c /home/worker/buildbot-aarch64/llvm-project/clang/utils/perf-training/cxx/hello_world.cpp
# | 1.	<eof> parser at end of file
# | Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
# | 0  clang-bolt.inst 0x0000aaaacd7cc344 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 68
# | 1  clang-bolt.inst 0x0000aaaacd7c679c llvm::sys::RunSignalHandlers() + 156
# | 2  clang-bolt.inst 0x0000aaaacd61310c
# | 3  linux-vdso.so.1 0x0000ffff8341f7dc __kernel_rt_sigreturn + 0
# | 4  libc.so.6       0x0000ffff82f7f200
# | 5  libc.so.6       0x0000ffff82f3a67c raise + 28
# | 6  libc.so.6       0x0000ffff82f27130 abort + 228
# | 7  libc.so.6       0x0000ffff82f73308
# | 8  libc.so.6       0x0000ffff82f8957c
# | 9  libc.so.6       0x0000ffff82f8b2c4
# | 10 libc.so.6       0x0000ffff82f8dc84 free + 176
# | 11 clang-bolt.inst 0x0000aaaaccfc6264 llvm::MCContext::~MCContext() + 4552
# | 12 clang-bolt.inst 0x0000aaaacb9758e8
# | 13 clang-bolt.inst 0x0000aaaacc9928b0 llvm::PMTopLevelManager::~PMTopLevelManager() + 432
# | 14 clang-bolt.inst 0x0000aaaacc9932a0
# | 15 clang-bolt.inst 0x0000aaaacc98528c llvm::legacy::PassManager::~PassManager() + 132
# | 16 clang-bolt.inst 0x0000aaaaceb9266c clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) + 8236
# | 17 clang-bolt.inst 0x0000aaaaced85e44 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 2884
# | 18 clang-bolt.inst 0x0000aaaad37f570c clang::ParseAST(clang::Sema&, bool, bool) + 3212
# | 19 clang-bolt.inst 0x0000aaaacf6d9524 clang::FrontendAction::Execute() + 540
# | 20 clang-bolt.inst 0x0000aaaacf5b56f8 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 3128
# | 21 clang-bolt.inst 0x0000aaaacf8d05c8 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1400
# | 22 clang-bolt.inst 0x0000aaaaca61335c cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 16900

```

</details>

https://github.com/llvm/llvm-project/pull/107899


More information about the cfe-commits mailing list