From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#61960: 30.0.50; Unexec build reliably crashes during loadup Date: Tue, 07 Mar 2023 14:59:24 +0000 Message-ID: References: <62049aa9ffcf9f39fd423fb87cd8dc8e0b77f9b8.camel@yandex.ru> <7a6e37ed07a49a85a51c8a3a40cadc2b752a38ef.camel@yandex.ru> <83o7p57mz1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28285"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 61960@debbugs.gnu.org, hi-angel@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 07 16:00:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pZYnV-00078k-La for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Mar 2023 16:00:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZYnM-0003E0-FG; Tue, 07 Mar 2023 10:00:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZYnL-0003Df-2d for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 10:00:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZYnK-00054N-NM for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 10:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZYnK-0006Xa-Fo for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 10:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Mar 2023 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61960 X-GNU-PR-Package: emacs Original-Received: via spool by 61960-submit@debbugs.gnu.org id=B61960.167820116825071 (code B ref 61960); Tue, 07 Mar 2023 15:00:02 +0000 Original-Received: (at 61960) by debbugs.gnu.org; 7 Mar 2023 14:59:28 +0000 Original-Received: from localhost ([127.0.0.1]:46927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZYml-0006WI-SY for submit@debbugs.gnu.org; Tue, 07 Mar 2023 09:59:28 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:56269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZYmj-0006W9-NF for 61960@debbugs.gnu.org; Tue, 07 Mar 2023 09:59:26 -0500 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 327ExOFT003279 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 7 Mar 2023 14:59:24 GMT In-Reply-To: <83o7p57mz1.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 06 Mar 2023 20:29:06 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257470 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: 61960@debbugs.gnu.org, Konstantin Kharlamov >> 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