[clang] [Clang][Interpreter] Enable PIC to avoid 32-bit relocation overflows (PR #201286)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 17 19:22:14 PDT 2026
aokblast 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?
>
> I see this is still failing in the main branch on at least one of the bots. You can see the first failure here when this commit was one of the commits that landed: https://lab.llvm.org/buildbot/#/builders/161/builds/12278
Hi, I am wondering why CI doesn't notify failure on this. Anyway, I just have a patch for this and is compiling and running test on my local windows machine. I will submit my patch once it works.
https://github.com/llvm/llvm-project/pull/201286
More information about the cfe-commits
mailing list