[Mlir-commits] [flang] [mlir] [MLIR][LLVM] Make DISubprogramAttr cyclic (PR #106571)

LLVM Continuous Integration llvmlistbot at llvm.org
Fri Aug 30 22:38:37 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-nvidia` running on `mlir-nvidia` while building `flang,mlir` at step 5 "build-check-mlir-build-only".

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

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

```
Step 5 (build-check-mlir-build-only) failure: build (failure)
...
298.984 [50/16/4885] Linking C executable bin/mlir-capi-sparse-tensor-test
298.991 [49/16/4886] Creating library symlink lib/libMLIRDLTITestPasses.so
299.014 [48/16/4887] Linking C executable bin/mlir-capi-transform-interpreter-test
299.034 [47/16/4888] Creating library symlink lib/libMLIRTestPass.so
299.035 [46/16/4889] Linking C executable bin/mlir-capi-execution-engine-test
299.038 [45/16/4890] Linking CXX shared library lib/libMLIRFuncTestPasses.so.20.0git
299.046 [44/16/4891] Creating library symlink lib/libMLIRFuncTestPasses.so
299.079 [43/16/4892] Linking CXX shared library lib/libMLIRMemRefTestPasses.so.20.0git
299.108 [42/16/4893] Creating library symlink lib/libMLIRMemRefTestPasses.so
299.120 [41/16/4894] Linking C executable bin/mlir-capi-llvm-test
FAILED: bin/mlir-capi-llvm-test 
: && /usr/bin/clang -fPIC -fno-semantic-interposition -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 -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Werror=implicit-function-declaration -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -fuse-ld=lld -Wl,--color-diagnostics     -Wl,--gc-sections tools/mlir/test/CAPI/CMakeFiles/mlir-capi-llvm-test.dir/llvm.c.o -o bin/mlir-capi-llvm-test  -Wl,-rpath,"\$ORIGIN/../lib:/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib"  lib/libMLIRCAPILLVM.so.20.0git  lib/libMLIRCAPIRegisterEverything.so.20.0git  lib/libMLIRCAPIIR.so.20.0git  lib/libMLIRBytecodeWriter.so.20.0git  lib/libMLIRBytecodeOpInterface.so.20.0git  lib/libMLIRAffineTransformOps.so.20.0git  lib/libMLIRAMDGPUTransforms.so.20.0git  lib/libMLIRArithValueBoundsOpInterfaceImpl.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/libMLIRMPIDialect.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/libMLIRSCFTransformOps.so.20.0git  lib/libMLIRShapeOpsTransforms.so.20.0git  lib/libMLIRSparseTensorPipelines.so.20.0git  lib/libMLIRSparseTensorTransformOps.so.20.0git  lib/libMLIRLinalgTransformOps.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/libMLIRIRDL.so.20.0git  lib/libMLIRTransformLoopExtension.so.20.0git  lib/libMLIRTransformPDLExtension.so.20.0git  lib/libMLIRTransformDialectTransforms.so.20.0git  lib/libMLIRVectorTransformOps.so.20.0git  lib/libMLIRTransformDialect.so.20.0git  lib/libMLIRTransformDialectInterfaces.so.20.0git  lib/libMLIRTransformDialectUtils.so.20.0git  lib/libMLIRXeGPUTransforms.so.20.0git  lib/libMLIRXeGPUDialect.so.20.0git  lib/libMLIRTargetCpp.so.20.0git  lib/libMLIRSPIRVTranslateRegistration.so.20.0git  lib/libMLIRSPIRVDeserialization.so.20.0git  lib/libMLIRToLLVMIRTranslationRegistration.so.20.0git  lib/libMLIRArmNeonToLLVMIRTranslation.so.20.0git  lib/libMLIRArmSMEToLLVMIRTranslation.so.20.0git  lib/libMLIRArmSVEToLLVMIRTranslation.so.20.0git  lib/libMLIRAMXToLLVMIRTranslation.so.20.0git  lib/libMLIRBuiltinToLLVMIRTranslation.so.20.0git  lib/libMLIRGPUToLLVMIRTranslation.so.20.0git  lib/libMLIRLLVMToLLVMIRTranslation.so.20.0git  lib/libMLIROpenACCToLLVMIRTranslation.so.20.0git  lib/libMLIROpenMPToLLVMIRTranslation.so.20.0git  lib/libMLIRSPIRVToLLVMIRTranslation.so.20.0git  lib/libMLIRVCIXToLLVMIRTranslation.so.20.0git  lib/libMLIRVCIXDialect.so.20.0git  lib/libMLIRX86VectorToLLVMIRTranslation.so.20.0git  lib/libMLIRFromLLVMIRTranslationRegistration.so.20.0git  lib/libMLIRLLVMIRToLLVMTranslation.so.20.0git  lib/libMLIRLLVMIRToNVVMTranslation.so.20.0git  lib/libMLIRTargetLLVMIRImport.so.20.0git  lib/libMLIRArithToAMDGPU.so.20.0git  lib/libMLIRArithToArmSME.so.20.0git  lib/libMLIRArithToEmitC.so.20.0git  lib/libMLIREmitCTransforms.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/libMLIRSPIRVTransforms.so.20.0git  lib/libMLIRFuncToEmitC.so.20.0git  lib/libMLIRGPUToLLVMSPV.so.20.0git  lib/libMLIRGPUToNVVMTransforms.so.20.0git  lib/libMLIRGPUToROCDLTransforms.so.20.0git  lib/libMLIRAMDGPUToROCDL.so.20.0git  lib/libMLIRAMDGPUUtils.so.20.0git  lib/libMLIRAMDGPUDialect.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/libMLIRNVGPUToNVVM.so.20.0git  lib/libMLIRGPUToGPURuntimeTransforms.so.20.0git  lib/libMLIRAsyncToLLVM.so.20.0git  lib/libMLIRConvertToLLVMPass.so.20.0git  lib/libMLIRConvertToLLVMInterface.so.20.0git  lib/libMLIRNVVMToLLVM.so.20.0git  lib/libMLIROpenACCToSCF.so.20.0git  lib/libMLIROpenACCDialect.so.20.0git  lib/libMLIROpenMPToLLVM.so.20.0git  lib/libMLIRReconcileUnrealizedCasts.so.20.0git  lib/libMLIRSCFToControlFlow.so.20.0git  lib/libMLIRSCFToEmitC.so.20.0git  lib/libMLIREmitCDialect.so.20.0git  lib/libMLIRSCFToGPU.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/libMLIRNVVMToLLVMIRTranslation.so.20.0git  lib/libLLVMNVPTXCodeGen.so.20.0git  lib/libLLVMNVPTXDesc.so.20.0git  lib/libLLVMNVPTXInfo.so.20.0git  lib/libMLIRROCDLTarget.so.20.0git  lib/libMLIRROCDLToLLVMIRTranslation.so.20.0git  lib/libMLIRROCDLDialect.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/libMLIRSCFToOpenMP.so.20.0git  lib/libMLIROpenMPDialect.so.20.0git  lib/libMLIROpenACCMPCommon.so.20.0git  lib/libMLIRSCFToSPIRV.so.20.0git  lib/libMLIRIndexToSPIRV.so.20.0git  lib/libMLIRMemRefToSPIRV.so.20.0git  lib/libMLIRShapeToStandard.so.20.0git  lib/libMLIRShapeDialect.so.20.0git  lib/libMLIRSPIRVToLLVM.so.20.0git  lib/libMLIRSPIRVUtils.so.20.0git  lib/libMLIRFuncToLLVM.so.20.0git  lib/libMLIRArithToLLVM.so.20.0git  lib/libMLIRControlFlowToLLVM.so.20.0git  lib/libMLIRMemRefToLLVM.so.20.0git  lib/libMLIRSPIRVAttrToLLVMConversion.so.20.0git  lib/libMLIRTensorToLinalg.so.20.0git  lib/libMLIRLinalgTransforms.so.20.0git  lib/libMLIRMemRefTransforms.so.20.0git  lib/libMLIRArithTransforms.so.20.0git  lib/libMLIRMeshTransforms.so.20.0git  lib/libMLIRTosaShardingInterfaceImpl.so.20.0git  lib/libMLIRTensorTilingInterfaceImpl.so.20.0git  lib/libMLIRTensorToSPIRV.so.20.0git  lib/libMLIRArithToSPIRV.so.20.0git  lib/libMLIRFuncToSPIRV.so.20.0git  lib/libMLIRTosaToArith.so.20.0git  lib/libMLIRTosaToLinalg.so.20.0git  lib/libMLIRLinalgUtils.so.20.0git  lib/libMLIRTosaToMLProgram.so.20.0git  lib/libMLIRMLProgramDialect.so.20.0git  lib/libMLIRTosaToSCF.so.20.0git  lib/libMLIRTosaToTensor.so.20.0git  lib/libMLIRTosaTransforms.so.20.0git  lib/libMLIRTosaDialect.so.20.0git  lib/libMLIRQuantUtils.so.20.0git  lib/libMLIRQuantDialect.so.20.0git  lib/libMLIRUBToLLVM.so.20.0git  lib/libMLIRUBToSPIRV.so.20.0git  lib/libMLIRVectorToGPU.so.20.0git  lib/libMLIRNVGPUUtils.so.20.0git  lib/libMLIRNVGPUDialect.so.20.0git  lib/libMLIRVectorToLLVMPass.so.20.0git  lib/libMLIRAMXTransforms.so.20.0git  lib/libMLIRAMXDialect.so.20.0git  lib/libMLIRArmNeonTransforms.so.20.0git  lib/libMLIRArmNeonDialect.so.20.0git  lib/libMLIRArmSMETransforms.so.20.0git  lib/libMLIRFuncTransforms.so.20.0git  lib/libMLIRIndexDialect.so.20.0git  lib/libMLIRSCFTransforms.so.20.0git  lib/libMLIRTensorTransforms.so.20.0git  lib/libMLIRAffineTransforms.so.20.0git  lib/libMLIRSCFUtils.so.20.0git  lib/libMLIRTensorUtils.so.20.0git  lib/libMLIRArmSVETransforms.so.20.0git  lib/libMLIRX86VectorTransforms.so.20.0git  lib/libMLIRX86VectorDialect.so.20.0git  lib/libMLIRVectorToArmSME.so.20.0git  lib/libMLIRArmSMEDialect.so.20.0git  lib/libMLIRArmSVEDialect.so.20.0git  lib/libMLIRVectorToLLVM.so.20.0git  lib/libMLIRTargetLLVMIRExport.so.20.0git  lib/libMLIRLLVMIRTransforms.so.20.0git  lib/libMLIRNVVMDialect.so.20.0git  lib/libMLIRTranslateLib.so.20.0git  lib/libLLVMFrontendOpenMP.so.20.0git  lib/libLLVMFrontendOffloading.so.20.0git  lib/libLLVMTransformUtils.so.20.0git  lib/libMLIRArithAttrToLLVMConversion.so.20.0git  lib/libMLIRLLVMCommonConversion.so.20.0git  lib/libMLIRLLVMDialect.so.20.0git  lib/libLLVMBitWriter.so.20.0git  lib/libLLVMMCParser.so.20.0git  lib/libLLVMIRReader.so.20.0git  lib/libLLVMAsmParser.so.20.0git  lib/libLLVMBitReader.so.20.0git  lib/libLLVMMC.so.20.0git  lib/libLLVMCore.so.20.0git  lib/libLLVMBinaryFormat.so.20.0git  lib/libLLVMTargetParser.so.20.0git  lib/libMLIRVectorToSCF.so.20.0git  lib/libMLIRVectorToSPIRV.so.20.0git  lib/libMLIRSPIRVConversion.so.20.0git  lib/libMLIRSPIRVDialect.so.20.0git  lib/libMLIRVectorTransforms.so.20.0git  lib/libMLIRAffineUtils.so.20.0git  lib/libMLIRBufferizationTransforms.so.20.0git  lib/libMLIRGPUDialect.so.20.0git  lib/libMLIRDLTIDialect.so.20.0git  lib/libMLIRLinalgDialect.so.20.0git  lib/libMLIRParser.so.20.0git  lib/libMLIRBytecodeReader.so.20.0git  lib/libMLIRAsmParser.so.20.0git  lib/libMLIRBufferizationDialect.so.20.0git  lib/libMLIRMathDialect.so.20.0git  lib/libMLIRSparseTensorDialect.so.20.0git  lib/libMLIRTilingInterface.so.20.0git  lib/libMLIRMemRefUtils.so.20.0git  lib/libMLIRVectorUtils.so.20.0git  lib/libMLIRAffineAnalysis.so.20.0git  lib/libMLIRSCFDialect.so.20.0git  lib/libMLIRVectorDialect.so.20.0git  lib/libMLIRVectorInterfaces.so.20.0git  lib/libMLIRMaskableOpInterface.so.20.0git  lib/libMLIRMaskingOpInterface.so.20.0git  lib/libMLIRFuncAllExtensions.so.20.0git  lib/libMLIRFuncInlinerExtension.so.20.0git  lib/libMLIRControlFlowDialect.so.20.0git  lib/libMLIRFuncMeshShardingExtensions.so.20.0git  lib/libMLIRFuncDialect.so.20.0git  lib/libMLIRTensorAllExtensions.so.20.0git  lib/libMLIRTensorMeshShardingExtensions.so.20.0git  lib/libMLIRShardingInterface.so.20.0git  lib/libMLIRMeshDialect.so.20.0git  lib/libMLIRTensorDialect.so.20.0git  lib/libMLIRAffineDialect.so.20.0git  lib/libMLIRMemRefDialect.so.20.0git  lib/libMLIRArithUtils.so.20.0git  lib/libMLIRComplexDialect.so.20.0git  lib/libMLIRArithDialect.so.20.0git  lib/libMLIRUBDialect.so.20.0git  lib/libMLIRInferIntRangeCommon.so.20.0git  lib/libMLIRDialect.so.20.0git  lib/libMLIRShapedOpInterfaces.so.20.0git  lib/libMLIRCastInterfaces.so.20.0git  lib/libMLIRParallelCombiningOpInterface.so.20.0git  lib/libMLIRDialectUtils.so.20.0git  lib/libMLIRCAPITransforms.so.20.0git  lib/libMLIRTransforms.so.20.0git  lib/libMLIRMemorySlotInterfaces.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/libMLIRPresburger.so.20.0git  lib/libMLIRLoopLikeInterface.so.20.0git  lib/libMLIRViewLikeInterface.so.20.0git  lib/libMLIRInferIntRangeInterface.so.20.0git  lib/libMLIRPDLInterpDialect.so.20.0git  lib/libMLIRPDLDialect.so.20.0git  lib/libMLIRFunctionInterfaces.so.20.0git  lib/libMLIRInferTypeOpInterface.so.20.0git  lib/libMLIRSideEffectInterfaces.so.20.0git  lib/libMLIRCopyOpInterface.so.20.0git  lib/libMLIRRuntimeVerifiableOpInterface.so.20.0git  lib/libMLIRIR.so.20.0git  lib/libMLIRSupport.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: mlirLLVMDISubprogramAttrGetRecSelf
>>> referenced by llvm.c
>>>               tools/mlir/test/CAPI/CMakeFiles/mlir-capi-llvm-test.dir/llvm.c.o:(main)

ld.lld: error: undefined symbol: mlirLLVMDICompositeTypeAttrGetRecSelf
>>> referenced by llvm.c
>>>               tools/mlir/test/CAPI/CMakeFiles/mlir-capi-llvm-test.dir/llvm.c.o:(main)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
299.135 [41/15/4895] Linking CXX shared library lib/libMLIRTestFromLLVMIRTranslation.so.20.0git
299.157 [41/14/4896] Linking CXX shared library lib/libMLIRTestToLLVMIRTranslation.so.20.0git
299.183 [41/13/4897] Linking CXX shared library lib/libMLIRTestIR.so.20.0git
299.192 [41/12/4898] Linking CXX shared library lib/libMLIRTestPDLL.so.20.0git
299.202 [41/11/4899] Linking CXX shared library lib/libMLIRTestTransforms.so.20.0git
299.276 [41/10/4900] Linking CXX executable bin/mlir-query
299.327 [41/9/4901] Linking CXX executable bin/mlir-vulkan-runner
302.026 [41/8/4902] Building CXX object tools/mlir/examples/transform/Ch2/CMakeFiles/transform-opt-ch2.dir/transform-opt/transform-opt.cpp.o
302.063 [41/7/4903] Building CXX object tools/mlir/tools/mlir-reduce/CMakeFiles/mlir-reduce.dir/mlir-reduce.cpp.o
302.527 [41/6/4904] Building CXX object tools/mlir/examples/toy/Ch5/CMakeFiles/toyc-ch5.dir/toyc.cpp.o
304.001 [41/5/4905] Building CXX object tools/mlir/examples/transform/Ch4/CMakeFiles/transform-opt-ch4.dir/transform-opt/transform-opt.cpp.o
307.034 [41/4/4906] Building CXX object tools/mlir/examples/toy/Ch6/CMakeFiles/toyc-ch6.dir/toyc.cpp.o
310.306 [41/3/4907] Building CXX object tools/mlir/examples/transform/Ch3/CMakeFiles/transform-opt-ch3.dir/transform-opt/transform-opt.cpp.o
310.679 [41/2/4908] Building CXX object tools/mlir/examples/toy/Ch7/CMakeFiles/toyc-ch7.dir/toyc.cpp.o
311.935 [41/1/4909] Building CXX object tools/mlir/examples/transform-opt/CMakeFiles/mlir-transform-opt.dir/mlir-transform-opt.cpp.o
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the Mlir-commits mailing list