Date: Fri, 9 Nov 2007 21:15:58 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libthr/thread thr_spec.c Message-ID: <200711092115.lA9LFwCw034285@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2007-11-09 21:15:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libthr/thread thr_spec.c Log: MFC: 1.7 In _pthread_key_create() ensure that libthr is initialized. This fixes a NULL-dereference of curthread when libstdc+ initializes the exception handling globals on archs we can't use GNU TLS due to lack of support in binutils 2.15 (i.e. arm and sparc64), yet, thus making threaded C++ programs compiled with GCC 4.2.1 work again on these archs. Approved by: re (kensmith) Revision Changes Path 1.6.2.1 +5 -1 src/lib/libthr/thread/thr_spec.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711092115.lA9LFwCw034285>