[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: Windows-->
# :window: Windows x64 Test Results
* 60275 tests passed
* 1634 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 c:\_work\llvm-project\llvm-project\build\bin\flang.exe -target powerpc-ibm-aix -m32 -### - C:\_work\llvm-project\llvm-project\flang\test\Driver\m32-option.f90 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=M32-AIX-ERROR C:\_work\llvm-project\llvm-project\flang\test\Driver\m32-option.f90
# executed command: not 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' -target powerpc-ibm-aix -m32 '-###' - 'C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=M32-AIX-ERROR 'C:\_work\llvm-project\llvm-project\flang\test\Driver\m32-option.f90'
# .---command stderr------------
# | C:\_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: C:\_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: C:\_work\llvm-project\llvm-project\build\bin
# | 5: Build config: +assertions
# | 6: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\flang.exe" "-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" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\24" "-mframe-pointer=all" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-uoznlo_s\\--9c6889.o" "-x" "f95" "-"
# | 7: "C:\\_work\\llvm-project\\llvm-project\\build\\bin\\flang.exe" "-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" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\24" "-mframe-pointer=all" "-o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-uoznlo_s\\m32-option-4c92d7.o" "-x" "f95" "C:\\_work\\llvm-project\\llvm-project\\flang\\test\\Driver\\m32-option.f90"
# | 8: "ld" "-bdbg:namedsects:ss" "-o" "a.out" "-b32" "-bpT:0x10000000" "-bpD:0x20000000" "crt0.o" "crti.o" "-bcdtors:mbr:0:s" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-uoznlo_s\\--9c6889.o" "C:\\Users\\ContainerAdministrator\\AppData\\Local\\Temp\\lit-tmp-uoznlo_s\\m32-option-4c92d7.o" "C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\24\\lib\\powerpc-ibm-aix\\libclang_rt.builtins.a" "-lunwind" "-lc" "-LC:\\_work\\llvm-project\\llvm-project\\build\\lib" "C:\\_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