Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2019 15:25:57 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Direct exec of /usr/bin/ld fails with "mmap of entire address space failed: Cannot allocate memory"
Message-ID:  <CAFMmRNxph7=OqwxeUWWpmkDV3bKqOURrbTsCVburG0OSC6ay=g@mail.gmail.com>
In-Reply-To: <20190921164901.GO2559@kib.kiev.ua>
References:  <CAFMmRNxzdbYNFdtqN8BDCHehiFYRMqrwuEVMZceZdZY7mese2Q@mail.gmail.com> <20190921164901.GO2559@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Apply the patch and playing with increasing the value does allow
direct exec of ld via rtld to work. so thank you.  The patch probably
shouldn't be applied as-is, though, as executables will just segfault
right away if the sysctl is tuned to a non-page aligned value.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNxph7=OqwxeUWWpmkDV3bKqOURrbTsCVburG0OSC6ay=g>