From owner-freebsd-stable Mon Feb 5 11:43: 2 2001 Delivered-To: freebsd-stable@freebsd.org Received: from level3.dynacom.net (level3.dynacom.net [206.107.213.213]) by hub.freebsd.org (Postfix) with SMTP id 79DE837B491 for ; Mon, 5 Feb 2001 11:42:43 -0800 (PST) Received: (qmail 28255 invoked by uid 0); 5 Feb 2001 19:42:42 -0000 Received: from unknown (HELO urx.com) (206.159.132.160) by mail.urx.com with SMTP; 5 Feb 2001 19:42:42 -0000 Message-ID: <3A7F0231.37A1FCC8@urx.com> Date: Mon, 05 Feb 2001 11:42:41 -0800 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Matthew Emmerton Cc: "Mars G.Miro" , Dima Dorfman , freebsd-stable@FreeBSD.ORG Subject: Re: buildkernel errors References: <20010205083525.EA8013E09@bazooka.unixfreak.org> <01020516431701.10140@hellraiser.cannoncreek.com> <008501c08f95$33bd0aa0$1200a8c0@gsicomp.on.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Emmerton wrote: > > > On Mon, 05 Feb 2001, Dima Dorfman wrote: > > > > cc -c -x > assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-exte > > > > > rns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcas > t > > > > > -qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys -I/us > r/s > > > > rc/sys/../include -D_KERNEL -include > pt_global.h -elf -mpreferred-stack-bo > > > > undary=2 /usr/src/sys/i386/i386/bioscall.s > > > > /tmp/ccN41074.s: Assembler messages: > > > > /tmp/ccN41074.s:773: Error: operands given don't match any known 386 > instruct > > > > ion > > > > /tmp/ccN41074.s:838: Error: operands given don't match any known 386 > instruct > > > > ion > > > > > > This is usually seen when one tries to do a buildkernel before doing a > > > buildworld. Did the buildworld finish as usual? If not, make sure it > > > does and try again. > > Not only must you do a buildworld before doing a buildkernel, but you must > do an installworld as well. This is most likely causing your problem, as > you're using an older set of build tools (gcc, etc) than what buildkernel is > expecting. If you had done this last night while ng_base.c was broken, you would have ended up with an installed 4 Feb user land and a bad kernel. The buildkernel and installkernel was intended to bootstrap across things like compilers being upgraded or new binutils. It also puts off the installs until everything will build. Kent > > -- > Matt Emmerton > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message