[llvm] [SandboxIR] Boilerplate code (PR #95814)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 1 08:53:49 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 6 "test-build-unified-tree-check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/965
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
...
0.883 [2/9/638] Linking CXX executable unittests/Transforms/Utils/UtilsTests
0.896 [2/8/639] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
0.946 [2/7/640] Linking CXX executable unittests/CodeGen/CodeGenTests
0.959 [2/6/641] Linking CXX executable unittests/Frontend/LLVMFrontendTests
1.011 [2/5/642] Linking CXX executable unittests/Analysis/AnalysisTests
1.088 [2/4/643] Linking CXX executable unittests/IR/IRTests
1.215 [2/3/644] Linking CXX executable unittests/Support/SupportTests
1.232 [2/2/645] Linking CXX executable unittests/ADT/ADTTests
3.710 [2/1/646] Building CXX object unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/SandboxIRTest.cpp.o
3.780 [1/1/647] Linking CXX executable unittests/SandboxIR/SandboxIRTests
FAILED: unittests/SandboxIR/SandboxIRTests
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=gold -Wl,--gc-sections unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/SandboxIRTest.cpp.o -o unittests/SandboxIR/SandboxIRTests -Wl,-rpath,/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib lib/libLLVMAsmParser.so.19.0git lib/libLLVMSandboxIR.so.19.0git lib/libllvm_gtest_main.so.19.0git lib/libllvm_gtest.so.19.0git lib/libLLVMSupport.so.19.0git -Wl,-rpath-link,/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/lib && :
unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/SandboxIRTest.cpp.o:SandboxIRTest.cpp:function testing::internal::TestFactoryImpl<SandboxIRTest_UserInstantiation_Test>::CreateTest(): error: undefined reference to 'llvm::LLVMContext::LLVMContext()'
unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/SandboxIRTest.cpp.o:SandboxIRTest.cpp:function SandboxIRTest_UserInstantiation_Test::TestBody() [clone .localalias]: error: undefined reference to 'llvm::Module::~Module()'
unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/SandboxIRTest.cpp.o:SandboxIRTest.cpp:function SandboxIRTest_UserInstantiation_Test::TestBody() [clone .localalias]: error: undefined reference to 'llvm::Module::~Module()'
unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/SandboxIRTest.cpp.o:SandboxIRTest.cpp:function SandboxIRTest_UserInstantiation_Test::TestBody() [clone .localalias]: error: undefined reference to 'llvm::Module::getFunction(llvm::StringRef) const'
unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/SandboxIRTest.cpp.o:SandboxIRTest.cpp:function SandboxIRTest_UserInstantiation_Test::~SandboxIRTest_UserInstantiation_Test(): error: undefined reference to 'llvm::Module::~Module()'
unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/SandboxIRTest.cpp.o:SandboxIRTest.cpp:function SandboxIRTest_UserInstantiation_Test::~SandboxIRTest_UserInstantiation_Test(): error: undefined reference to 'llvm::LLVMContext::~LLVMContext()'
unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/SandboxIRTest.cpp.o:SandboxIRTest.cpp:function SandboxIRTest_UserInstantiation_Test::~SandboxIRTest_UserInstantiation_Test(): error: undefined reference to 'llvm::Module::~Module()'
unittests/SandboxIR/CMakeFiles/SandboxIRTests.dir/SandboxIRTest.cpp.o:SandboxIRTest.cpp:function SandboxIRTest_UserInstantiation_Test::~SandboxIRTest_UserInstantiation_Test(): error: undefined reference to 'llvm::LLVMContext::~LLVMContext()'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```
https://github.com/llvm/llvm-project/pull/95814
More information about the llvm-commits
mailing list