Date: Sat, 21 Sep 2019 12:19:19 -0400 From: Ryan Stone <rysto32@gmail.com> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: Direct exec of /usr/bin/ld fails with "mmap of entire address space failed: Cannot allocate memory" Message-ID: <CAFMmRNxzdbYNFdtqN8BDCHehiFYRMqrwuEVMZceZdZY7mese2Q@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNxzdbYNFdtqN8BDCHehiFYRMqrwuEVMZceZdZY7mese2Q>