[Mlir-commits] [mlir] Reapply "[mlir] NFC: fix dependence of (Tensor|Linalg|MemRef|Complex) dialects on LLVM Dialect and LLVM Core in CMake build (#104832)" (PR #105703)
LLVM Continuous Integration
llvmlistbot at llvm.org
Wed Aug 28 21:36:37 PDT 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/2712
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
47.605 [2461/19/4698] Creating library symlink lib/libMLIRFuncToSPIRV.so
47.646 [2453/26/4699] Creating library symlink lib/libMLIRVectorToSPIRV.so
47.647 [2453/25/4700] Linking CXX shared library lib/libMLIRBufferizationPipelines.so.20.0git
47.648 [2453/24/4701] Creating library symlink lib/libMLIRSPIRVTransforms.so
47.648 [2453/23/4702] Creating library symlink lib/libMLIRArithTestPasses.so
47.649 [2453/22/4703] Creating library symlink lib/libMLIRSPIRVDeserialization.so
47.650 [2453/21/4704] Linking CXX shared library lib/libMLIRCAPITransformDialect.so.20.0git
47.650 [2453/20/4705] Linking CXX shared library lib/libMLIRMeshTest.so.20.0git
47.664 [2453/19/4706] Building TestOps.5.cpp...
47.666 [2453/18/4707] Linking CXX shared library lib/libMLIRSCFToControlFlow.so.20.0git
FAILED: lib/libMLIRSCFToControlFlow.so.20.0git
: && /usr/local/bin/c++ -fPIC -fPIC -fno-semantic-i
nterposition -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 -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,libMLIRSCFToControlFlow.so.20.0git -o lib/libMLIRSCFToControlFlow.so.20.0git tools/mlir/lib/Conversion/SCFToControlFlow/CMakeFiles/obj.MLIRSCFToControlFlow.dir/SCFToControlFlow.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/lib:" lib/libMLIRSCFTransforms.so.20.0git lib/libMLIRTensorTransforms.so.20.0git lib/libMLIRBufferizationTransforms.so.20.0git lib/libMLIRAffineTransforms.so.20.0git lib/libMLIRSCFUtils.so.20.0git lib/libMLIRTransforms.so.20.0git lib/libMLIRCopyOpInterface.so.20.0git lib/libMLIRRuntimeVerifiableOpInterface.so.20.0git lib/libMLIRAffineUtils.so.20.0git lib/libMLIRLinalgDialect.so.20.0git lib/libMLIRBufferizationDialect.so.20.0git lib/libMLIRSparseTensorDialect.so.20.0git lib/libMLIRParser.so.20.0git lib/libMLIRBytecodeReader.so.20.0git lib/libMLIRAsmParser.so.20.0git lib/libMLIRShardingInterface.so.20.0git lib/libMLIRMeshDialect.so.20.0git lib/libMLIRMathDialect.so.20.0git lib/libMLIRTensorUtils.so.20.0git lib/libMLIRVectorUtils.so.20.0git lib/libMLIRAffineAnalysis.so.20.0git lib/libMLIRSCFDialect.so.20.0git lib/libMLIRControlFlowDialect.so.20.0git lib/libMLIRFuncDialect.so.20.0git lib/libMLIRVectorDialect.so.20.0git lib/libMLIRTensorDialect.so.20.0git lib/libMLIRParallelCombiningOpInterface.so.20.0git lib/libMLIRAffineDialect.so.20.0git lib/libMLIRMemRefDialect.so.20.0git lib/libMLIRMemorySlotInterfaces.so.20.0git lib/libMLIRArithUtils.so.20.0git lib/libMLIRDialectUtils.so.20.0git lib/libMLIRComplexDialect.so.20.0git lib/libMLIRArithDialect.so.20.0git lib/libMLIRCastInterfaces.so.20.0git lib/libMLIRInferIntRangeCommon.so.20.0git lib/libMLIRUBDialect.so.20.0git lib/libMLIRDialect.so.20.0git lib/libMLIRShapedOpInterfaces.so.20.0git lib/libMLIRMaskableOpInterface.so.20.0git lib/libMLIRMaskingOpInterface.so.20.0git lib/libMLIRVectorInterfaces.so.20.0git lib/libMLIRTilingInterface.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/libMLIRPass.so.20.0git lib/libMLIRAnalysis.so.20.0git lib/libMLIRInferIntRangeInterface.so.20.0git lib/libMLIRControlFlowInterfaces.so.20.0git lib/libMLIRLoopLikeInterface.so.20.0git lib/libMLIRViewLikeInterface.so.20.0git lib/libMLIRCallInterfaces.so.20.0git lib/libMLIRPresburger.so.20.0git lib/libMLIRDataLayoutInterfaces.so.20.0git lib/libMLIRPDLInterpDialect.so.20.0git lib/libMLIRFunctionInterfaces.so.20.0git lib/libMLIRPDLDialect.so.20.0git lib/libMLIRInferTypeOpInterface.so.20.0git lib/libMLIRSideEffectInterfaces.so.20.0git lib/libMLIRIR.so.20.0git lib/libMLIRSupport.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/lib/Conversion/SCFToControlFlow/CMakeFiles/obj.MLIRSCFToControlFlow.dir/SCFToControlFlow.cpp.o: in function `(anonymous namespace)::ForLowering::matchAndRewrite(mlir::scf::ForOp, mlir::PatternRewriter&) const':
SCFToControlFlow.cpp:(.text._ZNK12_GLOBAL__N_111ForLowering15matchAndRewriteEN4mlir3scf5ForOpERNS1_15PatternRewriterE+0x684): undefined reference to `mlir::detail::TypeIDResolver<mlir::LLVM::LLVMDialect, void>::id'
/usr/bin/ld: SCFToControlFlow.cpp:(.t
ext._ZNK12_GLOBAL__N_111ForLowering15matchAndRewriteEN4mlir3scf5ForOpERNS1_15PatternRewriterE+0x688): undefined reference to `mlir::detail::TypeIDResolver<mlir::LLVM::LLVMDialect, void>::id'
collect2: error: ld returned 1 exit status
47.680 [2453/17/4708] Linking CXX shared library lib/libMLIRMathTestPasses.so.20.0git
47.751 [2453/16/4709] Linking CXX shared library lib/libMLIRSPIRVSerialization.so.20.0git
47.779 [2453/15/4710] Linking CXX shared library lib/libMLIRTestConvertToSPIRV.so.20.0git
47.797 [2453/14/4711] Linking CXX shared library lib/libMLIRArmSMETransforms.so.20.0git
47.816 [2453/13/4712] Linking CXX shared library lib/libMLIRMemRefTransformOps.so.20.0git
47.841 [2453/12/4713] Linking CXX shared library lib/libMLIRNVGPUTestPasses.so.20.0git
47.866 [2453/11/4714] Linking CXX shared library lib/libMLIRNVVMTarget.so.20.0git
47.867 [2453/10/4715] Linking CXX shared library lib/libMLIRCAPITransformDialectTransforms.so.20.0git
47.870 [2453/9/4716] Linking CXX shared library lib/libMLIRShapeTestPasses.so.20.0git
47.900 [2453/8/4717] Linking CXX shared library lib/libMLIRSCFTestPasses.so.20.0git
47.913 [2453/7/4718] Linking CXX shared library lib/libMLIRToLLVMIRTranslationRegistration.so.20.0git
47.942 [2453/6/4719] Linking CXX shared library lib/libMLIRROCDLTarget.so.20.0git
47.966 [2453/5/4720] Linking CXX shared library lib/libMLIRExecutionEngine.so.20.0git
47.990 [2453/4/4721] Linking CXX shared library lib/libMLIRTensorTestPasses.so.20.0git
48.010 [2453/3/4722] Linking CXX shared library lib/libMLIRSPIRVTestPasses.so.20.0git
48.043 [2453/2/4723] Linking CXX shared library lib/libMLIRArithToSPIRV.so.20.0git
48.329 [2453/1/4724] Linking CXX shared library lib/libMLIRLinalgTransforms.so.20.0git
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/105703
More information about the Mlir-commits
mailing list