The OCaml bindings have been broken in trunk for a while. I chased it down to the addition of the Half type (rev 146786) not being reflected in the OCaml enums, causing mysterious type checking to break in the middle of the LLVM stack when using code generated from OCaml. The fix was trivial: https://github.com/jrk/llvm/pull/1/files -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-ocaml-binding.patch Type: application/octet-stream Size: 1209 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111228/94238980/attachment.obj>
Thanks! Patch applied in svn r147314 On Dec 28, 2011, at 9:14 AM, Jonathan Ragan-Kelley wrote:> The OCaml bindings have been broken in trunk for a while. I chased it > down to the addition of the Half type (rev 146786) not being reflected > in the OCaml enums, causing mysterious type checking to break in the > middle of the LLVM stack when using code generated from OCaml. > > The fix was trivial: > > https://github.com/jrk/llvm/pull/1/files > <fix-ocaml-binding.patch>_______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reasonably Related Threads
- [LLVMdev] Atomic ops cannot be built from C/OCaml bindings
- [LLVMdev] Atomic ops cannot be built from C/OCaml bindings
- [LLVMdev] Atomic ops cannot be built from C/OCaml bindings
- [LLVMdev] Atomic ops cannot be built from C/OCaml bindings
- [LLVMdev] Does the OCaml binding include intrinsic support?