[flang-commits] [flang] [semantics][acc] start handling clauses that use sections and components (PR #211606)

LLVM Continuous Integration via flang-commits flang-commits at lists.llvm.org
Fri Aug 21 17:47:28 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `amdgpu-hip-tpl` running on `AMD-bb-w-03` while building `flang` at step 3 "annotate".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 3 (annotate) failure: 'python ../llvm.src/offload/ci/hip-tpl.py ...' (failure)
...
      |       ^~~~~~~~~~~~~~~~
[ 99%/203.352s :: 24->8->8735 (of 8766)] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/Support/Utils.cpp.o
[ 99%/207.686s :: 24->6->8737 (of 8766)] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/PFTBuilder.cpp.o
[ 99%/213.480s :: 24->5->8738 (of 8766)] Building CXX object tools/flang/tools/bbc/CMakeFiles/bbc.dir/bbc.cpp.o
[ 99%/214.843s :: 24->4->8739 (of 8766)] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/DataSharingProcessor.cpp.o
[ 99%/220.874s :: 24->3->8740 (of 8766)] Building CXX object tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/ParserActions.cpp.o
[ 99%/226.817s :: 24->2->8741 (of 8766)] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-omp-atomic.cpp.o
[ 99%/227.822s :: 23->2->8742 (of 8766)] Linking CXX shared library lib/libFortranSemantics.so.24.0git
[ 99%/227.831s :: 22->2->8743 (of 8766)] Creating library symlink lib/libFortranSemantics.so
[ 99%/227.907s :: 15->8->8744 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/designator-path.test
FAILED: tools/flang/unittests/Evaluate/designator-path.test 
: && /opt/rh/gcc-toolset-13/root/usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -O3 -DNDEBUG -fno-semantic-interposition  tools/flang/unittests/Evaluate/CMakeFiles/designator-path.test.dir/designator-path.cpp.o -o tools/flang/unittests/Evaluate/designator-path.test  -Wl,-rpath,/home/botworker/bbot/amdgpu-hip-tpl/build/llvm.build/lib  lib/libNonGTestTesting.so  lib/libFortranSemantics.so.24.0git  lib/libFortranEvaluate.so.24.0git  lib/libFortranSupport.so.24.0git  lib/libLLVMSupport.so.24.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-hip-tpl/build/llvm.build/lib && :
/opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: tools/flang/unittests/Evaluate/CMakeFiles/designator-path.test.dir/designator-path.cpp.o: undefined reference to symbol '_ZN7Fortran6parser16AllCookedSourcesD1Ev'
/opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: /home/botworker/bbot/amdgpu-hip-tpl/build/llvm.build/lib/libFortranParser.so.24.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 99%/227.929s :: 15->7->8745 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/integer.test
[ 99%/227.930s :: 15->6->8746 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/logical.test
[ 99%/227.930s :: 15->5->8747 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/real.test
[ 99%/227.947s :: 15->4->8748 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/intrinsics.test
[ 99%/227.955s :: 15->3->8749 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/folding.test
[ 99%/227.965s :: 15->2->8750 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/expression.test
[ 99%/250.411s :: 15->1->8751 (of 8766)] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/OpenMP.cpp.o
ninja: build stopped: subcommand failed.
ninja -C llvm.build -j32 exited with return code 1.
@@@STEP_FAILURE@@@
Traceback (most recent call last):
  File "/home/botworker/bbot/amdgpu-hip-tpl/build/../llvm.src/offload/ci/hip-tpl.py", line 93, in <module>
    w.run_ninja(builddir=llvmbuilddir)
  File "/home/botworker/bbot/amdgpu-hip-tpl/llvm.src/.ci/buildbot/worker.py", line 274, in run_ninja
    run_command(cmd, **kwargs)
  File "/home/botworker/bbot/amdgpu-hip-tpl/llvm.src/.ci/buildbot/worker.py", line 132, in run_command
    subprocess.check_call(cmd, shell=shell, env=env, **kwargs)
  File "/opt/python/cp312-cp312/lib/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'llvm.build', '-j32']' returned non-zero exit status 1.
Step 7 (compile llvm) failure: compile llvm (failure)
...
      |       ^~~~~~~~~~~~~~~~
[ 99%/203.352s :: 24->8->8735 (of 8766)] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/Support/Utils.cpp.o
[ 99%/207.686s :: 24->6->8737 (of 8766)] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/PFTBuilder.cpp.o
[ 99%/213.480s :: 24->5->8738 (of 8766)] Building CXX object tools/flang/tools/bbc/CMakeFiles/bbc.dir/bbc.cpp.o
[ 99%/214.843s :: 24->4->8739 (of 8766)] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/DataSharingProcessor.cpp.o
[ 99%/220.874s :: 24->3->8740 (of 8766)] Building CXX object tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/ParserActions.cpp.o
[ 99%/226.817s :: 24->2->8741 (of 8766)] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-omp-atomic.cpp.o
[ 99%/227.822s :: 23->2->8742 (of 8766)] Linking CXX shared library lib/libFortranSemantics.so.24.0git
[ 99%/227.831s :: 22->2->8743 (of 8766)] Creating library symlink lib/libFortranSemantics.so
[ 99%/227.907s :: 15->8->8744 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/designator-path.test
FAILED: tools/flang/unittests/Evaluate/designator-path.test 
: && /opt/rh/gcc-toolset-13/root/usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -O3 -DNDEBUG -fno-semantic-interposition  tools/flang/unittests/Evaluate/CMakeFiles/designator-path.test.dir/designator-path.cpp.o -o tools/flang/unittests/Evaluate/designator-path.test  -Wl,-rpath,/home/botworker/bbot/amdgpu-hip-tpl/build/llvm.build/lib  lib/libNonGTestTesting.so  lib/libFortranSemantics.so.24.0git  lib/libFortranEvaluate.so.24.0git  lib/libFortranSupport.so.24.0git  lib/libLLVMSupport.so.24.0git  -Wl,-rpath-link,/home/botworker/bbot/amdgpu-hip-tpl/build/llvm.build/lib && :
/opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: tools/flang/unittests/Evaluate/CMakeFiles/designator-path.test.dir/designator-path.cpp.o: undefined reference to symbol '_ZN7Fortran6parser16AllCookedSourcesD1Ev'
/opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: /home/botworker/bbot/amdgpu-hip-tpl/build/llvm.build/lib/libFortranParser.so.24.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 99%/227.929s :: 15->7->8745 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/integer.test
[ 99%/227.930s :: 15->6->8746 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/logical.test
[ 99%/227.930s :: 15->5->8747 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/real.test
[ 99%/227.947s :: 15->4->8748 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/intrinsics.test
[ 99%/227.955s :: 15->3->8749 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/folding.test
[ 99%/227.965s :: 15->2->8750 (of 8766)] Linking CXX executable tools/flang/unittests/Evaluate/expression.test
[ 99%/250.411s :: 15->1->8751 (of 8766)] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/OpenMP.cpp.o
ninja: build stopped: subcommand failed.
ninja -C llvm.build -j32 exited with return code 1.
Traceback (most recent call last):
  File "/home/botworker/bbot/amdgpu-hip-tpl/build/../llvm.src/offload/ci/hip-tpl.py", line 93, in <module>
    w.run_ninja(builddir=llvmbuilddir)
  File "/home/botworker/bbot/amdgpu-hip-tpl/llvm.src/.ci/buildbot/worker.py", line 274, in run_ninja
    run_command(cmd, **kwargs)
  File "/home/botworker/bbot/amdgpu-hip-tpl/llvm.src/.ci/buildbot/worker.py", line 132, in run_command
    subprocess.check_call(cmd, shell=shell, env=env, **kwargs)
  File "/opt/python/cp312-cp312/lib/python3.12/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'llvm.build', '-j32']' returned non-zero exit status 1.
program finished with exit code 1
elapsedTime=288.175404

```

</details>

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


More information about the flang-commits mailing list