Subject: gcc 3 on m68k?
To: None <tech-pkg@netbsd.org>
From: John Klos <john@sixgirls.org>
List: tech-pkg
Date: 07/21/2003 18:21:23
Hi,

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.

Thanks,
John Klos
Sixgirls Computing Labs


/tmp/pkgsrc/lang/gcc3/work.lilith/gcc-3.3/gcc/xgcc
-B/tmp/pkgsrc/lang/gcc3/work.lilith/gcc-3.3/gcc/
-B/usr/pkg/gcc-3.3/m68k--netbsdelf/bin/
-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
`DATA_REGS'
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 {*m68k.md:3072} (insn_list 160
(insn_list 164 (nil)))
    (nil))
libgcc2.c:757: confused by earlier errors, bailing out
gmake[2]: *** [libgcc/./_divdi3.o] Error 1
gmake[2]: Leaving directory
`/tmp/pkgsrc/lang/gcc3/work.lilith/gcc-3.3/gcc'
gmake[1]: *** [libgcc.a] Error 2
gmake[1]: Leaving directory
`/tmp/pkgsrc/lang/gcc3/work.lilith/gcc-3.3/gcc'
gmake: *** [all-gcc] Error 2
*** Error code 2

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

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