bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65455: 30.0.50; Disassemble: error with "free-standing" native compi


From: Eli Zaretskii
Subject: bug#65455: 30.0.50; Disassemble: error with "free-standing" native compiled function
Date: Tue, 22 Aug 2023 16:29:25 +0300

> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Date: Tue, 22 Aug 2023 15:17:21 +0200
> 
> In *scratch*, evaluate
> 
> (defun foo (a b)
>   (list a b))
> 
> (native-compile 'foo)
> (disassemble 'foo)
> 
> This gives an error in disass.el, around line 98 that a re-search fails,
> but the real error might be that, in the lines above, objdump is called
> on a file that does not exist.
> 
> Workaround is to save the function to a file, native-compile that file,
> and load the resulting .eln.  Then the disassemble works as expected.

What happens if you do

  (native-compile 'foo "foo.eln")

instead?

Adding Andrea.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]