[Mlir-commits] [mlir] [mlir] Add support for MLIR_LINK_MLIR_DYLIB (PR #119408)
LLVM Continuous Integration
llvmlistbot at llvm.org
Thu Dec 12 06:06:59 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `mlir-nvidia` running on `mlir-nvidia` while building `mlir` at step 6 "build-check-mlir-build-only".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/138/builds/7670
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (build-check-mlir-build-only) failure: build (failure)
...
32.066 [57/4/4987] Linking CXX shared library lib/libMLIRGPUTransformOps.so.20.0git
32.072 [56/4/4988] Creating library symlink lib/libMLIRGPUTransformOps.so
32.251 [43/16/4989] Linking CXX shared library lib/libMLIRCAPIConversion.so.20.0git
32.268 [42/16/4990] Linking CXX shared library lib/libMLIRGPUTestPasses.so.20.0git
32.276 [41/16/4991] Linking CXX shared library lib/libMLIRTestPass.so.20.0git
32.277 [40/16/4992] Creating library symlink lib/libMLIRCAPIConversion.so
32.287 [40/15/4993] Creating library symlink lib/libMLIRTestPass.so
32.293 [39/15/4994] Linking CXX executable bin/mlir-rewrite
32.294 [39/14/4995] Creating library symlink lib/libMLIRGPUTestPasses.so
32.307 [38/14/4996] Linking CXX shared library lib/libMLIRMlirOptMain.so.20.0git
FAILED: lib/libMLIRMlirOptMain.so.20.0git
: && /usr/bin/clang++ -fPIC -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 -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -fuse-ld=lld -Wl,--color-diagnostics -Wl,--gc-sections -shared -Wl,-soname,libMLIRMlirOptMain.so.20.0git -o lib/libMLIRMlirOptMain.so.20.0git tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib:" lib/libMLIRAffineTransformOps.so.20.0git lib/libMLIRAMDGPUTransforms.so.20.0git lib/libMLIRArithValueBoundsOpInterfaceImpl.so.20.0git lib/libMLIRArmNeonTransforms.so.20.0git lib/libMLIRAsyncTransforms.so.20.0git lib/libMLIRBufferizationPipelines.so.20.0git lib/libMLIRBufferizationTransformOps.so.20.0git lib/libMLIRControlFlowTransforms.so.20.0git lib/libMLIRDLTITransformOps.so.20.0git lib/libMLIRFuncTransformOps.so.20.0git lib/libMLIRGPUTransformOps.so.20.0git lib/libMLIRGPUPipelines.so.20.0git lib/libMLIRMathTransforms.so.20.0git lib/libMLIRMemRefTransformOps.so.20.0git lib/libMLIRMLProgramTransforms.so.20.0git lib/libMLIRNVGPUTransformOps.so.20.0git lib/libMLIRNVGPUTransforms.so.20.0git lib/libMLIROpenACCTransforms.so.20.0git lib/libMLIRPolynomialDialect.so.20.0git lib/libMLIRPtrDialect.so.20.0git lib/libMLIRQuantTransforms.so.20.0git lib/libMLIRSCFTransformOps.so.20.0git lib/libMLIRShapeOpsTransforms.so.20.0git lib/libMLIRSparseTensorPipelines.so.20.0git lib/libMLIRSparseTensorTransformOps.so.20.0git lib/libMLIRSparseTensorTransforms.so.20.0git lib/libMLIRSparseTensorUtils.so.20.0git lib/libMLIRSPIRVModuleCombiner.so.20.0git lib/libMLIRTensorInferTypeOpInterfaceImpl.so.20.0git lib/libMLIRTensorTransformOps.so.20.0git lib/libMLIRTransformDebugExtension.so.20.0git lib/libMLIRTransformDialectIRDLExtension.so.20.0git lib/libMLIRTransformLoopExtension.so.20.0git lib/libMLIRTransformPDLExtension.so.20.0git lib/libMLIRTransformDialectTransforms.so.20.0git lib/libMLIRVectorTransformOps.so.20.0git lib/libMLIRXeGPUTransforms.so.20.0git lib/libMLIRTestDynDialect.so.20.0git lib/libMLIRTosaTestPasses.so.20.0git lib/libMLIRArithToAMDGPU.so.20.0git lib/libMLIRArithToArmSME.so.20.0git lib/libMLIRArithToEmitC.so.20.0git lib/libMLIRArmNeon2dToIntr.so.20.0git lib/libMLIRArmSMEToSCF.so.20.0git lib/libMLIRArmSMEToLLVM.so.20.0git lib/libMLIRBufferizationToMemRef.so.20.0git lib/libMLIRComplexToLibm.so.20.0git lib/libMLIRComplexToLLVM.so.20.0git lib/libMLIRComplexToSPIRV.so.20.0git lib/libMLIRComplexToStandard.so.20.0git lib/libMLIRControlFlowToSCF.so.20.0git lib/libMLIRControlFlowToSPIRV.so.20.0git lib/libMLIRConvertToSPIRVPass.so.20.0git lib/libMLIRFuncToEmitC.so.20.0git lib/libMLIRGPUToLLVMSPV.so.20.0git lib/libMLIRGPUToNVVMTransforms.so.20.0git lib/libMLIRGPUToROCDLTransforms.so.20.0git lib/libMLIRGPUToSPIRV.so.20.0git lib/libMLIRGPUToVulkanTransforms.so.20.0git lib/libMLIRIndexToLLVM.so.20.0git lib/libMLIRLinalgToStandard.so.20.0git lib/libMLIRMathToFuncs.so.20.0git lib/libMLIRMathToLibm.so.20.0git lib/libMLIRMathToLLVM.so.20.0git lib/libMLIRMathToROCDL.so.20.0git lib/libMLIRMathToSPIRV.so.20.0git lib/libMLIRMemRefToEmitC.so.20.0git lib/libMLIRMeshToMPI.so.20.0git lib/libMLIRNVGPUToNVVM.so.20.0git lib/libMLIRNVVMToLLVM.so.20.0git lib/libMLIROpenACCToSCF.so.20.0git lib/libMLIROpenMPToLLVM.so.20.0git lib/libMLIRReconcileUnrealizedCasts.so.20.0git lib/libMLIRSCFToControlFlow.so.20.0git lib/libMLIRSCFToEmitC.so.20.0git lib/libMLIRSCFToGPU.so.20.0git lib/libMLIRSCFToOpenMP.so.20.0git lib/libMLIRSCFToSPIRV.so.20.0git lib/libMLIRShapeToStandard.so.20.0git lib/libMLIRSPIRVToLLVM.so.20.0git lib/libMLIRTensorToLinalg.so.20.0git lib/libMLIRTensorToSPIRV.so.20.0git lib/libMLIRTosaToArith.so.20.0git lib/libMLIRTosaToLinalg.so.20.0git lib/libMLIRTosaToMLProgram.so.20.0git lib/libMLIRTosaToSCF.so.20.0git lib/libMLIRTosaToTensor.so.20.0git lib/libMLIRUBToLLVM.so.20.0git lib/libMLIRUBToSPIRV.so.20.0git lib/libMLIRVectorToArmSME.so.20.0git lib/libMLIRVectorToGPU.so.20.0git lib/libMLIRVectorToLLVMPass.so.20.0git lib/libMLIRVectorToSPIRV.so.20.0git lib/libMLIRVectorToXeGPU.so.20.0git lib/libMLIRFuncAllExtensions.so.20.0git lib/libMLIRTensorAllExtensions.so.20.0git lib/libMLIROptLib.so.20.0git lib/libMLIRToLLVMIRTranslationRegistration.so.20.0git lib/libMLIRAMXTransforms.so.20.0git lib/libMLIRArmSVETransforms.so.20.0git lib/libMLIRLinalgTransformOps.so.20.0git lib/libMLIRTransformDialect.so.20.0git lib/libMLIRTransformDialectInterfaces.so.20.0git lib/libMLIRTransformDialectUtils.so.20.0git lib/libMLIRX86VectorTransforms.so.20.0git lib/libMLIREmitCTransforms.so.20.0git lib/libMLIRArmSMETransforms.so.20.0git lib/libMLIRSPIRVTransforms.so.20.0git lib/libMLIRIndexToSPIRV.so.20.0git lib/libMLIRMemRefToSPIRV.so.20.0git lib/libMLIRAMDGPUToROCDL.so.20.0git lib/libMLIRAMDGPUUtils.so.20.0git lib/libMLIRAMDGPUDialect.so.20.0git lib/libMLIRGPUToGPURuntimeTransforms.so.20.0git lib/libMLIRAsyncToLLVM.so.20.0git lib/libMLIRConvertToLLVMPass.so.20.0git lib/libMLIRConvertToLLVMInterface.so.20.0git lib/libMLIRVectorToLLVM.so.20.0git lib/libMLIRMPIDialect.so.20.0git lib/libMLIREmitCDialect.so.20.0git lib/libMLIRGPUTransforms.so.20.0git lib/libMLIRAsyncDialect.so.20.0git lib/libMLIRSPIRVTarget.so.20.0git lib/libMLIRSPIRVSerialization.so.20.0git lib/libMLIRSPIRVBinaryUtils.so.20.0git lib/libMLIRNVVMTarget.so.20.0git lib/libLLVMNVPTXCodeGen.so.20.0git lib/libLLVMNVPTXDesc.so.20.0git lib/libLLVMNVPTXInfo.so.20.0git lib/libMLIRROCDLTarget.so.20.0git lib/libMLIRTargetLLVM.so.20.0git lib/libMLIRExecutionEngineUtils.so.20.0git lib/libLLVMPasses.so.20.0git lib/libLLVMTarget.so.20.0git lib/libLLVMipo.so.20.0git lib/libLLVMLinker.so.20.0git lib/libMLIRAffineToStandard.so.20.0git lib/libMLIRShapeDialect.so.20.0git lib/libMLIRSPIRVUtils.so.20.0git lib/libMLIRFuncToLLVM.so.20.0git lib/libMLIRArithToLLVM.so.20.0git lib/libMLIRArithAttrToLLVMConversion.so.20.0git lib/libMLIRControlFlowToLLVM.so.20.0git lib/libMLIRMemRefToLLVM.so.20.0git lib/libMLIRSPIRVAttrToLLVMConversion.so.20.0git lib/libMLIRLinalgTransforms.so.20.0git lib/libMLIRMemRefTransforms.so.20.0git lib/libMLIRArithTransforms.so.20.0git lib/libMLIRFuncTransforms.so.20.0git lib/libMLIRMeshTransforms.so.20.0git lib/libMLIRTosaShardingInterfaceImpl.so.20.0git lib/libMLIRSCFTransforms.so.20.0git lib/libMLIRBufferizationTransforms.so.20.0git lib/libMLIRTensorTransforms.so.20.0git lib/libMLIRAffineTransforms.so.20.0git lib/libMLIRSCFUtils.so.20.0git lib/libMLIRTensorTilingInterfaceImpl.so.20.0git lib/libMLIRTilingInterface.so.20.0git lib/libMLIRVectorToSCF.so.20.0git lib/libMLIRArithToSPIRV.so.20.0git lib/libMLIRFuncToSPIRV.so.20.0git lib/libMLIRSPIRVConversion.so.20.0git lib/libMLIRIndexDialect.so.20.0git lib/libMLIRLinalgUtils.so.20.0git lib/libMLIRMLProgramDialect.so.20.0git lib/libMLIRTensorUtils.so.20.0git lib/libMLIRTosaTransforms.so.20.0git lib/libMLIRTosaDialect.so.20.0git lib/libMLIRQuantUtils.so.20.0git lib/libMLIRQuantDialect.so.20.0git lib/libMLIRLLVMCommonConversion.so.20.0git lib/libMLIRNVGPUUtils.so.20.0git lib/libMLIRNVGPUDialect.so.20.0git lib/libMLIRVectorTransforms.so.20.0git lib/libMLIRAffineUtils.so.20.0git lib/libMLIRLinalgDialect.so.20.0git lib/libMLIRBufferizationDialect.so.20.0git lib/libMLIRMathDialect.so.20.0git lib/libMLIRSparseTensorDialect.so.20.0git lib/libMLIRMemRefUtils.so.20.0git lib/libMLIRVectorUtils.so.20.0git lib/libMLIRAffineAnalysis.so.20.0git lib/libMLIRXeGPUDialect.so.20.0git lib/libMLIRFuncInlinerExtension.so.20.0git lib/libMLIRFuncMeshShardingExtensions.so.20.0git lib/libMLIRTensorMeshShardingExtensions.so.20.0git lib/libMLIRShardingInterface.so.20.0git lib/libMLIRMeshDialect.so.20.0git lib/libMLIRIRDL.so.20.0git lib/libMLIRBytecodeWriter.so.20.0git lib/libMLIRBytecodeOpInterface.so.20.0git lib/libMLIRDebug.so.20.0git lib/libMLIRObservers.so.20.0git lib/libMLIRPluginsLib.so.20.0git lib/libMLIRNVVMToLLVMIRTranslation.so.20.0git lib/libMLIRROCDLToLLVMIRTranslation.so.20.0git lib/libMLIRROCDLDialect.so.20.0git lib/libMLIRArmNeonToLLVMIRTranslation.so.20.0git lib/libMLIRArmNeonDialect.so.20.0git lib/libMLIRArmSMEToLLVMIRTranslation.so.20.0git lib/libMLIRArmSMEDialect.so.20.0git lib/libMLIRSCFDialect.so.20.0git lib/libMLIRControlFlowDialect.so.20.0git lib/libMLIRArmSVEToLLVMIRTranslation.so.20.0git lib/libMLIRArmSVEDialect.so.20.0git lib/libMLIRVectorDialect.so.20.0git lib/libMLIRTensorDialect.so.20.0git lib/libMLIRAffineDialect.so.20.0git lib/libMLIRParallelCombiningOpInterface.so.20.0git lib/libMLIRVectorInterfaces.so.20.0git lib/libMLIRMaskableOpInterface.so.20.0git lib/libMLIRMaskingOpInterface.so.20.0git lib/libMLIRAMXToLLVMIRTranslation.so.20.0git lib/libMLIRAMXDialect.so.20.0git lib/libMLIRBuiltinToLLVMIRTranslation.so.20.0git lib/libMLIRGPUToLLVMIRTranslation.so.20.0git lib/libMLIRGPUDialect.so.20.0git lib/libMLIRX86VectorToLLVMIRTranslation.so.20.0git lib/libMLIRX86VectorDialect.so.20.0git lib/libMLIRLLVMToLLVMIRTranslation.so.20.0git lib/libMLIROpenACCToLLVMIRTranslation.so.20.0git lib/libMLIROpenACCDialect.so.20.0git lib/libMLIRMemRefDialect.so.20.0git lib/libMLIRArithUtils.so.20.0git lib/libMLIRComplexDialect.so.20.0git lib/libMLIRArithDialect.so.20.0git lib/libMLIRCastInterfaces.so.20.0git lib/libMLIRInferIntRangeCommon.so.20.0git lib/libMLIRDialect.so.20.0git lib/libMLIRDialectUtils.so.20.0git lib/libMLIRShapedOpInterfaces.so.20.0git lib/libMLIROpenMPToLLVMIRTranslation.so.20.0git lib/libMLIROpenMPDialect.so.20.0git lib/libMLIROpenACCMPCommon.so.20.0git lib/libMLIRSPIRVToLLVMIRTranslation.so.20.0git lib/libMLIRSPIRVDialect.so.20.0git lib/libMLIRUBDialect.so.20.0git lib/libMLIRVCIXToLLVMIRTranslation.so.20.0git lib/libMLIRVCIXDialect.so.20.0git lib/libMLIRTargetLLVMIRExport.so.20.0git lib/libMLIRDLTIDialect.so.20.0git lib/libMLIRLLVMIRTransforms.so.20.0git lib/libMLIRFuncDialect.so.20.0git lib/libMLIRNVVMDialect.so.20.0git lib/libMLIRTransforms.so.20.0git lib/libMLIRRuntimeVerifiableOpInterface.so.20.0git lib/libMLIRLLVMDialect.so.20.0git lib/libMLIRMemorySlotInterfaces.so.20.0git lib/libLLVMBitWriter.so.20.0git lib/libMLIRTransformUtils.so.20.0git lib/libMLIRSubsetOpInterface.so.20.0git lib/libMLIRValueBoundsOpInterface.so.20.0git lib/libMLIRDestinationStyleOpInterface.so.20.0git lib/libMLIRRewrite.so.20.0git lib/libMLIRRewritePDL.so.20.0git lib/libMLIRPDLToPDLInterp.so.20.0git lib/libMLIRPDLInterpDialect.so.20.0git lib/libMLIRPDLDialect.so.20.0git lib/libMLIRPass.so.20.0git lib/libMLIRAnalysis.so.20.0git lib/libMLIRCallInterfaces.so.20.0git lib/libMLIRControlFlowInterfaces.so.20.0git lib/libMLIRPresburger.so.20.0git lib/libMLIRLoopLikeInterface.so.20.0git lib/libMLIRViewLikeInterface.so.20.0git lib/libMLIRInferIntRangeInterface.so.20.0git lib/libMLIRFunctionInterfaces.so.20.0git lib/libMLIRDataLayoutInterfaces.so.20.0git lib/libMLIRInferTypeOpInterface.so.20.0git lib/libMLIRSideEffectInterfaces.so.20.0git lib/libMLIRTranslateLib.so.20.0git lib/libMLIRParser.so.20.0git lib/libMLIRBytecodeReader.so.20.0git lib/libMLIRAsmParser.so.20.0git lib/libMLIRIR.so.20.0git lib/libMLIRSupport.so.20.0git lib/libLLVMFrontendOpenMP.so.20.0git lib/libLLVMFrontendOffloading.so.20.0git lib/libLLVMTransformUtils.so.20.0git lib/libLLVMMCParser.so.20.0git lib/libLLVMMC.so.20.0git lib/libLLVMIRReader.so.20.0git lib/libLLVMAsmParser.so.20.0git lib/libLLVMBitReader.so.20.0git lib/libLLVMCore.so.20.0git lib/libLLVMBinaryFormat.so.20.0git lib/libLLVMTargetParser.so.20.0git lib/libLLVMSupport.so.20.0git -Wl,-rpath-link,/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib && :
ld.lld: error: undefined symbol: mlir::registerCloneTestPasses()
>>> referenced by mlir-opt.cpp
>>> tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o:(registerTestPasses())
ld.lld: error: undefined symbol: mlir::registerConvertToTargetEnvPass()
>>> referenced by mlir-opt.cpp
>>> tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o:(registerTestPasses())
ld.lld: error: undefined symbol: mlir::registerLazyLoadingTestPasses()
>>> referenced by mlir-opt.cpp
>>> tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o:(registerTestPasses())
ld.lld: error: undefined symbol: mlir::registerLoopLikeInterfaceTestPasses()
>>> referenced by mlir-opt.cpp
>>> tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o:(registerTestPasses())
ld.lld: error: undefined symbol: mlir::registerPassManagerTestPass()
>>> referenced by mlir-opt.cpp
>>> tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o:(registerTestPasses())
ld.lld: error: undefined symbol: mlir::registerPrintSpirvAvailabilityPass()
>>> referenced by mlir-opt.cpp
>>> tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o:(registerTestPasses())
ld.lld: error: undefined symbol: mlir::registerRegionTestPasses()
>>> referenced by mlir-opt.cpp
>>> tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o:(registerTestPasses())
ld.lld: error: undefined symbol: mlir::registerShapeFunctionTestPasses()
>>> referenced by mlir-opt.cpp
>>> tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o:(registerTestPasses())
ld.lld: error: undefined symbol: mlir::registerSideEffectTestPasses()
>>> referenced by mlir-opt.cpp
>>> tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o:(registerTestPasses())
ld.lld: error: undefined symbol: mlir::registerSliceAnalysisTestPass()
```
</details>
https://github.com/llvm/llvm-project/pull/119408
More information about the Mlir-commits
mailing list