Subject: Re: Re: Running java (kaffe) dumps core
To: NetBSD alpha <port-alpha@netbsd.org>
From: Uwe Lienig <Uwe.Lienig@fif.mw.htw-dresden.de>
List: port-alpha
Date: 07/06/2006 13:24:06
Hello Pavel,
Thanks for your input. The sysctl variable was already set to 1
$> sysctl machdep.unaligned_fix
machdep.unaligned_fix = 1
But I've set this. Sysctl wrote:
$> sysctl -w machdep.unaligned_fix=1
machdep.unaligned_fix: 1 -> 1
The error in kaffe persisted. Maybe there is something useful in the .work.log
or anywhere else, produced by the compiler. I've build kaffee from source.
> On Mon, Jul 03, 2006 at 03:34:08PM +0200, Uwe Lienig wrote:
> > I have the following problem
> >
> > kaffe dumps core with a very simple Hello world. The source is 5 lines
> >
> > public class Hallo {
> > public static void main(String[] args) {
> > System.out.println("Hallo Welt!");
> > }
> > }
> >
> > I'm running bash:
> > GNU bash, version 2.05b.0(1)-release (alpha--netbsd)
> > Copyright (C) 2002 Free Software Foundation, Inc.
> >
> > The environment is
> > >
PATH=/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/pkg/java/kaffe/bin
> > CLASSPATH=/usr/pkg/java/kaffe/jre/lib/rt.jar:.
> >
> > Compiling with jikes gives no error. Running the resulting class stops with
> the
> > following message:
> >
> > (kaffe-bin): unaligned access: va=0x1200d42f1 pc=0x160090090 ra=0x160090004
> > sp=0x1ffffe430 op=ldq
>
> This sounds like a bug in kaffe. try setting the machdep.unaligned_fix
> sysctl to 1.
>
> Pavel
--
Uwe Lienig
----------
fon: (+49 351) 462 2780
fax: (+49 351) 462 3476
mailto:uwe.lienig@fif.mw.htw-dresden.de
Forschungsinstitut Fahrzeugtechnik
<http://www.fif.mw.htw-dresden.de>
parcels: Gutzkowstr. 22, 01069 Dresden
letters: PF 12 07 01, 01008 Dresden
Hochschule für Technik und Wirtschaft Dresden (FH)
Friedrich-List-Platz 1, 01069 Dresden