[Mlir-commits] [mlir] [MLIR] Make `resolveCallable` customizable in `CallOpInterface` (PR #100361)
LLVM Continuous Integration
llvmlistbot at llvm.org
Tue Sep 10 01:21:18 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-sharedlibs` running on `linaro-flang-aarch64-sharedlibs` while building `mlir` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/80/builds/3318
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
288.761 [4023/12/3348] Building CXX object tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/UnsignedWhenEquivalent.cpp.o
288.786 [4023/11/3349] Building CXX object tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/ReifyValueBounds.cpp.o
288.858 [4023/10/3350] Building CXX object tools/mlir/lib/Dialect/ArmSVE/IR/CMakeFiles/obj.MLIRArmSVEDialect.dir/ArmSVEDialect.cpp.o
288.934 [4023/9/3351] Building CXX object tools/mlir/lib/Dialect/ArmNeon/Transforms/CMakeFiles/obj.MLIRArmNeonTransforms.dir/LowerContractionToSMMLAPattern.cpp.o
289.018 [4023/8/3352] Building CXX object tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/BufferDeallocationOpInterfaceImpl.cpp.o
289.041 [4023/7/3353] Building CXX object tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/EmulateNarrowType.cpp.o
289.121 [4023/6/3354] Building CXX object tools/mlir/lib/Dialect/Arith/Transforms/CMakeFiles/obj.MLIRArithTransforms.dir/IntRangeOptimizations.cpp.o
289.150 [4018/10/3355] Building CXX object tools/mlir/lib/Dialect/ArmSME/Transforms/CMakeFiles/obj.MLIRArmSMETransforms.dir/OuterProductFusion.cpp.o
289.190 [4018/9/3356] Building CXX object tools/mlir/lib/Dialect/ArmSME/Transforms/CMakeFiles/obj.MLIRArmSMETransforms.dir/TileAllocation.cpp.o
289.386 [4018/8/3357] Linking CXX shared library lib/libMLIRAsyncDialect.so.20.0git
FAILED: lib/libMLIRAsyncDialect.so.20.0git
: && /usr/local/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -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 -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libMLIRAsyncDialect.so.20.0git -o lib/libMLIRAsyncDialect.so.20.0git tools/mlir/lib/Dialect/Async/IR/CMakeFiles/obj.MLIRAsyncDialect.dir/Async.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/lib:" lib/libMLIRControlFlowInterfaces.so.20.0git lib/libMLIRFunctionInterfaces.so.20.0git lib/libMLIRDialect.so.20.0git lib/libMLIRInferTypeOpInterface.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-sharedlibs/build/lib && :
/usr/bin/ld: tools/mlir/lib/Dialect/Async/IR/CMakeFiles/obj.MLIRAsyncDialect.dir/Async.cpp.o: in function `mlir::detail::CallOpInterfaceInterfaceTraits::Model<mlir::async::CallOp>::resolveCallableInTable(mlir::detail::CallOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*, mlir::SymbolTableCollection*)':
Async.cpp:(.text._ZN4mlir6detail30CallOpInterfaceInterfaceTraits5ModelINS_5async6CallOpEE22resolveCallableInTableEPKNS1_7ConceptEPNS_9OperationEPNS_21SymbolTableCollectionE[_ZN4mlir6detail30CallOpInterfaceInterfaceTraits5ModelINS_5async6CallOpEE22resolveCallableInTableEPKNS1_7ConceptEPNS_9OperationEPNS_21SymbolTableCollectionE]+0x64): undefined reference to `mlir::call_interface_impl::resolveCallable(mlir::CallOpInterface, mlir::SymbolTableCollection*)'
/usr/bin/ld: tools/mlir/lib/Dialect/Async/IR/CMakeFiles/obj.MLIRAsyncDialect.dir/Async.cpp.o: in function `mlir::detail::CallOpInterfaceInterfaceTraits::Model<mlir::async::CallOp>::resolveCallable(mlir::detail::CallOpInterfaceInterfaceTraits::Concept const*, mlir::Operation*)':
Async.cpp:(.text._ZN4mlir6detail30CallOpInterfaceInterfaceTraits5ModelINS_5async6CallOpEE15resolveCallableEPKNS1_7ConceptEPNS_9OperationE[_ZN4mlir6detail30CallOpInterfaceInterfaceTraits5ModelINS_5async6CallOpEE15resolveCallableEPKNS1_7ConceptEPNS_9OperationE]+0x60): undefined reference to `mlir::call_interface_impl::resolveCallable(mlir::CallOpInterface, mlir::SymbolTableCollection*)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
289.479 [4018/7/3358] Building CXX object tools/mlir/lib/Dialect/Async/Transforms/CMakeFiles/obj.MLIRAsyncTransforms.dir/PassDetail.cpp.o
289.538 [4018/6/3359] Building CXX object tools/mlir/lib/Dialect/ArmSME/IR/CMakeFiles/obj.MLIRArmSMEDialect.dir/Utils.cpp.o
289.571 [4018/5/3360] Building CXX object tools/mlir/lib/Dialect/Async/Transforms/CMakeFiles/obj.MLIRAsyncTransforms.dir/AsyncParallelFor.cpp.o
289.598 [4018/4/3361] Building CXX object tools/mlir/lib/Dialect/ArmSVE/Transforms/CMakeFiles/obj.MLIRArmSVETransforms.dir/LegalizeForLLVMExport.cpp.o
289.658 [4018/3/3362] Building CXX object tools/mlir/lib/Dialect/ArmSME/Transforms/CMakeFiles/obj.MLIRArmSMETransforms.dir/VectorLegalization.cpp.o
289.762 [4018/2/3363] Building CXX object tools/mlir/lib/Dialect/ArmSVE/Transforms/CMakeFiles/obj.MLIRArmSVETransforms.dir/LegalizeVectorStorage.cpp.o
289.916 [4018/1/3364] Building CXX object tools/mlir/lib/Dialect/Async/Transforms/CMakeFiles/obj.MLIRAsyncTransforms.dir/AsyncRuntimeRefCounting.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/100361
More information about the Mlir-commits
mailing list