Subject: Re: Error: no such 386 instruction: `fxsave'
To: None <port-i386@netbsd.org>
From: Mike Saunders <method@method.cx>
List: port-i386
Date: 10/29/2001 18:06:38
Lubomir,
 I found that just after I sent the email.  *doh*  Thanks for the
help.  I'm fixing the problem as I write this.


-Mike


On Tue, 30 Oct 2001, Lubomir Sedlacik wrote:

> Date: Tue, 30 Oct 2001 01:01:36 +0100
> From: Lubomir Sedlacik <salo@Xtrmntr.org>
> To: Mike Saunders <method@method.cx>
> Cc: current-users@netbsd.org, port-i386@netbsd.org
> Subject: Re: Error: no such 386 instruction: `fxsave'
> 
> hi,
> 
> On Mon, Oct 29, 2001 at 05:55:04PM -0600, Mike Saunders wrote:
> > schizo# make
> > cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes
> > -Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch
> > -I../../../.. -nostdinc -DCRYPTO_MD_DES_ENC -DCRYPTO_MD_BF_ENC -DLKM
> > -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -Di386  -c
> > ../../../../arch/i386/isa/npx.c
> > /tmp/ccmq7D7T.s: Assembler messages:
> > /tmp/ccmq7D7T.s:314: Error: no such 386 instruction: `fxsave'
> > /tmp/ccmq7D7T.s:410: Error: no such 386 instruction: `fxsave'
> > /tmp/ccmq7D7T.s:450: Error: no such 386 instruction: `fxrstor'
> > /tmp/ccmq7D7T.s:486: Error: no such 386 instruction: `fxsave'
> > /tmp/ccmq7D7T.s:571: Error: no such 386 instruction: `fxsave'
> > *** Error code 1
> >  
> > 	Can anybody give me an idea as to what may be going on
> > here?  Sorry if this has been answered already.  I'm new to the list and
> > I'm still searching the archives.
> 
> you do not need to go so far, just look into src/UPDATING:
> 
> 20010803:
>      (i386 only): i386 kernel now uses new instructions like fxsave which
>      old gas doesn't understand.  To build the kernel successfuly, you
>      need to build and install new gas (gnu/usr.bin/gas.new).
> 
> regards,
> 
> -- 
> -- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\ --
> --                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ / --
> --                                       Microsoft proprietary formats   X  --
> -- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \ --
>