[Mlir-commits] [clang] [flang] [mlir] [mlir] Split analysis implementations into subsystem libraries (PR #232793)

LLVM Continuous Integration llvmlistbot at llvm.org
Mon Oct 19 20:20:59 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `amdgpu-offload-ubuntu-22-cmake-build-only` running on `rocm-docker-ubu-22` while building `clang,flang,mlir` at step 4 "annotate".

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

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

```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
[4886/8940] Building CXX object tools/mlir/lib/Target/Cpp/CMakeFiles/obj.MLIRTargetCpp.dir/TranslateRegistration.cpp.o
[4887/8940] Building CXX object tools/mlir/lib/Target/Cpp/CMakeFiles/obj.MLIRTargetCpp.dir/TranslateToCpp.cpp.o
[4888/8940] Building CXX object tools/mlir/lib/Target/IRDLToCpp/CMakeFiles/obj.MLIRTargetIRDLToCpp.dir/IRDLToCpp.cpp.o
[4889/8940] Building CXX object tools/mlir/lib/Target/SPIRV/CMakeFiles/obj.MLIRSPIRVBinaryUtils.dir/SPIRVBinaryUtils.cpp.o
[4890/8940] Building CXX object tools/mlir/lib/Target/SPIRV/Deserialization/CMakeFiles/obj.MLIRSPIRVDeserialization.dir/Deserialization.cpp.o
[4891/8940] Building CXX object tools/mlir/lib/Target/IRDLToCpp/CMakeFiles/obj.MLIRTargetIRDLToCpp.dir/TranslationRegistration.cpp.o
[4892/8940] Linking CXX shared library lib/libLLVMFrontendAtomic.so.24.0git
[4893/8940] Linking CXX shared library lib/libLLVMIRPrinter.so.24.0git
[4894/8940] Creating library symlink lib/libLLVMFrontendAtomic.so
[4895/8940] Linking CXX shared library lib/libMLIRValueBoundsOpInterface.so.24.0git
FAILED: lib/libMLIRValueBoundsOpInterface.so.24.0git 
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-unused-but-set-parameter -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-deprecated-copy -O3 -DNDEBUG  -Wl,-z,defs -Wl,-z,nodelete   -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/./lib   -Wl,--gc-sections -shared -Wl,-soname,libMLIRValueBoundsOpInterface.so.24.0git -o lib/libMLIRValueBoundsOpInterface.so.24.0git tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRValueBoundsOpInterface.dir/ValueBoundsOpInterface.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:\$ORIGIN/../lib/x86_64-unknown-linux-gnu:/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib:"  lib/libMLIRAnalysisPresburger.so.24.0git  lib/libMLIRDestinationStyleOpInterface.so.24.0git  lib/libMLIRIR.so.24.0git  lib/libMLIRPresburger.so.24.0git  lib/libMLIRSupport.so.24.0git  lib/libLLVMSupport.so.24.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib && :
/usr/bin/ld: tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRValueBoundsOpInterface.dir/ValueBoundsOpInterface.cpp.o: in function `mlir::HyperrectangularSlice::HyperrectangularSlice(mlir::OffsetSizeAndStrideOpInterface)':
ValueBoundsOpInterface.cpp:(.text._ZN4mlir21HyperrectangularSliceC2ENS_30OffsetSizeAndStrideOpInterfaceE+0x46): undefined reference to `mlir::OffsetSizeAndStrideOpInterface::getMixedStrides()'
/usr/bin/ld: ValueBoundsOpInterface.cpp:(.text._ZN4mlir21HyperrectangularSliceC2ENS_30OffsetSizeAndStrideOpInterfaceE+0x67): undefined reference to `mlir::OffsetSizeAndStrideOpInterface::getMixedSizes()'
/usr/bin/ld: ValueBoundsOpInterface.cpp:(.text._ZN4mlir21HyperrectangularSliceC2ENS_30OffsetSizeAndStrideOpInterfaceE+0x7e): undefined reference to `mlir::OffsetSizeAndStrideOpInterface::getMixedOffsets()'
collect2: error: ld returned 1 exit status
[4896/8940] Building CXX object tools/mlir/lib/Target/SPIRV/CMakeFiles/obj.MLIRSPIRVTarget.dir/Target.cpp.o
[4897/8940] Linking CXX shared library lib/libMLIROpenACCMPCommon.so.24.0git
[4898/8940] Building CXX object tools/mlir/lib/Target/SPIRV/CMakeFiles/obj.MLIRSPIRVTranslateRegistration.dir/TranslateRegistration.cpp.o
[4899/8940] Creating library symlink lib/libLLVMIRPrinter.so
[4900/8940] Linking CXX shared library lib/libMLIRQueryMatcher.so.24.0git
[4901/8940] Linking CXX shared library lib/libMLIRArithCommonConversion.so.24.0git
[4902/8940] Building CXX object tools/mlir/lib/Target/SPIRV/Deserialization/CMakeFiles/obj.MLIRSPIRVDeserialization.dir/Deserializer.cpp.o
[4903/8940] Building CXX object tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRImport.dir/TypeFromLLVM.cpp.o
[4904/8940] Building CXX object tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRImport.dir/LLVMImportInterface.cpp.o
[4905/8940] Linking CXX shared library lib/libLLVMTarget.so.24.0git
[4906/8940] Linking CXX shared library lib/libMLIRControlFlowDialect.so.24.0git
[4907/8940] Building CXX object tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRExport.dir/LoopAnnotationTranslation.cpp.o
[4908/8940] Linking CXX shared library lib/libMLIRSPIRVBinaryUtils.so.24.0git
[4909/8940] Linking CXX shared library lib/libLLVMBitWriter.so.24.0git
[4910/8940] Building CXX object tools/mlir/lib/Target/LLVMIR/Dialect/ArmNeon/CMakeFiles/obj.MLIRArmNeonToLLVMIRTranslation.dir/ArmNeonToLLVMIRTranslation.cpp.o
[4911/8940] Linking CXX shared library lib/libLLVMSandboxIR.so.24.0git
[4912/8940] Linking CXX shared library lib/libMLIRTargetIRDLToCpp.so.24.0git
[4913/8940] Linking CXX shared library lib/libMLIRRewritePDL.so.24.0git
[4914/8940] Linking CXX shared library lib/libMLIRComplexDialect.so.24.0git
[4915/8940] Linking CXX shared library lib/libMLIRShardDialect.so.24.0git
[4916/8940] Linking CXX shared library lib/libMLIRMathDialect.so.24.0git
[4917/8940] Linking CXX shared library lib/libLLVMTransformUtils.so.24.0git
[4918/8940] Linking CXX shared library lib/libMLIRLLVMDialect.so.24.0git
[4919/8940] Building AMDGPUGenCallingConv.inc...
[4920/8940] Building AMDGPUGenAsmWriter.inc...
[4921/8940] Building AMDGPUGenRegisterBank.inc...
[4922/8940] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
[4923/8940] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[4924/8940] Building AMDGPUGenRegisterInfo.inc...
[4925/8940] Building AMDGPUGenAsmMatcher.inc...
[4926/8940] Building AMDGPUGenInstrInfo.inc...
[4927/8940] Building AMDGPUGenDAGISel.inc...
Step 7 (build cmake config) failure: build cmake config (failure)
...
[4886/8940] Building CXX object tools/mlir/lib/Target/Cpp/CMakeFiles/obj.MLIRTargetCpp.dir/TranslateRegistration.cpp.o
[4887/8940] Building CXX object tools/mlir/lib/Target/Cpp/CMakeFiles/obj.MLIRTargetCpp.dir/TranslateToCpp.cpp.o
[4888/8940] Building CXX object tools/mlir/lib/Target/IRDLToCpp/CMakeFiles/obj.MLIRTargetIRDLToCpp.dir/IRDLToCpp.cpp.o
[4889/8940] Building CXX object tools/mlir/lib/Target/SPIRV/CMakeFiles/obj.MLIRSPIRVBinaryUtils.dir/SPIRVBinaryUtils.cpp.o
[4890/8940] Building CXX object tools/mlir/lib/Target/SPIRV/Deserialization/CMakeFiles/obj.MLIRSPIRVDeserialization.dir/Deserialization.cpp.o
[4891/8940] Building CXX object tools/mlir/lib/Target/IRDLToCpp/CMakeFiles/obj.MLIRTargetIRDLToCpp.dir/TranslationRegistration.cpp.o
[4892/8940] Linking CXX shared library lib/libLLVMFrontendAtomic.so.24.0git
[4893/8940] Linking CXX shared library lib/libLLVMIRPrinter.so.24.0git
[4894/8940] Creating library symlink lib/libLLVMFrontendAtomic.so
[4895/8940] Linking CXX shared library lib/libMLIRValueBoundsOpInterface.so.24.0git
FAILED: lib/libMLIRValueBoundsOpInterface.so.24.0git 
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-unused-but-set-parameter -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-deprecated-copy -O3 -DNDEBUG  -Wl,-z,defs -Wl,-z,nodelete   -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/./lib   -Wl,--gc-sections -shared -Wl,-soname,libMLIRValueBoundsOpInterface.so.24.0git -o lib/libMLIRValueBoundsOpInterface.so.24.0git tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRValueBoundsOpInterface.dir/ValueBoundsOpInterface.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:\$ORIGIN/../lib/x86_64-unknown-linux-gnu:/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib:"  lib/libMLIRAnalysisPresburger.so.24.0git  lib/libMLIRDestinationStyleOpInterface.so.24.0git  lib/libMLIRIR.so.24.0git  lib/libMLIRPresburger.so.24.0git  lib/libMLIRSupport.so.24.0git  lib/libLLVMSupport.so.24.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib && :
/usr/bin/ld: tools/mlir/lib/Interfaces/CMakeFiles/obj.MLIRValueBoundsOpInterface.dir/ValueBoundsOpInterface.cpp.o: in function `mlir::HyperrectangularSlice::HyperrectangularSlice(mlir::OffsetSizeAndStrideOpInterface)':
ValueBoundsOpInterface.cpp:(.text._ZN4mlir21HyperrectangularSliceC2ENS_30OffsetSizeAndStrideOpInterfaceE+0x46): undefined reference to `mlir::OffsetSizeAndStrideOpInterface::getMixedStrides()'
/usr/bin/ld: ValueBoundsOpInterface.cpp:(.text._ZN4mlir21HyperrectangularSliceC2ENS_30OffsetSizeAndStrideOpInterfaceE+0x67): undefined reference to `mlir::OffsetSizeAndStrideOpInterface::getMixedSizes()'
/usr/bin/ld: ValueBoundsOpInterface.cpp:(.text._ZN4mlir21HyperrectangularSliceC2ENS_30OffsetSizeAndStrideOpInterfaceE+0x7e): undefined reference to `mlir::OffsetSizeAndStrideOpInterface::getMixedOffsets()'
collect2: error: ld returned 1 exit status
[4896/8940] Building CXX object tools/mlir/lib/Target/SPIRV/CMakeFiles/obj.MLIRSPIRVTarget.dir/Target.cpp.o
[4897/8940] Linking CXX shared library lib/libMLIROpenACCMPCommon.so.24.0git
[4898/8940] Building CXX object tools/mlir/lib/Target/SPIRV/CMakeFiles/obj.MLIRSPIRVTranslateRegistration.dir/TranslateRegistration.cpp.o
[4899/8940] Creating library symlink lib/libLLVMIRPrinter.so
[4900/8940] Linking CXX shared library lib/libMLIRQueryMatcher.so.24.0git
[4901/8940] Linking CXX shared library lib/libMLIRArithCommonConversion.so.24.0git
[4902/8940] Building CXX object tools/mlir/lib/Target/SPIRV/Deserialization/CMakeFiles/obj.MLIRSPIRVDeserialization.dir/Deserializer.cpp.o
[4903/8940] Building CXX object tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRImport.dir/TypeFromLLVM.cpp.o
[4904/8940] Building CXX object tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRImport.dir/LLVMImportInterface.cpp.o
[4905/8940] Linking CXX shared library lib/libLLVMTarget.so.24.0git
[4906/8940] Linking CXX shared library lib/libMLIRControlFlowDialect.so.24.0git
[4907/8940] Building CXX object tools/mlir/lib/Target/LLVMIR/CMakeFiles/obj.MLIRTargetLLVMIRExport.dir/LoopAnnotationTranslation.cpp.o
[4908/8940] Linking CXX shared library lib/libMLIRSPIRVBinaryUtils.so.24.0git
[4909/8940] Linking CXX shared library lib/libLLVMBitWriter.so.24.0git
[4910/8940] Building CXX object tools/mlir/lib/Target/LLVMIR/Dialect/ArmNeon/CMakeFiles/obj.MLIRArmNeonToLLVMIRTranslation.dir/ArmNeonToLLVMIRTranslation.cpp.o
[4911/8940] Linking CXX shared library lib/libLLVMSandboxIR.so.24.0git
[4912/8940] Linking CXX shared library lib/libMLIRTargetIRDLToCpp.so.24.0git
[4913/8940] Linking CXX shared library lib/libMLIRRewritePDL.so.24.0git
[4914/8940] Linking CXX shared library lib/libMLIRComplexDialect.so.24.0git
[4915/8940] Linking CXX shared library lib/libMLIRShardDialect.so.24.0git
[4916/8940] Linking CXX shared library lib/libMLIRMathDialect.so.24.0git
[4917/8940] Linking CXX shared library lib/libLLVMTransformUtils.so.24.0git
[4918/8940] Linking CXX shared library lib/libMLIRLLVMDialect.so.24.0git
[4919/8940] Building AMDGPUGenCallingConv.inc...
[4920/8940] Building AMDGPUGenAsmWriter.inc...
[4921/8940] Building AMDGPUGenRegisterBank.inc...
[4922/8940] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
[4923/8940] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
[4924/8940] Building AMDGPUGenRegisterInfo.inc...
[4925/8940] Building AMDGPUGenAsmMatcher.inc...
[4926/8940] Building AMDGPUGenInstrInfo.inc...
[4927/8940] Building AMDGPUGenDAGISel.inc...

```

</details>

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


More information about the Mlir-commits mailing list