[kaffe] Build failure for arm/linux

Kiyo Inaba inaba at src.ricoh.co.jp
Sun Apr 22 20:05:34 PDT 2007


Dalibor wrote:
>I've added the missing patch from Sascha for kernels >2.6.9 for the jit.

Thank you to commit the patch posted to the ML (your comit may be based
on http://www.kaffe.org/pipermail/kaffe/2006-October/104681.html).

But, as a matter of fact, this patch does not solve my problem for
making arm/linux/jit works again. Or even, v1.3 of 'md.c' (not
using ARM_NR_cacheflush) does not solve it.

Since Sascha's report indicates (even he does not explicitly say so)
he tried to make his effort based on 1.1.7, I will try to check
whether this slightly old version works or not. If it works as
he reported, I have to step forward to the CVS head.

>I've looked at this a bit in the parrot source, where I took the routine
>from, and they are doing it the __sys_1 way. Otoh, there is a mail on
>the binutils list about a change in ABIs on arm, complete with patches
>for cache flushing in glibc, that turns up when searching for
>sys_cacheflush. So I guess the best bet on Linux is to see what globc
>does, and to copy that.

Yes, I know that cache flushing will be merged into glibc some day,
and this is the way to go as like as what happened on m68k/netbsd
several years ago (see 'm68k/netbsd1/jit-md.h' v1.5 and v1.7).

Kiyo



More information about the kaffe mailing list