Subject: Re: Kernel upgrade issues
To: Dave <morbiddk@insensible.net>
From: Perry E. Metzger <perry@piermont.com>
List: port-i386
Date: 01/27/2003 11:25:59
Dave <morbiddk@insensible.net> writes:
> I am running NetBSD 1.5.2, while I do know this is a bit old it has
> been working flawlessly for me until now. I have upgraded the source
> so that I can recompile my kernel.

Are you upgrading to -current? If so, you probably want to use
build.sh to construct a new kernel for you -- doing it by hand
requires upgrading a bunch of the toolchain first.

> I have also upgraded my config
> binary as well. Config and make depend all work without problems but
> the make fails with the following:
> 
> cc  -ffreestanding  -O2 -Werror -Wall -Wno-main
> -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
> -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Di386 -I.
> -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=32
> -D_KERNEL -D_KERNEL_OPT   -c
> ../../../../arch/i386/i386/bios32.c
> /tmp/cc4RX6Vr.s: Assembler messages:
> /tmp/cc4RX6Vr.s:116: Error: operands given don't match any known 386
> instruction
> *** Error code 1
> 
> I have reverified that I have the most current source files a couple
> times. I have surfed around google and the like trying to figure out
> why this might be failing. Any ideas?
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/2003

-- 
Perry E. Metzger		perry@piermont.com