<div dir="ltr"><div><div><div>Hello,<br><br></div>thank for your reply. I'm use CTypes 0.11.3.<br>For now I wrote bindings via native OCaml mechanics and they work as for x86 as with same cross-compiler x86-ARM suit, so it really seems as CTypes issue.<br></div>I will try 0.11.4 version too.<br><br></div>WBR, ssp<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-17 21:21 GMT+05:00 Jeremy Yallop <span dir="ltr"><<a href="mailto:yallop@gmail.com" target="_blank">yallop@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 12 May 2017 at 10:46, Serge Sivkov <<a href="mailto:ssp.mryau@gmail.com">ssp.mryau@gmail.com</a>> wrote:<br>
> here is minimal example, which works without any problems on x86 and raises<br>
> CallToExpiredClosure on ARM:<br>
> <a href="https://github.com/mryau/ctypes-mintest" rel="noreferrer" target="_blank">https://github.com/mryau/<wbr>ctypes-mintest</a><br>
<br>
</span>Thanks for the example.  Which ctypes release are you using?  Could<br>
you give the latest (0.11.4) a try, if you haven't already?<br>
<br>
I didn't spot anything obviously wrong in your code, so if it's still<br>
broken on Arm with 0.11.4 it'd be good to have an issue open to track<br>
the problem (<a href="https://github.com/ocamllabs/ocaml-ctypes/issues" rel="noreferrer" target="_blank">https://github.com/ocamllabs/<wbr>ocaml-ctypes/issues</a>).<br>
<br>
Kind regards,<br>
<br>
Jeremy<br>
</blockquote></div><br></div>