I am also experiencing exact the same problem as Holger when trying to compile a pentium/SCSI-optimized kernel. I updated the package lx_suse and k.deflt on SuSe 6.3. This is quite annoying. Why does SuSE distribute kernel updates that don't even build at runtime? Anyhow, could somebody please tell me which line exactly to remove in linux/include/linux/time.h since I'm not too familiar with the C language? Thanks a lot. Best regards, Philippe Wiede pw@megapublic.com Ruediger Oertel wrote:
On Fri, 19 May 2000 Holger-Schmidt@arcor.net wrote:
.... After the security announce of SuSE I updated the kernel sources for compiling to kernel 2.2.14. I only updated the package "lx_suse" because it was the only one which was installed before.
While compiling I get following error message:
--- snip ---
time.c: In function 'do_gettimeofday' time.c: 259: fixed or forbidden register 0 (ax) was spilled for class AREG This may be due to a compiler bug or to impossible asm statements or clauses cpp: output pipe has been closed make[1]: *** [time.o] Error 1 make: leaving directory ... make: *** [_dir_arch/i386/kernel] Error 2
--- snap ---
The kernel was not finished.
I found two differnt files "time.c": one in /usr/src/linux/kernel and one in /usr/src/linux/arch/i386/kernel
Do you know what's wrong ?
the problematic file is /usr/src/linux/arch/i386/kernel/time.c which triggers a bug in egcs-1.1.2 and can only be compiled with gcc-2.95.2 or gcc-2.7.2.3.
AFAIR removing the inline in linux/include/linux/time.h in the definition of normalize_timeval should work for egcs-1.1.2. -- with kind regards (mit freundlichem Grinsen), Ruediger Oertel (ro@suse.de)