From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61489: [PATCH v2] Increase BLOCK_ALIGN from 1024 to 32768 Date: Sat, 04 Mar 2023 21:53:46 +0200 Message-ID: <83edq49tth.fsf@gnu.org> References: <20230213200006.663502-2-Hi-Angel@yandex.ru> <20230216150755.27359-1-Hi-Angel@yandex.ru> <83y1ocaha5.fsf@gnu.org> <83o7p8a7dh.fsf@gnu.org> <21d57e0d55919846bd5d29e9a32e46a7166bf6d2.camel@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22675"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61489@debbugs.gnu.org To: Konstantin Kharlamov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 04 20:55:23 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 1pYXyV-0005k9-CT for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Mar 2023 20:55:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYXyC-0006DA-9y; Sat, 04 Mar 2023 14:55: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 1pYXyB-0006C7-6r for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 14:55: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 1pYXyA-0006HJ-NB for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 14:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYXyA-0002nL-ID for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 14:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Mar 2023 19:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61489 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 61489-submit@debbugs.gnu.org id=B61489.167795964610672 (code B ref 61489); Sat, 04 Mar 2023 19:55:02 +0000 Original-Received: (at 61489) by debbugs.gnu.org; 4 Mar 2023 19:54:06 +0000 Original-Received: from localhost ([127.0.0.1]:37807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYXxG-0002m4-1X for submit@debbugs.gnu.org; Sat, 04 Mar 2023 14:54:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYXxD-0002lN-Sv for 61489@debbugs.gnu.org; Sat, 04 Mar 2023 14:54:04 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYXx8-000699-Jd; Sat, 04 Mar 2023 14:53:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=iTdwXbx4s+u3fnzHRsvSo9Q9h/CgbJ30vTAzHxaxOlk=; b=lp+Avtlip4ovY4jhmp1O R9eL1qWgV2djnJ1WQ+wqyx6OYxnJOrRriSdrMjErcttt4HJuv0ZRc97w4ns4w0HeO1SJwVn83m2jM c/XBdizpDNx8KPKzdIEovEIdrbNoOZqkve1YutKTyFDcIqZJPTt9yOCjKTSPah15/g2ik3eMaRtbD ndfsR1c3VcpwLaVNy8cXhhspDtVGXUoqkJ8vy8PXa2Fq45+6FGyvJ9btwW/EYE8GiYzRJWHPLsYBQ 4qdzpw/iOoDCNTTB1hG/2zC7QQ7ppeTq+PDdM5Ww8xycpXPXF9EgTv7ydaA6ZWvWS/Mb8S72s8Iy3 4qC9TIZh52/Pcg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYXx7-0002yD-Vx; Sat, 04 Mar 2023 14:53:58 -0500 In-Reply-To: (message from Konstantin Kharlamov on Sat, 04 Mar 2023 21:58:06 +0300) 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:257309 Archived-At: > From: Konstantin Kharlamov > Cc: 61489@debbugs.gnu.org > Date: Sat, 04 Mar 2023 21:58:06 +0300 > > On Sat, 2023-03-04 at 18:33 +0300, Konstantin Kharlamov wrote: > > On Sat, 2023-03-04 at 17:00 +0200, Eli Zaretskii wrote: > > > > Cc: 61489-done@debbugs.gnu.org > > > > Date: Sat, 04 Mar 2023 13:26:58 +0200 > > > > From: Eli Zaretskii > > > > > > > > > * src/alloc.c (BLOCK_ALIGN): increase from 1024 to 32768 > > > > > > > > Thanks, installed on the master branch, and closing the bug. > > > > > > Note: this change breaks the unexec build, see bug#61960. > > > > Oh, I see, thanks! I'll try to build Emacs with sanitizer, it's usually pretty > > good at that kind of bugs. Will see if there's anything obvious > > FTR: it might take longer than I expected, because for unknown reason Emacs built with sanitizer isn't built with sanitizer. Yeah, lol. I passed the `-fsanitize=address,undefined` to CFLAGS, and `./configure …` output even confirmed it registered them. However, after everything was built, it does not make use of sanitizer. > > I also realised I forgot to pass `-lasan` to LDFLAGS, so the build should've failed at link-stage. Apparently there are some bugs in the build system related to passing cflags through to the actual compiler. Are you saying that the advice in etc/DEBUG how to set this up and how to run the resulting Emacs is inaccurate or incorrect or outdated?