From owner-freebsd-current@FreeBSD.ORG Thu Dec 1 21:38:47 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 059E6106564A for ; Thu, 1 Dec 2011 21:38:47 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id C0AD48FC12 for ; Thu, 1 Dec 2011 21:38:46 +0000 (UTC) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.5/8.14.2) with ESMTP id pB1LNBQN083465; Thu, 1 Dec 2011 16:23:11 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.5/8.14.2/Submit) id pB1LNBEn083464; Thu, 1 Dec 2011 16:23:11 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Thu, 1 Dec 2011 16:23:11 -0500 From: David Schultz To: George Liaskos Message-ID: <20111201212311.GA83353@zim.MIT.EDU> Mail-Followup-To: George Liaskos , freebsd-current References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-current 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: Thu, 01 Dec 2011 21:38:47 -0000 On Thu, Dec 01, 2011, George Liaskos wrote: > Hello > > One example is Google's tcmalloc [1], is this behaviour intended? > > [1] http://code.google.com/p/google-perftools/source/browse/trunk/src/maybe_threads.cc 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. Separately, I'm still hoping that the namespace polution introduced in r227487 gets fixed...