unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kuehling <dvdkhlng@gmx.de>
To: Ken Raeburn <raeburn@raeburn.org>
Cc: rms@gnu.org, Emacs Dev <emacs-devel@gnu.org>
Subject: Re: Some OpenWrt port related problems
Date: Sat, 01 Jan 2011 15:20:58 +0100	[thread overview]
Message-ID: <8739pc9039.fsf@snail.Pool> (raw)
In-Reply-To: <66798668-5808-473B-BF11-DF4DBA5464A1@raeburn.org> (Ken Raeburn's message of "Wed, 29 Dec 2010 23:08:09 -0500")

[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]

>>>>> "Ken" == Ken Raeburn <raeburn@raeburn.org> writes:

> On Dec 29, 2010, at 04:28, David Kuehling wrote:

>> I could dump Emacs in the target system, from a wrapper script, when
>> launched for the first time.  But last time I tried that it failed
>> with insufficient memory (32Mb RAM, no swap), so I'm going without
>> dumping for now.

> It sounds like running Emacs on such a system is going to be pretty
> marginal in any case, but do you recall what part of it failed?
> Finding the doc strings?  The actual dumping?

Ok, just recompiled emacs with dumping support, and running

  $ emacs -Q --batch --eval \
    '(dump-emacs "./demacs" "/usr/bin/emacs")'

on the NanoNote gave me:

  [..]
  Loading ediff-hook...
  Finding pointers to doc strings...
  Finding pointers to doc strings...done
  emacs: Can't allocate buffer for /usr/bin/emacs

So it wants to pull a full copy of the emacs binary into memory?
This problem I can workaround by changing the Linux overcommit setting,
but then dumping fails with another problem:

  $ echo "1" > /proc/sys/vm/overcommit_memory 
  $ emacs -Q --batch --eval \
     '(dump-emacs "./demacs" "/usr/bin/emacs")'

  [..]
  Finding pointers to doc strings...
  Finding pointers to doc strings...done
  emacs: Program segment above .bss in /usr/bin/emacs

So what's that supposed to mean?  

cheers,

David
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2011-01-01 14:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-28 10:15 Some OpenWrt port related problems David Kuehling
2010-12-28 19:36 ` Stefan Monnier
2010-12-28 21:12   ` David Kuehling
2010-12-28 22:02     ` Stefan Monnier
2010-12-29  9:37       ` David Kuehling
2010-12-29  7:47     ` Richard Stallman
2010-12-29  9:28       ` David Kuehling
2010-12-30  4:08         ` Ken Raeburn
2011-01-01 14:20           ` David Kuehling [this message]
2011-01-01 15:06             ` Andreas Schwab
2011-01-01 15:34             ` Eli Zaretskii
2011-01-02  1:35               ` Ken Raeburn
2011-01-02 13:53                 ` David Kuehling
2011-01-02 14:44                   ` Stefan Monnier
2011-01-02 14:55                     ` David Kuehling
2011-01-02 20:35                   ` Ken Raeburn
2011-01-02 21:12                     ` David Kuehling
2011-01-03  9:32                       ` David Kuehling
2010-12-30 16:06         ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8739pc9039.fsf@snail.Pool \
    --to=dvdkhlng@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=raeburn@raeburn.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).