[flang-commits] [flang] [llvm] [mlir] [flang][OpenMP] Implicitly map allocatable record fields (PR #117867)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Tue Dec 17 20:46:19 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-libcxx` running on `linaro-flang-aarch64-libcxx` while building `flang,mlir,offload` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/89/builds/12915
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
146.555 [157/13/7130] Linking CXX shared library lib/libFIRCodeGen.so.20.0git
146.559 [156/13/7131] Creating library symlink lib/libFIRCodeGen.so
146.892 [155/13/7132] Linking CXX shared library lib/libFIRTransforms.so.20.0git
146.897 [154/13/7133] Creating library symlink lib/libFIRTransforms.so
147.155 [153/13/7134] Linking CXX shared library lib/libFIRTestAnalysis.so.20.0git
147.161 [152/13/7135] Creating library symlink lib/libFIRTestAnalysis.so
147.188 [152/12/7136] Linking CXX executable bin/mlir-transform-opt
149.135 [152/11/7137] Building CXX object tools/flang/tools/fir-lsp-server/CMakeFiles/fir-lsp-server.dir/fir-lsp-server.cpp.o
149.845 [151/11/7138] Linking CXX executable bin/fir-lsp-server
165.823 [151/10/7139] Building CXX object tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o
FAILED: tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o
/usr/local/bin/c++ -DFLANG_INCLUDE_TESTS=1 -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/tools/flang/lib/Optimizer/OpenMP -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/flang/lib/Optimizer/OpenMP -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/flang/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/tools/flang/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/../mlir/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/tools/mlir/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/tools/clang/include -isystem /home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/../clang/include -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 -std=c++17 -fPIC -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o -MF tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o.d -o tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
In file included from ../llvm-project/flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp:27:
In file included from ../llvm-project/flang/include/flang/Lower/DirectivesCommon.h:22:
In file included from ../llvm-project/flang/include/flang/Evaluate/tools.h:12:
In file included from ../llvm-project/flang/include/flang/Evaluate/traverse.h:40:
In file included from ../llvm-project/flang/include/flang/Evaluate/expression.h:19:
In file included from ../llvm-project/flang/include/flang/Evaluate/common.h:21:
In file included from ../llvm-project/flang/include/flang/Parser/message.h:17:
In file included from ../llvm-project/flang/include/flang/Parser/provenance.h:15:
In file included from ../llvm-project/flang/include/flang/Parser/source.h:19:
In file included from ../llvm-project/llvm/include/llvm/Support/MemoryBuffer.h:21:
In file included from ../llvm-project/llvm/include/llvm/Support/CBindingWrapping.h:17:
../llvm-project/llvm/include/llvm/Support/Casting.h:490:69: error: returning reference to local temporary object [-Werror,-Wreturn-stack-address]
490 | static inline CastReturnType castFailed() { return CastReturnType(nullptr); }
| ^~~~~~~
../llvm-project/llvm/include/llvm/Support/Casting.h:740:34: note: in instantiation of member function 'llvm::CastInfo<mlir::ModuleOp, const mlir::ModuleOp>::castFailed' requested here
740 | return CastInfo<X, const Y>::castFailed();
| ^
1 error generated.
175.643 [151/9/7140] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Decomposer.cpp.o
184.412 [151/8/7141] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Utils.cpp.o
197.342 [151/7/7142] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/ClauseProcessor.cpp.o
206.840 [151/6/7143] Building CXX object tools/flang/tools/bbc/CMakeFiles/bbc.dir/bbc.cpp.o
228.755 [151/5/7144] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/DataSharingProcessor.cpp.o
238.043 [151/4/7145] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/OpenMP.cpp.o
241.360 [151/3/7146] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenACC.cpp.o
244.006 [151/2/7147] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/Bridge.cpp.o
353.152 [151/1/7148] 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/117867
More information about the flang-commits
mailing list