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

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 23:05:43 PDT 2022


Amir added a comment.

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


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