This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]