Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCaml 5.2.1: first release candidate #26846

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

Octachron
Copy link
Member

@Octachron Octachron commented Nov 7, 2024

This is the usual packages for the release candidate for the upcoming version 5.2.1 of OCaml.

Since this bugfix release only contains a collection of important but safe runtime fixes, this release candidate is mostly here to check that nothing has gone wrong in the 5.2 branch or in the release process.

Compared to OCaml 5.2.0, the changes in 5.2.1 are:

  • 13207: Be sure to reload the register caching the exception handler in
    caml_c_call and caml_c_call_stack_args, as its value may have been changed
    if the OCaml stack is expanded during a callback.
    (Miod Vallat, report by Vesa Karvonen, review by Gabriel Scherer and
    Xavier Leroy)

  • 13252: Rework register assignment in the interpreter code on m68k on Linux,
    due to the %a5 register being used by Glibc.
    (Miod Vallat, report by Stéphane Glondu, review by Gabriel Scherer and
    Xavier Leroy)

  • 13268: Fix a call to test in configure.ac that was causing errors when
    LDFLAGS contains several words.
    (Stéphane Glondu, review by Miod Vallat)

  • 13234, 13267: Open runtime events file in read-write mode on armel
    (armv5) systems due to atomic operations limitations on that
    platform.
    (Stéphane Glondu, review by Miod Vallat and Vincent Laviron)

  • 13188: fix races in the FFI code coming from the use of Int_val(...)
    on rooted values inside blocking questions / without the runtime lock.
    (Calling Int_val(...) on non-rooted immediates is fine, but any
    access to rooted values must be done outside blocking sections /
    with the runtime lock.)
    (Etienne Millon, review by Gabriel Scherer, Jan Midtgaard, Olivier Nicole)

  • 13318: Fix regression in GC alarms, and fix them for flambda.
    (Guillaume Munch-Maccagnoni, report by Benjamin Monate, review by
    Vincent Laviron and Gabriel Scherer)

  • 13140: POWER back-end: fix issue with call to caml_call_realloc_stack
    from a DLL
    (Xavier Leroy, review by Miod Vallat)

  • 13370: Fix a low-probability crash when calling Gc.counters.
    (Demi Marie Obenour, review by Gabriel Scherer)

  • 13402, 13512, 13549, 13553: Revise bytecode implementation of callbacks
    so that it no longer produces dangling registered bytecode fragments.
    (Xavier Leroy, report by Jan Midtgaard, analysis by Stephen Dolan,
    review by Miod Vallat)

  • 13502: Fix misindexing related to Gc.finalise_last that could prevent
    finalisers from being run.
    (Nick Roberts, review by Mark Shinwell)

  • 13520: Fix compilation of native-code version of systhreads. Bytecode fields
    were being included in the thread descriptors.
    (David Allsopp, review by Sébastien Hinderer and Miod Vallat)

@avsm avsm merged commit a420fd7 into ocaml:master Nov 7, 2024
1 of 2 checks passed
@avsm
Copy link
Member

avsm commented Nov 7, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants