Subject: Re: Can't make a kernel
To: None <>
From: Yukawa Tatsuaki <>
List: port-sh3
Date: 05/16/2000 16:17:57
At Sun, 14 May 2000 11:23:31, SAITOH Masanobu <> wrote:
>  > sh-evbsh3-netbsdcoff-gcc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wno-parentheses -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DSH7750 -DSH4 -DSH4_PCMCIA -DEVBSH4 -DMMEYE -DINITTODR_ALWAYS_USE_RTC -DBRAINS -DUSE_RTCCLK -DSYNC_CLOCK_TO_RTC -DHZ="0x40" -DPMAP_NEW -DMAXUSERS=16 -D_KERNEL  -Dsh3  -c ../../../../ufs/ffs/ffs_alloc.c
>  > ../../../../ufs/ffs/ffs_alloc.c: In function `ffs_blkfree':
>  > ../../../../ufs/ffs/ffs_alloc.c:1413: fixed or forbidden register 18 (t) was spilled for class T_REGS.
>  > This may be due to a compiler bug or to impossible asm
>  > statements or clauses.
>  > *** Error code 1
> It's a compiler bug.
>  Compile the file with -O0

Thank you for your advice.

By the way, I read Mr. saitoh's article about making ROM of NetBSD/sh3
in INTERFACE(June 2000).

In that article, referring to sources at arch/evbsh3/stand and
src/distrib/evbsh3 is written. But I can't find those directory and

Please tell me place of those sources or contents of those sources.

best regards.