[clang] [Clang][Interpreter] Enable PIC to avoid 32-bit relocation overflows (PR #201286)
Douglas Yung via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 17 10:31:14 PDT 2026
dyung wrote:
Hi @aokblast, I am seeing a test failure of `execute-pch.cpp` on the `release/23.x` branch when trying to build the release binaries for the windows-11-arm configuration.
https://github.com/llvm/llvm-project/actions/runs/29554409708/job/87803982207?pr=210237
```
# executed command: 's:\llvm\utils\release\llvm_package_23.1.0\build_arm64_stage0\bin\clang-repl.exe' -Xcc -fgnuc-version=0 -Xcc -fno-stack-protector -Xcc -fwrapv -Xcc -fblocks -Xcc -fskip-odr-check-in-gmf -Xcc -fmax-type-align=8 -Xcc -include-pch -Xcc 'S:\llvm\utils\release\llvm_package_23.1.0\build_arm64_stage0\tools\clang\test\Interpreter\Output\execute-pch.cpp.tmp/include.pch'
# .---command stderr------------
# | clang-repl: AST file 'S:\llvm\utils\release\llvm_package_23.1.0\build_arm64_stage0\tools\clang\test\Interpreter\Output\execute-pch.cpp.tmp/include.pch' was built with PIC level 2, which is incompatible with clang-repl's PIC level 0
# `-----------------------------
# error: command failed with exit status: 1
```
Is there a fix for this on the main branch that we need to cherry-pick to the release branch?
https://github.com/llvm/llvm-project/pull/201286
More information about the cfe-commits
mailing list