Hi! On Thu, 8 Sep 2011 15:37:15 +0200, Samuel Thibault <samuel.thiba...@gnu.org> wrote: > Thomas Schwinge, le Thu 08 Sep 2011 12:40:30 +0200, a écrit : > > One patch for the TLS code is below; Samuel please have a look. > > Agreed.
You fixed this in Debian eglibc r4959, but it regressed in r5011 when synchronizing to the Savannah t/tls TopGit branch (where it was not fixed). I have now committed the fix to the t/tls branch; please do the equivalent change to Debian eglibc's debian/patches/hurd-i386/tg-tls.diff file. commit a49022d1a407bb8a4f1f3a8c69669808b3836c98 Author: Thomas Schwinge <tho...@codesourcery.com> Date: Wed Nov 14 01:29:29 2012 +0100 id:"87ipp35nc1....@kepler.schwinge.homeip.net". diff --git sysdeps/mach/hurd/fork.c sysdeps/mach/hurd/fork.c index 8bea456..c5adfe4 100644 --- sysdeps/mach/hurd/fork.c +++ sysdeps/mach/hurd/fork.c @@ -537,7 +537,7 @@ __fork (void) _hurd_longjmp_thread_state (&state, env, 1); /* Do special thread setup for TLS if needed. */ - if (err = _hurd_tls_fork (thread, __mach_thread_self (), &state)) + if (err = _hurd_tls_fork (thread, ss->thread, &state)) LOSE; if (err = __thread_set_state (thread, MACHINE_THREAD_STATE_FLAVOR, Grüße, Thomas
pgpvpr7yTe6Wb.pgp
Description: PGP signature