problems with libgcc3 when doing native build

Jarle Greipsland <[email protected]>
Newsgroups gmane.os.netbsd.ports.hp300
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.