From owner-freebsd-arch@FreeBSD.ORG Wed Mar 26 11:51:11 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 69BE937B404 for ; Wed, 26 Mar 2003 11:51:11 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id B229C43F3F for ; Wed, 26 Mar 2003 11:51:10 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.7/8.12.7) id h2QJp7ko021588; Wed, 26 Mar 2003 13:51:07 -0600 (CST) (envelope-from dan) Date: Wed, 26 Mar 2003 13:51:07 -0600 From: Dan Nelson To: Daniel Eischen Message-ID: <20030326195107.GB31787@dan.emsphone.com> References: <20030326193524.GA11320@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-26.8 required=5.0 tests=AWL,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT 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 cc: Marcel Moolenaar 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:51:12 -0000 In the last episode (Mar 26), Daniel Eischen said: > On Wed, 26 Mar 2003, Marcel Moolenaar wrote: > > 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? Debian provides static versions: -rw-r--r-- 1 root root 81959 Feb 25 07:46 /lib/libpthread-0.10.so -rw-r--r-- 1 root root 97286 Feb 25 07:47 /usr/lib/libpthread.a As does Redhat 7.3: -rwxr-xr-x 1 root root 105945 Oct 10 09:51 /lib/libpthread-0.9.so* -rw-r--r-- 1 root root 118146 Oct 10 09:51 /usr/lib/libpthread.a -- Dan Nelson dnelson@allantgroup.com