From owner-freebsd-current@FreeBSD.ORG Thu Mar 25 22:06:04 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 BD76F16A4CE for ; Thu, 25 Mar 2004 22:06:04 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63E3343D3F for ; Thu, 25 Mar 2004 22:06:04 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i2Q663tf015032; Fri, 26 Mar 2004 01:06:03 -0500 (EST) Date: Fri, 26 Mar 2004 01:06:03 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Kris Kennaway In-Reply-To: <20040325074824.GB63710@xor.obsecurity.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD current users 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: Fri, 26 Mar 2004 06:06:04 -0000 On Wed, 24 Mar 2004, Kris Kennaway wrote: > On Thu, Mar 25, 2004 at 01:22:22AM -0500, Daniel Eischen wrote: > > > We've said this at other times, but TLS support is already > > partially designed in to libpthread (for all archs). We > > can (and will) implement it for them regardless of whether > > the library functions perfectly for those platforms. > > > > Both sparc64 and alpha seem to work OK when libpthread is > > built in 1:1 mode, so I suspect the real problem is resuming > > the thread contexts in userland and/or passing out the > > context in the expected format from the kernel. > > Can it be built that way by default on sparc, since libthr doesn't > work very well? I'd like to test this for things like mozilla that > cause libthr to crash at startup, except my sparc machine remains > unbootable because of broken syscons. Try adding -DSYSTEM_SCOPE_ONLY to CFLAGS when building libpthread, then try it and let me know how it works. libpthread is still built and installed as libkse on sparc64 (and alpha), so you'll also need to libmap libc_r to libkse. -- Dan Eischen