[kaffe] Kaffe porting on ppc405

Dalibor Topic robilad at kaffe.org
Tue Jun 15 13:06:02 PDT 2004

Ciao Fabio,

Fabio Antonini wrote:
> Hi all
> I'm a kaffe newbie and I'm porting the kaffe on a ppc405. When I run 
> make I receive the following problem:
> powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../config 
> -I../../include/kaffe -I../../kaffe/kaffevm/systems/unix-jthreads 
> -Iintrp -I./intrp -I../../libltdl -DINTERPRETER -I../../kaffe/jvmpi 
> -I../../kaffe/xprof -I../../include 
> -I/home/fabio/VoIP/Cops/kaffe-1.1.4-ppc/./kaffe/kaffevm 
> -I/home/fabio/VoIP/Cops/kaffe-1.1.4-ppc/./kaffe/kaffevm/intrp 
> -I/home/fabio/VoIP/Cops/kaffe-1.1.4-ppc/./kaffe/kaffevm/systems/unix-jthread 
> s -I../../config -I../../include -DKAFFE_VMDEBUG -g -O2 -Wall 
> -Wstrict-prototypes -fsigned-char -msoft-float -c support.c 
> -Wp,-MD,.deps/support.TPlo  -fPIC -DPIC -o .libs/support.o
> support.c: In function `sysdepCallMethod':
> support.c:1192: internal error--insn does not satisfy its constraints:
> (insn 1000 997 507 (set (reg/v:DF 40 f8)
>       (mem:DF (plus:SI (reg:SI 31 r31)
>               (const_int 8 [0x8])) 0)) 441 {*movdf_softfloat32} (nil)
>   (nil))
> make[3]: *** [support.lo] Error 1
> I've ssen in the mailing list that somebody else had the same problem. 
> How did they fixed? Has it ben fixed or not?

It is a bug in your version of gcc, as far as I can tell from the output.

> Any help will be appreciated.

You could try CVS head. A patch to add suport for FPU-less powerpc has 
been checked in in late february. The patch is also available here:

dalibor topic

More information about the kaffe mailing list