-
-
Notifications
You must be signed in to change notification settings - Fork 268
Bump mimalloc #4853
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
base: master
Are you sure you want to change the base?
Bump mimalloc #4853
Conversation
Hmm, TLS trouble on macOS with mimalloc v1.8.9 (no v1.8.8 available), which they've worked on according to their changelog. |
867d4b8
to
84c88a9
Compare
packaging/mimalloc_version
Outdated
v1.8.9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v1.8.9 | |
v1.9.3 |
Maybe let's try a newer version released in March 2025 to see if the macOS situation has been resolved?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same problem unfortunately:
Aborting from rt/sections_elf_shared.d(200) Could not determine TLS range
What's new is a compile error for Alpine:
In file included from /__w/ldc/mimalloc/src/prim/unix/prim.c:36,
from /__w/ldc/mimalloc/src/prim/prim.c:25,
from /__w/ldc/mimalloc/src/static.c:38:
/usr/include/sys/prctl.h:88:8: error: redefinition of 'struct prctl_mm_map'
88 | struct prctl_mm_map {
| ^~~~~~~~~~~~
In file included from /__w/ldc/mimalloc/src/prim/unix/prim.c:34:
/usr/include/linux/prctl.h:134:8: note: originally defined here
134 | struct prctl_mm_map {
| ^~~~~~~~~~~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like mimalloc
breaks LDC after this mimalloc
commit:
commit f126b503822addadbdfcc82f940c5a086d3f75dc (HEAD)
Author: Daan <[email protected]>
Date: Sun Oct 27 21:10:46 2024 -0700
update comments, set constructor priority to 101 on macOS
src/prim/osx/alloc-override-zone.c | 4 ++--
src/prim/prim.c | 10 +---------
2 files changed, 3 insertions(+), 11 deletions(-)
84c88a9
to
cf915da
Compare
No description provided.