Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2009 08:06:08 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        rdivacky@FreeBSD.org
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, jhb@FreeBSD.org, marius@alchemy.franken.de
Subject:   Re: svn commit: r200797 - head/lib/libc/stdtime
Message-ID:  <20091222.080608.321689433999165447.imp@bsdimp.com>
In-Reply-To: <20091222141810.GA17221@freebsd.org>
References:  <20091221220004.GA42400@alchemy.franken.de> <20091221.211648.632868945383134253.imp@bsdimp.com> <20091222141810.GA17221@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20091222141810.GA17221@freebsd.org>
            Roman Divacky <rdivacky@FreeBSD.org> writes:
: On Mon, Dec 21, 2009 at 09:16:48PM -0700, M. Warner Losh wrote:
: > In message: <20091221220004.GA42400@alchemy.franken.de>
: >             Marius Strobl <marius@alchemy.franken.de> 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.
: 
: well... llvm provides its own assembler so if the need for newer binutils
: comes from need of newer as I believe llvm can help here. or is the linker
: the problem?

Some platforms and features it is the assembler, others it is linker.
The problem with even llvm is that binutils tends to get the features
faster and time to market tends to be more important in the embedded
space..

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091222.080608.321689433999165447.imp>