[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 10:55:59 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-libcxx` running on `linaro-flang-aarch64-libcxx` while building `flang` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/89/builds/14353
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
116.155 [152/7/7161] Creating library symlink lib/libHLFIRTransforms.so
116.690 [151/7/7162] Linking CXX shared library lib/libflangPasses.so.20.0git
116.695 [150/7/7163] Creating library symlink lib/libflangPasses.so
123.824 [150/6/7164] Linking CXX shared library lib/libFortranLower.so.20.0git
123.831 [149/6/7165] Creating library symlink lib/libFortranLower.so
125.926 [149/5/7166] Building CXX object tools/flang/tools/fir-opt/CMakeFiles/fir-opt.dir/fir-opt.cpp.o
145.075 [149/4/7167] Building CXX object tools/flang/lib/Optimizer/OpenACC/CMakeFiles/FIROpenACCSupport.dir/FIROpenACCTypeInterfaces.cpp.o
145.211 [148/4/7168] Linking CXX shared library lib/libFIROpenACCSupport.so.20.0git
145.217 [147/4/7169] Creating library symlink lib/libFIROpenACCSupport.so
145.348 [145/5/7170] Linking CXX shared library lib/libFIRTestOpenACCInterfaces.so.20.0git
FAILED: lib/libFIRTestOpenACCInterfaces.so.20.0git
: && /usr/local/bin/c++ -fPIC -stdlib=libc++ -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 -Werror -Wno-deprecated-copy -Wno-string-conversion -Wno-ctad-maybe-unsupported -Wno-unused-command-line-argument -Wstring-conversion -Wcovered-switch-default -Wno-nested-anon-types -O3 -DNDEBUG -stdlib=libc++ -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-libcxx/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-libcxx/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-libcxx/build/lib && :
/usr/bin/ld: tools/flang/test/lib/OpenACC/CMakeFiles/FIRTestOpenACCInterfaces.dir/TestOpenACCInterfaces.cpp.o: in function `fir::test::registerTestFIROpenACCInterfacesPass()':
TestOpenACCInterfaces.cpp:(.text._ZN3fir4test36registerTestFIROpenACCInterfacesPassEv+0x28): undefined reference to `mlir::registerPass(std::__1::function<std::__1::unique_ptr<mlir::Pass, std::__1::default_delete<mlir::Pass> > ()> const&)'
/usr/bin/ld: tools/flang/test/lib/OpenACC/CMakeFiles/FIRTestOpenACCInterfaces.dir/TestOpenACCInterfaces.cpp.o: in function `mlir::Pass::~Pass()':
TestOpenACCInterfaces.cpp:(.text._ZN4mlir4PassD2Ev[_ZN4mlir4PassD2Ev]+0x10): undefined reference to `vtable for mlir::Pass'
/usr/bin/ld: TestOpenACCInterfaces.cpp:(.text._ZN4mlir4PassD2Ev[_ZN4mlir4PassD2Ev]+0x18): undefined reference to `vtable for mlir::Pass'
/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()'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
146.029 [145/4/7171] Linking CXX executable bin/fir-lsp-server
174.000 [145/3/7172] Building CXX object tools/flang/tools/bbc/CMakeFiles/bbc.dir/bbc.cpp.o
216.593 [145/2/7173] Building CXX object tools/flang/tools/tco/CMakeFiles/tco.dir/tco.cpp.o
273.985 [145/1/7174] 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