Follow-up Comment #11, bug #17644 (project hurd):

After recompilation of the Hurd servers with the TLS glibc, static binaries
don't work any more, that's because we need to call __libc_setup_tls when
libc is statically linked, see glibc-2.5/nptl/init.c.

We also have to do exactly the same for libthread.so too, because any piece
of code that use create_thread() for starting a thread that uses
__thread-enabled glibc should allocate TLS for glibc to work.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?17644>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to