How to debug "TLS transition from R_X86_64_TLSGD to R_X86_64_GOTTPOFF failed"

H.J. Lu hjl.tools@gmail.com
Wed Jan 16 14:57:00 GMT 2019


On Wed, Jan 16, 2019 at 6:07 AM Antoine Pitrou <antoine@python.org> wrote:
>
>
> Ok, I finally managed to reproduce locally and bisect the issue.
>
> The commit which fixes the issue is the following:
>
> commit e2cbcd9156d1606a9f2153aecd93a89fe6e29180
> Author: H.J. Lu <hjl.tools@gmail.com>
> Date:   Mon Jun 6 11:06:55 2016 -0700
>
>     Support x86-64 TLS code sequences without PLT
>

You have 2 options:

1. Require binutils with my fix.  Or
2. Don't use '-fno-plt' with older binutils.

-- 
H.J.



More information about the Binutils mailing list