[clang] [Hexagon] Pass -pie to linker when PIE is the toolchain default (PR #189723)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 6 12:19:25 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `clang` at step 6 "test-openmp".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/25961
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-openmp) failure: test (failure)
******************** TEST 'libomp :: ompt/synchronization/barrier/single.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/clang -fopenmp -I /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -I /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/openmp/runtime/test -L /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -fno-omit-frame-pointer -I /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/openmp/runtime/test/ompt /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/openmp/runtime/test/ompt/synchronization/barrier/single.c -o /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/synchronization/barrier/Output/single.c.tmp -lm -latomic && /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/synchronization/barrier/Output/single.c.tmp | sort -n -s | tee /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/synchronization/barrier/Output/single.c.tmp.out | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/openmp/runtime/test/ompt/synchronization/barrier/single.c
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/clang -fopenmp -I /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -I /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/openmp/runtime/test -L /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -fno-omit-frame-pointer -I /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/openmp/runtime/test/ompt /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/openmp/runtime/test/ompt/synchronization/barrier/single.c -o /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/synchronization/barrier/Output/single.c.tmp -lm -latomic
# note: command had no output on stdout or stderr
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/synchronization/barrier/Output/single.c.tmp
# note: command had no output on stdout or stderr
# executed command: sort -n -s
# note: command had no output on stdout or stderr
# executed command: tee /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/runtimes/runtimes-bins/openmp/runtime/test/ompt/synchronization/barrier/Output/single.c.tmp.out
# note: command had no output on stdout or stderr
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/./bin/FileCheck /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/openmp/runtime/test/ompt/synchronization/barrier/single.c
# .---command stderr------------
# | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/openmp/runtime/test/ompt/synchronization/barrier/single.c:58:12: error: CHECK: expected string not found in input
# | // CHECK: {{^}}[[THREAD_ID]]: ompt_event_wait_barrier_implicit_parallel_end: parallel_id={{[0-f]+}}, task_id={{[0-f]+}}, codeptr_ra=[[NULL]]
# | ^
# | <stdin>:42:133: note: scanning from here
# | 562949953421313: ompt_event_wait_barrier_implicit_parallel_begin: parallel_id=1000000000005, task_id=2000000000002, codeptr_ra=(nil)
# | ^
# | <stdin>:42:133: note: with "THREAD_ID" equal to "562949953421313"
# | 562949953421313: ompt_event_wait_barrier_implicit_parallel_begin: parallel_id=1000000000005, task_id=2000000000002, codeptr_ra=(nil)
# | ^
# | <stdin>:42:133: note: with "NULL" equal to "(nil)"
# | 562949953421313: ompt_event_wait_barrier_implicit_parallel_begin: parallel_id=1000000000005, task_id=2000000000002, codeptr_ra=(nil)
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/openmp/runtime/test/ompt/synchronization/barrier/single.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 37: 562949953421313: ompt_event_wait_critical: wait_id=124486674287808, hint=0, impl=2, codeptr_ra=0x604f737c8c4b
# | 38: 562949953421313: ompt_event_acquired_critical: wait_id=124486674287808, codeptr_ra=0x604f737c8c4b
# | 39: 562949953421313: ompt_event_release_critical: wait_id=124486674287808, codeptr_ra=0x604f737c8c6c
# | 40: 562949953421313: ompt_event_barrier_implicit_parallel_begin: parallel_id=1000000000005, task_id=2000000000002, codeptr_ra=(nil)
# | 41: 562949953421313: task level 0: parallel_id=1000000000005, task_id=2000000000002, exit_frame=(nil), reenter_frame=(nil), task_type=ompt_task_implicit|ompt_task_undeferred=134217730, thread_num=1
# | 42: 562949953421313: ompt_event_wait_barrier_implicit_parallel_begin: parallel_id=1000000000005, task_id=2000000000002, codeptr_ra=(nil)
# | check:58'0 X error: no match found
# | check:58'1 with "THREAD_ID" equal to "562949953421313"
# | check:58'2 with "NULL" equal to "(nil)"
# | 43: 562949953421313: ompt_event_thread_end: thread_id=562949953421313
...
```
</details>
https://github.com/llvm/llvm-project/pull/189723
More information about the cfe-commits
mailing list