[flang-commits] [clang] [flang] [llvm] [flang][AIX] Diagnose unsupported OBJECT_MODE setting and -maix32 option (PR #209919)
via flang-commits
flang-commits at lists.llvm.org
Wed Jul 15 16:59:32 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 95049 tests passed
* 1817 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Flang
<details>
<summary>Flang.Driver/m32-option.f90</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -target powerpc-ibm-aix -m32 -### - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/m32-option.f90 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=M32-AIX-ERROR /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/m32-option.f90
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -target powerpc-ibm-aix -m32 '-###' - /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/m32-option.f90
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=M32-AIX-ERROR /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/m32-option.f90
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/m32-option.f90:11:18: error: M32-AIX-ERROR: expected string not found in input
# | ! M32-AIX-ERROR: error: the 32-bit compile mode is not supported. Use OBJECT_MODE=64, -maix64 or -m64
# | ^
# | <stdin>:1:1: note: scanning from here
# | flang version 24.0.0git (https://github.com/llvm/llvm-project 729cef40dac3f4fe23d9a34276a2469c61b8c743)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/m32-option.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: flang version 24.0.0git (https://github.com/llvm/llvm-project 729cef40dac3f4fe23d9a34276a2469c61b8c743)
# | check:11'0 { search range start (exclusive)
# | check:11'1 error: no match found in search range
# | 2: Target: powerpc-ibm-aix
# | 3: Thread model: posix
# | 4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin
# | 5: Build config: +assertions
# | 6: "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang-24" "-fc1" "-triple" "powerpc-ibm-aix" "-emit-obj" "-fno-color-diagnostics" "-mrelocation-model" "pic" "-pic-level" "2" "-target-cpu" "pwr7" "-target-feature" "+modern-aix-as" "-fdata-sections" "-resource-dir" "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24" "-mframe-pointer=all" "-o" "/tmp/lit-tmp-oux9o8qr/--717edf.o" "-x" "f95" "-"
# | 7: "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang-24" "-fc1" "-triple" "powerpc-ibm-aix" "-emit-obj" "-fno-color-diagnostics" "-mrelocation-model" "pic" "-pic-level" "2" "-target-cpu" "pwr7" "-target-feature" "+modern-aix-as" "-fdata-sections" "-resource-dir" "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24" "-mframe-pointer=all" "-o" "/tmp/lit-tmp-oux9o8qr/m32-option-9c4c9a.o" "-x" "f95" "/home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/m32-option.f90"
# | 8: "/usr/bin/ld" "-bdbg:namedsects:ss" "-o" "a.out" "-b32" "-bpT:0x10000000" "-bpD:0x20000000" "crt0.o" "crti.o" "-bcdtors:mbr:0:s" "/tmp/lit-tmp-oux9o8qr/--717edf.o" "/tmp/lit-tmp-oux9o8qr/m32-option-9c4c9a.o" "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/lib/powerpc-ibm-aix/libclang_rt.builtins.a" "-lunwind" "-lc" "-L/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib" "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/lib/powerpc-ibm-aix/libflang_rt.runtime.a" "-lm" "-lpthread"
# | check:11'2 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/209919
More information about the flang-commits
mailing list