From owner-freebsd-arch@FreeBSD.ORG Wed Mar 26 11:42:29 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6679E37B404 for ; Wed, 26 Mar 2003 11:42:29 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D05843F3F for ; Wed, 26 Mar 2003 11:42:28 -0800 (PST) (envelope-from eischen@pcnet1.pcnet.com) Received: from pcnet1.pcnet.com (localhost [127.0.0.1]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h2QJgNBg009862; Wed, 26 Mar 2003 14:42:23 -0500 (EST) Received: from localhost (eischen@localhost)h2QJgM6o009859; Wed, 26 Mar 2003 14:42:22 -0500 (EST) Date: Wed, 26 Mar 2003 14:42:22 -0500 (EST) From: Daniel Eischen To: Marcel Moolenaar In-Reply-To: <20030326193524.GA11320@dhcp01.pn.xcllnt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-25.3 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,USER_AGENT_PINE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: arch@freebsd.org cc: kse@elischer.org Subject: Re: Not providing static libraries (libkse/libpthread) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 19:42:31 -0000 On Wed, 26 Mar 2003, Marcel Moolenaar wrote: > On Wed, Mar 26, 2003 at 01:51:39PM -0500, Daniel Eischen wrote: > > Is there a good reason for providing static libraries for > > libpthread/libkse? I'd like to not support them to get > > rid of some hacks to make sure certain symbols are present > > in the static library case. > > I the maintenance cost is low and the hacks are not in the way > of progress I think we should keep the static libraries. I think > we're throwing something away too carelessly otherwise. > > For example, the access sequences generated by compilers for > variables that have the __thread attribute do really suck for > when code is to be generated for dynamic linking. The access > sequences in the static case are superior. The performance > gain is significant if one can build a complete multi-threaded > application. Solaris and IRIX don't seem to provide static thread libraries. Does anyone know if Linux does? -- Dan Eischen