Subject: Re: Error: no such 386 instruction: `fxsave'
To: Mike Saunders <method@method.cx>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: current-users
Date: 10/30/2001 01:01:36
--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D32 -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
> =20
> 	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,

--=20
-- 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                                  / \=
 --

--VS++wcV0S1rZb1Fb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE73e3gWc63C347cOIRAqMBAKCtA70C8HG+O32+uK8ywVAaunHiBwCgjkG5
nFOGfG2cQwWHvLZomp2eE6U=
=f69w
-----END PGP SIGNATURE-----

--VS++wcV0S1rZb1Fb--