[clang] [flang] [llvm] [flang][AArch64] Always link compiler-rt to flang after libgcc (PR #144710)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 24 07:46:02 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-out-of-tree` running on `linaro-flang-aarch64-out-of-tree` while building `clang,flang,llvm` at step 13 "test-build-flang-rt-unified-tree-check-flang-rt".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/53/builds/17185
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 13 (test-build-flang-rt-unified-tree-check-flang-rt) failure: test (failure)
******************** TEST 'flang-rt :: Driver/ctofortran.f90' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
split-file /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/flang-rt/test/Driver/ctofortran.f90 /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp # RUN: at line 4
+ split-file /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/flang-rt/test/Driver/ctofortran.f90 /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp
/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_llvm/bin/clang -I"/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/flang-rt/../flang/include/flang" -c /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp/cfile.c -o /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp/cfile.o # RUN: at line 5
+ /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_llvm/bin/clang -I/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/llvm-project/flang-rt/../flang/include/flang -c /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp/cfile.c -o /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp/cfile.o
/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang/bin/flang -L"/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/lib" /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp/ffile.f90 /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp/cfile.o -o /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp/ctofortran # RUN: at line 6
+ /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang/bin/flang -L/home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/lib /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp/ffile.f90 /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp/cfile.o -o /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang-rt/flang-rt/test/Driver/Output/ctofortran.f90.tmp/ctofortran
/usr/bin/ld: cannot find /home/tcwg-buildbot/worker/flang-aarch64-out-of-tree/build_flang/lib/clang/21/lib/aarch64-unknown-linux-gnu/libclang_rt.builtins.a: No such file or directory
flang-21: error: linker command failed with exit code 1 (use -v to see invocation)
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/144710
More information about the cfe-commits
mailing list