From owner-svn-src-head@FreeBSD.ORG Tue Dec 22 04:22:08 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DDA2106566C; Tue, 22 Dec 2009 04:22:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 28F468FC0A; Tue, 22 Dec 2009 04:22:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id nBM4GEUg041008; Mon, 21 Dec 2009 21:16:14 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 21 Dec 2009 21:16:48 -0700 (MST) Message-Id: <20091221.211648.632868945383134253.imp@bsdimp.com> To: marius@alchemy.franken.de From: "M. Warner Losh" In-Reply-To: <20091221220004.GA42400@alchemy.franken.de> References: <200912211943.nBLJhNUU038425@svn.freebsd.org> <200912211459.21766.jhb@freebsd.org> <20091221220004.GA42400@alchemy.franken.de> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, jhb@FreeBSD.org Subject: Re: svn commit: r200797 - head/lib/libc/stdtime X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 04:22:08 -0000 In message: <20091221220004.GA42400@alchemy.franken.de> Marius Strobl writes: : On Mon, Dec 21, 2009 at 02:59:21PM -0500, John Baldwin wrote: : > On Monday 21 December 2009 2:43:23 pm John Baldwin wrote: : > > Author: jhb : > > Date: Mon Dec 21 19:43:23 2009 : > > New Revision: 200797 : > > URL: http://svn.freebsd.org/changeset/base/200797 : > > : > > Log: : > > Use _once() to initialize the pthread key for thread-local storage to hold : > > the results of localtime() instead of using a pthread mutex directly. : > : > It would probably be simpler to use TLS for this instead, but I'm not sure if : > we have working TLS on all supported platforms. : > : : At least not on arm and sparc64 as the in-tree binutils predate : GNU TLS support for these. We really need newer binutils in the tree. And we need a way to compiler gplv3 binutils into the system for folks that can do that without consequences... But many modern processors need to have the gplv3 version of binutils and that will be a continuing problem. One advantage of FreeBSD is its integration, rather than having to play version whack-a-mole like you do with embedded Linux. Warner