From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44221: 28.0.50; native-compile fails on cl-lib if delete-region has around advice Date: Mon, 26 Oct 2020 16:42:01 +0000 Message-ID: References: <3B1B0B89-30E8-4D73-849E-26D35C281C8A@codefu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25255"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 44221@debbugs.gnu.org To: Dale Sedivec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 26 17:44:29 2020 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 1kX5bh-0006SY-Is for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Oct 2020 17:44:29 +0100 Original-Received: from localhost ([::1]:36328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kX5bg-00006W-KI for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 26 Oct 2020 12:44:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kX5aJ-0007Po-8F for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2020 12:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kX5aI-0003QI-V6 for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2020 12:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kX5aH-0005lo-SO for bug-gnu-emacs@gnu.org; Mon, 26 Oct 2020 12:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Oct 2020 16:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44221 X-GNU-PR-Package: emacs Original-Received: via spool by 44221-submit@debbugs.gnu.org id=B44221.160373052722115 (code B ref 44221); Mon, 26 Oct 2020 16:43:01 +0000 Original-Received: (at 44221) by debbugs.gnu.org; 26 Oct 2020 16:42:07 +0000 Original-Received: from localhost ([127.0.0.1]:41081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX5ZP-0005kd-Ez for submit@debbugs.gnu.org; Mon, 26 Oct 2020 12:42:07 -0400 Original-Received: from mab.sdf.org ([205.166.94.33]:35934 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX5ZL-0005kO-TH for 44221@debbugs.gnu.org; Mon, 26 Oct 2020 12:42:06 -0400 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kX5ZJ-0006Uv-9B; Mon, 26 Oct 2020 16:42:01 +0000 In-Reply-To: <3B1B0B89-30E8-4D73-849E-26D35C281C8A@codefu.org> (Dale Sedivec's message of "Sun, 25 Oct 2020 16:14:03 -0500") 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" Xref: news.gmane.io gmane.emacs.bugs:191607 Archived-At: Dale Sedivec writes: > 1. Start with emacs -Q > > 2. Enter IELM > > 3. Add trivial advice to `delete-region': > > (define-advice delete-region (:around (orig-fun &rest args) my:test) > (apply orig-fun args)) > > 4. Attempt native compilation of cl-lib: > > (require 'find-func) > (native-compile (find-library-name "cl-lib")) > > Expected result: cl-lib experiences native compilation > > Actual result: > > *** Eval error *** Internal native compiler error: "/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/cl-lib.el.gz", "not a subr", #[128 "\300\301\302#\207" [apply delete-region@my:test # nil] 5 nil "r"] > > I discovered this via the volatile-highlights package, which advises > `delete-region', among other things. Hi Dale, thanks for reporting this, fd9e9308d2 should fix the issue. Please confirm works for you with your package. Thanks! Andrea