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: Sat, 04 Mar 2023 22:50:12 +0300 Message-ID: <62049aa9ffcf9f39fd423fb87cd8dc8e0b77f9b8.camel@yandex.ru> References: <83pm9oa7mm.fsf@gnu.org> 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="1576"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.46.4 To: 61960@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 04 20:51:14 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 1pYXuT-0000BW-RB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Mar 2023 20:51:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYXuL-0005Fr-Qu; Sat, 04 Mar 2023 14:51:05 -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 1pYXuI-0005FZ-UK for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 14:51: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 1pYXuI-0005ec-BY for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 14:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYXuI-0002g0-7I for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 14:51:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <83pm9oa7mm.fsf@gnu.org> Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2023 19:51: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.167795942510230 (code B ref 61960); Sat, 04 Mar 2023 19:51:02 +0000 Original-Received: (at 61960) by debbugs.gnu.org; 4 Mar 2023 19:50:25 +0000 Original-Received: from localhost ([127.0.0.1]:37791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYXtg-0002ew-Ok for submit@debbugs.gnu.org; Sat, 04 Mar 2023 14:50:25 -0500 Original-Received: from forward103p.mail.yandex.net ([77.88.28.106]:41746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYXtd-0002ec-ET for 61960@debbugs.gnu.org; Sat, 04 Mar 2023 14:50:22 -0500 Original-Received: from sas8-838e1e461505.qloud-c.yandex.net (sas8-838e1e461505.qloud-c.yandex.net [IPv6:2a02:6b8:c1b:28d:0:640:838e:1e46]) by forward103p.mail.yandex.net (Yandex) with ESMTP id BDBA05A047D for <61960@debbugs.gnu.org>; Sat, 4 Mar 2023 22:50:13 +0300 (MSK) Original-Received: by sas8-838e1e461505.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id CoeVU5LbhCg1-wpG4A5xT; Sat, 04 Mar 2023 22:50:13 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1677959413; bh=n+53gBS9NxnyB+36w/zxJOg9pu3jRZ11Z1M4EKotZlI=; h=Date:To:From:Subject:Message-ID; b=XUPBHfG3MnFhaXV5Ji2/EOhgsmIf3lsU5Vc+djtXyxdnbW7oLBu5UwdMc1+vUnHyw 69aIz0SpNO+TNnxOO4maZeJ5fcBqeSEUXCBCtFisO6gjUXsNh6oTW6Dk9UP6NqI/Y6 I/8tAnjoBFtmPCh6h9APEZVu14LvvW/Yoi7tCtBk= Authentication-Results: sas8-838e1e461505.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru 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:257307 Archived-At: So, just to add some points: apparently it isn't so easy to reproduce. I bu= ilt Emacs with unexec without first looking at the `./configure` line in th= e report (looking at the report I apparently lack the `with-dumping=3Dunexe= c`), and removed the workaround to not have BLOCK_SIZE=3D2=C2=B9=E2=81=B5 i= f HAVE_UNEXEC. (worth noting probably that I first did the build, then reme= mbered I had to remove the work around installed on master branch, then re-= built emacs without the workaround). Running `emacs` as well as running the `temacs` command ain't shows no cras= hes. My configuration was: --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/u= sr/lib --localstatedir=3D/var --mandir=3D/usr/share/man --with-gameuser=3D:= games --with-modules --without-libotf --without-m17n-flt --without-gconf --= enable-link-time-optimization --with-native-compilation=3Dyes --with-xinput= 2 --with-x-toolkit=3Dgtk3 --without-xaw3d --with-sound=3Dno --with-tree-sit= ter --without-gpm --without-compress-install '--program-transform-name=3Ds/= \\([ec]tags\\)/\\1.emacs/' 'CFLAGS=3D-flto=3D2 -march=3Dnative -O3 -pipe -f= no-stack-protector -fweb -fmerge-all-constants -fno-plt -fcommon' 'LDFLAGS= =3D-flto=3D2 -O3 -march=3Dnative -fweb -fmerge-all-constants -floop-nest-op= timize -Wl,--sort-common,-z,relro -fno-plt -fcommon' I will try to reconfigure build with the flags Eli reports. I seems to have= lacked `with-dumping=3Dunexec` option, but I'll try running `configure` on= ly with the flags mentioned, just for the safe case.