[clang] [flang] [flang] Implement -mcmodel flag (PR #95411)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 3 11:24:55 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-dylib` running on `linaro-flang-aarch64-dylib` while building `clang,flang` at step 6 "test-build-unified-tree-check-flang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/50/builds/696
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-flang) failure: test (failure)
******************** TEST 'Flang :: Lower/mcmodel.f90' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
RUN: at line 1: /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/flang-new -fc1 -triple aarch64 -emit-llvm -mcmodel=tiny /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -o - | /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/FileCheck /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -check-prefix=CHECK-TINY
+ /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/flang-new -fc1 -triple aarch64 -emit-llvm -mcmodel=tiny /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -o -
+ /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/FileCheck /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -check-prefix=CHECK-TINY
RUN: at line 2: /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/flang-new -fc1 -emit-llvm -mcmodel=small /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -o - | /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/FileCheck /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -check-prefix=CHECK-SMALL
+ /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/flang-new -fc1 -emit-llvm -mcmodel=small /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -o -
+ /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/FileCheck /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -check-prefix=CHECK-SMALL
RUN: at line 3: /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/flang-new -fc1 -triple x86_64-unknown-linux-gnu -emit-llvm -mcmodel=kernel /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -o - | /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/FileCheck /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -check-prefix=CHECK-KERNEL
+ /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/flang-new -fc1 -triple x86_64-unknown-linux-gnu -emit-llvm -mcmodel=kernel /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -o -
+ /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/FileCheck /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -check-prefix=CHECK-KERNEL
error: unable to create target: 'No available targets are compatible with triple "x86_64-unknown-linux-gnu"'
FileCheck error: '<stdin>' is empty.
FileCheck command line: /home/tcwg-buildbot/worker/flang-aarch64-dylib/build/bin/FileCheck /home/tcwg-buildbot/worker/flang-aarch64-dylib/llvm-project/flang/test/Lower/mcmodel.f90 -check-prefix=CHECK-KERNEL
--
********************
```
https://github.com/llvm/llvm-project/pull/95411
More information about the cfe-commits
mailing list