When compiling 2.3.18ac5 I get the following compile error:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -mpreferred-stack-boundary=2 -DCPU=586 -march=i586 -c -o usercopy.o usercopy.c
usercopy.c: In function `strnlen_user':
usercopy.c:177: Invalid `asm' statement:
usercopy.c:177: fixed or forbidden register 2 (cx) was spilled for class CREG.
make[2]: *** [usercopy.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.3.18/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.3.18/arch/i386/lib'
make: *** [_dir_arch/i386/lib] Error 2
I am using gcc 2.95
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95/specs
gcc version 2.95 19990728 (release)
and GLibC 2.0.6.
ttyl
Dima
-- Dima Brodsky dima@cs.ubc.ca 201-2366 Main Mall Department of Computer Science (604) 822-6179/822-2895 University of British Columbia, Canada (604) 822-5485 (FAX)Computers are like Old Testament gods; lots of rules and no mercy. (Joseph Campbell)
- 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/