From owner-freebsd-current Tue Aug 22 9:32:49 2000 Delivered-To: freebsd-current@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id EF3C337B43F; Tue, 22 Aug 2000 09:32:36 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA12804; Tue, 22 Aug 2000 10:32:03 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA23905; Tue, 22 Aug 2000 10:30:51 -0600 (MDT) (envelope-from nate) Date: Tue, 22 Aug 2000 10:30:51 -0600 (MDT) Message-Id: <200008221630.KAA23905@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Paul Richards Cc: Jeroen Ruigrok van der Werven , Ollivier Robert , "FreeBSD Current Users' list" , green@FreeBSD.ORG Subject: Re: make buildworld br0ken in libutil In-Reply-To: <39A2A98E.EC1D33C4@originative.co.uk> References: <20000822172846.A76574@caerdonn.eurocontrol.fr> <20000822175309.U86398@lucifer.bart.nl> <20000822175438.B76789@caerdonn.eurocontrol.fr> <20000822180037.B28016@lucifer.bart.nl> <39A2A98E.EC1D33C4@originative.co.uk> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > >> Alternatively the sentiment just rose why we couldn't just collapse the > > >> crypt/hash functions of libcrypt into libc. > > >> > > >> It would make sense. > > > > > >It would make even make more sense to convince the other BSD to do the same > > >(haven't checked recently what they do) and do the merge. > > > > I very much agree. > > > > Would it be sensible for the regular cypherpunks to discuss this with > > the NetBSD and OpenBSD brothers? > > > > Otherwise I would be willing to open this discussion on the appropriate > > lists. > > Is there any current policy on what libc is? It certainly isn't "libc" > as required by C and hasn't been for almost ever but there needs to be > some rational to its existence otherwise why not fold everything into > libc and not bother with any other libraries! > > A growing libc makes static binaries grow NOT! Static linking *only* brings in those symbols necessary for the file. It doesn't matter where those files are, they are only brought in if necessary. > and makes it more difficult to > strip out unneeded functionality from a minimalist system install. This is true. > I'd been inclined to try and move things the other way and strip stuff > out of libc into separate libraries but that's obviously not in vogue > at the moment. For what it's worth, I'm in agreement. The 'kitchen sink' approach, although easy tends to make stuff hard to maintain, since you end up with namespace collisions, and you may end up with something you are not aware of that conflicts with routines you are using inside your program. (Think of the recent weak symbol discussion where the library is not using the correct 'global' symbol for read as an example.) > Why does crypt need to be in libc? Not even a significant fraction of > applications need crypt? Agreed. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message