From owner-freebsd-arch@FreeBSD.ORG Thu Nov 29 18:24:30 2007 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84AD116A417; Thu, 29 Nov 2007 18:24:30 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx06.syd.optusnet.com.au (fallbackmx06.syd.optusnet.com.au [211.29.132.8]) by mx1.freebsd.org (Postfix) with ESMTP id 1F21C13C46B; Thu, 29 Nov 2007 18:24:29 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail06.syd.optusnet.com.au (mail06.syd.optusnet.com.au [211.29.132.187]) by fallbackmx06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id lATAph4n007163; Thu, 29 Nov 2007 21:51:43 +1100 Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id lATApYU2011542 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Nov 2007 21:51:34 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id lATApXxb028385; Thu, 29 Nov 2007 21:51:33 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id lATApXw9028384; Thu, 29 Nov 2007 21:51:33 +1100 (EST) (envelope-from peter) Date: Thu, 29 Nov 2007 21:51:33 +1100 From: Peter Jeremy To: Daniel Eischen Message-ID: <20071129105133.GS50167@server.vk2pj.dyndns.org> References: <20071128211022.GA74762@lor.one-eyed-alien.net> <20071128213947.Q7555@fledge.watson.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dMdWWqg3F2Dv/qfw" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-arch@freebsd.org Subject: Re: RFC: libkse*.a in 7.0 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2007 18:24:30 -0000 --dMdWWqg3F2Dv/qfw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 28, 2007 at 04:54:05PM -0500, Daniel Eischen wrote: >I argued for removing libc.a as well as lib.a a couple of >years ago and was met with opposition, mostly because statically >linked applications are faster. There are two distinct pieces to this: 1) RTLD is an overhead for shared libraries. 2) Some CPUs don't natively support PIC and so PIC code is larger/slower. We can't get rid of either but maybe we should look at wiring .so's to preferred pre-linked addresses: If the library will map at it's desired location then most/all offsets offsets are pre-done so RTLD is much simpler. Linux used to do this (I'm not sure if it still does). Tru64 Unix supports it as an option. =20 >I think we should remove libthr.a, libkse.a and libc.a, so flame on! Note that much of the toolchain is currently statically linked so removing libc.a may expose some edge cases in buildworld/installworld. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --dMdWWqg3F2Dv/qfw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHTpm1/opHv/APuIcRAl2sAJ98u2sWkvhNge2VZWrbAVgZCCFdJgCfe32n +RXPEf3PJS1nGio01aiPqv0= =EYUT -----END PGP SIGNATURE----- --dMdWWqg3F2Dv/qfw--