Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Feb 2001 11:42:41 -0800
From:      Kent Stewart <kstewart@urx.com>
To:        Matthew Emmerton <matt@gsicomp.on.ca>
Cc:        "Mars G.Miro" <mars@cannoncreek.com>, Dima Dorfman <dima@unixfreak.org>, freebsd-stable@FreeBSD.ORG
Subject:   Re: buildkernel errors
Message-ID:  <3A7F0231.37A1FCC8@urx.com>
References:  <20010205083525.EA8013E09@bazooka.unixfreak.org> <01020516431701.10140@hellraiser.cannoncreek.com> <008501c08f95$33bd0aa0$1200a8c0@gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A7F0231.37A1FCC8>