[all-commits] [llvm/llvm-project] b929be: [Clang][test] Add fPIC when building shared librar...

Jinsong Ji via All-commits all-commits at lists.llvm.org
Wed Jan 31 08:51:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b929be2d12a291412f726f2df54934803343fa29
      https://github.com/llvm/llvm-project/commit/b929be2d12a291412f726f2df54934803343fa29
  Author: Jinsong Ji <jinsong.ji at intel.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M clang/test/Interpreter/cxx20-modules.cppm

  Log Message:
  -----------
  [Clang][test] Add fPIC when building shared library (#80065)

Fix linking error: "ld: error: can't create dynamic relocation
R_X86_64_64 against local symbol in readonly segment; recompile object
files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in
the output"




More information about the All-commits mailing list