This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16990] New: ARM: Concurrent TLS descriptor resolution fails
- From: "will.newton at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 27 May 2014 09:34:12 +0000
- Subject: [Bug libc/16990] New: ARM: Concurrent TLS descriptor resolution fails
- Auto-submitted: auto-generated
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.