[Mono-list] Problem with Mono on Arm target

Spencer, Matthew MSpencer at ndsuk.com
Wed Aug 15 04:31:43 EDT 2007


Hi
 
I have just completed cross compiling mono-1.2.4 for an Arm target
(using the montavist pro 4 corss compilation toolkit that came with the
development platform).  I had to do a number of hacky things to the
configure script to make it work including '--with-gc=none' (I will try
and sort this problem out later).  It all compiles now fine, but I have
a problem when executing a simple test case that should output the
current time.
 
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for System.TimeZone --->
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 (Int32 capacity) [0x00000] 
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x00000] 
  at System.TimeZone..cctor () [0x00000] --- End of inner exception
stack trace ---
 
  at <0x00000> <unknown method>
  at System.DateTime.get_Now () [0x00020] in
/nethome/mspencer/projects/davinci/code/mono-native/mono-1.2.4/mcs/class
/corlib/System/DateTime.cs:441 
  at test.Main (System.String[] args) [0x00000]
 
My initial thought is that there is a problem with static
initialization, can anyone shed some light on this problem?
 
Cheers
 
Matt
*********************************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the addressee only.  Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited.  If you have received this message in error, please immediately notify the postmaster at nds.com and destroy the original message.  Messages sent to and from NDS may be monitored.  NDS cannot guarantee any message delivery method is secure or error-free.  Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.  We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission.  You should carry out your own virus checks before opening any attachment.  Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England and Wales  Registered no. 3080780   VAT no. GB 603 8808 40-00
**********************************************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070815/e1b5d237/attachment-0001.html 


More information about the Mono-list mailing list