[llvm] [BOLT] Distinguish jump relocation from .rela.plt and .rela.dyn (PR #178815)
Haibo Jiang via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 29 00:50:03 PDT 2026
Jianghibo wrote:
> I'm maintaining PHP's benchmark framework (https://github.com/kocsismate/php-version-benchmarks/) and I bumped into the issue this PR solves. The benchmark runs on AWS EC2 (bare metal) instances, and I faced the "Dynamic relocation error" issue when trying out BOLT ([kocsismate/php-version-benchmarks at 351e967#diff-45e5664956651241fe156139d7d9c08873eb6357ad82375cc5ffc5cfe858f65dR476](https://github.com/kocsismate/php-version-benchmarks/commit/351e967b112f9fb6df8f48afc3e9e4fc907d9aec#diff-45e5664956651241fe156139d7d9c08873eb6357ad82375cc5ffc5cfe858f65dR476)).
>
> After a lot of failed trial-error attempts to fix BOLT compilation, my colleague found this PR. When applying it on top of my colleague's bolt-align tool (https://github.com/kocsismate/llvm-project/commits/bolt-align-fix/), my problems vanished immediately.
Thanks for providing more examples of the issue; I will continue to follow up on the review and merging of the PR.
https://github.com/llvm/llvm-project/pull/178815
More information about the llvm-commits
mailing list