Nearly all of criterion tests fail on aarch64 with:
criterion: Could not initialize inheritable arena: Cannot allocate memory
That's because BoxFort assumes minimal address space for 64-bit hosts of 48-bit:
|
#elif BXF_BITS == 64 |
|
/* On Linux it seems that you cannot map > 48-bit addresses */ |
|
static void *mmap_base = (void *) 0x200000000000; |
|
static void *mmap_max = (void *) 0x7f0000000000; |
|
static intptr_t mmap_off = (intptr_t) 1 << 24; |
|
static intptr_t mmap_off_mask = 0x3fffff; |
While on aarch64 it is possible to to have 39-bit address space see https://www.kernel.org/doc/Documentation/arm64/memory.rst
Nearly all of
criteriontests fail onaarch64with:That's because
BoxFortassumes minimal address space for 64-bit hosts of 48-bit:BoxFort/src/arena.c
Lines 56 to 61 in a26074c
While on
aarch64it is possible to to have 39-bit address space see https://www.kernel.org/doc/Documentation/arm64/memory.rst