From owner-freebsd-questions Thu Jan 18 0: 0:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rapier.smartspace.co.za (rapier.smartspace.co.za [66.8.25.34]) by hub.freebsd.org (Postfix) with SMTP id 25B8D37B401 for ; Wed, 17 Jan 2001 23:59:55 -0800 (PST) Received: (qmail 9558 invoked by uid 1001); 18 Jan 2001 07:59:51 -0000 Date: Thu, 18 Jan 2001 09:59:51 +0200 From: Neil Blakey-Milner To: Dima Dorfman Cc: Dan Langille , freebsd-doc@freebsd.org, freebsd-questions@freebsd.org Subject: Re: too much confusion over kernel building Message-ID: <20010118095951.A9023@rapier.smartspace.co.za> References: <20010118075317.900E03E09@bazooka.unixfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010118075317.900E03E09@bazooka.unixfreak.org>; from dima@unixfreak.org on Wed, Jan 17, 2001 at 11:53:12PM -0800 Organization: Building Intelligence X-Operating-System: FreeBSD 4.2-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed 2001-01-17 (23:53), Dima Dorfman wrote: > > On Thu 2001-01-18 (20:22), Dan Langille wrote: > > > It might be because it doesn't work. The following box works with the > > > "old" style, but fails with the "new" style: > > > > There'll probably be a 'nm' error somewhere above. I've asked people to > > comment, including Marcel, and haven't got any replies. > > > > The "new" style should be the same as the "old" style. If it's broken, > > fix the "new" style, don't suggest the "old" style. > > I'm in the same boat. I always thought that buildkernel would revert > to using the installed binaries if there's nothing useful in /usr/obj. > If the source tree you're building is the same as the running one, it > shouldn't fail. This is causing the problem: My reminder to Marcel and other hackers that this problem exists: http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=729536+733077+/usr/local/www/db/text/2000/cvs-all/20001224.cvs-all Marcel, the designer of the new system, saying that buildkernel should revert to the running system in the absence of a populated /usr/obj: http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=761905+765570+/usr/local/www/db/text/2000/cvs-all/20001224.cvs-all A description of why 'nm' is failing: http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=837688+841420+/usr/local/www/db/text/2000/cvs-all/20001224.cvs-all Anyway, I'll quickly test the patches, and ask for someone to review again. Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message