Subject: Can't make a kernel
To: None <port-sh3@netbsd.org>
From: Yukawa Tatsuaki <yukawa@sm.sony.co.jp>
List: port-sh3
Date: 05/08/2000 18:45:37
I try to make a kernel, but following error occurred.

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

I use evbsh3/conf/KZSH401 config file, and add following option.

options		FFS_EI	# FFS Endian Independent support

I make cross compile environment with
	binutil-2.9.1.0.25 + binutil-2.9.1.0.25-netbsdsh-19991220-patch
	egcs-1.1.2 + egcs-1.1.2-netbsdsh-19991220-patch.

Kernel sources that I use are
	NetBSD-current/tar_files/src/sys.tar.gz
at April 29.

Please teach me measures.

best regards.

---
yukawa