Subject: gcc 3 on m68k?
To: None <>
From: John Klos <>
List: tech-pkg
Date: 07/21/2003 18:21:23

Has anyone successfully built gcc 3 on m68k? I'm not even sure what the
errors mean here.

Does anyone want to take a look? I can retry it any time with any
suggested changes.

John Klos
Sixgirls Computing Labs

-B/usr/pkg/gcc-3.3/m68k--netbsdelf/lib/ -isystem
/usr/pkg/gcc-3.3/m68k--netbsdelf/include -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include   -fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I.
-I./. -I./config -I./../include  -DL_divdi3 -c ./libgcc2.c -fexceptions
-fnon-call-exceptions -o libgcc/./_divdi3.o
libgcc2.c: In function `__divdi3':
libgcc2.c:757: error: unable to find a register to spill in class
libgcc2.c:757: error: this is the insn:
(insn 165 164 167 15 0x8294ae0 (set (reg/v:SI 6 %d6 [74])
        (mult:SI (reg/v:SI 8 %a0 [70])
            (reg/v:SI 10 %a2 [69]))) 140 {*} (insn_list 160
(insn_list 164 (nil)))
libgcc2.c:757: confused by earlier errors, bailing out
gmake[2]: *** [libgcc/./_divdi3.o] Error 1
gmake[2]: Leaving directory
gmake[1]: *** [libgcc.a] Error 2
gmake[1]: Leaving directory
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