linux-2.4.0-test3 build problem

From: Happy (alexg@myself.com)
Date: Wed Jul 12 2000 - 04:47:22 EST


i had a problem building.

error:
make -C arch/i386/kernel
make[1]: Entering directory `/home/happy/kernel/linux/arch/i386/kernel'
gcc -D__KERNEL__ -I/home/happy/kernel/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=i586 -fno-strict-aliasing -c -o
traps.o traps.c
{standard input}: Assembler messages:
{standard input}:1490: Error: no such 386 instruction: `ldmxcsr'
make[1]: *** [traps.o] Error 1
make[1]: Leaving directory `/home/happy/kernel/linux/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2

fix:
--- linux/include/asm-i386/i387.h.orig Wed Jul 12 01:23:12 2000
+++ linux/include/asm-i386/i387.h Wed Jul 12 01:29:03 2000
@@ -50,8 +50,8 @@
 
 #define load_mxcsr( val ) do { \
         if ( cpu_has_xmm ) { \
- unsigned long __mxcsr = ((unsigned long)(val) & 0xffff); \
- asm volatile( "ldmxcsr %0" : : "m" (__mxcsr) ); \
+/* unsigned long __mxcsr = ((unsigned long)(val) & 0xffff); \
+ asm volatile( "ldmxcsr %0" : : "m" (__mxcsr) ); */ \
         } \
 } while (0)

i'll try different fixes if anyone has one.

kernel: linux-2.4.0-test3+reiserfs-3.6.11

the problem started in test2.

as:
GNU assembler version 2.9.5 (i586-pc-linux) using BFD version 2.9.5.0.46

/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 2
model name : Pentium 75 - 200
stepping : 12
cpu MHz : 120.000982
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8
bogomips : 239.21

config: http://happy.yi.org/~happy/2000-07-12.06-32.config

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:14 EST