[llvm] [offload][SYCL] Add SYCL Module splitting (PR #119713)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 11 06:39:41 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `llvm` at step 5 "build-unified-tree".

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
25.201 [37/38/4636] Linking CXX static library lib/libclangTidyLinuxKernelModule.a
25.213 [37/37/4637] Linking CXX static library lib/libclangTidyMPIModule.a
25.218 [37/36/4638] Linking CXX static library lib/libclangTidyOpenMPModule.a
25.224 [37/35/4639] Linking CXX static library lib/libclangTidyDarwinModule.a
25.263 [37/34/4640] Linking CXX static library lib/libLLVMLTO.a
25.340 [30/40/4641] Linking CXX executable bin/clang-include-fixer
25.370 [29/40/4642] Linking CXX static library lib/libclangTidyZirconModule.a
25.443 [28/40/4643] Linking CXX executable bin/tool-template
25.530 [27/40/4644] Linking CXX executable bin/clang-refactor
25.553 [26/40/4645] Linking CXX executable bin/llvm-split
FAILED: bin/llvm-split 
: && /usr/bin/g++ -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 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/libLLVMX86Desc.a  lib/libLLVMX86Info.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  lib/libLLVMMCDisassembler.a  lib/libLLVMAsmPrinter.a  lib/libLLVMCFGuard.a  lib/libLLVMGlobalISel.a  lib/libLLVMIRPrinter.a  lib/libLLVMInstrumentation.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  -lm  /usr/lib/x86_64-linux-gnu/libz.so && :
lib/libLLVMTransformUtils.a(SYCLSplitModule.cpp.o):SYCLSplitModule.cpp:function llvm::detail::PassModel<llvm::Module, llvm::GlobalDCEPass, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>): error: undefined reference to 'llvm::GlobalDCEPass::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)'
lib/libLLVMTransformUtils.a(SYCLSplitModule.cpp.o):SYCLSplitModule.cpp:function llvm::detail::PassModel<llvm::Module, llvm::GlobalDCEPass, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&): error: undefined reference to 'llvm::GlobalDCEPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)'
lib/libLLVMTransformUtils.a(SYCLSplitModule.cpp.o):SYCLSplitModule.cpp:function llvm::detail::PassModel<llvm::Module, llvm::StripDeadPrototypesPass, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&): error: undefined reference to 'llvm::StripDeadPrototypesPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)'
lib/libLLVMTransformUtils.a(SYCLSplitModule.cpp.o):SYCLSplitModule.cpp:function llvm::detail::PassModel<llvm::Module, llvm::StripDeadDebugInfoPass, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&): error: undefined reference to 'llvm::StripDeadDebugInfoPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)'
collect2: error: ld returned 1 exit status
25.605 [26/39/4646] Linking CXX executable bin/llvm-dwp
25.605 [26/38/4647] Linking CXX executable bin/llvm-isel-fuzzer
25.614 [26/37/4648] Linking CXX executable bin/llvm-c-test
25.620 [26/36/4649] Linking CXX static library lib/libclangTidyPortabilityModule.a
25.651 [26/35/4650] Linking CXX static library lib/liblldWasm.a
25.767 [26/34/4651] Linking CXX executable bin/llvm-dwarfutil
25.767 [26/33/4652] Linking CXX executable bin/bugpoint
25.823 [26/32/4653] Linking CXX executable bin/dsymutil
25.849 [26/31/4654] Linking CXX static library lib/liblldCOFF.a
25.853 [26/30/4655] Linking CXX executable bin/llvm-gsymutil
25.937 [26/29/4656] Linking CXX static library lib/liblldMachO.a
25.946 [26/28/4657] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
26.019 [26/27/4658] Linking CXX shared module lib/SampleAnalyzerPlugin.so
26.067 [26/26/4659] Linking CXX executable bin/lli
26.103 [26/25/4660] Linking CXX executable bin/llvm-exegesis
26.122 [26/24/4661] Linking CXX shared module lib/CheckerOptionHandlingAnalyzerPlugin.so
26.232 [26/23/4662] Linking CXX static library lib/libclangTidyObjCModule.a
26.289 [26/22/4663] Linking CXX executable bin/llc
26.304 [26/21/4664] Linking CXX executable bin/clang-scan-deps
26.331 [26/20/4665] Linking CXX executable bin/clang-extdef-mapping
26.399 [26/19/4666] Linking CXX executable bin/opt
26.438 [26/18/4667] Linking CXX executable bin/llvm-reduce
26.438 [26/17/4668] Linking CXX static library lib/libclangTidyAndroidModule.a
26.502 [26/16/4669] Linking CXX executable bin/llvm-opt-fuzzer
26.633 [26/15/4670] Linking CXX static library lib/liblldELF.a
26.817 [26/14/4671] Linking CXX executable bin/clang-linker-wrapper
27.075 [26/13/4672] Linking CXX executable bin/llvm-lto
27.098 [26/12/4673] Linking CXX shared library lib/libLTO.so.21.0git
27.099 [26/11/4674] Linking CXX shared library lib/libclang.so.21.0.0git
27.262 [26/10/4675] Linking CXX executable bin/clang-nvlink-wrapper
27.407 [26/9/4676] Linking CXX executable bin/llvm-lto2
27.656 [26/8/4677] Linking CXX static library lib/libclangTidyAbseilModule.a

```

</details>

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


More information about the llvm-commits mailing list