GNU bug report logs - #61960
30.0.50; Unexec build reliably crashes during loadup

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 4 Mar 2023 14:56:02 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andrea Corallo <akrl <at> sdf.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 61960 <at> debbugs.gnu.org, hi-angel <at> yandex.ru
Subject: bug#61960: 30.0.50; Unexec build reliably crashes during loadup
Date: Tue, 07 Mar 2023 14:59:24 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Andrea Corallo <akrl <at> sdf.org>
>> Cc: 61960 <at> debbugs.gnu.org, Konstantin Kharlamov <hi-angel <at> yandex.ru>
>> Date: Mon, 06 Mar 2023 17:12:55 +0000
>> 
>> > debugging session :) Yeah, if native compilation isn't supposed to work with
>> > unexec(), it might be a good idea to disable that, sure.
>> 
>> Eli related to this, do you think is better to install the attached on
>> 29 or master?
>
> Don't we already have an equivalent test?
>
>   if test "${with_native_compilation}" != "no"; then
>       if test "${HAVE_PDUMPER}" = no; then
> 	 AC_MSG_ERROR(['--with-native-compilation' requires '--with-dumping=pdumper'])
>       fi

So IIUC we can compile emacs with both unexec and pdumper support, they
are not mutually exclusive, and we can specify which one to use for the
first dump with --with-dumping.

So yeah I think we have to prevent native compilation to be compiled
with unexec support, even if it's not the way Emacs is dumped the first
time.

  Andrea




This bug report was last modified 150 days ago.

Previous Next


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