On 8/15/07, Spencer, Matthew <[EMAIL PROTECTED]> wrote: > > > 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?
Hello Matthew, I am running into similar problems, but have not had time to debug yet. http://search.gmane.org/?query=cliff.brake&group=gmane.comp.gnome.mono.devel Cliff -- ======================= Cliff Brake http://bec-systems.com _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
