From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Seaborn Newsgroups: gmane.emacs.bugs Subject: Re: "/lib/ld-linux.so.2 /usr/bin/emacs" fails: "Memory exhausted" Date: Tue, 15 Nov 2005 00:34:54 +0000 (GMT) Message-ID: <20051115.003454.596518397.mrs@localhost> References: <20051111.195752.730551918.mrs@localhost> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1132014789 28650 80.91.229.2 (15 Nov 2005 00:33:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Nov 2005 00:33:09 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 15 01:33:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ebokb-0004HX-Gz for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Nov 2005 01:32:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eboka-0000gE-N2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Nov 2005 19:32:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EbokX-0000fV-E2 for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2005 19:32:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EbokU-0000fF-0a for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2005 19:32:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbokS-0000fC-RR for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2005 19:32:33 -0500 Original-Received: from [212.67.120.102] (helo=perdition2.onetel.net.uk) by monty-python.gnu.org with smtp (Exim 4.34) id 1EbokS-0001RE-PR for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2005 19:32:33 -0500 Original-Received: (qmail 31170 invoked from network); 15 Nov 2005 00:35:55 -0000 Original-Received: from unknown (HELO 213-78-92-13.ppp.onetel.net.uk) (213.78.92.13) by perd2 with SMTP; 15 Nov 2005 00:35:55 -0000 Original-Received: from 127.0.0.1 by somecomputer.somewhere with esmtp (MasqMail 0.1.13) id 1Eboml-0zJ-00 for bug-gnu-emacs@gnu.org; Tue, 15 Nov 2005 00:34:55 +0000 Original-To: bug-gnu-emacs@gnu.org In-Reply-To: X-Mailer: Mew version 2.2 on XEmacs 21.4.6 (Common Lisp) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:14077 Archived-At: "Richard M. Stallman" wrote: > I don't know anything about what's happening here; I am not sure > what ld-linux.so.2 does in the first place, or whether that ought > to work, or what it ought to do. ld-linux.so.2 is the dynamic linker on GNU/Linux: $ /lib/ld-linux.so.2 Usage: ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...] You have invoked `ld.so', the helper program for shared library executables. This program usually lives in the file `/lib/ld.so', and special directives in executable files using ELF shared libraries tell the system's program loader to load the helper program from this file. This helper program loads the shared libraries needed by the program executable, prepares the program to run, and runs it. You may invoke this helper program directly from the command line to load and run an ELF executable file; this is like executing that file itself, but always uses this helper program from the file you specified, instead of the helper program file specified in the executable file you run. This is mostly of use for maintainers to test new versions of this helper program; chances are you did not intend to run this program. --list list all dependencies and how they are resolved --verify verify that given object really is a dynamically linked object we can handle --library-path PATH use given PATH instead of content of the environment variable LD_LIBRARY_PATH --inhibit-rpath LIST ignore RUNPATH and RPATH information in object names in LIST Plash uses a modified version of the dynamic linker, so it launches programs by invoking ld-linux.so.2 directly. It also does this as a technique for exec()'ing an executable from a chroot() jail without the executable having to be inside the jail. Mark