Subject: Unable to build lang/gcc3
To: None <>
From: Reinier Jonker <>
List: tech-pkg
Date: 02/01/2003 17:04:18
I am currently unable to build gcc3 on a mac68k box, it appears there 
is something wrong with the embedded m68k assembly in libgcc2.c. I get 
the following output:

libgcc2.c: In function `__udivmoddi4':
libgcc2.c:62: unable to find a register to spill in class `DATA_REGS'
libgcc2.c:62: this is the insn:
(insn 135 134 136 (set (reg:SI 0 %d0 [54])
         (ashift:SI (reg/v:SI 6 %d6 [40])
             (reg/v:SI 10 %a2 [45]))) 236 {ashlsi3} (nil)
     (expr_list:REG_DEAD (reg/v:SI 6 %d6 [40])
libgcc2.c:62: confused by earlier errors, bailing out
gmake[2]: *** [libgcc/./_divdi3.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/lang/gcc3/work/gcc-3.2.1/gcc'
gmake[1]: *** [libgcc.a] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/lang/gcc3/work/gcc-3.2.1/gcc'
gmake: *** [all-gcc] Error 2
*** Error code 2

make: stopped in /usr/pkgsrc/lang/gcc3
*** Error code 1

make: stopped in /usr/pkgsrc/lang/gcc3

Thanks in advance.

Best Regards,

Reinier Jonker