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

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-2.9.5.0.3 / 2.9.5.0.12. 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.

ben
<mason@soo.com>

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 majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.020 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site