Is there a better place to ask question of Mono?
Although, I'm not sure that this is really a Mono problem, so any
help/suggestions would be appreciated (eg would changing from LE to BE
be worthwhile?). I'd like to get ikvm running on Angstrom, and it's
pretty close. I'm really interested in Java, and ikvm is a good fast
implementation.
Summary:
When I run mono (actually ikvm) I get this error:
** ERROR **: file mini-arm.c: line 3304 (mono_arch_emit_prolog):
assertion failed: (arm_is_imm12 (prev_sp_offset + ainfo->offset))
aborting...
Stacktrace:
at Compiler..ctor
(IKVM.Internal.TypeWrapper,IKVM.Internal.MethodWrapper,IKVM.Internal.ClassFile,IKVM.Internal.ClassFile/Method,IKVM.Internal.CountingILGenerator,IKVM.Internal.ClassLoaderWrapper,System.Diagnostics.SymbolStore.ISymbolDocumentWriter,System.Collections.Hashtable)
<0xffffffff>
at Compiler..ctor
(IKVM.Internal.TypeWrapper,IKVM.Internal.MethodWrapper,IKVM.Internal.ClassFile,IKVM.Internal.ClassFile/Method,IKVM.Internal.CountingILGenerator,IKVM.Internal.ClassLoaderWrapper,System.Diagnostics.SymbolStore.ISymbolDocumentWriter,System.Collections.Hashtable)
<0x001e4>
Native stacktrace:
/lib/ld-linux.so.3 [0x400117b4]
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted
Details:
I installed mono per:
http://bec-systems.com/web/content/view/80/9/
grab the 0.34.0.2 version of ikvm (0.36.0.5 just doesn't work at all).
And run it (you may need to set LD_LIRBARY_PATH and PATH - I did since I
installed on a flash drive):
mono ikvm.exe -version
IKVM.NET Launcher version 0.34.0.2
Copyright (C) 2002-2007 Jeroen Frijters
http://IKVM.NET Launcher version 0.34.0.2
Copyright (C) 2002-2007 Jeroen Frijters
http://www.ikvm.net/
CLR version: 1.1.4322.2032 (32 bit)
Mono version: Mono 1.2.6
System: 1.0.5000.0
IKVM.GNU.Classpath: 0.34.0.2
IKVM.Runtime: 0.34.0.2
ikvm: 0.34.0.2
mscorlib: 1.0.5000.0
GNU Classpath version: 0.95
So far so good (that's further than I've managed on most of the other
NSLU2 distro). I created a shell script to execute ikvm:
#!/bin/sh
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/mnt/usb/usr/lib:/mnt/usb/lib:
PATH=${PATH}:/mnt/usb/usr/bin
exec /mnt/usb/usr/bin/mono /mnt/usb/ikvm-0.34.0.2/bin/ikvm.exe "$@"
So now we can try a real application.
ikvm -cp
./:mix.jar:log4j-1.2.11.jar:js-rhino1_5R3.jar:bsf-2.3.0.jar:commons-logging.jar:
-Dlog4j.configuration=log4j.mix.properties
-Dgnu.io.rxtx.SerialPorts=/dev/ttyS0:/dev/ttyS1:/dev/ttyUSB0:/dev/ttyUSB1:/dev/ttyUSB2:/dev/ttyUSB3
-Djavax.comm.rxtx.SerialPorts=/dev/ttyS0:/dev/ttyS1:/dev/ttyUSB0:/dev/ttyUSB1:/dev/ttyUSB2:/dev/ttyUSB3
-cp
./:mix.jar:log4j-1.2.11.jar:js-rhino1_5R3.jar:bsf-2.3.0.jar:commons-logging.jar:
com.ergotech.mix.server.HeadlessController
** ERROR **: file mini-arm.c: line 3304 (mono_arch_emit_prolog):
assertion failed: (arm_is_imm12 (prev_sp_offset + ainfo->offset))
aborting...
Stacktrace:
at Compiler..ctor
(IKVM.Internal.TypeWrapper,IKVM.Internal.MethodWrapper,IKVM.Internal.ClassFile,IKVM.Internal.ClassFile/Method,IKVM.Internal.CountingILGenerator,IKVM.Internal.ClassLoaderWrapper,System.Diagnostics.SymbolStore.ISymbolDocumentWriter,System.Collections.Hashtable)
<0xffffffff>
at Compiler..ctor
(IKVM.Internal.TypeWrapper,IKVM.Internal.MethodWrapper,IKVM.Internal.ClassFile,IKVM.Internal.ClassFile/Method,IKVM.Internal.CountingILGenerator,IKVM.Internal.ClassLoaderWrapper,System.Diagnostics.SymbolStore.ISymbolDocumentWriter,System.Collections.Hashtable)
<0x001e4>
Native stacktrace:
/lib/ld-linux.so.3 [0x400117b4]
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted
#!/bin/sh
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/mnt/usb/usr/lib:/mnt/usb/lib:
PATH=${PATH}:/mnt/usb/usr/bin
exec /mnt/usb/usr/bin/mono /mnt/usb/ikvm-0.34.0.2/bin/ikvm.exe "$@"
--
Jim Redman
(505) 662 5156 x85
http://www.ergotech.com
_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users