GNU bug report logs - #62537
Error compiling emacs master with native compilation activated

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Pedro Andres Aranda Gutierrez <paaguti@HIDDEN>; merged with #62481, #62596, #62644, #62655; dated Thu, 30 Mar 2023 07:20:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 62481 62537 62596 62644 62655. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 62481 62537 62596 62644. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 62481 62537 62596. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 62537 <at> debbugs.gnu.org:


Received: (at 62537) by debbugs.gnu.org; 31 Mar 2023 15:15:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 31 11:15:07 2023
Received: from localhost ([127.0.0.1]:34250 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1piGT5-0006za-5T
	for submit <at> debbugs.gnu.org; Fri, 31 Mar 2023 11:15:07 -0400
Received: from mail233c50.megamailservers.eu ([91.136.10.243]:40042
 helo=mail37c50.megamailservers.eu)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mattiase@HIDDEN>) id 1piGT2-0006zO-EG
 for 62537 <at> debbugs.gnu.org; Fri, 31 Mar 2023 11:15:05 -0400
X-Authenticated-User: mattiase@HIDDEN
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu;
 s=maildub; t=1680275702;
 bh=I9QPuM3FUTIZXcMcsV9piVJipQZ7ndTKkXt8IiBvJFI=;
 h=Subject:From:In-Reply-To:Date:Cc:References:To:From;
 b=E3QTSfwREzdS+m66t7fQqnLZrhkjE5WjbRNzvnD6bJe9WiyVrdHw55FL3tdwEbCES
 BUS9TmbN55YvPLVGEk6VfpweMN9UzgCzhyaLqlWSYGhyrhxCJO4B7PkeAGdibEFdvd
 bw2K6uRYITmYB3uMcnp9OW+2CLdGK2iHletVSlzw=
Feedback-ID: mattiase@HIDDEN
Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se
 [188.150.165.235]) (authenticated bits=0)
 by mail37c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 32VFExYa016669; 
 Fri, 31 Mar 2023 15:15:01 +0000
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\))
Subject: Re: bug#62537: Error compiling emacs master with native compilation
 activated
From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= <mattiase@HIDDEN>
In-Reply-To: <xjfbkk9cj3n.fsf@HIDDEN>
Date: Fri, 31 Mar 2023 17:14:58 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <664DC8F8-EEEC-4A90-A4F5-86C11378486C@HIDDEN>
References: <CAO48Bk9xgB8kxSiPFdiipUDWTBrfoxUxbCShz_fPMj1_quXH+w@HIDDEN>
 <xjf4jq2fv11.fsf@HIDDEN> <AD0EBD67-52C2-4650-9D30-09669212DF9D@HIDDEN>
 <xjf7cuye50g.fsf@HIDDEN> <xjfbkk9cj3n.fsf@HIDDEN>
To: Andrea Corallo <akrl@HIDDEN>
X-Mailer: Apple Mail (2.3654.120.0.1.14)
X-VADE-SPAMSTATE: clean
X-VADE-SPAMSCORE: 0
X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeiuddgkedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecunecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpeforghtthhirghsucfgnhhguggvghonrhguuceomhgrthhtihgrshgvsegrtghmrdhorhhgqeenucggtffrrghtthgvrhhnpeevkeffudejhfekhedvgfffieekgffhfedvkeeuffelgeefkeeulefhjeeifeekgfenucfkphepudekkedrudehtddrudeihedrvdefheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeekrdduhedtrdduieehrddvfeehpdhhvghlohepshhmthhptghlihgvnhhtrdgrphhplhgvpdhmrghilhhfrhhomhepmhgrthhtihgrshgvsegrtghmrdhorhhgpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheprghkrhhlsehsughfrdhorhhgpdhrtghpthhtohepiedvheefjeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehprggrghhuthhisehgmhgrihhlrdgtohhm
X-Origin-Country: SE
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 62537
Cc: 62537 <at> debbugs.gnu.org, Pedro Andres Aranda Gutierrez <paaguti@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

31 mars 2023 kl. 12.26 skrev Andrea Corallo <akrl@HIDDEN>:

> At a very quick look I don't see anything wrong with it so as
> anticipated most lickly is just a bug in the native compiler limplify
> pass.

I agree, the output looks correct. Good example by the way, and it =
illustrates the motivation behind the change well -- the new code is =
much better, although it can still be improved.
Let us know what you find.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62537; Package emacs. Full text available.

Message received at 62537 <at> debbugs.gnu.org:


Received: (at 62537) by debbugs.gnu.org; 31 Mar 2023 10:26:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 31 06:26:36 2023
Received: from localhost ([127.0.0.1]:60435 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1piBxs-0001UL-3y
	for submit <at> debbugs.gnu.org; Fri, 31 Mar 2023 06:26:36 -0400
Received: from mx.sdf.org ([205.166.94.24]:53182)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <akrl@HIDDEN>) id 1piBxq-0001UD-Ts
 for 62537 <at> debbugs.gnu.org; Fri, 31 Mar 2023 06:26:35 -0400
Received: from ma.sdf.org (ma.sdf.org [205.166.94.33])
 by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 32VAQKWZ013115
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO);
 Fri, 31 Mar 2023 10:26:21 GMT
From: Andrea Corallo <akrl@HIDDEN>
To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= <mattiase@HIDDEN>
Subject: Re: bug#62537: Error compiling emacs master with native compilation
 activated
In-Reply-To: <xjf7cuye50g.fsf@HIDDEN> (Andrea Corallo's message of "Thu,
 30 Mar 2023 13:35:27 +0000")
References: <CAO48Bk9xgB8kxSiPFdiipUDWTBrfoxUxbCShz_fPMj1_quXH+w@HIDDEN>
 <xjf4jq2fv11.fsf@HIDDEN>
 <AD0EBD67-52C2-4650-9D30-09669212DF9D@HIDDEN>
 <xjf7cuye50g.fsf@HIDDEN>
Date: Fri, 31 Mar 2023 10:26:20 +0000
Message-ID: <xjfbkk9cj3n.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 3.6 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Andrea Corallo <akrl@HIDDEN> writes: > Mattias EngdegÄrd
    <mattiase@HIDDEN> writes: > >> 30 mars 2023 kl. 11.28 skrev Andrea Corallo
    <akrl@HIDDEN>: >> >>> bisecting this should be due to: >>> " >>> 52b67740d10df8ca539fdc2c7d50283997683
    [...] 
 
 Content analysis details:   (3.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [205.166.94.33 listed in zen.spamhaus.org]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
X-Debbugs-Envelope-To: 62537
Cc: 62537 <at> debbugs.gnu.org, Pedro Andres Aranda Gutierrez <paaguti@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Andrea Corallo <akrl@HIDDEN> writes: > Mattias EngdegÄrd
    <mattiase@HIDDEN> writes: > >> 30 mars 2023 kl. 11.28 skrev Andrea Corallo
    <akrl@HIDDEN>: >> >>> bisecting this should be due to: >>> " >>> 52b67740d10df8ca539fdc2c7d50283997683
    [...] 
 
 Content analysis details:   (2.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [205.166.94.33 listed in zen.spamhaus.org]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Andrea Corallo <akrl@HIDDEN> writes:

> Mattias Engdeg=C3=A5rd <mattiase@HIDDEN> writes:
>
>> 30 mars 2023 kl. 11.28 skrev Andrea Corallo <akrl@HIDDEN>:
>>
>>> bisecting this should be due to:
>>> "
>>> 52b67740d10df8ca539fdc2c7d50283997683141
>>
>>> Generalise a LAP optimisation rule
>>
>> That change should be entirely safe. Perhaps it just somehow triggers an=
 unexpected path in nativecomp?
>
> That's entirely possible :)
>
> Will look at and report.
>
>   Andrea

I haven't had time to complete the investigation/fix but as data
point...

This is the most reduced reproducer I could produce:

;;; -*- lexical-binding: t; -*-
(defun test ()
  (when (let
            ((val
              (foo)))
          (cond
           ((eq val 'x)
            t)
           ((eq val 'y)
            'y)))
    (foo))
  t)

This is the old LAP:

(byte-constant foo . 0)
(byte-call . 0)
(byte-dup)
(byte-constant #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshol=
d 0.8125 purecopy t data (x 8 y 12)) . 1)
(byte-switch)
(byte-goto TAG 16 . 1)
(TAG 8 . 1)
(byte-constant t . 2)
(byte-goto TAG 17 . 2)
(TAG 12 . 1)
(byte-constant t . 2)
(byte-goto TAG 17 . 2)
(TAG 16 . 1)
(byte-constant nil . 3)
(TAG 17 . 2)
(byte-stack-set . 1)
(byte-goto-if-nil TAG 25 . 0)
(byte-constant foo . 0)
(byte-call . 0)
(byte-discard)
(TAG 25 . 0)
(byte-constant t . 2)
(byte-return . 0)

This is the new one:

(byte-constant foo . 0)
(byte-call . 0)
(byte-dup)
(byte-constant #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshol=
d 0.8125 purecopy t data (x 9 y 9)) . 1)
(byte-switch)
(byte-discard)
(byte-goto TAG 13 . 0)
(TAG 9 . 1)
(byte-discard)
(byte-constant foo . 0)
(byte-call . 0)
(byte-discard)
(TAG 13 . 0)
(byte-constant t . 2)
(byte-return . 0)

At a very quick look I don't see anything wrong with it so as
anticipated most lickly is just a bug in the native compiler limplify
pass.

Best Regards

  Andrea




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62537; Package emacs. Full text available.

Message received at 62537 <at> debbugs.gnu.org:


Received: (at 62537) by debbugs.gnu.org; 30 Mar 2023 13:35:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 09:35:36 2023
Received: from localhost ([127.0.0.1]:56155 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1phsRD-0004k4-S6
	for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 09:35:36 -0400
Received: from mx.sdf.org ([205.166.94.24]:64716)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <akrl@HIDDEN>) id 1phsRC-0004ju-Df
 for 62537 <at> debbugs.gnu.org; Thu, 30 Mar 2023 09:35:34 -0400
Received: from ma.sdf.org (ma.sdf.org [205.166.94.33])
 by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 32UDZRTh018507
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO);
 Thu, 30 Mar 2023 13:35:31 GMT
From: Andrea Corallo <akrl@HIDDEN>
To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= <mattiase@HIDDEN>
Subject: Re: bug#62537: Error compiling emacs master with native compilation
 activated
In-Reply-To: <AD0EBD67-52C2-4650-9D30-09669212DF9D@HIDDEN> ("Mattias
 =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Thu, 30 Mar 2023 12:37:15
 +0200")
References: <CAO48Bk9xgB8kxSiPFdiipUDWTBrfoxUxbCShz_fPMj1_quXH+w@HIDDEN>
 <xjf4jq2fv11.fsf@HIDDEN>
 <AD0EBD67-52C2-4650-9D30-09669212DF9D@HIDDEN>
Date: Thu, 30 Mar 2023 13:35:27 +0000
Message-ID: <xjf7cuye50g.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 62537
Cc: 62537 <at> debbugs.gnu.org, Pedro Andres Aranda Gutierrez <paaguti@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Mattias Engdeg=C3=A5rd <mattiase@HIDDEN> writes:

> 30 mars 2023 kl. 11.28 skrev Andrea Corallo <akrl@HIDDEN>:
>
>> bisecting this should be due to:
>> "
>> 52b67740d10df8ca539fdc2c7d50283997683141
>
>> Generalise a LAP optimisation rule
>
> That change should be entirely safe. Perhaps it just somehow triggers an =
unexpected path in nativecomp?

That's entirely possible :)

Will look at and report.

  Andrea




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62537; Package emacs. Full text available.

Message received at 62537 <at> debbugs.gnu.org:


Received: (at 62537) by debbugs.gnu.org; 30 Mar 2023 10:37:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 06:37:23 2023
Received: from localhost ([127.0.0.1]:55853 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1phpel-0005ZV-9e
	for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 06:37:23 -0400
Received: from mail153c50.megamailservers.eu ([91.136.10.163]:43606
 helo=mail50c50.megamailservers.eu)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mattiase@HIDDEN>) id 1phpej-0005ZH-4u
 for 62537 <at> debbugs.gnu.org; Thu, 30 Mar 2023 06:37:22 -0400
X-Authenticated-User: mattiase@HIDDEN
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu;
 s=maildub; t=1680172638;
 bh=0BCHOc4rGvBnDv7B8Nflc6ElndVPpC7ZNXW+pIV1whc=;
 h=Subject:From:In-Reply-To:Date:Cc:References:To:From;
 b=FQRNhy77uYLzDZxvwTd0kBlQIH8c3YwV9uP4ADLzfD3o1ZQCb/PfvMXmU1APQKs88
 FLRY11Q7pFjDZotxhkzH4VwoRw1MVeMbiASuiswf/lkhRJfI3DaSgKAkj6UImhhpJE
 /IvNtGObNTKj2MkZa8hCP1ZMv2pF2BMg9RNB3+ik=
Feedback-ID: mattiase@HIDDEN
Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se
 [188.150.165.235]) (authenticated bits=0)
 by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 32UAbG0E048907; 
 Thu, 30 Mar 2023 10:37:18 +0000
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\))
Subject: Re: bug#62537: Error compiling emacs master with native compilation
 activated
From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= <mattiase@HIDDEN>
In-Reply-To: <xjf4jq2fv11.fsf@HIDDEN>
Date: Thu, 30 Mar 2023 12:37:15 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <AD0EBD67-52C2-4650-9D30-09669212DF9D@HIDDEN>
References: <CAO48Bk9xgB8kxSiPFdiipUDWTBrfoxUxbCShz_fPMj1_quXH+w@HIDDEN>
 <xjf4jq2fv11.fsf@HIDDEN>
To: Andrea Corallo <akrl@HIDDEN>
X-Mailer: Apple Mail (2.3654.120.0.1.14)
X-VADE-SPAMSTATE: clean
X-VADE-SPAMSCORE: 0
X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehkedgvdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecunecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpeforghtthhirghsucfgnhhguggvghonrhguuceomhgrthhtihgrshgvsegrtghmrdhorhhgqeenucggtffrrghtthgvrhhnpeevkeffudejhfekhedvgfffieekgffhfedvkeeuffelgeefkeeulefhjeeifeekgfenucfkphepudekkedrudehtddrudeihedrvdefheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeekrdduhedtrdduieehrddvfeehpdhhvghlohepshhmthhptghlihgvnhhtrdgrphhplhgvpdhmrghilhhfrhhomhepmhgrthhtihgrshgvsegrtghmrdhorhhgpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheprghkrhhlsehsughfrdhorhhgpdhrtghpthhtohepphgrrghguhhtihesghhmrghilhdrtghomhdprhgtphhtthhopeeivdehfeejseguvggssghughhsrdhgnhhurdhorhhg
X-Origin-Country: SE
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 62537
Cc: 62537 <at> debbugs.gnu.org, Pedro Andres Aranda Gutierrez <paaguti@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

30 mars 2023 kl. 11.28 skrev Andrea Corallo <akrl@HIDDEN>:

> bisecting this should be due to:
> "
> 52b67740d10df8ca539fdc2c7d50283997683141

> Generalise a LAP optimisation rule

That change should be entirely safe. Perhaps it just somehow triggers an =
unexpected path in nativecomp?





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62537; Package emacs. Full text available.

Message received at 62537 <at> debbugs.gnu.org:


Received: (at 62537) by debbugs.gnu.org; 30 Mar 2023 10:00:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 06:00:28 2023
Received: from localhost ([127.0.0.1]:55812 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1php51-0004VE-HL
	for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 06:00:28 -0400
Received: from mail-ed1-f51.google.com ([209.85.208.51]:35806)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <paaguti@HIDDEN>) id 1php4y-0004Ux-VY
 for 62537 <at> debbugs.gnu.org; Thu, 30 Mar 2023 06:00:25 -0400
Received: by mail-ed1-f51.google.com with SMTP id y4so74304558edo.2
 for <62537 <at> debbugs.gnu.org>; Thu, 30 Mar 2023 03:00:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1680170419;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=4Ou59g63P7ZZyEHJl6mRMb6DVEdJJVVuAkEa/ErqPEw=;
 b=cpH816wTGr1lv0rFZLKc9vTsUrzzVp6F5tx3ZH1T08d1xhJH++DalIJ0yAw0uoxhxW
 ABKCJEWI/1QTmhsg6aEowhB7rDZHVKj/fF2WNi+NCTkxQDqm7tjsbUbjvOk8uEgLGZ2I
 YzXyhEs+MqWVfztcx7exMhs6oduBOn/YfKRn2o+vXGF1T2/vNrBnSgQV5/segNVwgdyn
 bnBuG38Sa0k/sgShBJoK5PNAX0fU52vzqV0l9hnr8VPpf7o1ugAsXEjgKnmhWrSQbCBO
 DF2VDt/lb6ao0rcXKsMFwxhEoFhfpLe8KOFG9dZ0971NsUIjeDNEnq6yeVWSEix4w4tP
 ytLQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1680170419;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=4Ou59g63P7ZZyEHJl6mRMb6DVEdJJVVuAkEa/ErqPEw=;
 b=X/S/4NHAw7IiH9fh/IPL6wcigLuAwfiJQbmMWtLWg0dHfOi9vjMhhhllb1ADk3UVra
 bdzFdQOCghV05Fg3PGjmPdfW6EuA8YzuEuZxEZmt05XKedhNIoJqr8+HA3xRf0Mhh1iB
 taMONKqoKTuPiBgRkTfhSb9PHhY0ELRHoDISlJk9xCR8nQlU0aUaEcA3dDVQoQ4U6Em0
 7bD8PfFNaTqhnZtPTM9qA8nEYdx6829V09gve+8Psz80xrj6c0EDKbj6/ZyiDGhquBZ5
 WHLQ5Hnp4pJZwnF9ogdEM8pyhlsobGWjy02Ptu/8gz1s4RMGJILkm528oz99atN3zFSl
 4HWg==
X-Gm-Message-State: AAQBX9daL41dw77OJhEX5yve4GJLcuJ3d432cs7EjHSTYTj+Ty54m9kr
 yEXTX/1Y+w4y3WVSqegppJWkG1zBItn8sl/uFJc=
X-Google-Smtp-Source: AKy350YsqOhmqnV+G5eaEZTuV1KxfeAytMsu3H5tgI5tqZsY9mpGk9q5SsW+ldIFP1t8IKw8TYQ4m6uLGwIZM950MpU=
X-Received: by 2002:a17:906:c357:b0:932:4255:5908 with SMTP id
 ci23-20020a170906c35700b0093242555908mr11130310ejb.5.1680170419001; Thu, 30
 Mar 2023 03:00:19 -0700 (PDT)
MIME-Version: 1.0
References: <CAO48Bk9xgB8kxSiPFdiipUDWTBrfoxUxbCShz_fPMj1_quXH+w@HIDDEN>
 <xjf4jq2fv11.fsf@HIDDEN>
In-Reply-To: <xjf4jq2fv11.fsf@HIDDEN>
From: Pedro Andres Aranda Gutierrez <paaguti@HIDDEN>
Date: Thu, 30 Mar 2023 11:59:52 +0200
Message-ID: <CAO48Bk8WLN-9vreGfGRP452tNd_CNdQ9BkeTsK8eV-hx-OGV4g@HIDDEN>
Subject: Re: bug#62537: Error compiling emacs master with native compilation
 activated
To: Andrea Corallo <akrl@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62537
Cc: =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= <mattiase@HIDDEN>,
 62537 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Let me know when you are done. I can pull-up a VM in no time to check,
check pre-patches, etc.
I'm on master

Best, /PA

On Thu, 30 Mar 2023 at 11:28, Andrea Corallo <akrl@HIDDEN> wrote:
>
> Pedro Andres Aranda Gutierrez <paaguti@HIDDEN> writes:
>
> > HI
> > there seems to be a problem when compiling the org-mode files with
> > native compilation activated
> >
> > ```
> >   ELC+ELN  org/org-plot.elc
> >
> > Error: native-ice ("org/org-plot.el" "block does not end with a
> > branch" #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call
> > helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm
> > #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm
> > #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t)
> > nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil
> > 2) #s(comp-mvar (t) nil nil nil nil 3))) (call
> > record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil
> > nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil
> > nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm
> > #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set
> > #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t)
> > nil nil nil nil 3))) (call helper_unbind_n #s(comp-mvar nil nil ((1 .
> > 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 4)
> > plist-get) (set #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t)
> > nil nil nil nil 0)) (setimm #s(comp-mvar (t) nil nil nil nil 6)
> > :transpose) (set #s(comp-mvar (t) nil nil nil nil 4) (callref funcall
> > #s(comp-mvar (t) nil nil nil nil 4) #s(comp-mvar (t) nil nil nil nil
> > 5) #s(comp-mvar (t) nil nil nil nil 6))) (set #s(comp-mvar (t) nil nil
> > nil nil 5) #s(comp-mvar (t) nil nil nil nil 4)) (setimm #s(comp-mvar
> > (t) nil nil nil nil 6) #s(hash-table size 3 test eq rehash-size 1.5
> > rehash-threshold 0.8125 purecopy t data (y 105 yes 105 t 105)))) nil
> > nil nil nil #s(hash-table size 65 test eql rehash-size 1.5
> > rehash-threshold 0.8125 data ()) nil nil 1 72 nil nil)
> > org-plot/gnuplot)
> >   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode
> > 0x285567f77ae87d2>))
> >   debug-early-backtrace()
> >   debug-early(error (native-ice "org/org-plot.el" "block does not end
> > with a branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG
> > 83") (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil
> > :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar
> > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2)
> > make-temp-file) (setimm #s(comp-mvar :typeset (t) :valset nil :range
> > nil :neg nil :id nil :slot 3) "org-plot") (set #s(comp-mvar :typeset
> > (t) :valset nil :range nil :neg nil :id nil :slot 2) (callref funcall
> > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> > :slot 2) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> > nil :slot 3))) (call record_unwind_protect_excursion) (setimm
> > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> > :slot 3) org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t)
> > :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall
> > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> > :slot 3))) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil
> > :neg nil :id nil :slot 3) org-table-to-lisp) (set #s(comp-mvar
> > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref
> > funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> > nil :slot 3))) (call helper_unbind_n #s(comp-mvar :typeset nil :valset
> > nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar
> > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4)
> > plist-get) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg
> > nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil
> > :neg nil :id nil :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset
> > nil :range nil :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar
> > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) (callref
> > funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> > nil :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil
> > :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg
> > nil :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil
> > :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset
> > nil :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar
> > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6)
> > #<hash-table eq 3/3 0x155ea01696a7>)) :closed nil :in-edges nil
> > :out-edges nil :idom nil :df #<hash-table eql 0/65 0x155ea02c4401>
> > :post-num nil :final-frame nil :sp 1 :addr 72 :non-ret-insn nil
> > :no-ret nil) org-plot/gnuplot))
> >   signal(native-ice ("org/org-plot.el" "block does not end with a
> > branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG 83")
> > (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1
> > . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t)
> > :valset nil :range nil :neg nil :id nil :slot 2) make-temp-file)
> > (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> > nil :slot 3) "org-plot") (set #s(comp-mvar :typeset (t) :valset nil
> > :range nil :neg nil :id nil :slot 2) (callref funcall #s(comp-mvar
> > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2)
> > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> > :slot 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar
> > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3)
> > org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t) :valset
> > nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar
> > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3)))
> > (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> > nil :slot 3) org-table-to-lisp) (set #s(comp-mvar :typeset (t) :valset
> > nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar
> > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call
> > helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1))
> > :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset
> > nil :range nil :neg nil :id nil :slot 4) plist-get) (set #s(comp-mvar
> > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5)
> > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> > :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil
> > :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar :typeset (t)
> > :valset nil :range nil :neg nil :id nil :slot 4) (callref funcall
> > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> > :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> > nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil
> > :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil :range
> > nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil
> > :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar :typeset
> > (t) :valset nil :range nil :neg nil :id nil :slot 6) #<hash-table eq
> > 3/3 0x155ea01696a7>)) :closed nil :in-edges nil :out-edges nil :idom
> > nil :df #<hash-table eql 0/65 0x155ea02c4401> :post-num nil
> > :final-frame nil :sp 1 :addr 72 :non-ret-insn nil :no-ret nil)
> > org-plot/gnuplot))
> >   comp--native-compile("org/org-plot.el")
> >   batch-native-compile()
> >   batch-byte+native-compile()
> >   command-line-1(("--eval" "(setq load-prefer-newer t
> > byte-compile-warnings 'all)" "-l" "comp" "-f"
> > "batch-byte+native-compile" "org/org-plot.el"))
> >   command-line()
> >   normal-top-level()
> > Internal native compiler error: "org/org-plot.el", "block does not end
> > with a branch", #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call
> > helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm
> > #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm
> > #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t)
> > nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil
> > 2) #s(comp-mvar (t) nil nil nil nil 3))) (call
> > record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil
> > nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil
> > nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm
> > #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set
> > #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t)
> > nil nil nil nil 3))) ...) nil nil nil nil #s(hash-table size 65 test
> > eql rehash-size 1.5 rehash-threshold 0.8125 data ()) nil nil ...),
> > #<symbol org-plot/gnuplot at 23521>
> > make[5]: *** [Makefile:327: org/org-plot.elc] Error 255
>
> Hi Pedro,
>
> bisecting this should be due to:
> "
> 52b67740d10df8ca539fdc2c7d50283997683141
> Author:     Mattias Engdeg=C3=A5rd <mattiase@HIDDEN>
> AuthorDate: Sat Mar 25 15:38:00 2023 +0100
> Commit:     Mattias Engdeg=C3=A5rd <mattiase@HIDDEN>
> CommitDate: Sat Mar 25 16:21:09 2023 +0100
>
> Parent:     db7e95531ac Switch buffer in Ftreesit_query_capture
> Merged:     comp-no-spawn
> Follows:    emacs-28.2 (164697)
>
> Generalise a LAP optimisation rule
>
> * lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
> Accept (stack-set 1) as equivalent to (discardN-preserve-tos 1) in a
> rule previously overlooked.  This is usually beneficial in code size
> and almost always shortens dynamic paths.
> "
>
> I'll try to have a look as soon as I've some time.
>
> Thanks
>
>   Andrea



--=20
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should
run a leader-deposed hook here, but we can't yet




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62537; Package emacs. Full text available.

Message received at 62537 <at> debbugs.gnu.org:


Received: (at 62537) by debbugs.gnu.org; 30 Mar 2023 09:28:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 05:28:35 2023
Received: from localhost ([127.0.0.1]:55756 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1phoaB-0003fc-1X
	for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 05:28:35 -0400
Received: from mx.sdf.org ([205.166.94.24]:55069)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <akrl@HIDDEN>) id 1phoa8-0003fT-Qd
 for 62537 <at> debbugs.gnu.org; Thu, 30 Mar 2023 05:28:33 -0400
Received: from ma.sdf.org (ma.sdf.org [205.166.94.33])
 by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 32U9SA0E022833
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO);
 Thu, 30 Mar 2023 09:28:17 GMT
From: Andrea Corallo <akrl@HIDDEN>
To: Pedro Andres Aranda Gutierrez <paaguti@HIDDEN>
Subject: Re: bug#62537: Error compiling emacs master with native compilation
 activated
In-Reply-To: <CAO48Bk9xgB8kxSiPFdiipUDWTBrfoxUxbCShz_fPMj1_quXH+w@HIDDEN>
 (Pedro Andres Aranda Gutierrez's message of "Thu, 30 Mar 2023 09:18:39
 +0200")
References: <CAO48Bk9xgB8kxSiPFdiipUDWTBrfoxUxbCShz_fPMj1_quXH+w@HIDDEN>
Date: Thu, 30 Mar 2023 09:28:10 +0000
Message-ID: <xjf4jq2fv11.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 62537
Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= <mattiase@HIDDEN>,
 62537 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Pedro Andres Aranda Gutierrez <paaguti@HIDDEN> writes:

> HI
> there seems to be a problem when compiling the org-mode files with
> native compilation activated
>
> ```
>   ELC+ELN  org/org-plot.elc
>
> Error: native-ice ("org/org-plot.el" "block does not end with a
> branch" #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call
> helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm
> #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm
> #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t)
> nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil
> 2) #s(comp-mvar (t) nil nil nil nil 3))) (call
> record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil
> nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil
> nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm
> #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set
> #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t)
> nil nil nil nil 3))) (call helper_unbind_n #s(comp-mvar nil nil ((1 .
> 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 4)
> plist-get) (set #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t)
> nil nil nil nil 0)) (setimm #s(comp-mvar (t) nil nil nil nil 6)
> :transpose) (set #s(comp-mvar (t) nil nil nil nil 4) (callref funcall
> #s(comp-mvar (t) nil nil nil nil 4) #s(comp-mvar (t) nil nil nil nil
> 5) #s(comp-mvar (t) nil nil nil nil 6))) (set #s(comp-mvar (t) nil nil
> nil nil 5) #s(comp-mvar (t) nil nil nil nil 4)) (setimm #s(comp-mvar
> (t) nil nil nil nil 6) #s(hash-table size 3 test eq rehash-size 1.5
> rehash-threshold 0.8125 purecopy t data (y 105 yes 105 t 105)))) nil
> nil nil nil #s(hash-table size 65 test eql rehash-size 1.5
> rehash-threshold 0.8125 data ()) nil nil 1 72 nil nil)
> org-plot/gnuplot)
>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode
> 0x285567f77ae87d2>))
>   debug-early-backtrace()
>   debug-early(error (native-ice "org/org-plot.el" "block does not end
> with a branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG
> 83") (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil
> :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar
> :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2)
> make-temp-file) (setimm #s(comp-mvar :typeset (t) :valset nil :range
> nil :neg nil :id nil :slot 3) "org-plot") (set #s(comp-mvar :typeset
> (t) :valset nil :range nil :neg nil :id nil :slot 2) (callref funcall
> #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> :slot 2) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> nil :slot 3))) (call record_unwind_protect_excursion) (setimm
> #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> :slot 3) org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t)
> :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall
> #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> :slot 3))) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil
> :neg nil :id nil :slot 3) org-table-to-lisp) (set #s(comp-mvar
> :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref
> funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> nil :slot 3))) (call helper_unbind_n #s(comp-mvar :typeset nil :valset
> nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar
> :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4)
> plist-get) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg
> nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil
> :neg nil :id nil :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset
> nil :range nil :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar
> :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) (callref
> funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> nil :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil
> :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg
> nil :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil
> :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset
> nil :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar
> :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6)
> #<hash-table eq 3/3 0x155ea01696a7>)) :closed nil :in-edges nil
> :out-edges nil :idom nil :df #<hash-table eql 0/65 0x155ea02c4401>
> :post-num nil :final-frame nil :sp 1 :addr 72 :non-ret-insn nil
> :no-ret nil) org-plot/gnuplot))
>   signal(native-ice ("org/org-plot.el" "block does not end with a
> branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG 83")
> (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1
> . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t)
> :valset nil :range nil :neg nil :id nil :slot 2) make-temp-file)
> (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> nil :slot 3) "org-plot") (set #s(comp-mvar :typeset (t) :valset nil
> :range nil :neg nil :id nil :slot 2) (callref funcall #s(comp-mvar
> :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2)
> #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> :slot 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar
> :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3)
> org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t) :valset
> nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar
> :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3)))
> (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> nil :slot 3) org-table-to-lisp) (set #s(comp-mvar :typeset (t) :valset
> nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar
> :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call
> helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1))
> :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset
> nil :range nil :neg nil :id nil :slot 4) plist-get) (set #s(comp-mvar
> :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5)
> #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil
> :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar :typeset (t)
> :valset nil :range nil :neg nil :id nil :slot 4) (callref funcall
> #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
> :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
> nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil
> :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil :range
> nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil
> :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar :typeset
> (t) :valset nil :range nil :neg nil :id nil :slot 6) #<hash-table eq
> 3/3 0x155ea01696a7>)) :closed nil :in-edges nil :out-edges nil :idom
> nil :df #<hash-table eql 0/65 0x155ea02c4401> :post-num nil
> :final-frame nil :sp 1 :addr 72 :non-ret-insn nil :no-ret nil)
> org-plot/gnuplot))
>   comp--native-compile("org/org-plot.el")
>   batch-native-compile()
>   batch-byte+native-compile()
>   command-line-1(("--eval" "(setq load-prefer-newer t
> byte-compile-warnings 'all)" "-l" "comp" "-f"
> "batch-byte+native-compile" "org/org-plot.el"))
>   command-line()
>   normal-top-level()
> Internal native compiler error: "org/org-plot.el", "block does not end
> with a branch", #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call
> helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm
> #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm
> #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t)
> nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil
> 2) #s(comp-mvar (t) nil nil nil nil 3))) (call
> record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil
> nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil
> nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm
> #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set
> #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t)
> nil nil nil nil 3))) ...) nil nil nil nil #s(hash-table size 65 test
> eql rehash-size 1.5 rehash-threshold 0.8125 data ()) nil nil ...),
> #<symbol org-plot/gnuplot at 23521>
> make[5]: *** [Makefile:327: org/org-plot.elc] Error 255

Hi Pedro,

bisecting this should be due to:
"
52b67740d10df8ca539fdc2c7d50283997683141
Author:     Mattias Engdeg=C3=A5rd <mattiase@HIDDEN>
AuthorDate: Sat Mar 25 15:38:00 2023 +0100
Commit:     Mattias Engdeg=C3=A5rd <mattiase@HIDDEN>
CommitDate: Sat Mar 25 16:21:09 2023 +0100

Parent:     db7e95531ac Switch buffer in Ftreesit_query_capture
Merged:     comp-no-spawn
Follows:    emacs-28.2 (164697)

Generalise a LAP optimisation rule

* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
Accept (stack-set 1) as equivalent to (discardN-preserve-tos 1) in a
rule previously overlooked.  This is usually beneficial in code size
and almost always shortens dynamic paths.
"

I'll try to have a look as soon as I've some time.

Thanks

  Andrea




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62537; Package emacs. Full text available.
Merged 62481 62537. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 62537 <at> debbugs.gnu.org:


Received: (at 62537) by debbugs.gnu.org; 30 Mar 2023 08:50:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 04:50:19 2023
Received: from localhost ([127.0.0.1]:55732 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1phnz9-0000Jn-FD
	for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 04:50:19 -0400
Received: from eggs.gnu.org ([209.51.188.92]:57150)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1phnz7-0000JR-8V; Thu, 30 Mar 2023 04:50:17 -0400
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 <eliz@HIDDEN>)
 id 1phnz1-0001eP-Mv; Thu, 30 Mar 2023 04:50:11 -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=zm2GQF2AS0GyjELpsAAyRHuQSBvxEQ+GQiMtfzl5Nuo=; b=An1yu2Vj5CAf
 o5cVgpUhWDavZ2OQvD5pCOWHaYZZMj1tsFCLQnoQv34f9U0KnqAaGD7/PIJqZKaUu+aQ2iV/Z7iB8
 ukwVkwrs24E+jrzV1Ubz/rUU17DBw6Iu+20/EI4zCg8A22WFEKtuRXDPdY3IG0RpbTlUCd5Kyu9PM
 +Mx/s5qa/Y/m1SkYocshLoZP3AObnwCroc2JVzCUBTZ/pHOmkiowD0ROlq3VBLposZWWWPq2ikos2
 6+xKlEw5WJabV2ks3r5QNihWyhGxW5W+mvI4Amd1HyVavKoklIsxVeRB2tuq/gj284Ol7Khy6ZyZu
 72u6PcyIkcOU9xRIOXWW6Q==;
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 <eliz@HIDDEN>)
 id 1phnz1-0005Vr-3w; Thu, 30 Mar 2023 04:50:11 -0400
Date: Thu, 30 Mar 2023 11:50:20 +0300
Message-Id: <83leje62sz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Pedro Andres Aranda Gutierrez <paaguti@HIDDEN>
In-Reply-To: <CAO48Bk9xgB8kxSiPFdiipUDWTBrfoxUxbCShz_fPMj1_quXH+w@HIDDEN>
 (message from Pedro Andres Aranda Gutierrez on Thu, 30 Mar 2023
 09:18:39 +0200)
Subject: Re: bug#62537: Error compiling emacs master with native compilation
 activated
References: <CAO48Bk9xgB8kxSiPFdiipUDWTBrfoxUxbCShz_fPMj1_quXH+w@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62537
Cc: 62537 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

merge 62537 62481
thanks

> From: Pedro Andres Aranda Gutierrez <paaguti@HIDDEN>
> Date: Thu, 30 Mar 2023 09:18:39 +0200
> 
> HI
> there seems to be a problem when compiling the org-mode files with
> native compilation activated
> 
> ```
>   ELC+ELN  org/org-plot.elc
> 
> Error: native-ice ("org/org-plot.el" "block does not end with a
> branch" #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call
> helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm
> #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm
> #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t)
> nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil
> 2) #s(comp-mvar (t) nil nil nil nil 3))) (call

This is a duplicate of bug#62481.  We expect this to be solved when
emacs-29 branch is next merged to master.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#62537; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Mar 2023 07:19:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 03:19:12 2023
Received: from localhost ([127.0.0.1]:55624 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1phmYx-0006LQ-U7
	for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 03:19:12 -0400
Received: from lists.gnu.org ([209.51.188.17]:44082)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <paaguti@HIDDEN>) id 1phmYv-0006LI-Ti
 for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 03:19:10 -0400
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 <paaguti@HIDDEN>) id 1phmYv-00084X-JU
 for bug-gnu-emacs@HIDDEN; Thu, 30 Mar 2023 03:19:09 -0400
Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <paaguti@HIDDEN>) id 1phmYt-0004s9-GD
 for bug-gnu-emacs@HIDDEN; Thu, 30 Mar 2023 03:19:09 -0400
Received: by mail-ed1-x532.google.com with SMTP id ew6so72704436edb.7
 for <bug-gnu-emacs@HIDDEN>; Thu, 30 Mar 2023 00:19:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1680160745;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=lLxwnVaY4iQgDeK/sr+Tccf8zHb7W+OK6I3CVsSO6LU=;
 b=g//SIFrALajqbZv1xkH3FDbVD7xXKESPEkAu8r/usafLXmtwoLKJbLtxZfy+lEzrKJ
 aQm4R6PGW3SFLceKTEYBPDXeLcbY3MqeL+x7qwE2ocUR1cVs4ABgsSHLr4AJWMhaq/GJ
 zR/qmRG7479jV+rHkQpnfgEKQ1evT6+qLZuSRCo8F/LjwSrJa6OX6DX1JIXBmo5i0gCY
 wlHwd+hVT8UwpMuYAWhYMXOg+NmzoOE1oGzoo8sifV6WmYFKBPrTGTXdZBo1/90Zml8o
 sf7n0WI9D9RwC4rKLUObHR8Bvwyi9ftJJIJaYXJwfIq+i/K9A3aAnD3CSL8RoMhuTHwu
 Z8nw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1680160745;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=lLxwnVaY4iQgDeK/sr+Tccf8zHb7W+OK6I3CVsSO6LU=;
 b=wXQV+gVjLJq9Xc9nFYxcnQahI7pHFHu3lS//8zBvPQPbDaxi3ZWNun5Nm1O+Q+wurp
 5DqZ3UDtnPPOnYlDVu42oTrvmXn3akJUz1Zp98o4Ad82GvdE2uH0z4uC8/fTnzpmAKy/
 ALJHz2HEumi6q1okXY1onjOGHt3PzbkpnADJ05m+xQnwLNG8gdmlE/7y0nlf0glVSmGu
 5mSN/xWmrqkAHBt1LLeOvg5z3SwKoDHe1AbRCrC/jc3/2nt2t/0E43nxZXMWcjTEUKrb
 65Y2bghLLmYhVNpWYJwpUWtWMyvlyLmSw7wWJnAUFcXitLUjlyJHs8O4kdikbUr/hAbZ
 ldcw==
X-Gm-Message-State: AAQBX9dBde/Wsk/5Ih7tBFMa9bQIZBJHQ9Wc3ITMfrNSmGhLo1zWhlpi
 MGgkU6w12jUFdy1Ldw/NJH1GvP0aeXgSYFk7MthHD5HKwCFhI8PM
X-Google-Smtp-Source: AKy350aN4Rlj3Y1RrUJXoYd1o5YZAjKHMIjKMtEwEtTdokX8drbQfMILeexskChxYOmObHhbuMefswwTILcyeJFLmyc=
X-Received: by 2002:a17:906:c357:b0:932:4255:5908 with SMTP id
 ci23-20020a170906c35700b0093242555908mr10904678ejb.5.1680160744956; Thu, 30
 Mar 2023 00:19:04 -0700 (PDT)
MIME-Version: 1.0
From: Pedro Andres Aranda Gutierrez <paaguti@HIDDEN>
Date: Thu, 30 Mar 2023 09:18:39 +0200
Message-ID: <CAO48Bk9xgB8kxSiPFdiipUDWTBrfoxUxbCShz_fPMj1_quXH+w@HIDDEN>
Subject: Error compiling emacs master with native compilation activated
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::532;
 envelope-from=paaguti@HIDDEN; helo=mail-ed1-x532.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

HI
there seems to be a problem when compiling the org-mode files with
native compilation activated

```
  ELC+ELN  org/org-plot.elc

Error: native-ice ("org/org-plot.el" "block does not end with a
branch" #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call
helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm
#s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm
#s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t)
nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil
2) #s(comp-mvar (t) nil nil nil nil 3))) (call
record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil
nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil
nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm
#s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set
#s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t)
nil nil nil nil 3))) (call helper_unbind_n #s(comp-mvar nil nil ((1 .
1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 4)
plist-get) (set #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t)
nil nil nil nil 0)) (setimm #s(comp-mvar (t) nil nil nil nil 6)
:transpose) (set #s(comp-mvar (t) nil nil nil nil 4) (callref funcall
#s(comp-mvar (t) nil nil nil nil 4) #s(comp-mvar (t) nil nil nil nil
5) #s(comp-mvar (t) nil nil nil nil 6))) (set #s(comp-mvar (t) nil nil
nil nil 5) #s(comp-mvar (t) nil nil nil nil 4)) (setimm #s(comp-mvar
(t) nil nil nil nil 6) #s(hash-table size 3 test eq rehash-size 1.5
rehash-threshold 0.8125 purecopy t data (y 105 yes 105 t 105)))) nil
nil nil nil #s(hash-table size 65 test eql rehash-size 1.5
rehash-threshold 0.8125 data ()) nil nil 1 72 nil nil)
org-plot/gnuplot)
  mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode
0x285567f77ae87d2>))
  debug-early-backtrace()
  debug-early(error (native-ice "org/org-plot.el" "block does not end
with a branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG
83") (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil
:range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar
:typeset (t) :valset nil :range nil :neg nil :id nil :slot 2)
make-temp-file) (setimm #s(comp-mvar :typeset (t) :valset nil :range
nil :neg nil :id nil :slot 3) "org-plot") (set #s(comp-mvar :typeset
(t) :valset nil :range nil :neg nil :id nil :slot 2) (callref funcall
#s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
:slot 2) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
nil :slot 3))) (call record_unwind_protect_excursion) (setimm
#s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
:slot 3) org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t)
:valset nil :range nil :neg nil :id nil :slot 3) (callref funcall
#s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
:slot 3))) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil
:neg nil :id nil :slot 3) org-table-to-lisp) (set #s(comp-mvar
:typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref
funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
nil :slot 3))) (call helper_unbind_n #s(comp-mvar :typeset nil :valset
nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar
:typeset (t) :valset nil :range nil :neg nil :id nil :slot 4)
plist-get) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg
nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil
:neg nil :id nil :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset
nil :range nil :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar
:typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) (callref
funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
nil :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil
:id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg
nil :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil
:range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset
nil :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar
:typeset (t) :valset nil :range nil :neg nil :id nil :slot 6)
#<hash-table eq 3/3 0x155ea01696a7>)) :closed nil :in-edges nil
:out-edges nil :idom nil :df #<hash-table eql 0/65 0x155ea02c4401>
:post-num nil :final-frame nil :sp 1 :addr 72 :non-ret-insn nil
:no-ret nil) org-plot/gnuplot))
  signal(native-ice ("org/org-plot.el" "block does not end with a
branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG 83")
(call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1
. 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t)
:valset nil :range nil :neg nil :id nil :slot 2) make-temp-file)
(setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
nil :slot 3) "org-plot") (set #s(comp-mvar :typeset (t) :valset nil
:range nil :neg nil :id nil :slot 2) (callref funcall #s(comp-mvar
:typeset (t) :valset nil :range nil :neg nil :id nil :slot 2)
#s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
:slot 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar
:typeset (t) :valset nil :range nil :neg nil :id nil :slot 3)
org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t) :valset
nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar
:typeset (t) :valset nil :range nil :neg nil :id nil :slot 3)))
(setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
nil :slot 3) org-table-to-lisp) (set #s(comp-mvar :typeset (t) :valset
nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar
:typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call
helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1))
:neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset
nil :range nil :neg nil :id nil :slot 4) plist-get) (set #s(comp-mvar
:typeset (t) :valset nil :range nil :neg nil :id nil :slot 5)
#s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
:slot 0)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil
:neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar :typeset (t)
:valset nil :range nil :neg nil :id nil :slot 4) (callref funcall
#s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil
:slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id
nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil
:id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil :range
nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil
:range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar :typeset
(t) :valset nil :range nil :neg nil :id nil :slot 6) #<hash-table eq
3/3 0x155ea01696a7>)) :closed nil :in-edges nil :out-edges nil :idom
nil :df #<hash-table eql 0/65 0x155ea02c4401> :post-num nil
:final-frame nil :sp 1 :addr 72 :non-ret-insn nil :no-ret nil)
org-plot/gnuplot))
  comp--native-compile("org/org-plot.el")
  batch-native-compile()
  batch-byte+native-compile()
  command-line-1(("--eval" "(setq load-prefer-newer t
byte-compile-warnings 'all)" "-l" "comp" "-f"
"batch-byte+native-compile" "org/org-plot.el"))
  command-line()
  normal-top-level()
Internal native compiler error: "org/org-plot.el", "block does not end
with a branch", #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call
helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm
#s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm
#s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t)
nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil
2) #s(comp-mvar (t) nil nil nil nil 3))) (call
record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil
nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil
nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm
#s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set
#s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t)
nil nil nil nil 3))) ...) nil nil nil nil #s(hash-table size 65 test
eql rehash-size 1.5 rehash-threshold 0.8125 data ()) nil nil ...),
#<symbol org-plot/gnuplot at 23521>
make[5]: *** [Makefile:327: org/org-plot.elc] Error 255
```

-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should
run a leader-deposed hook here, but we can't yet




Acknowledgement sent to Pedro Andres Aranda Gutierrez <paaguti@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#62537; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 4 Apr 2023 02:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.