From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Thu, 15 Feb 2018 20:56:33 -0500 Message-ID: <321afd9b-15d6-e028-4aac-c646147883b4@cornell.edu> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1518746112 3704 195.159.176.226 (16 Feb 2018 01:55:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Feb 2018 01:55:12 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 Cc: Eli Zaretskii , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 16 02:55:08 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emVEg-0007z8-2J for ged-emacs-devel@m.gmane.org; Fri, 16 Feb 2018 02:54:50 +0100 Original-Received: from localhost ([::1]:54583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emVGi-0001VV-2a for ged-emacs-devel@m.gmane.org; Thu, 15 Feb 2018 20:56:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emVGa-0001UU-Sv for emacs-devel@gnu.org; Thu, 15 Feb 2018 20:56:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emVGX-0001wO-R2 for emacs-devel@gnu.org; Thu, 15 Feb 2018 20:56:48 -0500 Original-Received: from limerock03.mail.cornell.edu ([128.84.13.243]:43716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emVGX-0001w8-Lm; Thu, 15 Feb 2018 20:56:45 -0500 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id w1G1ubcE029829; Thu, 15 Feb 2018 20:56:37 -0500 Original-Received: from [192.168.0.15] (mta-68-175-129-7.twcny.rr.com [68.175.129.7] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id w1G1uZeD013680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 15 Feb 2018 20:56:36 -0500 In-Reply-To: Content-Language: en-US X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-MIME-Autoconverted: from 8bit to quoted-printable by limerock03.mail.cornell.edu id w1G1ubcE029829 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 128.84.13.243 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222796 Archived-At: On 2/15/2018 6:36 PM, Daniel Colascione wrote: > On Feb 15, 2018 3:31 PM, Ken Brown wrote: >=20 > On 2/13/2018 11:37 AM, Eli Zaretskii wrote: > >> From: Daniel Colascione > >> Date: Mon, 12 Feb 2018 12:18:36 -0800 > >> > >> I've pushed the portable dumper to the pdumper Savannah branch.= It > >> should support a fully PIC Emacs. > > > > Thanks.=C2=A0 I'd urge people to try this branch and report any = issues > they > > see. >=20 > I just tried to build on 64-bit Cygwin, and the build fails as foll= ows: >=20 > [...] > Dumping under the name bootstrap-emacs.pdmp > dumping fingerprint: > 923050a9f611ad7ead76eea704308e4d05f152601a9134cf8d1b5ff3e0e1a986 > Dump complete > Byte counts: header=3D80 hot=3D13187392 discardable=3D119424 cold=3D= 9086640 > Reloc counts: hot=3D919268 discardable=3D5790 > make -C ../lisp compile-first EMACS=3D"../src/bootstrap-emacs.exe" > make[2]: Entering directory > '/home/kbrown/src/emacs/x86_64-pdumper/lisp' > =C2=A0=C2=A0 ELC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ../../pdumper/lisp/= emacs-lisp/macroexp.elc > =C2=A0=C2=A0 ELC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ../../pdumper/lisp/= emacs-lisp/cconv.elc > =C2=A0=C2=A0 ELC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ../../pdumper/lisp/= emacs-lisp/byte-opt.elc > =C2=A0=C2=A0 ELC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ../../pdumper/lisp/= emacs-lisp/bytecomp.elc > emacs: could not load dump file "../src/bootstrap-emacs.pdmp": out > of memory >=20 > There's probably some obvious explanation, but I don't see it at th= e > moment. >=20 >=20 > I'm not entirely surprised to see Cygwin fall over here. We could just=20 > use the Windows memory mapping functions directly, but I'd prefer to=20 > stick with the POSIX API if we can make it work. I agree. > Any idea where in the=20 > mmap sequence we fail?=20 I haven't looked at the code yet, so I don't understand the question.=20 If you give me some guidance, I'll try to investigate. Ken