<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/59163>59163</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            SOLLVE V&V test failure (test_parallel_for_reduction_task_device-50_task-c): 
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            openmp
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Meinersbur
      </td>
    </tr>
</table>

<pre>
    The SOLLVE V&V test [External/sollve_vv/omptargetvv-test_parallel_for_reduction_task_device-50_task-c](https://github.com/SOLLVE/sollve_vv/blob/809fc82ac08f4ad141c1a4fd0aded49cec7c6944/tests/5.0/task/test_parallel_for_reduction_task_device.c) is failing on the [openmp-offload-cuda-runtime](https://lab.llvm.org/staging/#/builders/154) buildbot. The test was succeeding when it was first added to the [whitelist of the llvm-test-suite](https://github.com/llvm/llvm-test-suite/blob/1a57125a45acdae4a35f1f8a43f35c425b56384f/External/sollve_vv/CMakeLists.txt#L160), hence this is a regression. Unfortunately the buildbot log for when it first happened is not available anymore (lab.llvm.org preserves them for just a month), but I can bisect if it helps.

```
FAILED: External/sollve_vv/omptargetvv-test_parallel_for_reduction_task_device-50_task-c 
[stdout] : && /home/buildbot-worker/minipc-1050ti-linux/rundir/test-suite.build/tools/timeit --summary External/sollve_vv/omptargetvv-test_parallel_for_reduction_task_device-50_task-c.link.time /home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.inst/bin/clang -gline-tables-only -O3 -DNDEBUG  -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda --cuda-path=/opt/cuda External/sollve_vv/CMakeFiles/omptargetvv-test_parallel_for_reduction_task_device-50_task-c.dir/home/buildbot-worker/minipc-1050ti-linux/rundir/sollvevv.src/tests/5.0/task/test_parallel_for_reduction_task_device.c.o  -o External/sollve_vv/omptargetvv-test_parallel_for_reduction_task_device-50_task-c  -Wl,-rpath,/home/buildbot-worker/minipc-1050ti-linux/rundir/llvm.inst/lib  /home/buildbot-worker/minipc-1050ti-linux/rundir/llvm.inst/lib/libomp.so  /lib/x86_64-linux-gnu/libpthread.so && cd /home/buildbot-worker/minipc-1050ti-linux/rundir/test-suite.build/External/sollve_vv && /home/buildbot-worker/minipc-1050ti-linux/rundir/llvm.inst/bin/llvm-size --format=sysv /home/buildbot-worker/minipc-1050ti-linux/rundir/test-suite.build/External/sollve_vv/omptargetvv-test_parallel_for_reduction_task_device-50_task-c > /home/buildbot-worker/minipc-1050ti-linux/rundir/test-suite.build/External/sollve_vv/omptargetvv-test_parallel_for_reduction_task_device-50_task-c.size
[stdout] nvlink error   : Undefined reference to '__kmpc_task_reduction_get_th_data' in '/tmp/buildbot-worker/test_parallel_for_reduction_task_device.c-nvptx64-nvidia-cuda-sm_61-20f2dc.cubin'
[stdout] nvlink error   : Undefined reference to '__kmpc_taskred_modifier_init' in '/tmp/buildbot-worker/test_parallel_for_reduction_task_device.c-nvptx64-nvidia-cuda-sm_61-20f2dc.cubin'
[stdout] nvlink error   : Undefined reference to '__kmpc_omp_task_alloc' in '/tmp/buildbot-worker/test_parallel_for_reduction_task_device.c-nvptx64-nvidia-cuda-sm_61-20f2dc.cubin'
[stdout] nvlink error   : Undefined reference to '__kmpc_task_reduction_modifier_fini' in '/tmp/buildbot-worker/test_parallel_for_reduction_task_device.c-nvptx64-nvidia-cuda-sm_61-20f2dc.cubin'
[stdout] /home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.inst/bin/clang-linker-wrapper: error: 'nvlink' failed
[stdout] clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzVV9tu3DYQ_RrtC0FB95Ue9iHx2kUAp3lokz4KFDlaMZZIgaRku1_fIbVxc3HTNE6CBhC0K15mzjkzw0unxf3h9wHIb6-ur99ckjdRVr0hDqwjUfn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