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:51:52 +0300 Message-ID: References: <62049aa9ffcf9f39fd423fb87cd8dc8e0b77f9b8.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="7225"; 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:52:13 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 1pYXvR-0001gn-Ck for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Mar 2023 20:52:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYXvH-0005dv-Eh; Sat, 04 Mar 2023 14:52:03 -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 1pYXvG-0005d2-B3 for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 14:52:02 -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 1pYXvG-0005oD-2R for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 14:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYXvF-0002ht-Pw for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 14:52:01 -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 19:52:01 +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.167795951710392 (code B ref 61960); Sat, 04 Mar 2023 19:52:01 +0000 Original-Received: (at 61960) by debbugs.gnu.org; 4 Mar 2023 19:51:57 +0000 Original-Received: from localhost ([127.0.0.1]:37795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYXvB-0002hY-6O for submit@debbugs.gnu.org; Sat, 04 Mar 2023 14:51:57 -0500 Original-Received: from forward501c.mail.yandex.net ([178.154.239.209]:51394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYXv9-0002hN-Ko for 61960@debbugs.gnu.org; Sat, 04 Mar 2023 14:51:56 -0500 Original-Received: from sas2-8b071049b117.qloud-c.yandex.net (sas2-8b071049b117.qloud-c.yandex.net [IPv6:2a02:6b8:c08:f480:0:640:8b07:1049]) by forward501c.mail.yandex.net (Yandex) with ESMTP id 9A7F25ECAE for <61960@debbugs.gnu.org>; Sat, 4 Mar 2023 22:51:53 +0300 (MSK) Original-Received: by sas2-8b071049b117.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id qpevXQLbouQ1-QyxN5t5Z; Sat, 04 Mar 2023 22:51:53 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1677959513; bh=SGFI1N9QRRDuFKaew9f5Wh/HhYIa0ICLEyhKuUqwKus=; h=In-Reply-To:Date:References:To:From:Subject:Message-ID; b=gS9/4J2yL1JzY5lxBnNPnb8TogD+rUuL+lk+ZY1HUE26VuYU3NRjIBLa8r4JHSKpN cbjz1e7NnoYRkYvqWeOaEnbNC6SkSqmLr4EM5xRvvPRG+UVBCM8fk1ss8H81JMIw5v cPUPmi9wI8YujIxGvquBTWje0eup2g13/zuFKE/4= Authentication-Results: sas2-8b071049b117.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: <62049aa9ffcf9f39fd423fb87cd8dc8e0b77f9b8.camel@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:257308 Archived-At: Oh, I am sorry, I posted the configuration line from the wrong emacs build.= It's supposed to be: --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir= =3D/var -- mandir=3D/usr/share/man --with-gameuser=3D:games --with-modules --without-l= ibotf -- without-m17n-flt --without-gconf --with-native-compilation=3Dyes --with-xin= put2 -- with-x-toolkit=3Dgtk3 --without-xaw3d --with-sound=3Dno --with-tree-sitter = --with- unexec --without-gpm --without-compress-install 'CFLAGS=3D-O0 -g3' On Sat, 2023-03-04 at 22:50 +0300, Konstantin Kharlamov wrote: > So, just to add some points: apparently it isn't so easy to reproduce. I = built > Emacs with unexec without first looking at the `./configure` line in the > 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 if H= AVE_UNEXEC. (worth > noting probably that I first did the build, then remembered I had to remo= ve > the work around installed on master branch, then re-built emacs without t= he > workaround). >=20 > Running `emacs` as well as running the `temacs` command ain't shows no > crashes. >=20 > My configuration was: --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D= /usr/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-xinput2 --with-x= - > toolkit=3Dgtk3 --without-xaw3d --with-sound=3Dno --with-tree-sitter --wit= hout-gpm > --without-compress-install '--program-transform- > name=3Ds/\\([ec]tags\\)/\\1.emacs/' 'CFLAGS=3D-flto=3D2 -march=3Dnative -= O3 -pipe - > fno-stack-protector -fweb -fmerge-all-constants -fno-plt -fcommon' 'LDFLA= GS=3D- > flto=3D2 -O3 -march=3Dnative -fweb -fmerge-all-constants -floop-nest-opti= mize - > Wl,--sort-common,-z,relro -fno-plt -fcommon' >=20 > I will try to reconfigure build with the flags Eli reports. I seems to ha= ve > lacked `with-dumping=3Dunexec` option, but I'll try running `configure` o= nly > with the flags mentioned, just for the safe case.