Subject: Re: i386/isa/npx.c cannot be compiled
To: Katsuhisa ABE <katsuhisa.abe@nifty.com>
From: None <itojun@iijlab.net>
List: current-users
Date: 04/12/2002 10:24:26
>I cannot complie current's GENERIC kernel with the following message,
>which sources are updated on about 11:00 (UTC) today (11th April)
>by "cvs update -d -P":
>---------------------------------
>cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c ../../../../arch/i386/is
a/npx.c
>/tmp/ccsTc7FR.s: Assembler messages:
>/tmp/ccsTc7FR.s:331: Error: no such 386 instruction: `fxsave'
>/tmp/ccsTc7FR.s:425: Error: no such 386 instruction: `fxsave'
>/tmp/ccsTc7FR.s:464: Error: no such 386 instruction: `fxrstor'
>/tmp/ccsTc7FR.s:493: Error: no such 386 instruction: `fxsave'
>/tmp/ccsTc7FR.s:576: Error: no such 386 instruction: `fxsave'
>*** Error code 1
from src/UPDATING. you need a new gas.
itojun
20010803:
(i386 only): i386 kernel now uses new instructions like
`fxsave' which old gas doesn't understand. To build the
kernel successfully, you need to build and install new gas
(gnu/usr.bin/gas.new), or (temporarily) comment out
"options I686_CPU" from your kernel configuration until you
rebuilt your userland (and got a new gas).