GNU bug report logs - #45103
[feature/native-comp] add re-dumping support

Previous Next

Package: emacs;

Reported by: Y Qu <yqu212 <at> gmail.com>

Date: Mon, 7 Dec 2020 15:25:02 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <acorallo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Elric Milon <emacs <at> whirm.eu>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: Y Qu <yqu212 <at> gmail.com>, 45103 <at> debbugs.gnu.org
Subject: bug#45103: [feature/native-comp] add re-dumping support
Date: Tue, 03 Aug 2021 13:46:27 +0200
Andrea Corallo <akrl <at> sdf.org> writes:

> Hi Ying Qu,
>
> I guess you are the first trying to re-dump a native compiled 
> Emacs
> session.  Despite being in principle possible there's certanly 
> something
> to look at.
>
> In general my understanding is that ATM we do not support 
> officially
> Emacs re-dumps, so also on a vanilla build it may work or not.
>
> As a consequence I'm not sure this is a requirement for this 
> feature
> ATM.  Perhaps we'll get some other opinion on this.

Hi Andrea,

Even if not supported, it did work (some workarounds required at 
times)
and it's used. I had been using it before switching to native-comp 
via
spacemacs' dumping support:

https://github.com/syl20bnr/spacemacs/blob/develop/EXPERIMENTAL.org#spacemacs-dumps-using-the-portable-dumper

I think it would be really nice to be able to do something similar 
again.

I spent some time attempting to make it work again by avoiding
re-dumping (starting from bare temacs) but at some point I gave up 
(It's
been a while but, if memory serves, I found C and lisp code 
clearly
not expecting for anyone to want to dump anything else than 
loadup.el).
If that where an option then support for re-dumping would not be
needed anymore.

Maybe it would be a good idea to add a guard to prevent re-dumping 
so
that users are aware they are doing something that will never work 
and
it's not something they are doing wrong (I spent a lot of time on 
this
myself :)).

Cheers!




This bug report was last modified 1 year and 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.