Subject: Re: kernel build fails on 1.5.2
To: salo <salo@Xtrmntr.org>
From: Steven M. Bellovin <smb@research.att.com>
List: current-users
Date: 09/20/2001 16:02:09
In message <20010920215810.G19220@Xtrmntr.org>, salo writes:
>hi,
>
>On Thu, Sep 20, 2001 at 07:52:44PM +0000, mel kravitz wrote:
>> Trying to build a custom kernel on an i386 , running 1.5.2 fails at
>> ../../../../arch/i386/isa/npx.c
>> /tmp/cc07wnmas: Assembler messages:
>> /tmp/cc07wnmas:314:   no such instruction 'fxsave'
>> ***Error Code 1
>> Stop
>> How  to fix?
>
>from 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).

Right, I ran into this, too -- I had to install the 1.5.2 userland 
before I could compile from the 1.5.2 kernel source.

		--Steve Bellovin, http://www.research.att.com/~smb
				  http://www.wilyhacker.com