[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:42:01 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ppc64le-flang-rhel-clang` running on `ppc64le-flang-rhel-test` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/157/builds/22132
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
117.002 [129/22/6608] Linking CXX static library lib/libFIROpenACCSupport.a
117.019 [127/23/6609] Linking CXX static library lib/libFIRTransforms.a
117.295 [124/25/6610] Linking CXX static library lib/libFIRTestOpenACCInterfaces.a
117.348 [124/24/6611] Linking CXX static library lib/libHLFIRTransforms.a
117.368 [123/24/6612] Linking CXX static library lib/libFIRTestAnalysis.a
117.382 [122/24/6613] Linking CXX executable bin/llvm-isel-fuzzer
117.441 [122/23/6614] Linking CXX executable bin/llvm-c-test
117.620 [122/22/6615] Linking CXX static library lib/libflangPasses.a
117.696 [121/22/6616] Linking CXX static library lib/libFortranLower.a
117.713 [120/22/6617] Linking CXX executable bin/llvm-split
FAILED: bin/llvm-split
: && /home/buildbots/llvm-external-buildbots/clang.19.1.7/bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,--color-diagnostics -Wl,--gc-sections -Xlinker --dependency-file=tools/llvm-split/CMakeFiles/llvm-split.dir/link.d tools/llvm-split/CMakeFiles/llvm-split.dir/llvm-split.cpp.o -o bin/llvm-split -Wl,-rpath,"\$ORIGIN/../lib:" lib/libLLVMPowerPCAsmParser.a lib/libLLVMPowerPCCodeGen.a lib/libLLVMPowerPCDesc.a lib/libLLVMPowerPCInfo.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/libLLVMAsmPrinter.a lib/libLLVMGlobalISel.a lib/libLLVMSelectionDAG.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMCGData.a lib/libLLVMObjCARCOpts.a lib/libLLVMAnalysis.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMObject.a lib/libLLVMAsmParser.a lib/libLLVMMCParser.a lib/libLLVMBitReader.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMTextAPI.a lib/libLLVMBinaryFormat.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMCodeGenTypes.a lib/libLLVMDemangle.a -lrt -ldl -lpthread -lm /usr/lib64/libz.so /usr/lib64/libzstd.so && :
ld.lld: error: undefined symbol: llvm::PrintModulePass::PrintModulePass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, bool)
>>> referenced by SYCLSplitModule.cpp
>>> SYCLSplitModule.cpp.o:(saveModuleDesc((anonymous namespace)::ModuleDesc&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool)) in archive lib/libLLVMTransformUtils.a
ld.lld: error: undefined symbol: llvm::PrintModulePass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)
>>> referenced by SYCLSplitModule.cpp
>>> SYCLSplitModule.cpp.o:(llvm::detail::PassModel<llvm::Module, llvm::PrintModulePass, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)) in archive lib/libLLVMTransformUtils.a
ld.lld: error: undefined symbol: llvm::GlobalDCEPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)
>>> referenced by SYCLSplitModule.cpp
>>> SYCLSplitModule.cpp.o:(llvm::detail::PassModel<llvm::Module, llvm::GlobalDCEPass, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)) in archive lib/libLLVMTransformUtils.a
ld.lld: error: undefined symbol: llvm::GlobalDCEPass::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)
>>> referenced by SYCLSplitModule.cpp
>>> SYCLSplitModule.cpp.o:(llvm::detail::PassModel<llvm::Module, llvm::GlobalDCEPass, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>)) in archive lib/libLLVMTransformUtils.a
ld.lld: error: undefined symbol: llvm::StripDeadDebugInfoPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)
>>> referenced by SYCLSplitModule.cpp
>>> SYCLSplitModule.cpp.o:(llvm::detail::PassModel<llvm::Module, llvm::StripDeadDebugInfoPass, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)) in archive lib/libLLVMTransformUtils.a
ld.lld: error: undefined symbol: llvm::StripDeadPrototypesPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)
>>> referenced by SYCLSplitModule.cpp
>>> SYCLSplitModule.cpp.o:(llvm::detail::PassModel<llvm::Module, llvm::StripDeadPrototypesPass, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)) in archive lib/libLLVMTransformUtils.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
117.805 [120/21/6618] Linking CXX executable bin/llvm-gsymutil
117.947 [120/20/6619] Linking CXX executable bin/llvm-dwp
118.033 [120/19/6620] Linking CXX static library lib/libflangFrontend.a
118.050 [120/18/6621] Linking CXX executable bin/llvm-dwarfutil
118.071 [120/17/6622] Linking CXX executable bin/dsymutil
118.609 [120/16/6623] Linking CXX executable bin/llvm-exegesis
118.780 [120/15/6624] Linking CXX executable bin/bugpoint
119.232 [120/14/6625] Linking CXX executable bin/llc
119.648 [120/13/6626] Linking CXX executable bin/clang-extdef-mapping
119.670 [120/12/6627] Linking CXX shared library lib/libclang.so.21.0.0git
119.909 [120/11/6628] Linking CXX executable bin/llvm-reduce
120.186 [120/10/6629] Linking CXX executable bin/lli
120.259 [120/9/6630] Linking CXX executable bin/llvm-opt-fuzzer
```
</details>
https://github.com/llvm/llvm-project/pull/119713
More information about the llvm-commits
mailing list