2.2.13pre5: compile bombs in usercopy.c

Jonathan Walther (krooger@debian.org)
Fri, 10 Sep 1999 08:37:08 -0700 (PDT)


Compiling this on my 2.2.9 system with gcc 2.95.1 gives this error:

make[1]: Entering directory `/usr/src/linux/arch/i386/lib`
make all_targets
make[2]: Entering directory `/usr/src/linux/arch/i386/lib'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o
usercopy.o usercopy.c
usercopy.c: In function `strnlen_user':
usercopy.c:145: Invalid `asm' statement:
usercopy.c:145: fixed or forbidden register 2 (cx) was spilled for class
CREG.
make[2]: *** [usercopy.o] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
make: *** [_dir_arch/i386/lib] Error 2

-
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/