Subject: Re: GCC3.3 update status
To: None <mrg@eterna.com.au>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-toolchain
Date: 08/07/2003 00:26:59
In article <14026.1059319804@splode.eterna.com.au>
mrg@eterna.com.au wrote:

> gcc3 update goes well.  we are almost ready to switch several platforms
> over once a couple of minor issues and some more testing has been done,
> and most other platforms aren't far behind.
 :
> 	currently almost ready [2]:
> 		mipseb, m68k

I got the following error on hp300:

---
 :
(cd /usr/src/gnu/lib/libgcc3 && /usr/tools/m68k/bin/nbmake dependall)
 :
rm -f _ashrdi3.so.tmp
/usr/tools/m68k/bin/m68k--netbsdelf-gcc -O2  -Werror \
-I/usr/src/gnu/lib/libgcc3 -I/usr/src/gnu/usr.bin/gcc3/arch/m68k \
-DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
-I/usr/src/gnu/dist/gcc/gcc -I/usr/src/gnu/dist/gcc/gcc/. \
-I/usr/src/gnu/dist/gcc/gcc/config -I/usr/src/gnu/dist/gcc/gcc/../include \
-I/usr/src/gnu/dist/gcc/gcc/cp -I/usr/src/gnu/lib/libstdc++-v3/arch/m68k \
-I.  -nostdinc -isystem /usr/include -c    _bb.c -o _bb.o.tmp
In file included from _bb.c:2:
/usr/src/gnu/dist/gcc/gcc/libgcc2.c: In function `__bb_exit_func':
/usr/src/gnu/dist/gcc/gcc/libgcc2.c:1542: \
error: unable to find a register to spill in class `DATA_REGS'
/usr/src/gnu/dist/gcc/gcc/libgcc2.c:1542: error: this is the insn:
(insn:QI 197 196 198 17 0x10432330 (set (cc0)
        (compare (mem:SI (reg:SI 8 %a0 [65]) [2 S4 A32])
            (const_int 4 [0x4]))) 11 {*m68k.md:518} (insn_list 195 (nil))
     (expr_list:REG_DEAD (reg:SI 8 %a0 [65])
        (nil)))
/usr/src/gnu/dist/gcc/gcc/libgcc2.c:1542: confused by earlier errors, \
bailing out
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/lib/libgcc3
---

I don't have enough time to track this, though...
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp