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 21:58:06 +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> 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="39812"; 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 19:59:16 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 1pYX6B-000A8T-Ji for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Mar 2023 19:59:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYX60-0000dR-K7; Sat, 04 Mar 2023 13:59: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 1pYX5y-0000cl-RP for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 13:59: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 1pYX5y-00023j-Ii for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 13:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYX5y-00010k-5Y for bug-gnu-emacs@gnu.org; Sat, 04 Mar 2023 13:59: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 18:59: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.16779562933809 (code B ref 61489); Sat, 04 Mar 2023 18:59:02 +0000 Original-Received: (at 61489) by debbugs.gnu.org; 4 Mar 2023 18:58:13 +0000 Original-Received: from localhost ([127.0.0.1]:37732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYX5A-0000zN-S8 for submit@debbugs.gnu.org; Sat, 04 Mar 2023 13:58:13 -0500 Original-Received: from forward500a.mail.yandex.net ([178.154.239.80]:51136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYX57-0000zD-NA for 61489@debbugs.gnu.org; Sat, 04 Mar 2023 13:58:11 -0500 Original-Received: from vla1-11f05578dcd9.qloud-c.yandex.net (vla1-11f05578dcd9.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:4201:0:640:11f0:5578]) by forward500a.mail.yandex.net (Yandex) with ESMTP id A2ADB5E993; Sat, 4 Mar 2023 21:58:07 +0300 (MSK) Original-Received: by vla1-11f05578dcd9.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 6wdDJpKbpCg1-QTovusIB; Sat, 04 Mar 2023 21:58:07 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1677956287; bh=BMr1Q0jc3dfn/HP4TJDfJnSYn+CS6VvNf0cyY7u8XoY=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=hiw7aLpIWCXWQGHpa5t/vNMv1AFzRaToi+x8SLwCpDUsyAEOxc3xmAUvcBiFd3Omg eFhsmFfLeYADSqDdAPN00DhkeEyJJwk+mCb08Bn+KhivNzITo6OVqmn9H0jbPhgy11 1n3kRvPMMoF7PKtSe5mW5j/RdyKI1J5npt3SidBE= Authentication-Results: vla1-11f05578dcd9.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: <21d57e0d55919846bd5d29e9a32e46a7166bf6d2.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:257299 Archived-At: 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 usually p= retty > 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=3Daddress,undefined` to CFLAGS, and `./configure =E2=80=A6` outp= ut 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'v= e failed at link-stage. Apparently there are some bugs in the build system = related to passing cflags through to the actual compiler.