dlvr.it
Release of OCaml 5.5.1
We have the pleasure of celebrating the birthday of Giovanni Girolamo Saccheri
by announcing the release of OCaml version 5.5.1.
This patch-level release fixes a major type system bug for module-dependent
functions and also contains two security fixes for the runtime: one in the
Marshal module, another inside the loading of bytecode.
At a less severe level, this release also fixes two bugs in the runtime for
concurrent programs, another runtime bug for musl users; and a handful of other
bugs.
The release also restores support for cloning the compiler on macOS.
Overall, we are strongly advising you to switch to OCaml 5.5.1 if you were
already using OCaml 5.5.0.
The full list of changes can be found in the full changelog.
---
Installation Instructions
The base compiler can be installed as an opam switch with the following
commands:
opam update
opam switch create 5.5.1
The source code for the release is also directly available on:
* GitHub
* OCaml archives at Inria
Fine-Tuned Compiler Configuration
If you want to tweak the configuration of the compiler, you can switch to the
option variant with:
opam update
opam switch create ocaml-variants.5.5.1+options
where is a space separated list of ocaml-option-* packages.
For instance, for a flambda and no-flat-float-array switch:
opam switch create 5.5.1+flambda+nffa ocaml-variants.5.5.1+options ocaml-option-flambda ocaml-option-no-flat-float-array