I'm having a problem compiling RH 5.2 (2.0.36) with gcc 2.95.
Here's
the errors I'm getting: (I've truncated the list, as there were a
whole
lot of them)
-----
cd /usr/src/linux/
make zImage
gcc -D__KERNEL__ -I/vol2/linux-2.0.36/include -Wall
-Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o
init/main.o init/main.c
In file included from init/main.c:43:
/vol2/linux-2.0.36/include/asm/bugs.h: In function `check_k6_bug':
/vol2/linux-2.0.36/include/asm/string.h:118: Invalid `asm' statement:
/vol2/linux-2.0.36/include/asm/string.h:118: fixed or forbidden
register 4 (si) was spilled for class SIREG.
/vol2/linux-2.0.36/include/asm/bugs.h: In function
`check_cyrix_various':
/vol2/linux-2.0.36/include/asm/string.h:39: Invalid `asm' statement:
/vol2/linux-2.0.36/include/asm/string.h:39: fixed or forbidden
register 4 (si) was spilled for class SIREG.
init/main.c: In function `get_options':
init/main.c:259: warning: subscript has type `char'
/vol2/linux-2.0.36/include/asm/string.h:159: Invalid `asm' statement:
/vol2/linux-2.0.36/include/asm/string.h:159: fixed or forbidden
register 4 (si) was spilled for class SIREG.
init/main.c: In function `checksetup':
/vol2/linux-2.0.36/include/asm/string.h:140: Invalid `asm' statement:
/vol2/linux-2.0.36/include/asm/string.h:140: fixed or forbidden
register 2 (cx) was spilled for class CREG.
/vol2/linux-2.0.36/include/asm/string.h:140: Invalid `asm' statement:
/vol2/linux-2.0.36/include/asm/string.h:140: fixed or forbidden
register 2 (cx) was spilled for class CREG.
/vol2/linux-2.0.36/include/asm/string.h:140: Invalid `asm' statement:
/vol2/linux-2.0.36/include/asm/string.h:140: fixed or forbidden
register 2 (cx) was spilled for class CREG.
/vol2/linux-2.0.36/include/asm/string.h:140: Invalid `asm' statement:
/vol2/linux-2.0.36/include/asm/string.h:140: fixed or forbidden
register 2 (cx) was spilled for class CREG.
init/main.c: In function `calibrate_delay':
/vol2/linux-2.0.36/include/asm/delay.h:24: Invalid `asm' statement:
/vol2/linux-2.0.36/include/asm/delay.h:24: fixed or forbidden register
0 (ax) was spilled for class AREG.
/vol2/linux-2.0.36/include/asm/delay.h:24: Invalid `asm' statement:
/vol2/linux-2.0.36/include/asm/delay.h:24: fixed or forbidden register
0 (ax) was spilled for class AREG.
init/main.c: In function `parse_root_dev':
-----
Here's what gcc -v reports:
-----
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95/specs
gcc version 2.95 19990728 (release)
-----
Any ideas what's happening here? Thanks.
--
-Greg "TORCHA" Gershowitz
-DGX3K's own Extreme Icon
To Reply: See the organization line
Spam sucks. * you spammers. Have a Nice Day.
http://www.veryComputer.com/