On Sunday 06 June 2004 21:48, Marcel Moolenaar wrote: > On Sun, Jun 06, 2004 at 02:27:08PM -0600, Scott Long wrote: > > >Doug Rabson also has basic TLS support working in perforce. > > > > What platforms? My understanding was that new binutils and gcc was > > needed for sparc64 at a minimum. > > Yes. It's i386 only and not even close to being complete. In fact, > there has been discussions that the thread pointer on i386 needs to > change. Whether that's the case or not, it's likely that TLS will > complicate matters way too much to for it to ever work in 5.3. Actually its a bit better than that. It works for most use cases right now on i386 but would get confused on dlclose. I'll fix that before I move it into current. As far as the thread pointer issue goes, it turns out that our current compiler will always evaluate %gs:0 first which is fine for libpthread. I looked at gcc-3.4 sources and it can also be configured to always evaluate %gs:0 (this is the default for non-linux platforms).Received on Mon Jun 07 2004 - 07:14:29 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:56 UTC