https://gitlab.synchro.net/main/sbbs/-/commit/e463ed7537909c741963c361
Added Files:
3rdp/build/js-aarch64-47bit.patch
Modified Files:
3rdp/build/GNUmakefile
Log Message:
For aarch64 linux, pass a hint to mmap for gc allocations
Using personality() doesn't appear to solve the issue, so explicitly
request mmap allocations to start at 0x700000000000 on arrch64.
Also, fail the allocation if any bits above bit 47 are set in the
result.
As long as the aarch64 linux systems don't support one of the two
MAP_*ALIGNED things, this should fix aarch64 crashes, and still allow
64TB of memory space to be used.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net