pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Something is very wrong with lang/kaffe

On Thu, Dec 09, 2010 at 09:46:54AM +0100, Francois Tigeot wrote:
> On Thu, Dec 09, 2010 at 09:14:14AM +0900, OBATA Akio wrote:
> > 
> > How about set following?
> > 
> > UNLIMIT_RESOURCES+= stacksize
> I don't believe the stack size has a direct relation to the crashes. The
> error message is often different from time to time:
> Another example:
>   Internal error: caught an unexpected exception.
>   Please check your CLASSPATH and your installation.
>   java/lang/NullPointerException
> The only thing way I have found to complete a jdk build, is to recompile the
> kaffe binary. This is why I think there is some sort of miscompilation /
> memory corruption going on.

I have found the cause of these Kaffe crashes.

The culprit was one of its internal Just-In-Time compilers. It has not
been properly ported to DragonFly and only works by chance (very rarely).

Switching to the Java interpreter allows Kaffe to run properly everytime
and complete a build of jdk15.

I have submitted a new PR, pkg/44249:

Francois Tigeot

Home | Main Index | Thread Index | Old Index