Subject: problems with libgcc3 when doing native build
To: None <port-hp300@netbsd.org>
From: Jarle Greipsland <jarle@uninett.no>
List: port-hp300
Date: 11/29/2003 14:28:45
Hi,

I might be the only person still doing native builds of the hp300
port, but I thought I'd check here anyway.  I am having problems
doing a 'build.sh distribution' from a -current source tree on a
hp300 installation of -current from early October.  In short, the
C compiler built as part of the toolchain build chokes on
libgcc2.c (see also PR toolchain/23522 for specifics) with the
error messages:
/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 0x10430120 (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

Has anyone else seen this?
					-jarle