[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------------
# | [1m/Users/buildbot/buildbot-root/llvm-project/clang/test/Interpreter/pch-pic-mismatch.cpp:28:11: [0m[0;1;31merror: [0m[1mCHECK: expected string not found in input
[0m# | [1m[0m// CHECK: incompatible with clang-repl's PIC level
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mf_pch = 5
# | [0;1;32m^
[0m# | [0;1;32m[0m
# | 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:
# | <<<<<<
# | [1m[0m[0;1;90m 1: [0m[1m[0;1;46mf_pch = 5 [0m
# | [0;1;31mcheck:28'0 { search range start (exclusive)
[0m# | [0;1;31m[0m[0;1;31mcheck:28'1 error: no match found in search range
[0m# | [0;1;31m[0m[0;1;90m 2: [0m[1m[0;1;46m [0m
# | [0;1;31mcheck:28'2 } search range end (exclusive)
[0m# | [0;1;31m[0m>>>>>>
...
```
</details>
https://github.com/llvm/llvm-project/pull/201286
More information about the cfe-commits
mailing list