From: Dieter van Luit (luit@gmd.de)
Date: 01/27/93


From: luit@gmd.de (Dieter van Luit)
Subject: Re: Problem compiling kernel (fixed of forbidden register was spilled)
Date: Wed, 27 Jan 1993 19:36:04 GMT

In <1993Jan27.013003.15687@ibr.cs.tu-bs.de> ruediger@ramz.ing.tu-bs.de (Ruediger Helsch) writes:

>Help! I can no longer compile my kernel since I installed GCC 2.3.3 from
>sources.

>One week ago I installed linux 0.99.3 on top of SLS. All went fine, I made a
>new boot floppy and the system worked ok. Since then I installed GCC 2.3.3
>from GNU sources. Today I tried to install linux 0.99.4, but the compiler
>failed in kernel/fork.c and later in console.c. It seems unable to compile
>complicated ASM expressions. The strange thing: I reinstalled the compiler
>from gcc233.TZ, but the error stayed!

>The compiler is configured as i386-linux. Here is the error message:

>/linux/kernel #
>/linux/kernel # cc -c -v fork.c
>Reading specs from /usr/lib/gcc-lib/i386-linux/2.3.3/specs
>gcc version 2.3.3
> /usr/lib/gcc-lib/i386-linux/2.3.3/cpp -lang-c -v -undef -D__GNUC__=2
> -Dunix -Di386 -Dlinux -D__unix__ -D__i386__ -D__linux__
> -D__unix -D__i386 -D__linux fork.c /usr/tmp/cca03762.i
>GNU CPP version 2.3.3 (80386, BSD syntax)
> /usr/lib/gcc-lib/i386-linux/2.3.3/cc1 /usr/tmp/cca03762.i -quiet -dumpbase
> fork.c -version -o /usr/tmp/cca03762.s
>GNU C version 2.3.3 (80386, BSD syntax) compiled by GNU C version 2.3.3.
>fork.c: In function `sys_fork':
>fork.c:164: fixed or forbidden register was spilled.
>This may be due to a compiler bug or to impossible asm statements.
>/linux/kernel #

>Has anybody an idea what I may have done wrong?
>Ruediger Helsch <ruediger@ramz.ing.tu-bs.de>

Try recompiling with "make disk" from "/linux".