TLS, 2015 edition

Stan Shebs stanshebs@google.com
Tue Mar 31 15:55:00 GMT 2015


On Tue, Mar 31, 2015 at 5:26 AM, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
>
>
> On 30/03/15 23:50, Stan Shebs wrote:
>> Through a series of unfortunate events (starting with an infinite loop
>> in an obscure Java test) I seem to have inherited the async-safe TLS
>> problem.
>>
>
> i don't know about this bug, but i assume this is a lazy
> binding issue
>
> in that case linking with '-z now' should solve the problem
> (..assuming glibc does the dynamic tls allocation at load
> time then and at thread creation time)

We've identified two mistaken bits in the Google-local patch so far,
and there may be more.  It's just wasteful to be doing patch-on-patch
if we could have a version upstream and properly maintained instead.

Stan



More information about the Libc-alpha mailing list