[clang] [compiler-rt] [Ubsan][Driver] Remove UBSAN C++ runtime from other sanitizers (PR #121006)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 24 16:48:15 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-solaris11-sparcv9` running on `solaris11-sparcv9` while building `clang,compiler-rt` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/13/builds/4296
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
...
[1126/1249] Building CXX object unittests/XRay/CMakeFiles/XRayTests.dir/FDRTraceWriterTest.cpp.o
[1127/1249] Building CXX object unittests/Transforms/Vectorize/SandboxVectorizer/CMakeFiles/SandboxVectorizerTests.dir/SeedCollectorTest.cpp.o
[1128/1249] Building CXX object unittests/XRay/CMakeFiles/XRayTests.dir/GraphTest.cpp.o
[1129/1249] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/ProgressMeterTest.cpp.o
[1130/1249] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/RegisterValueTest.cpp.o
[1131/1249] Building CXX object unittests/XRay/CMakeFiles/XRayTests.dir/ProfileTest.cpp.o
[1132/1249] Generating Sanitizer-sparcv9-Test
[1133/1249] Generating Sanitizer-sparc-Test
[1134/1249] Generating SPARCSunOSConfig/Asan-sparc-inline-Test
[1135/1249] Generating SPARCSunOSDynamicConfig/Asan-sparc-inline-Dynamic-Test
FAILED: projects/compiler-rt/lib/asan/tests/SPARCSunOSDynamicConfig/Asan-sparc-inline-Dynamic-Test /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/projects/compiler-rt/lib/asan/tests/SPARCSunOSDynamicConfig/Asan-sparc-inline-Dynamic-Test
cd /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/projects/compiler-rt/lib/asan/tests && /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/./bin/clang++ ASAN_INST_TEST_OBJECTS.gtest-all.cc.sparc-inline.o ASAN_INST_TEST_OBJECTS.asan_globals_test.cpp.sparc-inline.o ASAN_INST_TEST_OBJECTS.asan_interface_test.cpp.sparc-inline.o ASAN_INST_TEST_OBJECTS.asan_internal_interface_test.cpp.sparc-inline.o ASAN_INST_TEST_OBJECTS.asan_test.cpp.sparc-inline.o ASAN_INST_TEST_OBJECTS.asan_oob_test.cpp.sparc-inline.o ASAN_INST_TEST_OBJECTS.asan_mem_test.cpp.sparc-inline.o ASAN_INST_TEST_OBJECTS.asan_str_test.cpp.sparc-inline.o ASAN_INST_TEST_OBJECTS.asan_test_main.cpp.sparc-inline.o -o /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/projects/compiler-rt/lib/asan/tests/SPARCSunOSDynamicConfig/./Asan-sparc-inline-Dynamic-Test -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -resource-dir=/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/./lib/../lib/clang/20 -lstdc++ -g --driver-mode=g++ -fsanitize=address -shared-libasan -pthread -Wl,-rpath,/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/./lib/../lib/clang/20/lib/sunos -m32
Undefined first referenced
symbol in file
__ubsan_handle_cfi_bad_type /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/./lib/../lib/clang/20/lib/sunos/libclang_rt.asan-sparc.so
ld: fatal: symbol referencing errors
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[1136/1249] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/ClusteringTest.cpp.o
[1137/1249] Building CXX object unittests/tools/llvm-mca/CMakeFiles/LLVMMCATests.dir/__/__/__/tools/llvm-mca/Views/SummaryView.cpp.o
[1138/1249] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/ResultAggregatorTest.cpp.o
[1139/1249] Building CXX object unittests/tools/llvm-profdata/CMakeFiles/LLVMProfdataTests.dir/OutputSizeLimitTest.cpp.o
[1140/1249] Building CXX object unittests/tools/llvm-mca/CMakeFiles/LLVMMCATests.dir/MCATestBase.cpp.o
[1141/1249] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/BenchmarkRunnerTest.cpp.o
[1142/1249] Building CXX object unittests/tools/llvm-profgen/CMakeFiles/LLVMProfgenTests.dir/ContextCompressionTest.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/121006
More information about the llvm-commits
mailing list