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

Re: custom kernel troubles



On Mon, 13 Mar 2000 02:44:35 EST, Robert Braddock writes:
>> It seems that for whatever reason (I´ve set Processor type to 386 in make
>> menuconfig) it thinks that there is a arch/i586 directory where there isn´t.
>
>I just had the exact same problem symptoms (including the failed retry with
>specific arch) as you a few days ago, but with a 2.2 kernel build. If you
>have an ARCH environment variable, unset it and try the basic build command
>again. That worked for me, although it seems odd I never had a problem with
>it before...

Hmm, I´ve set $ARCH to "i386" and the effect

/bin/sh: i386-linux-gcc: command not found
make[3]: *** [/usr/src/kernel-source-2.0.38/include/linux/modules/ksyms.ver] 
Error 139
make[3]: Leaving directory `/usr/src/kernel-source-2.0.38/kernel'
make[2]: *** [dep-files] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.0.38'
make[1]: [stamp-configure] Error 2 (ignored)
make[1]: Leaving directory `/usr/src/kernel-source-2.0.38'
make   ARCH=i386        \
                    CROSS_COMPILE=i386-linux- bzImage
make[1]: Entering directory `/usr/src/kernel-source-2.0.38'
i386-linux-gcc -D__KERNEL__ -I/usr/src/kernel-source-2.0.38/include -Wall 
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m386 
-DCPU=386  -c -o init/main.o init/main.c
make[1]: i386-linux-gcc: Command not found
make[1]: *** [init/main.o] Error 127
make[1]: Leaving directory `/usr/src/kernel-source-2.0.38'
make: *** [stamp-build] Error 2

Ok, so now I´ve set it to "", but

<_lots_ of that errors snipped>
/usr/src/kernel-source-2.0.38/include/asm/string.h:118: Invalid `asm' statement:
/usr/src/kernel-source-2.0.38/include/asm/string.h:118: fixed or forbidden 
register 4 (si) was spilled for class SIREG.
/usr/src/kernel-source-2.0.38/include/asm/string.h:118: Invalid `asm' statement:
/usr/src/kernel-source-2.0.38/include/asm/string.h:118: fixed or forbidden 
register 4 (si) was spilled for class SIREG.
/usr/src/kernel-source-2.0.38/include/asm/string.h:140: Invalid `asm' statement:
/usr/src/kernel-source-2.0.38/include/asm/string.h:140: fixed or forbidden 
register 2 (cx) was spilled for class CREG.
/usr/src/kernel-source-2.0.38/include/asm/string.h:159: Invalid `asm' statement:
/usr/src/kernel-source-2.0.38/include/asm/string.h:159: 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/include/asm/string.h:530: Invalid `asm' statement:
/usr/src/kernel-source-2.0.38/include/asm/string.h:530: 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'
make: *** [stamp-build] Error 2

Ahemm, it seems that there are the egcs-patches applied to the package, any 
sense that I try plain sources?

bash-2.03# gcc --version
2.95.2

Any other suggestions (that I won´t try until next week, after my vacation,  -> 
SF, CA ;-)) ?

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: