[llvm] [offload][SYCL] Add SYCL Module splitting (PR #119713)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 11 07:09:44 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `arc-builder` running on `arc-worker` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/3/builds/12933
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
1847.406 [70/16/4105] Building CXX object tools/llvm-rtdyld/CMakeFiles/llvm-rtdyld.dir/llvm-rtdyld.cpp.o
1847.482 [69/16/4106] Linking CXX executable bin/llvm-tli-checker
1848.526 [68/16/4107] Linking CXX executable bin/llvm-rtdyld
1849.005 [67/16/4108] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-converter.cpp.o
1849.033 [66/16/4109] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/archive2yaml.cpp.o
1849.083 [65/16/4110] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-graph-diff.cpp.o
1849.222 [64/16/4111] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-graph.cpp.o
1849.503 [63/16/4112] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/obj2yaml.cpp.o
1850.051 [62/16/4113] Building CXX object tools/opt/CMakeFiles/opt.dir/opt.cpp.o
1850.155 [61/16/4114] Linking CXX executable bin/llvm-split
FAILED: bin/llvm-split
: && /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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-rpath-link,/buildbot/worker/arc-folder/build/./lib -Wl,--gc-sections tools/llvm-split/CMakeFiles/llvm-split.dir/llvm-split.cpp.o -o bin/llvm-split -Wl,-rpath,"\$ORIGIN/../lib:" lib/libLLVMX86AsmParser.a lib/libLLVMX86CodeGen.a lib/libLLVMARCCodeGen.a lib/libLLVMX86Desc.a lib/libLLVMARCDesc.a lib/libLLVMX86Info.a lib/libLLVMARCInfo.a lib/libLLVMTransformUtils.a lib/libLLVMBitWriter.a lib/libLLVMCodeGen.a lib/libLLVMCore.a lib/libLLVMIRReader.a lib/libLLVMMC.a lib/libLLVMSupport.a lib/libLLVMTarget.a lib/libLLVMTargetParser.a -lpthread lib/libLLVMMCDisassembler.a lib/libLLVMCFGuard.a lib/libLLVMGlobalISel.a lib/libLLVMIRPrinter.a lib/libLLVMInstrumentation.a lib/libLLVMAsmPrinter.a lib/libLLVMSelectionDAG.a lib/libLLVMCodeGen.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMCGData.a lib/libLLVMBitWriter.a lib/libLLVMObjCARCOpts.a lib/libLLVMTransformUtils.a lib/libLLVMTarget.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMObject.a lib/libLLVMIRReader.a lib/libLLVMAsmParser.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMTextAPI.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libLLVMCodeGenTypes.a lib/libLLVMSupport.a lib/libLLVMDemangle.a -lrt -ldl -lpthread -lm /usr/lib64/libz.so && :
lib/libLLVMTransformUtils.a(SYCLSplitModule.cpp.o): In function `llvm::detail::PassModel<llvm::Module, llvm::GlobalDCEPass, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)':
SYCLSplitModule.cpp:(.text._ZN4llvm6detail9PassModelINS_6ModuleENS_13GlobalDCEPassENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESA_EEE[_ZN4llvm6detail9PassModelINS_6ModuleENS_13GlobalDCEPassENS_15AnalysisManagerIS2_JEEEJEE13printPipelineERNS_11raw_ostreamENS_12function_refIFNS_9StringRefESA_EEE]+0x5): undefined reference to `llvm::GlobalDCEPass::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)'
lib/libLLVMTransformUtils.a(SYCLSplitModule.cpp.o): In function `llvm::detail::PassModel<llvm::Module, llvm::GlobalDCEPass, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
SYCLSplitModule.cpp:(.text._ZN4llvm6detail9PassModelINS_6ModuleENS_13GlobalDCEPassENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS5_[_ZN4llvm6detail9PassModelINS_6ModuleENS_13GlobalDCEPassENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS5_]+0xa): undefined reference to `llvm::GlobalDCEPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)'
lib/libLLVMTransformUtils.a(SYCLSplitModule.cpp.o): In function `llvm::detail::PassModel<llvm::Module, llvm::StripDeadPrototypesPass, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
SYCLSplitModule.cpp:(.text._ZN4llvm6detail9PassModelINS_6ModuleENS_23StripDeadPrototypesPassENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS5_[_ZN4llvm6detail9PassModelINS_6ModuleENS_23StripDeadPrototypesPassENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS5_]+0xa): undefined reference to `llvm::StripDeadPrototypesPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)'
lib/libLLVMTransformUtils.a(SYCLSplitModule.cpp.o): In function `llvm::detail::PassModel<llvm::Module, llvm::StripDeadDebugInfoPass, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)':
SYCLSplitModule.cpp:(.text._ZN4llvm6detail9PassModelINS_6ModuleENS_22StripDeadDebugInfoPassENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS5_[_ZN4llvm6detail9PassModelINS_6ModuleENS_22StripDeadDebugInfoPassENS_15AnalysisManagerIS2_JEEEJEE3runERS2_RS5_]+0xa): undefined reference to `llvm::StripDeadDebugInfoPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)'
collect2: error: ld returned 1 exit status
1851.255 [61/15/4115] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/minidump2yaml.cpp.o
1851.416 [61/14/4116] Linking CXX executable bin/llvm-reduce
1851.648 [61/13/4117] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-account.cpp.o
1851.744 [61/12/4118] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-stacks.cpp.o
1851.789 [61/11/4119] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/dxcontainer2yaml.cpp.o
1851.810 [61/10/4120] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/coff2yaml.cpp.o
1852.127 [61/9/4121] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/offload2yaml.cpp.o
1852.537 [61/8/4122] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/xcoff2yaml.cpp.o
1852.865 [61/7/4123] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/dwarf2yaml.cpp.o
1853.987 [61/6/4124] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/wasm2yaml.cpp.o
1857.810 [61/5/4125] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/macho2yaml.cpp.o
1860.564 [61/4/4126] Building CXX object tools/opt/CMakeFiles/LLVMOptDriver.dir/optdriver.cpp.o
1861.045 [61/3/4127] Building CXX object tools/opt/CMakeFiles/LLVMOptDriver.dir/NewPMDriver.cpp.o
1868.372 [61/2/4128] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/elf2yaml.cpp.o
1874.552 [61/1/4129] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ELFDumper.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/119713
More information about the llvm-commits
mailing list