[PATCH] TLS support for s390*.
Martin Schwidefsky
schwidefsky@de.ibm.com
Thu Jan 30 16:11:00 GMT 2003
> With linuxthreads current CVS no threaded programs work with
> --with-tls --without-__thread.
Never tested this combination so far. I'll give it a try.
> From my current debugging it seems the problem is that
> clone() is passed end of some VM region as stack_addr
> and segfaults somewhere in the kernel when accessing it.
> Were there some recent kernel fixes in this area?
I have a patch for sys_clone/copy_thread that implements
CLONE_SETTLS which is not yet in the mainstream kernel.
Does --without-__thread need the CLONE_SETTLS semantic ?
blue skies,
Martin
More information about the Libc-hacker
mailing list