[PATCH] D127936: [BOLT] Split functions with exceptions in shared objects and PIEs

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 00:02:59 PDT 2022


maksfb added a comment.

In D127936#3588002 <https://reviews.llvm.org/D127936#3588002>, @Amir wrote:

> Did you see these errors from the new test?
>
>   ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>   >>> defined in /tmp/lit-tmp-pe4hpdy9/exceptions_split-6209af.o
>   >>> referenced by exceptions_split.cpp
>   >>>               /tmp/lit-tmp-pe4hpdy9/exceptions_split-6209af.o:(main)
>
> https://buildkite.com/llvm-project/premerge-checks/builds/98179#01816afe-daa6-4e44-a7c8-efb4b5b9f1f6/485-3642

Not locally.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127936/new/

https://reviews.llvm.org/D127936



More information about the llvm-commits mailing list