From owner-freebsd-stable Tue Nov 13 19:18:34 2001 Delivered-To: freebsd-stable@freebsd.org Received: from freeway.dcfinc.com (cx74889-a.phnx3.az.home.com [24.1.193.157]) by hub.freebsd.org (Postfix) with ESMTP id BA7B237B405 for ; Tue, 13 Nov 2001 19:18:23 -0800 (PST) Received: (from chad@localhost) by freeway.dcfinc.com (8.8.8/8.8.8) id UAA15796; Tue, 13 Nov 2001 20:18:12 -0700 (MST) (envelope-from chad) Date: Tue, 13 Nov 2001 20:18:11 -0700 From: "Chad R. Larson" To: Dave Tweten Cc: cjclark@alum.mit.edu, freebsd-stable@FreeBSD.ORG Subject: Re: -STABLE buildkernel broke! (linux module) Message-ID: <20011113201811.A15736@freeway.dcfinc.com> References: <200111140147.fAE1lsd40911@gilmore.nas.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200111140147.fAE1lsd40911@gilmore.nas.nasa.gov>; from tweten@nas.nasa.gov on Tue, Nov 13, 2001 at 05:47:53PM -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 13, 2001 at 05:47:53PM -0800, Dave Tweten wrote: > cristjc@earthlink.net said: > >The problem seems to be stale dependencies. Add, > > # rm -rf /usr/obj/usr/src/sys/YOURKERNEL > >Or better yet, > > # rm -rf /usr/obj/usr > >To your weekly script. > Since I mount a separate file system at /usr/obj, it would be an even > faster band-aid to unmount that file system, newfs it, and re-mount it > each week. I do that. The seperate filesystem is also mounted async. Between those two tricks I save quite a lot of time on a build. > But, wouldn't it be "better yet" to fix the problem so band-aids > aren't necessary? One of my reasons for a weekly re-build is to help > the community discover and fix bugs as they are introduced. It seems > clear to me that this is a build bug. I also believe all this chicken waving about "rm -rf /usr/obj" should not be necessary if the build makefiles are glued together properly. What happens now is the moby top makefile descends into each subdirectory and does a "make clean". Usually that works, sometimes it doesn't. But if the general suggestion is to believe that some sections of the code are broken in regard to "make clean", and the fix is to rm /usr/obj, then perhaps the "make buildworld" target should just do that. It would be faster than the recursive cleans. Plus, it would be one step closer to the way Linux does stuff. (Sorry, couldn't help myself.) -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org larson1@home.com DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message