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#62317: bug #62317: 28.2; This byte-compiled file behaves wrongly. Date: Sat, 01 Apr 2023 11:08:14 +0300 Message-ID: <83o7o8yqhd.fsf@gnu.org> References: <20230401.163649.1533008264124348958.teika@gmx.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34931"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62317@debbugs.gnu.org, akrl@sdf.org To: Teika Kazura , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 01 10:09:12 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 1piWIS-0008tY-NN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Apr 2023 10:09:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piWIK-000257-BU; Sat, 01 Apr 2023 04:09:04 -0400 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 1piWII-00024z-Me for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 04:09:02 -0400 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 1piWII-0003kF-BU for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 04:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piWIH-0003as-Ue for bug-gnu-emacs@gnu.org; Sat, 01 Apr 2023 04:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Apr 2023 08:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62317 X-GNU-PR-Package: emacs Original-Received: via spool by 62317-submit@debbugs.gnu.org id=B62317.168033648713745 (code B ref 62317); Sat, 01 Apr 2023 08:09:01 +0000 Original-Received: (at 62317) by debbugs.gnu.org; 1 Apr 2023 08:08:07 +0000 Original-Received: from localhost ([127.0.0.1]:35408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piWHO-0003Zd-Vp for submit@debbugs.gnu.org; Sat, 01 Apr 2023 04:08:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piWHM-0003Z2-Q4 for 62317@debbugs.gnu.org; Sat, 01 Apr 2023 04:08:05 -0400 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 1piWHG-0003HR-Oz; Sat, 01 Apr 2023 04:07:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PYavGwApXUJG9VcSiZ35T9dDxpplIoildcfkKBC2oEw=; b=BrKa/NpFsEJL PAD1rJ4iY7GzdDiRGVl4WbnzPrMxcA+N/3Xq0aJ9DqPMkwZtzVxnO7KkhnCLWeRcsZI+tLYCGrfz6 zL2u31fnwihjmVCEJ0xQTAE69USxPWrkwyjy3zP90MHAJ+vwdJ6TEjhcEmGLYQ3+4/aqh2QAhFauF Svc27J9KhP5g0k59oP3oQoYbKCl79Kg7FbYKYhFy62KeyFMfVEpOZ9ThobhRVXLJyD2ngGN1dZM1N cDJl5xm2NkbdgA2nFNEnj4I0kLwcngia0kzv2JTLBGEzagzEp+9PZ5anpe7XvRRSkJjJEqfQgVU/Q xNrevzz1jgLlmz3vxCoK7w==; 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 1piWHF-00076V-TX; Sat, 01 Apr 2023 04:07:58 -0400 In-Reply-To: <20230401.163649.1533008264124348958.teika@gmx.com> (message from Teika Kazura on Sat, 01 Apr 2023 16:36:49 +0900 (JST)) 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:259037 Archived-At: > Date: Sat, 01 Apr 2023 16:36:49 +0900 (JST) > Cc: eliz@gnu.org, akrl@sdf.org > From: Teika Kazura > > Sorry for having messed, but native compilation is a separate issue which is to be discussed elsewhere. > > The original bug exists for the 29 git head, and for 28.3. [1] It's a pure byte-compilation problem, and the reproduction procedure in Message #5 remains valid. The workaround above works also for 29. > > [1] For the 29, I used d0eb12e8d3c9d6f95b8493e05857d583c29dd0fe (2023-03-31) and "28.3" is actually 28.2 + three vulnerebility fixes by my distro, Gentoo Linux. Both are built *without* libgcc, i.e. with --without-native-compilation. > > For the native compilation issue, sorry, I can't help. It's difficult for me to recompile repeatedly with --with-native-compilation. (Building 29 took about 3 times longer than 28.) Stefan, any ideas? I think switching to a different buffer inside eval-and-compile is a bad idea, but maybe I'm missing something.