From owner-freebsd-doc Wed Jun 27 10: 0: 5 2001 Delivered-To: freebsd-doc@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id 78D5337B401 for ; Wed, 27 Jun 2001 10:00:00 -0700 (PDT) (envelope-from Rahul.Siddharthan@lpt.ens.fr) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id f5RGxwp32285 ; Wed, 27 Jun 2001 18:59:58 +0200 (CEST) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id TAA81244 ; Wed, 27 Jun 2001 19:01:04 +0200 (CEST) Date: Wed, 27 Jun 2001 19:01:04 +0200 From: Rahul Siddharthan To: Christoph Sold Cc: doc@FreeBSD.ORG Subject: Re: Handbook: Build world / build kernel Message-ID: <20010627190103.A80971@lpt.ens.fr> References: <20010627183044.A77365@lpt.ens.fr> <3B3A0E6A.5963F798@i-clue.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B3A0E6A.5963F798@i-clue.de>; from so@server.i-clue.de on Wed, Jun 27, 2001 at 06:48:42PM +0200 X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Christoph Sold said on Jun 27, 2001 at 18:48:42: > > > Warning: If you have upgraded your sources since your last kernel > > ^^^^^^ > > build, you must use the make buildkernel method to build your kernel. > > Otherwise, old utilities will be used to build the kernel, which will > > probably fail. Do not use the config/make sequence to build your > > kernel if you have updated the sources! > > > > Should that be last *world* build? I mean, what does the old kernel > > have to do with old utilities being used to build the new kernel? > > No. It means if you CVSup'ed your source _after_ building a kernel, only > the buildkernel method uses the new binaries in /usr/obj to generate the > kernel. Other methods will build the kernel with userland binaries, > which will be out of sync with the sources after make buildworld. That's what I thought it meant. So it should be "since your last world build" (ie, if your sources are newer than your world, you should use this method, which uses the new binaries in /usr/obj). The last kernel build has nothing to do with it except for the fact that you're supposed to build the kernel and the world from the same source tree. > It is unsafe to build a kernel before you build a world in your object > directory (usually /usr/obj). ie, "make buildworld". So "make buildkernel" should come after "make buildworld", but not necessarily after "make installworld"? Thanks R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message