From owner-freebsd-current@FreeBSD.ORG Wed Nov 19 19:54:36 2003 Return-Path: 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 A234316A4CE for ; Wed, 19 Nov 2003 19:54:36 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A309143FE1 for ; Wed, 19 Nov 2003 19:54:35 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hAK3qKMg015830; Wed, 19 Nov 2003 22:52:20 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hAK3qJiC015827; Wed, 19 Nov 2003 22:52:19 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Wed, 19 Nov 2003 22:52:19 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Dan Nelson In-Reply-To: <20031120022009.GB29530@dan.emsphone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Richard Coleman cc: masta@wifibsd.org cc: current@freebsd.org cc: dyson@iquest.net cc: imp@bsdimp.com Subject: Re: Unfortunate dynamic linking for everything X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 03:54:36 -0000 On Wed, 19 Nov 2003, Dan Nelson wrote: > In the last episode (Nov 19), Richard Coleman said: > > I don't really care whether everything is statically or dynamically > > linked. With the fast machines and huge disks these days, bloat is not > > much of an issue. But nss and pam need to work correctly. If the folks > > that are against dynamic linking have an alternate method to make this > > work, I'm all for it. But it needs to be more than theory. We need code. > > > > To be honest, I've never understood the (seemingly irrational) > > resistance against this change. Solaris made this change 10 years ago. > > Not completely: > > $ uname -a > SunOS pd1 5.9 Generic_112233-08 sun4u sparc SUNW,Ultra-Enterprise > $ file /bin/sh > /sbin/sh: ELF 32-bit MSB executable SPARC Version 1, statically linked, stripped > $ file /sbin/* | grep statically | cut -d: -f1 | fmt > /sbin/autopush /sbin/fdisk /sbin/jsh /sbin/mount /sbin/sh > /sbin/soconfig /sbin/sync /sbin/umount /sbin/uname Seems to depend a bit on the install, maybe... raven:~> uname -a SunOS raven 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-250 raven:~> file /bin/sh /sbin/sh /bin/sh: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped /sbin/sh: ELF 32-bit MSB executable SPARC Version 1, statically linked, stripped Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories