1 |
On Wednesday, April 06, 2011 10:52:06 Christopher Friedt wrote: |
2 |
> TLS works on certain hardware (e.g. with hardware supported tls, like |
3 |
> armv7a), but not on all architectures, like in GNU [1], [2]. It's |
4 |
> probably better to blanket-disable this for now via a portage profile |
5 |
> variable. |
6 |
|
7 |
any arch can do TLS. it's more a matter of defining the toolchain/C |
8 |
library/kernel interfaces. the hardware only enters the picture in terms of |
9 |
just how hard it actually is to make TLS work. |
10 |
|
11 |
e.g. i386 could do TLS if people cared, but no one has bothered because i486 |
12 |
provides a few new atomic insns that makes the implementation a hell of a lot |
13 |
simpler. so if no one actually cares about making it work on i386 procs, then |
14 |
no one bothers. |
15 |
-mike |