[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: custom kernel troubles



On Mon, 20 Mar 2000 21:45:14 EST, Robert Braddock writes:
>> Ok, so now I´ve set it to "", but
>
>Make sure you unset ARCH in the shell before starting the make at all, not
>just set it to "". There's a difference. Other than that, I don't have any
>suggestions. Like I said, I had the exact same errors you had, and unsetting
>ARCH fixed it for me, but I haven't really looked into what's going on
>inside the make.

ok, now I´m a step further (I think), I´ve grabbed fresh kernel-sources,
applied the egcs-patches (from http://www.suse.de/~florian/kernel+egcs.html)
(I´m using gcc 2.95.2), but of course there´s yet-another-problem ;-) :

test -f stamp-configure || make -f /usr/share/kernel-package/rules configure
make   ARCH=i386   \
                    CROSS_COMPILE= bzImage
make[1]: Entering directory `/usr/src/kernel-source-2.0.38-clean'
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.0.38-clean/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:46:
/usr/src/kernel-source-2.0.38-clean/include/asm/bugs.h: In function
`check_k6_bug':
/usr/src/kernel-source-2.0.38-clean/include/asm/string.h:118: Invalid `asm'
statement:
/usr/src/kernel-source-2.0.38-clean/include/asm/string.h:118: fixed or
forbidden register 4 (si) was spilled for class SIREG.

<...>

init/main.c: In function `start_kernel':
/usr/src/kernel-source-2.0.38-clean/include/asm/string.h:532: Invalid `asm'
statement:
/usr/src/kernel-source-2.0.38-clean/include/asm/string.h:532: fixed or
forbidden register 2 (cx) was spilled for class CREG.
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.0.38-clean'
make: *** [stamp-build] Error 2

I´ve also tried without the patch, the effect is the same.

If anyone could help me out with this one, I´d be most thankful (I might even
mention http://www.waldner.priv.at/photos/transmeta.JPG which is a nice shot
taken during my vacation last week ;-).

TIA,
&rw
-- 
/ Robert Waldner <Waldner@KPNQwest.at> | Phone: +43 1 89933 0 Fax x533 \
\        KPNQwest/AT tech staff        | Diefenbachg. 35   A-1150 Wien / 



Reply to: