From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.bugs Subject: bug#61960: 30.0.50; Unexec build reliably crashes during loadup Date: Sun, 05 Mar 2023 01:08:31 +0300 Message-ID: <85d98a66ebb20e5f4fde838493f15b6e0940badb.camel@yandex.ru> References: <62049aa9ffcf9f39fd423fb87cd8dc8e0b77f9b8.camel@yandex.ru> <7a6e37ed07a49a85a51c8a3a40cadc2b752a38ef.camel@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7065"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.46.4 Cc: 61960@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 04 23:09:30 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 1pYa4I-0001iX-61 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Mar 2023 23:09:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYa3s-0001pi-NB; Sat, 04 Mar 2023 17:09: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 1pYa3q-0001p5-R1 for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 17:09: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 1pYa3q-0001gm-Is for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 17:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYa3q-0006ck-1u for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 17:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2023 22:09: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.167796771725421 (code B ref 61960); Sat, 04 Mar 2023 22:09:02 +0000 Original-Received: (at 61960) by debbugs.gnu.org; 4 Mar 2023 22:08:37 +0000 Original-Received: from localhost ([127.0.0.1]:37943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYa3R-0006bw-H9 for submit@debbugs.gnu.org; Sat, 04 Mar 2023 17:08:37 -0500 Original-Received: from forward501b.mail.yandex.net ([178.154.239.145]:46590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYa3O-0006bl-Sp for 61960@debbugs.gnu.org; Sat, 04 Mar 2023 17:08:36 -0500 Original-Received: from myt5-fc73f9af8654.qloud-c.yandex.net (myt5-fc73f9af8654.qloud-c.yandex.net [IPv6:2a02:6b8:c12:2898:0:640:fc73:f9af]) by forward501b.mail.yandex.net (Yandex) with ESMTP id 3FFCB5EC87; Sun, 5 Mar 2023 01:08:32 +0300 (MSK) Original-Received: by myt5-fc73f9af8654.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id V8hVrHMbnCg1-EONbwgQl; Sun, 05 Mar 2023 01:08:31 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1677967711; bh=XZvA7yRtJZFZ7rdArUJKpa8Hh/YbaUmgW5BgIcufUbQ=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=ThT2nuZRhqZSxOq5LG7Re7ZlJB+6kYmBkVY+aJZCyUwICZCUgBMAgeTLxcr+V6RY9 WA02Dku1FpyfLGQCC8v99nZS+zOARIfgcFUlzm8qC8Fa1LMUxbTpc3Ix0KrfwIsKkU AJ5gCOeIIEl8KKiPq3+QteG9Vs9I6qxK63+eMrbg= Authentication-Results: myt5-fc73f9af8654.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: 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:257319 Archived-At: On Sun, 2023-03-05 at 01:00 +0300, Konstantin Kharlamov wrote: > On Sun, 2023-03-05 at 00:56 +0300, Konstantin Kharlamov wrote: > > On Sat, 2023-03-04 at 21:45 +0000, Andrea Corallo wrote: > > > Konstantin Kharlamov writes: > > >=20 > > > > Oh, I am sorry, I posted the configuration line from the wrong emac= s > > > > build. > > > > It's > > > > supposed to be: > > > >=20 > > > > --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib -- > > > > localstatedir=3D/var > > > > - > > > > - > > > > mandir=3D/usr/share/man --with-gameuser=3D:games --with-modules --w= ithout- > > > > libotf > > > > -- > > > > without-m17n-flt --without-gconf --with-native-compilation=3Dyes --= with- > > > > xinput2 -- > > > > with-x-toolkit=3Dgtk3 --without-xaw3d --with-sound=3Dno --with-tree= -sitter - > > > > - > > > > with- > > > > unexec --without-gpm --without-compress-install 'CFLAGS=3D-O0 -g3' > > >=20 > > > Hi Konstantin, > > >=20 > > > maybe the crash you see is not related but native-compilation is not > > > supposed to work with unexec builds. > > >=20 > > > I think we should really add a configure time error for this.=C2=A0 E= li could > > > this change go to emacs-29? > >=20 > > emacs-29 haven't got the BLOCK_ALIGN change, so is unaffected. >=20 > Ah, sorry, I failed to parse your text correctly, because I'm in context = of > the > debugging session :) Yeah, if native compilation isn't supposed to work w= ith > unexec(), it might be a good idea to disable that, sure. Btw, that makes me wonder how important is that to fix the unexec build at = all, given it will be off when native compilation is on. Native compilation= makes code faster so supposed to be the future. So presumably people will = always be running with enabled, thus the unexec() path would be unused.