[clang] [Clang][Interpreter] Enable PIC to avoid 32-bit relocation overflows (PR #201286)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 13 06:00:00 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `clang` at step 6 "test-build-unified-tree-check-all".

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

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

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Interpreter/pch-pic-mismatch.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 8
rm -rf /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp
# executed command: rm -rf /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 9
mkdir -p /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp
# executed command: mkdir -p /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 10
split-file /Users/buildbot/buildbot-root/llvm-project/clang/test/Interpreter/pch-pic-mismatch.cpp /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp
# executed command: split-file /Users/buildbot/buildbot-root/llvm-project/clang/test/Interpreter/pch-pic-mismatch.cpp /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 12
/Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang -fno-pic -Xclang -fincremental-extensions -target arm64-apple-darwin23.6.0      -Xclang -emit-pch -x c++-header -o /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp/include.pch /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp/include.hpp
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang -fno-pic -Xclang -fincremental-extensions -target arm64-apple-darwin23.6.0 -Xclang -emit-pch -x c++-header -o /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp/include.pch /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp/include.hpp
# note: command had no output on stdout or stderr
# RUN: at line 15
cat /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp/main.cpp      | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/not /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang-repl -Xcc -include-pch -Xcc /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp/include.pch 2>&1      | /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/clang/test/Interpreter/pch-pic-mismatch.cpp
# executed command: cat /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp/main.cpp
# note: command had no output on stdout or stderr
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/not /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/clang-repl -Xcc -include-pch -Xcc /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/tools/clang/test/Interpreter/Output/pch-pic-mismatch.cpp.tmp/include.pch
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /Volumes/RAMDisk/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/llvm-project/clang/test/Interpreter/pch-pic-mismatch.cpp
# .---command stderr------------
# | /Users/buildbot/buildbot-root/llvm-project/clang/test/Interpreter/pch-pic-mismatch.cpp:28:11: error: CHECK: expected string not found in input
# | // CHECK: incompatible with clang-repl's PIC level
# |           ^
# | <stdin>:1:1: note: scanning from here
# | f_pch = 5
# | ^
# | 
# | Input file: <stdin>
# | Check file: /Users/buildbot/buildbot-root/llvm-project/clang/test/Interpreter/pch-pic-mismatch.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: f_pch = 5 
# | check:28'0    {            search range start (exclusive)
# | check:28'1                 error: no match found in search range
# |             2:  
# | check:28'2      } search range end (exclusive)
# | >>>>>>
...

```

</details>

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


More information about the cfe-commits mailing list