This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/16990] New: ARM: Concurrent TLS descriptor resolution fails


https://sourceware.org/bugzilla/show_bug.cgi?id=16990

            Bug ID: 16990
           Summary: ARM: Concurrent TLS descriptor resolution fails
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: will.newton at gmail dot com
                CC: drepper.fsp at gmail dot com
              Host: arm

When building glibc with CFLAGS="-mtls-dialect=gnu2 -O2 -g" nptl/tst-tls3
fails. This is caused by concurrent TLS descriptor resolution occuring and a
bug in the code to handle this situation.

_dl_tlsdesc_resolve_hold restores r2 as it assumes that it is being called in
the same circumstances as _dl_tlsdesc_lazy_resolver, but it is not. The lazy
resolver is called from a stub that pushes r2 whereas _dl_tlsdesc_resolve_hold
is called from the TLS descriptor trampoline which does not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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