[flang-commits] [flang] [flang][acc] Implement MappableType interfaces for fir.box and fir.array (PR #122495)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Tue Jan 14 12:43:08 PST 2025
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 `flang` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/130/builds/8664
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
339.748 [160/7/7169] Linking CXX shared library lib/libflangPasses.so.20.0git
339.763 [159/7/7170] Creating library symlink lib/libflangPasses.so
339.984 [159/6/7171] Building CXX object tools/flang/tools/fir-opt/CMakeFiles/fir-opt.dir/fir-opt.cpp.o
341.383 [159/5/7172] Building CXX object tools/flang/tools/tco/CMakeFiles/tco.dir/tco.cpp.o
346.283 [159/4/7173] Linking CXX shared library lib/libFortranLower.so.20.0git
346.297 [158/4/7174] Creating library symlink lib/libFortranLower.so
371.177 [158/3/7175] Building CXX object tools/flang/lib/Optimizer/OpenACC/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCTypeInterfaces.cpp.o
371.443 [157/3/7176] Linking CXX shared library lib/libFIROpenACCSupport.so.20.0git
371.452 [156/3/7177] Creating library symlink lib/libFIROpenACCSupport.so
371.658 [153/5/7178] Linking CXX shared library lib/libFIRTestOpenACCInterfaces.so.20.0git
FAILED: lib/libFIRTestOpenACCInterfaces.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 -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-strict-aliasing -fno-semantic-interposition -O3 -DNDEBUG -fno-semantic-interposition -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,libFIRTestOpenACCInterfaces.so.20.0git -o lib/libFIRTestOpenACCInterfaces.so.20.0git tools/flang/test/lib/OpenACC/CMakeFiles/FIRTestOpenACCInterfaces.dir/TestOpenACCInterfaces.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/lib:" lib/libFIROpenACCSupport.so.20.0git lib/libFIRBuilder.so.20.0git lib/libFIRSupport.so.20.0git lib/libFIRDialect.so.20.0git lib/libMLIROpenACCDialect.so.20.0git lib/libMLIROpenACCMPCommon.so.20.0git lib/libMLIRLLVMDialect.so.20.0git lib/libLLVMBitWriter.so.20.0git lib/libLLVMAsmParser.so.20.0git lib/libLLVMBitReader.so.20.0git lib/libLLVMCore.so.20.0git lib/libLLVMBinaryFormat.so.20.0git lib/libMLIRFuncDialect.so.20.0git lib/libMLIRMemRefDialect.so.20.0git lib/libMLIRMemorySlotInterfaces.so.20.0git lib/libMLIRArithUtils.so.20.0git lib/libMLIRComplexDialect.so.20.0git lib/libMLIRArithDialect.so.20.0git lib/libMLIRDialect.so.20.0git lib/libMLIRCastInterfaces.so.20.0git lib/libMLIRInferIntRangeCommon.so.20.0git lib/libMLIRDialectUtils.so.20.0git lib/libMLIRShapedOpInterfaces.so.20.0git lib/libMLIRUBDialect.so.20.0git lib/libMLIRValueBoundsOpInterface.so.20.0git lib/libMLIRDestinationStyleOpInterface.so.20.0git lib/libMLIRAnalysis.so.20.0git lib/libMLIRCallInterfaces.so.20.0git lib/libMLIRControlFlowInterfaces.so.20.0git lib/libMLIRInferTypeOpInterface.so.20.0git lib/libMLIRSideEffectInterfaces.so.20.0git lib/libMLIRDataLayoutInterfaces.so.20.0git lib/libMLIRViewLikeInterface.so.20.0git lib/libMLIRInferIntRangeInterface.so.20.0git lib/libMLIRLoopLikeInterface.so.20.0git lib/libMLIRFunctionInterfaces.so.20.0git lib/libMLIRIR.so.20.0git lib/libMLIRSupport.so.20.0git lib/libMLIRPresburger.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/flang/test/lib/OpenACC/CMakeFiles/FIRTestOpenACCInterfaces.dir/TestOpenACCInterfaces.cpp.o: in function `(anonymous namespace)::TestFIROpenACCInterfaces::~TestFIROpenACCInterfaces()':
TestOpenACCInterfaces.cpp:(.text._ZN12_GLOBAL__N_124TestFIROpenACCInterfacesD2Ev+0x14): undefined reference to `vtable for mlir::Pass'
/usr/bin/ld: TestOpenACCInterfaces.cpp:(.text._ZN12_GLOBAL__N_124TestFIROpenACCInterfacesD2Ev+0x18): undefined reference to `vtable for mlir::Pass'
/usr/bin/ld: tools/flang/test/lib/OpenACC/CMakeFiles/FIRTestOpenACCInterfaces.dir/TestOpenACCInterfaces.cpp.o: in function `(anonymous namespace)::TestFIROpenACCInterfaces::~TestFIROpenACCInterfaces()':
TestOpenACCInterfaces.cpp:(.text._ZN12_GLOBAL__N_124TestFIROpenACCInterfacesD0Ev+0x14): undefined reference to `vtable for mlir::Pass'
/usr/bin/ld: TestOpenACCInterfaces.cpp:(.text._ZN12_GLOBAL__N_124TestFIROpenACCInterfacesD0Ev+0x18): undefined reference to `vtable for mlir::Pass'
/usr/bin/ld: tools/flang/test/lib/OpenACC/CMakeFiles/FIRTestOpenACCInterfaces.dir/TestOpenACCInterfaces.cpp.o: in function `fir::test::registerTestFIROpenACCInterfacesPass()':
TestOpenACCInterfaces.cpp:(.text._ZN3fir4test36registerTestFIROpenACCInterfacesPassEv+0x40): undefined reference to `mlir::registerPass(std::function<std::unique_ptr<mlir::Pass, std::default_delete<mlir::Pass> > ()> const&)'
/usr/bin/ld: tools/flang/test/lib/OpenACC/CMakeFiles/FIRTestOpenACCInterfaces.dir/TestOpenACCInterfaces.cpp.o:(.data.rel.ro._ZTVN12_GLOBAL__N_124TestFIROpenACCInterfacesE+0x40): undefined reference to `mlir::Pass::initializeOptions(llvm::StringRef, llvm::function_ref<llvm::LogicalResult (llvm::Twine const&)>)'
/usr/bin/ld: tools/flang/test/lib/OpenACC/CMakeFiles/FIRTestOpenACCInterfaces.dir/TestOpenACCInterfaces.cpp.o:(.data.rel.ro._ZTVN12_GLOBAL__N_124TestFIROpenACCInterfacesE+0x68): undefined reference to `mlir::Pass::anchor()'
collect2: error: ld returned 1 exit status
372.638 [153/4/7179] Linking CXX executable bin/tco
372.643 [153/3/7180] Linking CXX executable bin/fir-lsp-server
395.716 [153/2/7181] Building CXX object tools/flang/tools/bbc/CMakeFiles/bbc.dir/bbc.cpp.o
475.925 [153/1/7182] Building CXX object tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/FrontendActions.cpp.o
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/122495
More information about the flang-commits
mailing list