From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61960: 30.0.50; Unexec build reliably crashes during loadup Date: Sat, 11 Mar 2023 15:22:56 +0800 Message-ID: <87edpveoq7.fsf@yahoo.com> References: <62049aa9ffcf9f39fd423fb87cd8dc8e0b77f9b8.camel@yandex.ru> <7a6e37ed07a49a85a51c8a3a40cadc2b752a38ef.camel@yandex.ru> <83o7p57mz1.fsf@gnu.org> <83jzzs60g1.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39662"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: hi-angel@yandex.ru, 61960@debbugs.gnu.org, Andrea Corallo To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 11 08:24:25 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 1patab-000A9t-5z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Mar 2023 08:24:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pataN-0004pQ-Uc; Sat, 11 Mar 2023 02:24:12 -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 1pataF-0004nn-CM for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2023 02:24:05 -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 1pataF-0000D0-0Z for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2023 02:24:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pataE-0004FD-Cv for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2023 02:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Mar 2023 07:24: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.167851939816258 (code B ref 61960); Sat, 11 Mar 2023 07:24:02 +0000 Original-Received: (at 61960) by debbugs.gnu.org; 11 Mar 2023 07:23:18 +0000 Original-Received: from localhost ([127.0.0.1]:56449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1patZV-0004EA-Uo for submit@debbugs.gnu.org; Sat, 11 Mar 2023 02:23:18 -0500 Original-Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]:40577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1patZT-0004Dx-5O for 61960@debbugs.gnu.org; Sat, 11 Mar 2023 02:23:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678519388; bh=tlLn4ZykVu+IZSL14j/76K9REgjaSmLaIk/m2DA7Wyk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=FPDE19MLTW9z/7zhZUnZ+Q96S7h7ko02wZgU7hPJgEUaeorlI+2PzxJZcgQf7yqVDcYtUTemnLEoZ2O/JHJ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N5G_vPjJ4Jc2Pt2j7iILl5aC6pXzxrYXCjVZXBRiBOqlVtHp6qrgejEfcH YJSdKNM2NPSgbqZVdiqhJwDGeeYKJg3at90SY_6n1iaYXgIKu4LAX9Rg2ou0tUroEhdB8AaEkgKA tTnkpkLIiLIrpFBIcMYdWQgsb4Kqi3JUKm1D52dvl.zuC4dkYYAUBcbOheHhCiCMOL4a_g4GzBb6 qNpfwSb22gWAZiMvZw6skOzn1QYjKVO4ljy1OGe5gJKBCRSkVRsfPBFmlZ4G7EjDeGzBnK2nprQl 3ajiRaJavDlPSoSA5gsv4JKapwPPIpOgvTaaNn0W2LrNu2dgQcBoOeesoJsDlpghiE2.bBlTCuZr s0asqAgvgNH0NSzmYHtCalZ.WNxOc2qD3Ldbc9QIb6frV5ZTYPjSw0fc5jvlcDQfvGlIhzovrIub DiM1iFyp9qEs6CtHWru0jj2cDy7A6WGfTlWhXpFuhVMvIgYt3v2.ofmCoIMtEPE24bgyt5lK03A5 quvjwCTenILOgVDaIROmjzizyFsq0ksZHH5rvh0oGm X-Sonic-MF: X-Sonic-ID: 0610950c-e29f-4b2c-8267-70add085ae36 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sat, 11 Mar 2023 07:23:08 +0000 Original-Received: by hermes--production-sg3-67c57bccff-b6t8r (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5fabc064eb4d15bf5f8d6adcabf7699f; Sat, 11 Mar 2023 07:23:01 +0000 (UTC) In-Reply-To: <83jzzs60g1.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 07 Mar 2023 17:33:18 +0200") X-Mailer: WebService/1.1.21284 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:257756 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: 61960@debbugs.gnu.org, hi-angel@yandex.ru >> Date: Tue, 07 Mar 2023 14:59:24 +0000 >> >> > 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. > > OK, then a simple change to the above condition (and maybe a slight > change in the message wording as well) should achieve that, right? Emacs can't be built with both unexec and pdumper dumping, and configure doesn't let you do that. So what we have is fine.