[kaffe] Kaffe JIT on Alpha
kapil at csa.iisc.ernet.in
Sun Apr 20 07:32:01 PDT 2003
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
snprintf (errbuf, errsiz, "%s: not found",
/* possible buffer overflow problem */
if(errbuf != 0)
sprintf (errbuf, "%s: not found",
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
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/UnsatisfiedLinkError: dlopen: cannot load
./rebuildLib: 29887 Resources lost(coredump)
make: *** [lib/stamp] Error 134
make: Leaving directory `/global/utemp/csakapil/kaffe/libraries/javalib'
make: *** [all-recursive] Error 1
Does this point to something wrong with my configuration??
Dalibor Topic wrote:
>--- Kapil Vaswani <kapil at csa.iisc.ernet.in> wrote:
>>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.
>>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.
>>Internal error: caught an unexpected exception.
>>Please check your CLASSPATH and your installation.
>>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.
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo
>kaffe mailing list
>kaffe at kaffe.org
More information about the kaffe