From owner-freebsd-current@FreeBSD.ORG Sun Oct 1 21:56:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 C6CB016A403 for ; Sun, 1 Oct 2006 21:56:47 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5868F43D4C for ; Sun, 1 Oct 2006 21:56:47 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (sxhs8360me59pug3@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k91LuiJN041758; Sun, 1 Oct 2006 14:56:44 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k91Luhlx041757; Sun, 1 Oct 2006 14:56:43 -0700 (PDT) (envelope-from jmg) Date: Sun, 1 Oct 2006 14:56:43 -0700 From: John-Mark Gurney To: "M. Warner Losh" Message-ID: <20061001215643.GZ80527@funkthat.com> Mail-Followup-To: "M. Warner Losh" , freebsd-current@freebsd.org References: <20060928231816.GI80527@funkthat.com> <20061001.140824.-1264104565.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061001.140824.-1264104565.imp@bsdimp.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-current@freebsd.org Subject: Re: better way to build libraries.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2006 21:56:47 -0000 Warner Losh wrote this message on Sun, Oct 01, 2006 at 14:08 -0600: > In message: <20060928231816.GI80527@funkthat.com> > John-Mark Gurney writes: > : Comments? Improvements? > > Generally, libraries are considered to be a critical part of the > system. They often have many different interdependencies. This is > why we have buildworld: to account for them. If you make the patches > that you describe, then you break the upgrade path for people with > older systems. I don't see how adding the ability to do stand alone builds breaks others ability to upgrade their systems through normal means (i.e. buildworld)... > You don't need to do a complete buildworld either to get new > libraries. However, teasing out the parts that you do and don't need Yes you do, if you don't want to break your existing install by doing a make includes.... > can be a chore. Maybe we should enhance the build system to be able > to say 'rebuild just the libraries w/o rebuilding the toolchain'. IMO, even building just the libraries is a bit much... I would like to integrate this into bsd.lib.mk so that if you use bsd.lib.mk you automaticly get what my patch proposes, but my make-fu is weak... I will admit this will be a bit redundant for buildworld, but it could be easily turned off in that case... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."