[flang-commits] [flang] Revert "[flang][openacc] Skip implicit global declare constructor in managed mode" (PR #206884)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Tue Jun 30 21:52:32 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-clang-flang` running on `rocm-worker-hw-01` while building `flang` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/67/builds/7731
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 3 (annotate) failure: 'python ../llvm.src/offload/ci/openmp-offload-amdgpu-clang-flang.py ...' (failure)
...
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/present/zero_length_array_section.c (984 of 1398)
PASS: libomptarget :: amdgcn-amd-amdhsa :: sanitizer/kernel_crash_async.c (985 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/present/zero_length_array_section_exit.c (986 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/ptr_and_obj_motion.c (987 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: libc/malloc_parallel.c (988 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/private_mapping.c (989 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/reduction_implicit_map.cpp (990 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/target_has_device_addr.c (991 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/target_implicit_partial_map.c (992 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/target_derefence_array_pointrs.cpp (993 of 1398)
FAIL: libomptarget :: amdgcn-amd-amdhsa :: tools/omp-kernel-replay/record-replay-diff-threads.cpp (994 of 1398)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: tools/omp-kernel-replay/record-replay-diff-threads.cpp' FAILED ********************
Exit Code: 125
Command Output (stdout):
--
# RUN: at line 2
/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/clang++ -fopenmp -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/tools/omp-kernel-replay/record-replay-diff-threads.cpp -o /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp -Xoffload-linker -lompdevice
# executed command: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/clang++ -fopenmp -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/tools/omp-kernel-replay/record-replay-diff-threads.cpp -o /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp -Xoffload-linker -lompdevice
# note: command had no output on stdout or stderr
# RUN: at line 3
rm -rf /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir
# executed command: rm -rf /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir
# note: command had no output on stdout or stderr
# RUN: at line 4
mkdir -p /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir
# executed command: mkdir -p /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir
# note: command had no output on stdout or stderr
# RUN: at line 5
env LIBOMPTARGET_RECORD=1 LIBOMPTARGET_RECORD_MEMSIZE=536870912 LIBOMPTARGET_RECORD_DIR=/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir LIBOMPTARGET_RECORD_REPORT_FILENAME=report.txt /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp 2>&1 | /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/tools/omp-kernel-replay/record-replay-diff-threads.cpp
# executed command: env LIBOMPTARGET_RECORD=1 LIBOMPTARGET_RECORD_MEMSIZE=536870912 LIBOMPTARGET_RECORD_DIR=/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir LIBOMPTARGET_RECORD_REPORT_FILENAME=report.txt /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/tools/omp-kernel-replay/record-replay-diff-threads.cpp
# note: command had no output on stdout or stderr
# RUN: at line 6
awk '/\.json/ {print $1}' /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/report.txt | tr -d ',' > /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/json_list.txt
# executed command: awk '/\.json/ {print $1}' /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/report.txt
# note: command had no output on stdout or stderr
# executed command: tr -d ,
# note: command had no output on stdout or stderr
# RUN: at line 7
cat /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/json_list.txt | count 1
# executed command: cat /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/json_list.txt
# note: command had no output on stdout or stderr
# executed command: count 1
# note: command had no output on stdout or stderr
# RUN: at line 8
ls -1 /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/*.json | count 1
# executed command: ls -1 '/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/*.json'
Step 9 (Add check check-offload) failure: Add check check-offload (failure)
...
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/present/zero_length_array_section.c (984 of 1398)
PASS: libomptarget :: amdgcn-amd-amdhsa :: sanitizer/kernel_crash_async.c (985 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/present/zero_length_array_section_exit.c (986 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/ptr_and_obj_motion.c (987 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: libc/malloc_parallel.c (988 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/private_mapping.c (989 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/reduction_implicit_map.cpp (990 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/target_has_device_addr.c (991 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/target_implicit_partial_map.c (992 of 1398)
PASS: libomptarget :: x86_64-unknown-linux-gnu :: mapping/target_derefence_array_pointrs.cpp (993 of 1398)
FAIL: libomptarget :: amdgcn-amd-amdhsa :: tools/omp-kernel-replay/record-replay-diff-threads.cpp (994 of 1398)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: tools/omp-kernel-replay/record-replay-diff-threads.cpp' FAILED ********************
Exit Code: 125
Command Output (stdout):
--
# RUN: at line 2
/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/clang++ -fopenmp -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/tools/omp-kernel-replay/record-replay-diff-threads.cpp -o /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp -Xoffload-linker -lompdevice
# executed command: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/clang++ -fopenmp -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test -I /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -L /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib/x86_64-unknown-linux-gnu -Wl,-rpath,/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/tools/omp-kernel-replay/record-replay-diff-threads.cpp -o /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp -Xoffload-linker -lompdevice
# note: command had no output on stdout or stderr
# RUN: at line 3
rm -rf /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir
# executed command: rm -rf /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir
# note: command had no output on stdout or stderr
# RUN: at line 4
mkdir -p /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir
# executed command: mkdir -p /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir
# note: command had no output on stdout or stderr
# RUN: at line 5
env LIBOMPTARGET_RECORD=1 LIBOMPTARGET_RECORD_MEMSIZE=536870912 LIBOMPTARGET_RECORD_DIR=/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir LIBOMPTARGET_RECORD_REPORT_FILENAME=report.txt /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp 2>&1 | /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/tools/omp-kernel-replay/record-replay-diff-threads.cpp
# executed command: env LIBOMPTARGET_RECORD=1 LIBOMPTARGET_RECORD_MEMSIZE=536870912 LIBOMPTARGET_RECORD_DIR=/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir LIBOMPTARGET_RECORD_REPORT_FILENAME=report.txt /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp
# note: command had no output on stdout or stderr
# executed command: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/./bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/offload/test/tools/omp-kernel-replay/record-replay-diff-threads.cpp
# note: command had no output on stdout or stderr
# RUN: at line 6
awk '/\.json/ {print $1}' /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/report.txt | tr -d ',' > /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/json_list.txt
# executed command: awk '/\.json/ {print $1}' /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/report.txt
# note: command had no output on stdout or stderr
# executed command: tr -d ,
# note: command had no output on stdout or stderr
# RUN: at line 7
cat /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/json_list.txt | count 1
# executed command: cat /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/json_list.txt
# note: command had no output on stdout or stderr
# executed command: count 1
# note: command had no output on stdout or stderr
# RUN: at line 8
ls -1 /home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/*.json | count 1
# executed command: ls -1 '/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/tools/omp-kernel-replay/Output/record-replay-diff-threads.cpp.tmp.testdir/*.json'
```
</details>
https://github.com/llvm/llvm-project/pull/206884
More information about the flang-commits
mailing list