From owner-cvs-all@FreeBSD.ORG Wed Aug 3 10:12:55 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62C5316A41F for ; Wed, 3 Aug 2005 10:12:55 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7903C43D49 for ; Wed, 3 Aug 2005 10:12:54 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from Andro-Beta.Leidinger.net (p54A5F0C5.dip.t-dialin.net [84.165.240.197]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j73A9IaO044683; Wed, 3 Aug 2005 12:09:31 +0200 (CEST) (envelope-from netchild@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j73ABoxi059279; Wed, 3 Aug 2005 12:11:51 +0200 (CEST) (envelope-from netchild@FreeBSD.org) Received: from 141.113.101.31 ([141.113.101.31]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Wed, 03 Aug 2005 12:11:50 +0200 Message-ID: <20050803121150.gn025733y8400wk8@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 03 Aug 2005 12:11:50 +0200 From: Alexander Leidinger To: "M. Warner Losh" References: <20050731102343.35bc4aa9@Magellan.Leidinger.net> <20050802090717.GK14023@ip.net.ua> <20050802140536.zstn68rcgsg84g0w@netchild.homeip.net> <20050802.085239.34568854.imp@bsdimp.com> In-Reply-To: <20050802.085239.34568854.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, ru@FreeBSD.org, des@des.no, grehan@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 ObsoleteFiles.inc src/share/man/man7 build.7 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2005 10:12:55 -0000 "M. Warner Losh" wrote: > In message: <20050802140536.zstn68rcgsg84g0w@netchild.homeip.net> > Alexander Leidinger writes: > : When an user calls delete-old with DESTDIR set to the root of a non-native > : machine architecture he may remove non-obsolete files when he > forgets to set > : TARGET_ARCH. I want to prevent this situation. I think "failsafe" is more > : important than "POLA" in this case. > > If TARGET_ARCH is set, then the right set of files will be deleted if > you use TARGET_ARCH rather than MACHINE_ARCH. Yes. I'm not talking about technical problems. I talk about problems which sit on a chair. If we change MACHINE_ARCH to TARGET_ARCH and an user runs "make delete-old-libs" without setting TARGET_ARCH in a cross-arch environment, he will remove non-obsolete libs. And I think we should go the failsafe route. If you think we can life with this problem, go ahead and change MACHINE_ARCH to TARGET_ARCH. But add an explanation to the commit log which makes it obvious that you understand the problem I'm talking about and that we (FreeBSD) don't care about it. And be prepared that I will whine at the person which makes this change when someone shoots in his foot when he forgets to set TARGET_ARCH. Unrelated: Warner, did you see my mail regarding my cardbus/cbb problems (1-3 weeks ago, CCed to current@). Bye, Alexander. -- http://www.Leidinger.net/ Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org/ netchild @ FreeBSD.org : PGP ID = 72077137