You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recent HACL* change in Python 3.14.0a2 cause local build breakage on macOS below Catalina due to lack of support for aligned_alloc (also memset_s on older macOS <10.9).
Fixes for the affected dependency have already been submitted to the repositories:
gh-127897: Update HACL* module from upstream sources to get:
- Lib_Memzero0.c: don't use memset_s() on macOS <10.9
- Use _mm_malloc() for KRML_ALIGNED_MALLOC on macOS <10.15
- Add LEGACY_MACOS macros, use _mm_free() for KRML_ALIGNED_FREE on macOS <10.15
Thanks for taking this on and working to get the fixes properly into the upstream repos.
FYI - macos catalina 10.15 is end of life and insecure for anyone to have attached to a network. But we do appear to still support building back to 10.13 for some reason so this seemed worthwhile.
pythongh-127897: Update HACL* module from upstream sources to get:
- Lib_Memzero0.c: don't use memset_s() on macOS <10.9
- Use _mm_malloc() for KRML_ALIGNED_MALLOC on macOS <10.15
- Add LEGACY_MACOS macros, use _mm_free() for KRML_ALIGNED_FREE on macOS <10.15
Bug report
Bug description:
The recent HACL* change in Python 3.14.0a2 cause local build breakage on macOS below Catalina due to lack of support for
aligned_alloc
(alsomemset_s
on older macOS <10.9).Fixes for the affected dependency have already been submitted to the repositories:
CPython versions tested on:
3.14
Operating systems tested on:
macOS
Linked PRs
The text was updated successfully, but these errors were encountered: