Mailing List Archive

Error compiling 2.3.18ac5
Hi,
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/
Re: Error compiling 2.3.18ac5 [ In reply to ]
On Thu, Sep 16, 1999 at 10:12:06AM -0700, Dmitry Brodsky wrote:
...
> 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.
...
> I am using gcc 2.95
>
Ditto with gcc 2.95.1 19990816 (release)
Yours,
Dominik Kubla
--
Drug misuse is not a disease, it is a decision, like the decision to step
out in front of a moving car. You would call that not a disease but an
error of judgment. --Philip K. Dick. Author's Note, A SCANNER DARKLY, 1977
-
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/