Re: "no such 386 instruction" with gcc 2.95.2

Jakob Schroeter
2001-01-27T15:06:19Z

Hi!

I have a similar problem when compiling recent 2.4.0-ac or 2.4.1-pre kernels:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686 -c -o i387.o i387.c
{standard input}: Assembler messages:
{standard input}:30: Error: no such 386 instruction: `ldmxcsr'
{standard input}:52: Error: no such 386 instruction: `fxsave'
{standard input}:87: Error: no such 386 instruction: `fxsave'
{standard input}:115: Error: no such 386 instruction: `fxrstor'
make[1]: *** [i387.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.0-ac11/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

I'm using binutils 2.10.1 and egcs 1.1.2.

What could be the problem?

Thanks in advance,
Jakob