From owner-freebsd-current@FreeBSD.ORG Fri Dec 2 11:24:33 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 837951065675 for ; Fri, 2 Dec 2011 11:24:33 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0228C8FC14 for ; Fri, 2 Dec 2011 11:24:32 +0000 (UTC) Received: from alf.home (alf.kiev.zoral.com.ua [10.1.1.177]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id pB2BOP4R040919 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Dec 2011 13:24:25 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from alf.home (kostik@localhost [127.0.0.1]) by alf.home (8.14.5/8.14.5) with ESMTP id pB2BOPK3087114; Fri, 2 Dec 2011 13:24:25 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by alf.home (8.14.5/8.14.5/Submit) id pB2BOPmt087113; Fri, 2 Dec 2011 13:24:25 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: alf.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 2 Dec 2011 13:24:25 +0200 From: Kostik Belousov To: George Liaskos , freebsd-current Message-ID: <20111202112425.GQ50300@deviant.kiev.zoral.com.ua> References: <20111201212311.GA83353@zim.MIT.EDU> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cFl62NrZ2OkwVNR5" Content-Disposition: inline In-Reply-To: <20111201212311.GA83353@zim.MIT.EDU> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Subject: Re: r227487 breaks C++ programs that use __isthreaded X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 11:24:33 -0000 --cFl62NrZ2OkwVNR5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 01, 2011 at 04:23:11PM -0500, David Schultz wrote: > On Thu, Dec 01, 2011, George Liaskos wrote: > > Hello > >=20 > > One example is Google's tcmalloc [1], is this behaviour intended? > >=20 > > [1] http://code.google.com/p/google-perftools/source/browse/trunk/src/m= aybe_threads.cc >=20 > This code uses an unportable workaround for a bug that I believe > was fixed in r227999. Using internal names starting with a double > underscore isn't supported. >=20 > Separately, I'm still hoping that the namespace polution > introduced in r227487 gets fixed... I handled the pthread_once mess in libunwind without relying on __isthreaded, but I indeed only needed once working. http://git.savannah.gnu.org/cgit/libunwind.git/commit/?id=3D08077a4962c4e60= 6598f9f0e54b515b3c882be10 --cFl62NrZ2OkwVNR5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk7YtWkACgkQC3+MBN1Mb4jWyACfQ84MixkR5i4LtCHXO2bNatRs kAIAoKAqibh+6WTLgQyXHVOZlTYqwe6l =nM1F -----END PGP SIGNATURE----- --cFl62NrZ2OkwVNR5--