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: Eli Zaretskii <eliz@gnu.org>, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Some OpenWrt port related problems
Date: Mon, 03 Jan 2011 10:32:52 +0100	[thread overview]
Message-ID: <87bp3yqqm3.fsf@snail.Pool> (raw)
In-Reply-To: <87sjxb9fi9.fsf@snail.Pool> (David Kuehling's message of "Sun, 02 Jan 2011 22:12:30 +0100")

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

>>>>> "David" == David Kuehling <dvdkhlng@gmx.de> writes:

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

>> On Jan 2, 2011, at 08:53, David Kuehling wrote:
>>> Could it be that 'sstrip' (that's no typo, it's not vanilla 'strip')
>>> used for openwrt packages causes collateral damage here?  Emacs
>>> won't be the only package effected.

>> Okay, then you are doing something different...  I don't know how
>> unexelf.c is going to handle a file with no section headers.  As best
>> I recall, they're not critical for execution, but unexelf.c may be
>> making additional assumptions based on how other systems tend to
>> operate.  Ideally, I think it should be possible to just extent the
>> loadable data sections, but that's not how unexelf.c operates.  If
>> you can bypass 'sstrip' for a package, or just one executable in the
>> package (emacsclient should be fine to strip, for example), that
>> might fix the problem and allow you to have it dump during
>> installation.

> The best solution will be to use strip instead of sstrip, and I think
> the NanoNote firmware is going to use that very soon (since more
> sstrip problems have been cropping up recently).

> Going to post how that turns out.

Ok here we go.  Recompiled with strip instead of sstrip.  Now Emacs is
killed by the OOM killer when attempting to dump :(

  emacs -Q --batch --eval \
        '(dump-emacs "./demacs" "/usr/bin/emacs")'
  [..]
  Loading vc-hooks...
  Loading ediff-hook...
  Finding pointers to doc strings...
  Finding pointers to doc strings...done
  Killed

(the kernel log contains a message about "out of memory: kill process
652...")

Now I'm out of ideas.

Thanks for the help, 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-03  9:32 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
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 [this message]
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=87bp3yqqm3.fsf@snail.Pool \
    --to=dvdkhlng@gmx.de \
    --cc=eliz@gnu.org \
    --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).