[Mlir-commits] [mlir] [mlir] Add support for MLIR_LINK_MLIR_DYLIB (PR #119408)

LLVM Continuous Integration llvmlistbot at llvm.org
Thu Dec 12 06:35:20 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `flang-aarch64-latest-gcc` running on `linaro-flang-aarch64-latest-gcc` while building `mlir` at step 5 "build-unified-tree".

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
355.360 [2204/7/5100] Copying clang's mm3dnow.h...
355.867 [2204/6/5101] Linking CXX shared library lib/libMLIRTestDialect.so.20.0git
355.892 [2200/9/5102] Creating library symlink lib/libMLIRTestDialect.so
355.904 [2196/12/5103] Copying clang's movrs_avx10_2intrin.h...
355.904 [2196/11/5104] Copying clang's movrsintrin.h...
355.904 [2196/10/5105] Copying clang's mwaitxintrin.h...
355.963 [2196/9/5106] Linking CXX executable bin/mlir-rewrite
356.052 [2196/8/5107] Linking CXX executable bin/mlir-cpu-runner
356.067 [2185/18/5108] Linking CXX shared library lib/libMLIRCAPIRegisterEverything.so.20.0git
356.136 [2185/17/5109] Linking CXX shared library lib/libMLIRMlirOptMain.so.20.0git
FAILED: lib/libMLIRMlirOptMain.so.20.0git 
: && /usr/local/bin/c++ -fPIC -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-maybe-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 -Wundef -Wno-unused-but-set-parameter -O3 -DNDEBUG  -Wl,-z,defs -Wl,-z,nodelete   -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/./lib  -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:/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/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/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,/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/lib && :
/usr/bin/ld: tools/mlir/tools/mlir-opt/CMakeFiles/MLIRMlirOptMain.dir/mlir-opt.cpp.o: in function `registerTestPasses() [clone .localalias]':
mlir-opt.cpp:(.text._Z18registerTestPassesv+0x8): undefined reference to `mlir::registerCloneTestPasses()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0xc): undefined reference to `mlir::registerConvertToTargetEnvPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x10): undefined reference to `mlir::registerLazyLoadingTestPasses()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x14): undefined reference to `mlir::registerLoopLikeInterfaceTestPasses()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x18): undefined reference to `mlir::registerPassManagerTestPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x1c): undefined reference to `mlir::registerPrintSpirvAvailabilityPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x20): undefined reference to `mlir::registerRegionTestPasses()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x24): undefined reference to `mlir::registerShapeFunctionTestPasses()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x28): undefined reference to `mlir::registerSideEffectTestPasses()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x2c): undefined reference to `mlir::registerSliceAnalysisTestPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x30): undefined reference to `mlir::registerSymbolTestPasses()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x34): undefined reference to `mlir::registerTestAffineAccessAnalysisPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x38): undefined reference to `mlir::registerTestAffineDataCopyPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x3c): undefined reference to `mlir::registerTestAffineLoopUnswitchingPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x40): undefined reference to `mlir::registerTestAffineReifyValueBoundsPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x44): undefined reference to `mlir::registerTestAffineWalk()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x48): undefined reference to `mlir::registerTestBytecodeRoundtripPasses()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x4c): undefined reference to `mlir::registerTestDecomposeAffineOpPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x50): undefined reference to `mlir::registerTestFunc()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x54): undefined reference to `mlir::registerTestGpuLoweringPasses()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x58): undefined reference to `mlir::registerTestGpuMemoryPromotionPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x5c): undefined reference to `mlir::registerTestLoopPermutationPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x60): undefined reference to `mlir::registerTestMatchers()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x64): undefined reference to `mlir::registerTestOperationEqualPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x68): undefined reference to `mlir::registerTestPreserveUseListOrders()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x6c): undefined reference to `mlir::registerTestPrintDefUsePass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x70): undefined reference to `mlir::registerTestPrintInvalidPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x74): undefined reference to `mlir::registerTestPrintNestingPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x78): undefined reference to `mlir::registerTestReducer()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x7c): undefined reference to `mlir::registerTestSpirvEntryPointABIPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x80): undefined reference to `mlir::registerTestSpirvModuleCombinerPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x84): undefined reference to `mlir::registerTestTraitsPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x8c): undefined reference to `mlir::registerVectorizerTestPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x90): undefined reference to `mlir::test::registerCommutativityUtils()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x94): undefined reference to `mlir::test::registerConvertCallOpPass()'
/usr/bin/ld: mlir-opt.cpp:(.text._Z18registerTestPassesv+0x98): undefined reference to `mlir::test::registerConvertFuncOpPass()'

```

</details>

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


More information about the Mlir-commits mailing list