[Mono-dev] AMD64 AOT code and bad IMT

2013-05-20 Thread Gavin Dodd
Hi, I'm new to Mono so I'm not sure if this is the right list. Please point me in the right direction if this isn't the place to ask these questions. I'm trying to get AOT compiled code to run on an embedded AMD 64 system. It is crashing the first time it hits a method call requiring an IMT b

Re: [Mono-dev] AMD64 AOT code and bad IMT

2013-05-28 Thread Gavin Dodd
boundary and CLang (used for runtime) was not. I fixed it with pad bytes to align the structs, but this only fixes my case. This was in a version based on 2.8, but the latest release still uses bitfields. Gavin From: Gavin Dodd To: "mono-devel

Re: [Mono-dev] Mono AOT for 64-bit Windows

2013-07-02 Thread Gavin Dodd
I just dealt with AOT cross compiling from win64 to freebsd/amd64 and had something like this mono_marshal_get_icall_wrapper emits the address of the function to call at the time of compilation. As I was only concerned with AOT I just changed mono_mb_emit_native_call (mb, csig2, (gpointer) fu