From owner-freebsd-current@FreeBSD.ORG Wed Feb 25 10:14:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9FEE16A4CE for ; Wed, 25 Feb 2004 10:14:22 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49A6143D1D for ; Wed, 25 Feb 2004 10:14:22 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.10/8.12.10) with ESMTP id i1PIECOJ023040; Wed, 25 Feb 2004 10:14:12 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i1PIEB7N023038; Wed, 25 Feb 2004 10:14:11 -0800 (PST) (envelope-from obrien) Date: Wed, 25 Feb 2004 10:14:11 -0800 From: "David O'Brien" To: Marcel Moolenaar Message-ID: <20040225181411.GA7567@dragon.nuxi.com> Mail-Followup-To: David O'Brien , Marcel Moolenaar , Julian Elischer , FreeBSD current users References: <20040225174522.GC58071@ns1.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040225174522.GC58071@ns1.xcllnt.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: Julian Elischer cc: FreeBSD current users Subject: Re: TLS, Thread Local Storage.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 18:14:23 -0000 On Wed, Feb 25, 2004 at 09:45:23AM -0800, Marcel Moolenaar wrote: > We need a binutils update anyway. The assembler doesn't understand > the output of the compiler on most platforms anyway. See also: > http://people.freebsd.org/~marcel/tls.html I'll update binutils once I know others are FULLY committed to all the other parts missing to make TLS work on FreeBSD. > It says that only ia64 has full GNU toolchain support (which is > unsurprising). This is a big hole and one I'd like to see addressed before I spend time on a binutils updated that will keep me from something else. > > The BIG question is "who knows enough about the dynamic linker to be > > able to make this work for dynamic libraries..?" I gather that our > > dynamic linker is not the one that linux uses and is specific to us. (Am > > I wrong?) > > No, you're correct. There's a big part for the dynamic linker to > make it all work. > > The hard part for me now is how to distribute the related features > across kernel, rtld, libc and the various threading libraries to make > it work in all cases (ie complete vs shared, static vs dynamic and > threaded vs non-threaded) and without pessimizing non-TLS binaries. Do you have a plan? I'll do all I can to make this a success, but I want to know 100% others are on-board first. -- -- David (obrien@FreeBSD.org)