[PATCH] D149526: [JITLink][RISCV] Implement linker relaxation

Job Noorman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 18 11:02:25 PDT 2023


jobnoorman added a comment.

@Hahnfeld: the issue seems to be that by default, non-PIC code is generated. Adding `--relocation-model=pic` to the `lli` command line solves the issue for me.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149526



More information about the llvm-commits mailing list