mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-28 04:07:32 -07:00
This works around a crash in pybind11 on 32-bit arches (at least ppc and x86) where various processes get spawned, then hit: ``` pillow.80008:mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = -1 ENOMEM (Cannot allocate memory) pillow.80009:mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = -1 ENOMEM (Cannot allocate memory) pillow.80010:mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = -1 ENOMEM (Cannot allocate memory) ... ``` We want to do this anyway to respect the user's chosen parallelism, of course. Bug: https://bugs.gentoo.org/970414 Signed-off-by: Sam James <sam@gentoo.org>