[flang-commits] [clang] [flang] [flang] Implement -mcmodel flag (PR #95411)

LLVM Continuous Integration via flang-commits flang-commits at lists.llvm.org
Wed Jul 3 10:59:10 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `clang,flang` at step 7 "Add check check-flang".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/1368

Here is the relevant piece of the build log for the reference:
```
Step 7 (Add check check-flang) failure: test (failure)
******************** TEST 'Flang :: Lower/mcmodel.f90' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 1: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/flang-new -fc1 -triple aarch64 -emit-llvm -mcmodel=tiny /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/mcmodel.f90 -o - | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/mcmodel.f90 -check-prefix=CHECK-TINY
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/flang-new -fc1 -triple aarch64 -emit-llvm -mcmodel=tiny /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/mcmodel.f90 -o -
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/mcmodel.f90 -check-prefix=CHECK-TINY
error: unable to create target: 'No available targets are compatible with triple "aarch64"'
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/test/Lower/mcmodel.f90 -check-prefix=CHECK-TINY

--

********************


```

https://github.com/llvm/llvm-project/pull/95411


More information about the flang-commits mailing list