Looks like threading is b0rken on FreeBSD/powerpc

Jason Evans jasone at FreeBSD.org
Fri Aug 4 19:55:50 UTC 2006


Peter Grehan wrote:
>> But libpthread works in 6.0. What's the difference?
> 
>  jemalloc. From the backtrace, t's doing a TLS allocation, where I'm 
> certain phkmalloc didn't do anything like that.

Indeed, jemalloc does add a dependency on TLS for PIC versions, though 
it can be configured to run (more slowly) without TLS, as Marcel pointed 
out.  This appears to be a bug in the TLS implementation, rather than in 
jemalloc; the appropriate fix is to make TLS work.

Jason


More information about the freebsd-ppc mailing list