Direct exec of /usr/bin/ld fails with "mmap of entire address space failed: Cannot allocate memory"

From: Ryan Stone <rysto32_at_gmail.com>
Date: Sat, 21 Sep 2019 12:19:19 -0400
If I try direct exec ld via rtld, I get the following failure:

# /libexec/ld-elf.so.1 /usr/bin/ld
ld-elf.so.1: /usr/bin/ld: mmap of entire address space failed: Cannot
allocate memory

Is there some sysctl limit I need to bump up to get around this?  I
presume that the binary is just too large given that I can direct exec
smaller binaries like /bin/cat.
Received on Sat Sep 21 2019 - 14:19:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC