Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W06.2025 · 3–9 Febocaml/ocaml

Fixes

  • OCaml (PR #13777, opened): proposes fixing C++ name-mangling failures on Cygwin caused by a missing extern "C" guard on a TLS symbol, and correcting the C++ API compatibility test, which was silently passing without compiling the test file. The fix also addresses three header incompatibilities: variadic-macro alloc annotations, a flexible array member in the bigarray struct, and a field name shadowing a value typedef. Link

  • OCaml (PR #13777, opened): adds a TLS indirection layer so that thread-local storage variables are accessible from DLLs on Cygwin, MinGW-w64, and macOS, resolving a link-time symbol-resolution error when compiling C++ code (e.g. opam via mccs) against OCaml 5.3. Link

  • OCaml (PR #13777, opened): reworks the C++ API test to build a stub file directly as C++ (bypassing the OCaml compiler driver) and uses GCC JSON diagnostics to filter known-acceptable errors (FAM, changes-meaning), making the test best-effort rather than all-or-nothing. Link

Compatibility and Releases

  • OCaml (PR #13777, opened): the author notes the Cygwin TLS fix and the corrected test should be backported to the 5.3 branch if accepted. The PR was opened 2025-02-04; its eventual closure falls outside this reporting interval. Link