unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Dale Sedivec <dale@codefu.org>
Cc: 44221-done@debbugs.gnu.org
Subject: bug#44221: 28.0.50; native-compile fails on cl-lib if delete-region has around advice
Date: Wed, 28 Oct 2020 14:13:31 +0000	[thread overview]
Message-ID: <xjfsg9yfng4.fsf@sdf.org> (raw)
In-Reply-To: <FD19DD15-6076-407C-9864-0E092FD03328@codefu.org> (Dale Sedivec's message of "Tue, 27 Oct 2020 15:28:12 -0500")

Dale Sedivec <dale@codefu.org> writes:

> On Oct 26, 2020, at 11:42, Andrea Corallo <akrl@sdf.org> wrote:
>> Dale Sedivec <dale@codefu.org> writes:
> [...]
>>> 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 #<subr delete-region> 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!
>
> Thank you!  I *think* this is now fixed, as I don't get this error
> anymore.  Attempting to natively compile cl-lib now gives me a
> different error that looks unrelated, which I'll have to do some more
> research on.

Hi Dale,

great I'm closing this then.

FWIW I can native compile cl-lib both syncronously and asyncronously
with no errors.  Please file a bug for that with a reproducer if you
feel.

Thanks

  Andrea





      reply	other threads:[~2020-10-28 14:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-25 21:14 bug#44221: 28.0.50; native-compile fails on cl-lib if delete-region has around advice Dale Sedivec
2020-10-26 16:42 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-27 20:28   ` Dale Sedivec
2020-10-28 14:13     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xjfsg9yfng4.fsf@sdf.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=44221-done@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    --cc=dale@codefu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).