[Top][All Lists]

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

Re: Preview: portable dumper

From: Ken Brown
Subject: Re: Preview: portable dumper
Date: Thu, 15 Feb 2018 20:56:33 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 2/15/2018 6:36 PM, Daniel Colascione wrote:
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
     > 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
        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

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.

I agree.

Any idea where in the mmap sequence we fail?

I haven't looked at the code yet, so I don't understand the question. If you give me some guidance, I'll try to investigate.


reply via email to

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