[Mlir-commits] [mlir] [mlir] NFC: fix dependence of (Tensor|Linalg|MemRef|Complex) dialects on LLVM Dialect and LLVM Core in CMake build (PR #104832)
LLVM Continuous Integration
llvmlistbot at llvm.org
Mon Aug 19 17:53:00 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/2265
Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
70.836 [2598/7/4546] Creating library symlink lib/libMLIRArithToLLVM.so
70.876 [2589/15/4547] Creating library symlink lib/libMLIRAMDGPUToROCDL.so
70.877 [2589/14/4548] Creating library symlink lib/libMLIRMathToLLVM.so
70.878 [2589/13/4549] Creating library symlink lib/libMLIRCAPIPDL.so
70.883 [2589/12/4550] Creating library symlink lib/libMLIRAMDGPUTrans
forms.so
70.884 [2589/11/4551] Creating library symlink lib/libMLIRLLVMIRTransforms.so
70.891 [2589/10/4552] Creating library symlink lib/libMLIRShardingInterface.so
70.998 [2589/9/4553] Linking CXX shared library lib/libMLIRControlFlowToLLVM.so.20.0git
71.011 [2585/12/4554] Linking CXX shared library lib/libMLIRComplexToLLVM.so.20.0git
FAILED: lib/libMLIRComplexToLLVM.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 -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,libMLIRComplexToLLVM.so.20.0git -o lib/libMLIRComplexToLLVM.so.20.0git tools/mlir/lib/Conversion/ComplexToLLVM/CMakeFiles/obj.MLIRComplexToLLVM.dir/ComplexToLLVM.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/lib:" lib/libMLIRComplexDialect.so.20.0git lib/libMLIRLLVMCommonConversion.so.20.0git lib/libMLIRLLVMDialect.so.20.0git lib/libMLIRTransforms.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/libLLVMBitWriter.so.20.0git lib/libLLVMAsmParser.so.20.0git lib/libLLVMBitReader.so.20.0git lib/libMLIRMemorySlotInterfaces.so.20.0git lib/libMLIRCopyOpInterface.so.20.0git lib/libMLIRRuntimeVerifiableOpInterface.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/libMLIRCallInterfaces.so.20.0git lib/libMLIRControlFlowInterfaces.so.20.0git lib/libMLIRDataLayoutInterfaces.so.20.0git lib/libMLIRLoopLikeInterface.so.20.0git lib/libMLIRInferIntRangeInterface.so.20.0git lib/libMLIRPresburger.so.20.0git lib/libMLIRViewLikeInterface.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/libLLVMCore.so.20.0git lib/libLLVMBinaryFormat.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/ComplexToLLVM/CMakeFiles/obj.MLIRComplexToLLVM.dir/ComplexToLLVM.cpp.o: in function `(anonymous namespace)::AbsOpConversion::matchAndRewrite(mlir::complex::AbsOp, mlir::complex::AbsOpAdaptor, mlir::ConversionPatternRewriter&) const':
ComplexToLLVM.cpp:(.text._ZNK12_GLOBAL__N_115AbsOpConversion15matchAndRewriteEN4mlir7complex5AbsOpENS2_12AbsOpAdaptorERNS1_25ConversionPatternRewriterE+0xf4): undefined reference to `mlir::arith::convertArithFastMathFlagsToLLVM(mlir::arith::FastMathFlags)'
/usr/bin/ld: tools/mlir/lib/Conversion/ComplexToLLVM/CMakeFiles/obj.MLIRComplexToLLVM.dir/ComplexToLLVM.cpp.o: in function `(anonymous namespace)::AddOpConversion::matchAndRewrite(mlir::complex::AddOp, mlir::complex::AddOpAdaptor, mlir::ConversionPatternRewriter&) const':
ComplexToLLVM.cpp:(.text._ZNK12_GLOBAL__N_115AddOpConversion15matchAndRewriteEN4mlir7complex5AddOpENS2_12AddOpAdaptorERNS1_25ConversionPatternRewriterE+0x248): undefined reference to `mlir::arith::convertArithFastMathFlagsToLLVM(mlir::arith::FastMathFlags)'
/usr/bin/ld: tools/mlir/li
b/Conversion/ComplexToLLVM/CMakeFiles/obj.MLIRComplexToLLVM.dir/ComplexToLLVM.cpp.o: in function `(anonymous namespace)::DivOpConversion::matchAndRewrite(mlir::complex::DivOp, mlir::complex::DivOpAdaptor, mlir::ConversionPatternRewriter&) const':
ComplexToLLVM.cpp:(.text._ZNK12_GLOBAL__N_115DivOpConversion15matchAndRewriteEN4mlir7complex5DivOpENS2_12DivOpAdaptorERNS1_25ConversionPatternRewriterE+0x1d0): undefined reference to `mlir::arith::convertArithFastMathFlagsToLLVM(mlir::arith::FastMathFlags)'
/usr/bin/ld: tools/mlir/lib/Conversion/ComplexToLLVM/CMakeFiles/obj.MLIRComplexToLLVM.dir/ComplexToLLVM.cpp.o: in function `(anonymous namespace)::MulOpConversion::matchAndRewrite(mlir::complex::MulOp, mlir::complex::MulOpAdaptor, mlir::ConversionPatternRewriter&) const':
ComplexToLLVM.cpp:(.text._ZNK12_GLOBAL__N_115MulOpConversion15matchAndRewriteEN4mlir7complex5MulOpENS2_12MulOpAdaptorERNS1_25ConversionPatternRewriterE+0x24c): undefined reference to `mlir::arith::convertArithFastMathFlagsToLLVM(mlir::arith::FastMathFlags)'
/usr/bin/ld: tools/mlir/lib/Conversion/ComplexToLLVM/CMakeFiles/obj.MLIRComplexToLLVM.dir/ComplexToLLVM.cpp.o: in function `(anonymous namespace)::SubOpConversion::matchAndRewrite(mlir::complex::SubOp, mlir::complex::SubOpAdaptor, mlir::ConversionPatternRewriter&) const':
ComplexToLLVM.cpp:(.text._ZNK12_GLOBAL__N_115SubOpConversion15matchAndRewriteEN4mlir7complex5SubOpENS2_12SubOpAdaptorERNS1_25ConversionPatternRewriterE+0x248): undefined reference to `mlir::arith::convertArithFastMathFlagsToLLVM(mlir::arith::FastMathFlags)'
collect2: error: ld returned 1 exit status
71.012 [2585/11/4555] Creating library symlink lib/libMLIRControlFlowToLLVM.so
71.015 [2585/10/4556] Creating library symlink lib/libMLIRMLProgramDialect.so
71.028 [2585/9/4557] Creating library symlink lib/libMLIROpenACCTransforms.so
71.145 [2585/8/4558] Linking CXX shared library lib/libMLIRConvertToLLVMPass.so.20.0git
71.165 [2585/7/4559] Linking CXX shared library lib/libMLIRAMXTransforms.so.20.0git
71.181 [2585/6/4560] Linking CXX shared library lib/libMLIRUBToLLVM.so.20.0git
71.193 [2585/5/4561] Linking CXX shared library lib/libMLIRNVVMToLLVM.so.20.0git
71.202 [2585/4/4562] Linking CXX shared library lib/libMLIRIndexToLLVM.so.20.0git
71.231 [2585/3/4563] Linking CXX shared library lib/libMLIRFuncMeshShardingExtensions.so.20.0git
71.259 [2585/2/4564] Linking CXX shared library lib/libMLIRMemRefToLLVM.so.20.0git
71.456 [2585/1/4565] Linking CXX shared library lib/libMLIRSPIRVDialect.so.20.0git
ninja: build stopped: subcommand failed.
```
https://github.com/llvm/llvm-project/pull/104832
More information about the Mlir-commits
mailing list