[flang-commits] [flang] [flang] Change c_intmax_t to 64 bit to correspond to intmax_t in C (PR #137208)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Fri Apr 25 07:31:24 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-arm64-windows-msvc` running on `linaro-armv8-windows-msvc-01` while building `flang` at step 7 "test-build-unified-tree-check-flang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/207/builds/558
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-unified-tree-check-flang) failure: test (failure)
******************** TEST 'Flang :: Lower/OpenMP/omp-lib-num-threads.f90' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\flang.exe -fc1 -emit-hlfir -fopenmp -J C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/runtimes/runtimes-bins/openmp/runtime/src C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\test\Lower\OpenMP\omp-lib-num-threads.f90 -o - 2>&1 | c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\filecheck.exe C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\test\Lower\OpenMP\omp-lib-num-threads.f90
# executed command: 'c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\flang.exe' -fc1 -emit-hlfir -fopenmp -J C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/runtimes/runtimes-bins/openmp/runtime/src 'C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\test\Lower\OpenMP\omp-lib-num-threads.f90' -o -
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: 'c:\users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin\filecheck.exe' 'C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\test\Lower\OpenMP\omp-lib-num-threads.f90'
# .---command stderr------------
# | C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\test\Lower\OpenMP\omp-lib-num-threads.f90:24:9: error: CHECK: expected string not found in input
# | !CHECK: fir.call @omp_set_num_threads
# | ^
# | <stdin>:1:1: note: scanning from here
# | error: Semantic errors in C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\test\Lower\OpenMP\omp-lib-num-threads.f90
# | ^
# | <stdin>:1:105: note: possible intended match here
# | error: Semantic errors in C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\test\Lower\OpenMP\omp-lib-num-threads.f90
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\test\Lower\OpenMP\omp-lib-num-threads.f90
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: error: Semantic errors in C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\flang\test\Lower\OpenMP\omp-lib-num-threads.f90
# | check:24'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:24'1 ? possible intended match
# | 2: C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/runtimes/runtimes-bins/openmp/runtime/src\omp_lib.mod:513:16: error: Cannot use module file for module 'iso_c_binding': File is not the right module file for 'iso_c_binding': C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\bin/../include/flang/iso_c_binding.mod
# | check:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: use,intrinsic::iso_c_binding,only:c_ptr
# | check:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: ^^^^^^^^^^^^^
# | check:24'0 ~~~~~~~~~~~~~~~
# | 5: C:/Users/tcwg/llvm-worker/flang-arm64-windows-msvc/build/runtimes/runtimes-bins/openmp/runtime/src\omp_lib.mod:516:6: error: Derived type 'c_ptr' not found
# | check:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: type(c_ptr)::omp_target_alloc
# | check:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
...
```
</details>
https://github.com/llvm/llvm-project/pull/137208
More information about the flang-commits
mailing list