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#61489: [PATCH v2] Increase BLOCK_ALIGN from 1024 to 32768 Date: Sat, 04 Mar 2023 22:58:58 +0300 Message-ID: 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> <83edq49tth.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="7144"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.46.4 Cc: 61489@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 04 21:00:24 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 1pYY3M-0001dy-12 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Mar 2023 21:00:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYY33-0007OE-KK; Sat, 04 Mar 2023 15:00: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 1pYY31-0007Mm-Oe for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 15:00: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 1pYY31-0007N4-6c for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 15:00:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYY30-0002vg-Te for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 15:00: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 20:00: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.167795994411146 (code B ref 61489); Sat, 04 Mar 2023 20:00:02 +0000 Original-Received: (at 61489) by debbugs.gnu.org; 4 Mar 2023 19:59:04 +0000 Original-Received: from localhost ([127.0.0.1]:37811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYY23-0002ti-Pn for submit@debbugs.gnu.org; Sat, 04 Mar 2023 14:59:04 -0500 Original-Received: from forward501c.mail.yandex.net ([178.154.239.209]:40956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYY21-0002tI-33 for 61489@debbugs.gnu.org; Sat, 04 Mar 2023 14:59:01 -0500 Original-Received: from iva3-dd2bb2ff2b5f.qloud-c.yandex.net (iva3-dd2bb2ff2b5f.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:7611:0:640:dd2b:b2ff]) by forward501c.mail.yandex.net (Yandex) with ESMTP id B98C55EC41; Sat, 4 Mar 2023 22:58:59 +0300 (MSK) Original-Received: by iva3-dd2bb2ff2b5f.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id wweVdALc0Cg1-Hfq2pJ90; Sat, 04 Mar 2023 22:58:59 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1677959939; bh=w9cAT2mLgNtH3OmHmiC107oYTM6vS85ajNQtzceVwuU=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=cob2I2IYu2vIJsYCUNro/woJHk8KtHF2oVvXTeoYOY3LOl4jApHwrsAHvRGbDF5TM 1grhYRB/fa+vP5O3KIfGW/WP8nR/3hLzH+axcOCCVpxaf75aQtSlQ+jyun211BEsL3 pmeMdoYwgwjcklmFPYSRGmtjz4x/9gMO6iImo1CU= Authentication-Results: iva3-dd2bb2ff2b5f.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: <83edq49tth.fsf@gnu.org> 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:257310 Archived-At: On Sat, 2023-03-04 at 21:53 +0200, Eli Zaretskii wrote: > > From: Konstantin Kharlamov > > Cc: 61489@debbugs.gnu.org > > Date: Sat, 04 Mar 2023 21:58:06 +0300 > >=20 > > 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 > > > > >=20 > > > > > > * src/alloc.c (BLOCK_ALIGN): increase from 1024 to 32768 > > > > >=20 > > > > > Thanks, installed on the master branch, and closing the bug. > > > >=20 > > > > Note: this change breaks the unexec build, see bug#61960. > > >=20 > > > Oh, I see, thanks! I'll try to build Emacs with sanitizer, it's usual= ly > > > pretty > > > good at that kind of bugs. Will see if there's anything obvious > >=20 > > FTR: it might take longer than I expected, because for unknown reason E= macs > > built with sanitizer isn't built with sanitizer. Yeah, lol. I passed th= e `- > > fsanitize=3Daddress,undefined` to CFLAGS, and `./configure =E2=80=A6` o= utput even > > confirmed it registered them. However, after everything was built, it d= oes > > not make use of sanitizer. > >=20 > > I also realised I forgot to pass `-lasan` to LDFLAGS, so the build shou= ld've > > failed at link-stage. Apparently there are some bugs in the build syste= m > > related to passing cflags through to the actual compiler. >=20 > 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? Thanks for mentioning that part of documentation, I didn't know about it an= d didn't read it. I am simply saying there is a bug with passing through cflags.