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

gioco giocolinux at yahoo.it
Thu Jun 29 08:02:26 PDT 2006


Michael Koch wrote:
> 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

gioco at giocoiBook:~/src$ gcc --version
gcc (GCC) 3.4.6
...

Slackintosh current installs only gcc 3.4.6 (just like Slackware current
does).

Cheers
-- 
gioco

--

Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 




More information about the kaffe mailing list