From owner-freebsd-current Wed Oct 30 13:42: 8 2002 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 3992A37B401 for ; Wed, 30 Oct 2002 13:42:07 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06DF643E42 for ; Wed, 30 Oct 2002 13:42:03 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id CB6EA2A88D; Wed, 30 Oct 2002 13:41:58 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Terry Lambert Cc: Nate Lawson , current@freebsd.org Subject: Re: libc size In-Reply-To: <3DC04861.3C5E975B@mindspring.com> Date: Wed, 30 Oct 2002 13:41:58 -0800 From: Peter Wemm Message-Id: <20021030214158.CB6EA2A88D@canning.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert wrote: > Nate Lawson wrote: > > Here is a link to the size of various components of libc, sorted by text > > size. If you can find some way to reduce or even remove some of this, > > please submit a patch. > > > > http://www.root.org/~nate/freebsd/lib_size.out > > Move the resolver code out to ibresolv.so, and link libc.so > against libresolv.so so that legacy applications are happy, as > long as they are compiled shared. Non-network apps can ignore > most of it. Internal use of some of the biggest chunks is > limited, so this should avoid dragging in a lot of it. We've been over this before. To make this work right, we need to make /bin and /sbin dynamically linked. NetBSD's /rescue/* approach would solve the "oops!" and other foot shooting problems. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message