[kaffe] Kaffe JIT on Alpha
Kapil Vaswani
kapil at csa.iisc.ernet.in
Sun Apr 20 07:32:01 PDT 2003
Hi Dalibor,
Thanks for the prompt reply. I am trying to compile the latest kaffe
version from CVS configured using "--with-staticlib --with-staticvm
--without-x --without-awt --enable-debug --enable-ltdl-convenience" on
an alpha osf1. I had to patch external.c (line 269) for the build to go
proceed.
#ifdef HAVE_SNPRINTF
snprintf (errbuf, errsiz, "%s: not found",
last_sep==NULL?path:last_sep+1);
#else
/* possible buffer overflow problem */
if(errbuf != 0)
sprintf (errbuf, "%s: not found",
last_sep==NULL?path:last_sep+1);
#endif
I also had to comment out the use of inet_ntop function in
clib/net/NetworkInterface.c, since that function wasnt available either.
The build however fails while building javalib as follows.
/bin/ksh ./rebuildLib @essential.files
Compiling classes from @essential.files using
/global/utemp/csakapil/kaffe/kaffe/kaffe/kaffe-bin -verbosegc
at.dms.kjc.Main
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/UnsatisfiedLinkError: dlopen: cannot load
/global/utemp/csakapil/kaffe/libraries/clib/native/libio.so
./rebuildLib[47]: 29887 Resources lost(coredump)
make[1]: *** [lib/stamp] Error 134
make[1]: Leaving directory `/global/utemp/csakapil/kaffe/libraries/javalib'
make: *** [all-recursive] Error 1
Does this point to something wrong with my configuration??
Thanks again..
Kapil
Dalibor Topic wrote:
>Hi Kapil,
>
>--- Kapil Vaswani <kapil at csa.iisc.ernet.in> wrote:
>
>
>>Hi,
>>
>>I would like to know whether the kaffe v1.0.7 port for alpha on osf1
>>supports the JIT. Although I have been able to compile and install kaffe
>>
>>
>
>Kaffe supports a jit on alpha-osf since december 2000.
>http://www.kaffe.org/pipermail/kaffe/2000-December/026104.html
>
>
>
>>with the JIT engine (with a tweak involving an unresolved snprintf in
>>external.c, snprintf is not supported on osf), I get the following
>>
>>
>
>Could you try the latest CVS version? If that one doesn't work (anf thr patch
>makes it build), please post the patch.
>
>
>
>>message when kaffe or javac is invoked. I have been able to run the
>>interpretor without problems. Any help will be appreciated.
>>
>>
>
>
>
>>%>kaffe Test
>>Internal error: caught an unexpected exception.
>>Please check your CLASSPATH and your installation.
>>java/lang/NullPointerException
>>Abort process (core dumped)
>>
>>
>
>If you give the CVS version a try, please take a look at FAQA/FAQ.debugging,
>and post a stack trace of the exception in question.
>
>cheers,
>dalibor topic
>
>__________________________________________________
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo
>http://search.yahoo.com
>
>_______________________________________________
>kaffe mailing list
>kaffe at kaffe.org
>http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
>
>
>
More information about the kaffe
mailing list