[kaffe] [PATCH] JIT on arm
Dalibor Topic
robilad at kaffe.org
Thu May 3 02:30:37 PDT 2007
Kiyo Inaba wrote:
>I said,
>
>
>>Since I don't want to see 'jit on arm every few months', I started
>>to work with emulators...
>>
>>
>
>After several days of hastle, I finally make kaffe jit works for
>arm with only one modification (sys1 macro definition). It is very
>important to use gcc-2.95, and don't specify 'with-staticvm' etc.
>
>
>
Thank you very much for your work on this problem, Kiyo! I've worked in
the past days on setting the qemu image to a chroot environment for
etch, and it seems that i should do the patches to remove fastjar, zlib
& boehm first, as currently just the configure run takes about an hour
on my machine, and compiling the class library with ecj more than three :/
>The mod I did in diff format is
>----------------------------------------------------------------------
>diff -ur -N -x CVS kaffe/config/arm/linux/md.c /mnt/cdrom/home/kaffe/src/kaffe-snap-070215/config/arm/linux/md.c
>--- kaffe/config/arm/linux/md.c 2007-05-02 13:05:18.000000000 +0900
>+++ /mnt/cdrom/home/kaffe/src/kaffe-snap-070215/config/arm/linux/md.c 2007-05-02 14:36:57.000000000 +0900
>@@ -16,6 +16,7 @@
> #endif
> #include <malloc.h>
> #include <sched.h>
>+#define __KERNEL__
> #include <asm/unistd.h>
>
> void
>----------------------------------------------------------------------
>
>I am still not sure whether this is better (to say we are now compiling
>kernel code) than something else, so I have not yet committed this.
>
>
Thank you for the patch. I'll give a go to s_j's patch as soon as I've
turned configure back into something more manageable tonight.
>So, next TODOs are
>1) Why it does not work with newer version of gcc?
>
>
off the top of my head, i'd guess ffi changes.
>2) Why with-staticvm broken?
>
>
that's on my list to get fixed today.
>3) Does X part work?
>4) Make jit3 to work.
>
>
that would both be very cool to have for the release.
cheers,
dalibor topic
More information about the kaffe
mailing list