[Mono-dev] Issue running recent/latest Mono on PPC emulation target

Alex J Lennon ajlennon at dynamicdevices.co.uk
Sun Feb 14 16:41:40 UTC 2016


Hi,

I was recently contacted by somebody wishing to run mono on an embedded
PPC board so have been doing some testing with meta-mono against Yocto
Poky/Jethro on qemuppc.

4.0.1.34 builds and runs under emulation, successfully running three
simple tests I created to check console, Windows Forms and GTK support.

ref: https://github.com/DynamicDevices/mono-helloworld/tree/master/src


4.2.2.30 and 4.2.0.179 both build and successfully execute the console
and GTK tests but the Windows Forms test fails with:

unknown opcode atomic_add_i4 in mono_arch_output_basic_block()
* Assertion: should not be reached at mini-ppc.c:4507

The stack trace includes

  at <unknown> <0xffffffff>
  at
System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.Create
(System.Type,string[],System.Type[],System.Runtime.Serialization.ISurrogateSelector,System.Runtime.Serialization.StreamingContext,System.Runtime.Serialization.ObjectManager,System.Runtime.Serialization.Formatters.Binary.SerObjectInfoInit,System.Runtime.Serialization.IFormatterConverter,bool)
<0x0005c>
...
  at System.Windows.Forms.KeyboardLayouts.LoadLayouts () <0x000a4>

Full trace is here:  http://pastebin.com/4bJ173Sa

Can anybody advise?

Thanks,

Alex


More information about the Mono-devel-list mailing list