[kaffe] Kaffe on ppc (Slackintosh Linux 2.6.x)

Michael Koch konqueror at gmx.de
Thu Jun 29 05:56:15 PDT 2006


On Thu, Jun 29, 2006 at 12:44:40PM +0200, gioco wrote:
> Hi all ,
> 
> I'm new to Kaffe. I have compiled successfully Kaffe 1.1.7 on my iBook 
> G4 (running Slackintosh current, Linux 2.6.17.1), but when I run 'make 
> check' I get:
> 
> Method Constant Pool:
> soft_fixup_trampoline(): return 0x1012de58
> /bin/sh: line 4: 23653 Segmentation fault      env 
> TEST_CLASSES="ConstMethods.class ConstMathMethods.class 
> ParameterizedMethods.class ParameterizedMathMethods.class 
> ParameterizedLogicalMethods.class ParameterizedBitwiseMethods.class 
> ControlFlowMethods.class StaticMethodCall.class TypeConversion.class 
> StaticFields.class PrimitiveArrays.class ObjectFields.class 
> MethodOptimizations.class NativeMethodCall.class Exceptions.class 
> VirtualMethod.class" `. ../../BUILD_ENVIRONMENT; 
> BOOTCLASSPATH=.:\${BOOTCLASSPATH}; export BOOTCLASSPATH; sed 's/.*export 
> \(.*\)/echo \1=$\1/' < ../../BUILD_ENVIRONMENT | sh` ${dir}$tst
> FAIL: jitBasic
> ================================
> 1 of 1 tests failed
> Please report to kaffe at kaffe.org
> ================================
> 
> When I try to run a simple HelloWorld application (compiled with jikes) 
> I get:
> 
> gioco at giocoiBook:~/src$ java HelloWorldApp
> Internal error: caught an unexpected exception.
> Please check your CLASSPATH and your installation.
> java/lang/NullPointerException
> Abortito
> 
> I also noticed that there is no Klasses.jar in /usr/local/kaffe.
> 
> I don't know how to make it work, could you help me, please?

This looks like you use GCC 4.1 to build kaffe. kaffe is known to be
broken when compiled with 4.1. Dalibor is working on this. Workaround is
to use an older GCC like 3.3, 3.4 or 4.0.


Cheers,
Michael
-- 
http://www.worldforge.org/




More information about the kaffe mailing list