[lkml]   [1999]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject2.2.13pre7 compile error at strnlen_user()

With linux-2.2.13pre7 i'm getting the following error in the
i386 asm version of strnlen_user(), with gcc-2.95 / 2.95.1,
binutils- / i get this error with compiler
CPU optimization set to "-march=pentium" "-march=k6" and "-m486".
i remember there was discussion about this function, dunno
what i'm doing wrong.


cc -D__KERNEL__ -I/usr/src/linux-2.2.13/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -march=pentium -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-2.2.13/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.13/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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean