[lld] r280310 - Fix the implementation of R_386_GOTPC and R_386_GOTOFF.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 1 09:36:01 PDT 2016
On Thu, Sep 1, 2016 at 2:35 PM, Ed Maste via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> On 31 August 2016 at 19:24, Rafael Espindola via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> Author: rafael
>> Date: Wed Aug 31 18:24:11 2016
>> New Revision: 280310
>> URL: http://llvm.org/viewvc/llvm-project?rev=280310&view=rev
>> Fix the implementation of R_386_GOTPC and R_386_GOTOFF.
> FYI I'm now getting a thousand or so "can't create dynamic relocation
> R_386_GOTOFF against readonly segment" errors when my FreeBSD build
> tries to link the i386 (compat library) version of libcxxrt. I'll try
> to grab a reproduce file, but it's a bit awkward to recreate this
> stage of the build process.
If you can't grab the exact linker invocation (which is definitely a
deficiency of the build system, but that's a story for another day),
you can sed the `LLD_REPRODUCE=something` environment variable when
re-building and the effect should be equivalent to passing --reproduce
to every linker invocation from then on.
It helped a lot me and Sean Silva while we're trying to link an
internal base system with lld for the first time.
"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare
More information about the llvm-commits