[flang-commits] [flang] [flang][runtime][NFC] Allow different memmove function in assign (PR #114301)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Fri Nov 1 10:37:47 PDT 2024
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/114301 at github.com>
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-runtime-cuda-gcc` running on `as-builder-7` while building `flang` at step 5 "build-FortranRuntime".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/152/builds/583
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-FortranRuntime) failure: build (failure)
...
0.086 [1/12/53] Building CUDA object CMakeFiles/FortranRuntime.dir/unit.cpp.o
0.090 [1/11/54] Building CUDA object CMakeFiles/FortranRuntime.dir/io-stmt.cpp.o
0.100 [1/10/55] Building CUDA object CMakeFiles/FortranRuntime.dir/io-api.cpp.o
0.125 [1/9/56] Building CUDA object CMakeFiles/FortranRuntime.dir/dot-product.cpp.o
0.150 [1/8/57] Building CUDA object CMakeFiles/FortranRuntime.dir/extrema.cpp.o
0.216 [1/7/58] Building CUDA object CMakeFiles/FortranRuntime.dir/matmul-transpose.cpp.o
0.262 [1/6/59] Building CUDA object CMakeFiles/FortranRuntime.dir/matmul.cpp.o
0.337 [1/5/60] Building CUDA object CMakeFiles/FortranRuntime.dir/findloc.cpp.o
1.980 [1/4/61] Building CXX object CMakeFiles/FortranRuntime.dir/temporary-stack.cpp.o
6.208 [1/3/62] Building CUDA object CMakeFiles/FortranRuntime.dir/allocatable.cpp.o
FAILED: CMakeFiles/FortranRuntime.dir/allocatable.cpp.o
ccache /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/usr/bin/g++ -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -DRT_USE_LIBCUDACXX=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/../include -I/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/build -I/home/buildbot/worker/third-party/nv/cccl/libcudacxx/include -G -g -O3 -DNDEBUG --generate-code=arch=compute_80,code=[compute_80,sm_80] -U_GLIBCXX_ASSERTIONS -U_LIBCPP_ENABLE_ASSERTIONS -std=c++17 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti --expt-relaxed-constexpr -Xcudafe --diag_suppress=20208 -Xcudafe --display_error_number -MD -MT CMakeFiles/FortranRuntime.dir/allocatable.cpp.o -MF CMakeFiles/FortranRuntime.dir/allocatable.cpp.o.d -x cu -dc /home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/allocatable.cpp -o CMakeFiles/FortranRuntime.dir/allocatable.cpp.o
/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/../include/flang/Runtime/assign.h(48): error: return value type does not match the function type
return Fortran::runtime::memmove(dest, src, count);
^
1 error detected in the compilation of "/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/allocatable.cpp".
6.876 [1/2/63] Building CUDA object CMakeFiles/FortranRuntime.dir/array-constructor.cpp.o
FAILED: CMakeFiles/FortranRuntime.dir/array-constructor.cpp.o
ccache /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/usr/bin/g++ -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -DRT_USE_LIBCUDACXX=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/../include -I/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/build -I/home/buildbot/worker/third-party/nv/cccl/libcudacxx/include -G -g -O3 -DNDEBUG --generate-code=arch=compute_80,code=[compute_80,sm_80] -U_GLIBCXX_ASSERTIONS -U_LIBCPP_ENABLE_ASSERTIONS -std=c++17 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti --expt-relaxed-constexpr -Xcudafe --diag_suppress=20208 -Xcudafe --display_error_number -MD -MT CMakeFiles/FortranRuntime.dir/array-constructor.cpp.o -MF CMakeFiles/FortranRuntime.dir/array-constructor.cpp.o.d -x cu -dc /home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/array-constructor.cpp -o CMakeFiles/FortranRuntime.dir/array-constructor.cpp.o
/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/../include/flang/Runtime/assign.h(48): error: return value type does not match the function type
return Fortran::runtime::memmove(dest, src, count);
^
1 error detected in the compilation of "/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/array-constructor.cpp".
7.222 [1/1/64] Building CUDA object CMakeFiles/FortranRuntime.dir/assign.cpp.o
FAILED: CMakeFiles/FortranRuntime.dir/assign.cpp.o
ccache /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/usr/bin/g++ -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -DRT_USE_LIBCUDACXX=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/../include -I/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/build -I/home/buildbot/worker/third-party/nv/cccl/libcudacxx/include -G -g -O3 -DNDEBUG --generate-code=arch=compute_80,code=[compute_80,sm_80] -U_GLIBCXX_ASSERTIONS -U_LIBCPP_ENABLE_ASSERTIONS -std=c++17 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti --expt-relaxed-constexpr -Xcudafe --diag_suppress=20208 -Xcudafe --display_error_number -MD -MT CMakeFiles/FortranRuntime.dir/assign.cpp.o -MF CMakeFiles/FortranRuntime.dir/assign.cpp.o.d -x cu -dc /home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/assign.cpp -o CMakeFiles/FortranRuntime.dir/assign.cpp.o
/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/../include/flang/Runtime/assign.h(48): error: return value type does not match the function type
return Fortran::runtime::memmove(dest, src, count);
^
1 error detected in the compilation of "/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-gcc/llvm-project/flang/runtime/assign.cpp".
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/114301
More information about the flang-commits
mailing list