From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kuehling Newsgroups: gmane.emacs.devel Subject: Re: Some OpenWrt port related problems Date: Mon, 03 Jan 2011 10:32:52 +0100 Message-ID: <87bp3yqqm3.fsf@snail.Pool> References: <87sjxi5hko.fsf@snail.Pool> <87lj39y52n.fsf@snail.Pool> <87pqsl7wt7.fsf@snail.Pool> <66798668-5808-473B-BF11-DF4DBA5464A1@raeburn.org> <8739pc9039.fsf@snail.Pool> <83ei8wprid.fsf@gnu.org> <52B2D62A-17C0-4D11-9B48-8C9D0436807A@raeburn.org> <87pqsfcsyc.fsf@snail.Pool> <87sjxb9fi9.fsf@snail.Pool> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1294047197 13047 80.91.229.12 (3 Jan 2011 09:33:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2011 09:33:17 +0000 (UTC) Cc: Eli Zaretskii , rms@gnu.org, emacs-devel@gnu.org To: Ken Raeburn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 03 10:33:12 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZgmt-00021z-BN for ged-emacs-devel@m.gmane.org; Mon, 03 Jan 2011 10:33:11 +0100 Original-Received: from localhost ([127.0.0.1]:51901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZgms-0007yC-9z for ged-emacs-devel@m.gmane.org; Mon, 03 Jan 2011 04:33:10 -0500 Original-Received: from [140.186.70.92] (port=39397 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZgmg-0007wq-CY for emacs-devel@gnu.org; Mon, 03 Jan 2011 04:32:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZgme-0001b0-HZ for emacs-devel@gnu.org; Mon, 03 Jan 2011 04:32:58 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:33761 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PZgme-0001as-5I for emacs-devel@gnu.org; Mon, 03 Jan 2011 04:32:56 -0500 Original-Received: (qmail invoked by alias); 03 Jan 2011 09:32:54 -0000 Original-Received: from g225046199.adsl.alicedsl.de (EHLO snail.gmx.de) [92.225.46.199] by mail.gmx.net (mp052) with SMTP; 03 Jan 2011 10:32:54 +0100 X-Authenticated: #4121607 X-Provags-ID: V01U2FsdGVkX1/n8gxL3d7n9qcBdlnBdw/lyrTwqX2AAq/izrDmt5 vuoZ8Ya3OgvC+q In-Reply-To: <87sjxb9fi9.fsf@snail.Pool> (David Kuehling's message of "Sun, 02 Jan 2011 22:12:30 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134204 Archived-At: --=-=-= Content-Transfer-Encoding: quoted-printable >>>>> "David" =3D=3D David Kuehling writes: >>>>> "Ken" =3D=3D Ken Raeburn 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 =2D-=20 GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFNIZfFfe9TI8F0fUARAr04AKCT4nMhuA3pMSKdG+Tzhii9ZE9uZgCbBQLS g5fh4qKh+Td5Fm63OGKfEtI= =dwAa -----END PGP SIGNATURE----- --=-=-=--