Skip to content

compat.mimalloc 3.6.1 - #658

Merged
Sunrisepeak merged 1 commit into
mainfrom
compat-mimalloc-3.6.1
Nov 1, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
compat-mimalloc-3.6.1

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

compat.mimalloc 3.6.1, beside 3.4.5.

  • One source list names both layouts: 3.6.1 splits the library into alloc/, arena/, heap/, prim/, profile/ and util/, and adds three units under profile/. A name absent from a release's tree selects nothing there. The list is upstream's mi_sources for each release.
  • -D_DEFAULT_SOURCE for every unit: upstream builds as gnu11, this recipe as c11. In 3.6.1 prim/prim.c includes headers before prim/unix/prim.c states _DEFAULT_SOURCE, so syscall and madvise were undeclared.
  • The mimalloc test member moves to 3.6.1. 3.4.5 was rebuilt locally with the same list and its test passes.
  • GLOBAL is the GitHub tag archive, CN the GitCode mcpp-res mirror; the sha256 matches at both.

openkal-musl 0.26 embeds this version as its default allocator (mcpp design 2026-11-02 part 3, §7.1).

Co-authored-by: speak-agent 248744407+speak-agent@users.noreply.github.com

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
@Sunrisepeak
Sunrisepeak merged commit d1e061f into main Nov 1, 2026
21 checks passed
@Sunrisepeak
Sunrisepeak deleted the compat-mimalloc-3.6.1 branch November 1, 2026 19:45
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.

1 participant