[Mono-dev] cross compiling mono in OE for ARM

Cliff Brake cliff.brake at gmail.com
Tue Jul 10 15:21:29 EDT 2007


I sent this yesterday, but it did not go through -- might have been
because I attached the traces to the email????

I'm working on the mono recipes in OpenEmbedded (used for OpenMoko
phone) for ARM.  Supposedly, this recipe works for MIPS, but on ARM I
get the following:

root at compulab-pxa270:~$ mono mono_test.exe
Mono test application
End of program

Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for System.Runtime.Remoting.Conte
xts.Context ---> System.ExecutionEngineException: SIGILL
 at System.Collections.Hashtable..ctor (Int32 capacity, Single
loadFactor, IHashCodeProvider hcp, IComparer comparer) [0x00000]
 at System.Collections.Hashtable..ctor (Int32 capacity, Single
loadFactor) [0x00000]
 at System.Collections.Hashtable..ctor () [0x00000]
 at System.Runtime.Remoting.Contexts.Context..cctor () [0x00000] ---
End of inner exception stack trace ---

Traces are available for x86 (works), and arm (does not work).  I
am using GCC 4.1.2 and have tried both EABI and OABI.  This is mono
1.2.4.  I was working with mono at an earlier date and it did
about the same thing.


Any pointers appreciated.  I'd be glad to do testing legwork, but I'm
still coming up to speed on how mono is put together.


Cliff Brake

More information about the Mono-devel-list mailing list