[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preview: portable dumper

From: Daniel Colascione
Subject: Re: Preview: portable dumper
Date: Thu, 15 Feb 2018 15:36:46 -0800

On Feb 15, 2018 3:31 PM, Ken Brown <address@hidden> wrote:

On 2/13/2018 11:37 AM, Eli Zaretskii wrote:
>> From: Daniel Colascione <address@hidden>
>> 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.  I'd urge people to try this branch and report any issues they
> see.

I just tried to build on 64-bit Cygwin, and the build fails as follows:

Dumping under the name bootstrap-emacs.pdmp
dumping fingerprint:
Dump complete
Byte counts: header=80 hot=13187392 discardable=119424 cold=9086640
Reloc counts: hot=919268 discardable=5790
make -C ../lisp compile-first EMACS="../src/bootstrap-emacs.exe"
make[2]: Entering directory '/home/kbrown/src/emacs/x86_64-pdumper/lisp'
   ELC      ../../pdumper/lisp/emacs-lisp/macroexp.elc
   ELC      ../../pdumper/lisp/emacs-lisp/cconv.elc
   ELC      ../../pdumper/lisp/emacs-lisp/byte-opt.elc
   ELC      ../../pdumper/lisp/emacs-lisp/bytecomp.elc
emacs: could not load dump file "../src/bootstrap-emacs.pdmp": out of memory

There's probably some obvious explanation, but I don't see it at the moment.

I'm not entirely surprised to see Cygwin fall over here. We could just use the Windows memory mapping functions directly, but I'd prefer to stick with the POSIX API if we can make it work. Any idea where in the mmap sequence we fail?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]