From owner-freebsd-threads@FreeBSD.ORG Thu Aug 5 15:19:49 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B84F16A4CE; Thu, 5 Aug 2004 15:19:49 +0000 (GMT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 071A943D54; Thu, 5 Aug 2004 15:19:49 +0000 (GMT) (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 i75FJm3w004431; Thu, 5 Aug 2004 11:19:48 -0400 (EDT) Date: Thu, 5 Aug 2004 11:19:48 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Doug Rabson In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: David Xu cc: freebsd-threads@freebsd.org Subject: Re: Pthread patches for TLS X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 15:19:49 -0000 On Thu, 5 Aug 2004, Daniel Eischen wrote: > On Thu, 5 Aug 2004, Doug Rabson wrote: > > > I haven't tried to support static linked TLS at all. The plan is to get > > the kernel to size the TLS segment and add extra AUXARGs to report its > > size, initialiser location and alignment. The stubs in libc/gen/tls.c > > would be extended to provide support for allocating the TLS blocks in > > the static case. > > > > I was under the impression that no-one particularly wanted to support > > pthreads in statically linked binaries? > > The thread guys don't want to support static thread libraries ;-) > But I proposed this a few months ago (year?) in -current and there > was some reluctance. Imp was one that was against it (from what I > can remember). The reason given was speed of static binaries is > faster than dynamic. I didn't force the issue any more than that. > That's how I recall it anyways. I'll have to search the list > archives to see if I can find the thread. Found it. http://docs.freebsd.org/mail/archive/2003/freebsd-arch/20030330.freebsd-arch.html Look for "Not providing static libraries", Mar 26, 2003, freebsd-arch Note that Solaris doesn't have static thread libraries. I'm not sure about Linux... -- Dan Eischen