Skip to content

more Ci fixes - #286

Merged
jvoisin merged 4 commits into
daanx:masterfrom
derSteFfi:ci_failure_fixes
Nov 10, 2026
Merged

jvoisin merged 4 commits into
daanx:masterfrom
derSteFfi:ci_failure_fixes

Conversation

@derSteFfi

Copy link
Copy Markdown
Contributor

this MR has 3 fixes for problems in the current CI:

  • tcg does not build a shared library, introduce a patch that does
  • hd does not define xxfree{,_aligned}_sized, so add a patch that introduces those
  • hm (and occasionally others) hit vm.max_map_count so increase it in CI and note the fact in the README - this is a limitation of the individual allocator, maybe a weakness of their design, but not necessarily a reason to not work around it

The bazel tcmalloc target is a static library, so bench.sh finds no shared
object to preload and runs the job with an empty allocator list. Add a
linkshared cc_binary for it.
hardened_malloc maps guard pages per allocation and sh6bench keeps tens of
thousands of them alive, so it needs over 140000 mappings; at the default
65530 mprotect fails and malloc returns null although memory is free.
libhoard.cpp does not define them but Heap-Layers' wrapper.cpp calls them, so
libhoard.so has undefined symbols and every c++ test dies at its first sized
delete. Define them as weak defaults, as the mac wrapper does.
Comment thread .github/workflows/platform.yml Resolved
@jvoisin
jvoisin merged commit c9ab9b2 into daanx:master Nov 10, 2026
41 of 77 checks passed
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