[llvm] [offload][SYCL] Add SYCL Module splitting (PR #119713)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 30 22:03:59 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-win-fast` running on `as-builder-3` while building `llvm` at step 6 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/2/builds/18973
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (build-unified-tree) failure: build (failure)
...
[4119/4136] Linking CXX executable bin\clang-extdef-mapping.exe
[4120/4136] Linking CXX executable bin\llvm-lto2.exe
[4121/4136] Linking CXX shared library bin\LTO.dll
[4122/4136] Linking CXX executable bin\llvm-reduce.exe
[4123/4136] Linking CXX executable bin\opt.exe
[4124/4136] Linking CXX shared library bin\libclang.dll
[4125/4136] Linking CXX executable bin\clang-check.exe
[4126/4136] Linking CXX executable bin\clang-import-test.exe
[4127/4136] Building CXX object tools\llvm-split\CMakeFiles\llvm-split.dir\llvm-split.cpp.obj
[4128/4136] Linking CXX executable bin\llvm-split.exe
FAILED: bin/llvm-split.exe
cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=tools\llvm-split\CMakeFiles\llvm-split.dir --rc=C:\PROGRA~2\WINDOW~4\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WINDOW~4\10\bin\100226~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\link.exe /nologo tools\llvm-split\CMakeFiles\llvm-split.dir\llvm-split.cpp.obj tools\llvm-split\CMakeFiles\llvm-split.dir\__\__\resources\windows_version_resource.rc.res /out:bin\llvm-split.exe /implib:lib\llvm-split.lib /pdb:bin\llvm-split.pdb /version:0.0 /machine:x64 /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMARMAsmParser.lib lib\LLVMARMCodeGen.lib lib\LLVMARMDesc.lib lib\LLVMARMInfo.lib lib\LLVMTransformUtils.lib lib\LLVMBitWriter.lib lib\LLVMCodeGen.lib lib\LLVMCore.lib lib\LLVMIRReader.lib lib\LLVMMC.lib lib\LLVMSupport.lib lib\LLVMTarget.lib lib\LLVMTargetParser.lib lib\LLVMMCDisassembler.lib lib\LLVMARMUtils.lib lib\LLVMAsmPrinter.lib lib\LLVMCFGuard.lib lib\LLVMGlobalISel.lib lib\LLVMipo.lib lib\LLVMFrontendOpenMP.lib lib\LLVMFrontendOffloading.lib lib\LLVMObjectYAML.lib lib\LLVMFrontendAtomic.lib lib\LLVMLinker.lib lib\LLVMVectorize.lib lib\LLVMSandboxIR.lib lib\LLVMInstrumentation.lib lib\LLVMSelectionDAG.lib lib\LLVMCodeGen.lib lib\LLVMScalarOpts.lib lib\LLVMAggressiveInstCombine.lib lib\LLVMInstCombine.lib lib\LLVMCGData.lib lib\LLVMBitWriter.lib lib\LLVMObjCARCOpts.lib lib\LLVMTransformUtils.lib lib\LLVMTarget.lib lib\LLVMCodeGenTypes.lib lib\LLVMAnalysis.lib lib\LLVMProfileData.lib lib\LLVMSymbolize.lib lib\LLVMDebugInfoDWARF.lib lib\LLVMDebugInfoPDB.lib lib\LLVMObject.lib lib\LLVMIRReader.lib lib\LLVMAsmParser.lib lib\LLVMMCParser.lib lib\LLVMMC.lib lib\LLVMBitReader.lib lib\LLVMCore.lib lib\LLVMRemarks.lib lib\LLVMBitstreamReader.lib lib\LLVMTextAPI.lib lib\LLVMBinaryFormat.lib lib\LLVMTargetParser.lib lib\LLVMDebugInfoCodeView.lib "C:\Program Files\Microsoft Visual Studio\2022\Community\DIA SDK\lib\amd64\diaguids.lib" lib\LLVMDebugInfoMSF.lib lib\LLVMDebugInfoBTF.lib lib\LLVMSupport.lib lib\LLVMDemangle.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib ntdll.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK: command "C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\link.exe /nologo tools\llvm-split\CMakeFiles\llvm-split.dir\llvm-split.cpp.obj tools\llvm-split\CMakeFiles\llvm-split.dir\__\__\resources\windows_version_resource.rc.res /out:bin\llvm-split.exe /implib:lib\llvm-split.lib /pdb:bin\llvm-split.pdb /version:0.0 /machine:x64 /STACK:10000000 /INCREMENTAL:NO /subsystem:console lib\LLVMARMAsmParser.lib lib\LLVMARMCodeGen.lib lib\LLVMARMDesc.lib lib\LLVMARMInfo.lib lib\LLVMTransformUtils.lib lib\LLVMBitWriter.lib lib\LLVMCodeGen.lib lib\LLVMCore.lib lib\LLVMIRReader.lib lib\LLVMMC.lib lib\LLVMSupport.lib lib\LLVMTarget.lib lib\LLVMTargetParser.lib lib\LLVMMCDisassembler.lib lib\LLVMARMUtils.lib lib\LLVMAsmPrinter.lib lib\LLVMCFGuard.lib lib\LLVMGlobalISel.lib lib\LLVMipo.lib lib\LLVMFrontendOpenMP.lib lib\LLVMFrontendOffloading.lib lib\LLVMObjectYAML.lib lib\LLVMFrontendAtomic.lib lib\LLVMLinker.lib lib\LLVMVectorize.lib lib\LLVMSandboxIR.lib lib\LLVMInstrumentation.lib lib\LLVMSelectionDAG.lib lib\LLVMCodeGen.lib lib\LLVMScalarOpts.lib lib\LLVMAggressiveInstCombine.lib lib\LLVMInstCombine.lib lib\LLVMCGData.lib lib\LLVMBitWriter.lib lib\LLVMObjCARCOpts.lib lib\LLVMTransformUtils.lib lib\LLVMTarget.lib lib\LLVMCodeGenTypes.lib lib\LLVMAnalysis.lib lib\LLVMProfileData.lib lib\LLVMSymbolize.lib lib\LLVMDebugInfoDWARF.lib lib\LLVMDebugInfoPDB.lib lib\LLVMObject.lib lib\LLVMIRReader.lib lib\LLVMAsmParser.lib lib\LLVMMCParser.lib lib\LLVMMC.lib lib\LLVMBitReader.lib lib\LLVMCore.lib lib\LLVMRemarks.lib lib\LLVMBitstreamReader.lib lib\LLVMTextAPI.lib lib\LLVMBinaryFormat.lib lib\LLVMTargetParser.lib lib\LLVMDebugInfoCodeView.lib C:\Program Files\Microsoft Visual Studio\2022\Community\DIA SDK\lib\amd64\diaguids.lib lib\LLVMDebugInfoMSF.lib lib\LLVMDebugInfoBTF.lib lib\LLVMSupport.lib lib\LLVMDemangle.lib psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib ws2_32.lib ntdll.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:bin\llvm-split.exe.manifest" failed (exit code 1120) with the following output:
LLVMTransformUtils.lib(SYCLSplitModule.cpp.obj) : error LNK2019: unresolved external symbol "public: __cdecl llvm::PrintModulePass::PrintModulePass(class llvm::raw_ostream &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool,bool)" (??0PrintModulePass at llvm@@QEAA at AEAVraw_ostream@1 at AEBV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@_N2 at Z) referenced in function "class llvm::Error __cdecl saveModuleIRInFile(class llvm::Module &,class llvm::StringRef,bool)" (?saveModuleIRInFile@@YA?AVError at llvm@@AEAVModule at 2@VStringRef at 2@_N at Z)
LLVMTransformUtils.lib(SYCLSplitModule.cpp.obj) : error LNK2019: unresolved external symbol "public: class llvm::PreservedAnalyses __cdecl llvm::PrintModulePass::run(class llvm::Module &,class llvm::AnalysisManager<class llvm::Module> &)" (?run at PrintModulePass@llvm@@QEAA?AVPreservedAnalyses at 2@AEAVModule at 2@AEAV?$AnalysisManager at VModule@llvm@@$$V at 2@@Z) referenced in function "public: virtual class llvm::PreservedAnalyses __cdecl llvm::detail::PassModel<class llvm::Module,class llvm::PrintModulePass,class llvm::AnalysisManager<class llvm::Module> >::run(class llvm::Module &,class llvm::AnalysisManager<class llvm::Module> &)" (?run@?$PassModel at VModule@llvm@@VPrintModulePass at 2@V?$AnalysisManager at VModule@llvm@@$$V at 2@$$V at detail@llvm@@UEAA?AVPreservedAnalyses at 3@AEAVModule at 3@AEAV?$AnalysisManager at VModule@llvm@@$$V at 3@@Z)
bin\llvm-split.exe : fatal error LNK1120: 2 unresolved externals
[4129/4136] Linking CXX executable bin\clang-repl.exe
[4130/4136] Linking CXX executable bin\c-index-test.exe
[4131/4136] Linking CXX executable bin\clang.exe
[4132/4136] Generating export list for LLVM-C
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/119713
More information about the llvm-commits
mailing list