From owner-freebsd-current@FreeBSD.ORG Tue Mar 23 13:08:16 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 1B47216A4CF for ; Tue, 23 Mar 2004 13:08:16 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.5]) by mx1.FreeBSD.org (Postfix) with SMTP id D16DD43D45 for ; Tue, 23 Mar 2004 13:08:15 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 24045 invoked by uid 1002); 23 Mar 2004 21:08:15 -0000 Received: from unknown (HELO ?10.4.1.17?) (64.58.1.252) by smtp.mho.net with SMTP; 23 Mar 2004 21:08:15 -0000 Date: Tue, 23 Mar 2004 14:12:42 -0700 (MST) From: Scott Long X-X-Sender: scottl@pooker.samsco.home To: Julian Elischer In-Reply-To: Message-ID: <20040323140429.L55727@pooker.samsco.home> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD current users cc: Marcel Moolenaar Subject: Re: SF Bay area hackfest X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 23 Mar 2004 21:08:16 -0000 On Tue, 23 Mar 2004, Julian Elischer wrote: > > > On Tue, 23 Mar 2004, David O'Brien wrote: > > > On Mon, Mar 22, 2004 at 06:33:03PM -0800, Marcel Moolenaar wrote: > > > On Mon, Mar 22, 2004 at 05:18:53PM -0800, Julian Elischer wrote: > > > > > > > > project expressd interest > > > > ---------------------------------------------- > > > > TLS/toolchain alfred, marcel, myself > > > > > > A couple of things come together: > > > o gdb upgrade > > > o New kdb framework > > > o TLS support + debugging > > > o Thread debugging > > > > I still haven't seen any plan or commitment for LTS and GDB. Other than > > pushing me to spend my time importing a new binutils (which is broken for > > sparc64). If I import a new binutils, you need a new GCC to take full > > advantage of it. After GCC 3.4 is imported, what *commitments* are > > people willing to make to carry it farther? What will that work entail? > > > > Note that ANYONE that hacks on our GDB should have FSF paperwork on file. > > We HAVE to get out of the mess of all of our local hacks. The reason > > ports/devel/gdb6 still isn't active is the mess of bringing our GDB 5.2 > > hacks forward to GDB 6.1. I've had a WIP for a while, but it is really > > painful because we haven't done any due diligence in getting our needs > > taken care of in stock FSF GDB. That hasn't been able to happen to date > > because the people that made many of our GDB commits wouldn't file FSF > > paperwork. :-( > > > > With new binutils we should (*) be able, with minimal more work be able > to generate statically linked binaries using TLS. (*) the loader needs > to set some values into symbols and the thread scheduler needs code to > allocate a segment of 'M' bytes every time it rceates a new thread and > set a pointer to it.. (it already allocates some info but it needs to > allocate 'M' bytes more) where 'M' is the statically detirmined TLS > size. > > The next step would be to add code to the dynamic linker to be able to > allocate TLS segments to modules as it loads them. The TLS spec pretty > much outlines what needs to be done.. > > We NEED to do this.. it is not a "may be nice" item. > TLS is becoming standard on many platforms and more and more software > is ASSUMING it is present. (e.g. nvidia drivers). > So what david is asking for (and what I've asked for in the past) is a list of tasks that need to be done, and and who is going to be responsible for each one. This is a very reasonable request, and is one that I'm going to enforce. I don't want 5.3 to go out with hap-hazard and/or unfinished TLS support. SO let me start the list, and I'll let you and others add to it. If we can't get through this step, then there is absolutely no way that we can expect to get this done for 5.3. And for the record, I would really, really like to see this done for 5.3. Task Owner Import new GCC Alexander Kavaev Import new binutils ??? Modify loader (image activator?) to understand TLS ??? Modify KSE to understand TLS ??? Modify THR to understand TLS ??? Modify C_R to understand TLS ??? Modify dynamic linker for TLS ??? What else? Is there any platform specific work to be done, outside of the toolchain? Scott