Project

General

Profile

Actions

Bug #1010

closed

[clang] Thread-local variables are not supported

Added by Dmitry M. over 9 years ago. Updated almost 9 years ago.

Status:
Completed
Priority:
Normal
Assignee:
Category:
toolchain
Target version:
Start date:
07/21/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
clang-3.6
Android version:
CrystaX NDK Version:

Description

clang require @__tls_get_addr@ to be implemented on low level (libc) to support @__thread@ variables. Bionic doesn't provide it. GCC workaround it by using emulated TLS feature in libgcc. Clang don't support it yet, but "here":https://llvm.org/bugs/show_bug.cgi?id=23566 is corresponding ticket, with patches suggested.

Actions

Also available in: Atom PDF