-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
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:
Lines 56 to 61 in a26074c
| #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
Metadata
Metadata
Assignees
Labels
No labels