Re: TLS on darwin

2008-12-09 Thread IainS
A little additional info: PPC darwin8 (if configured --enable-tls --enable-threads) fails the check_effective_target_{tls, tls_runtime, tls_native} with a compiler ICE viz, for example: tls_native7888.c:3: internal compiler error: in rs6000_legitimize_tls_address, at config/rs6000/rs6000.

Re: TLS on darwin

2008-12-09 Thread Richard Henderson
... is the problem one of SPECs ? I don't think so, unless we can key off -pthread or something. .. or does every single TLS case need a darwin-specific addition to reference -lgcc_eh ? We can add that via tls.exp. .. I guess also that target-supports.exp would need some modification to ac

Re: TLS on darwin

2008-12-09 Thread IainS
On 8 Dec 2008, at 21:09, Andrew Pinski wrote: On Mon, Dec 8, 2008 at 1:04 PM, IainS <[EMAIL PROTECTED] acoustics.co.uk> wrote: following on from http://gcc.gnu.org/ml/gcc/2008-05/msg00202.html As I mentioned; it is emulated. So it works, by default, though it is hm. At the moment it does

Re: TLS on darwin

2008-12-08 Thread Andrew Pinski
On Mon, Dec 8, 2008 at 1:04 PM, IainS <[EMAIL PROTECTED]> wrote: > following on from http://gcc.gnu.org/ml/gcc/2008-05/msg00202.html As I mentioned; it is emulated. So it works, by default, though it is not native support (that is there is no ABI helper that speeds it up). In fact tls_runtime sh