RE: [ILUG] compiling ancient kernels

From: John Moran (arronax at domain eircom.net)
Date: Tue 09 Jul 2002 - 19:29:15 IST


>> /home/diamond/kernel/linux/include/asm/string.h:100: fixed or
>> forbidden register 4 (si) was spilled for class SIREG.
>> /home/diamond/kernel/linux/include/asm/string.h:139: Invalid
>> `asm' statement:
>> /home/diamond/kernel/linux/include/asm/string.h:139: fixed or
>> forbidden register 4 (si) was spilled for class SIREG.
>> make: *** [init/main.o] Error 1
>> diamond at domain derek:~/kernel/linux$
>>
>>
>> Anyone got any suggestions? Do i need to switch to an older
>> version of gcc?
>
>You probably need gcc 2.7.x and a version of binutils from around that
time.

You need even older than that,
gcc 2.5.8 or newer, but not 2.6 or newer

Unfortunately, neither of these are still on the gnu mirrors (not on
esat anyway),
so you'll have to do some hunting to find them ( I have binaries, but
they're
linked against libc4.5 ) - from an old Slackware release (2.0) (designed
for
kernel 1.0) but you should be able to get it to work with 1.2

John



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:46 GMT