unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#65455: 30.0.50; Disassemble: error with "free-standing" native compiled function
@ 2023-08-22 13:17 Gerd Möllmann
  2023-08-22 13:29 ` Eli Zaretskii
  2023-08-25  8:11 ` Andrea Corallo
  0 siblings, 2 replies; 20+ messages in thread
From: Gerd Möllmann @ 2023-08-22 13:17 UTC (permalink / raw)
  To: 65455

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.

In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin22.6.0, NS
 appkit-2299.70 Version 13.5 (Build 22G74)) of 2023-08-22 built on
 Mini.fritz.box
Repository revision: fe6009795211844ae2deda602c197cb57265eb64
Repository branch: scratch/pkg
Windowing system distributor 'Apple', version 10.3.2299
System Description:  macOS 13.5

Configured using:
 'configure --cache-file /Users/gerd/tmp/config.cache.pkg
 --with-native-compilation --disable-silent-rules 'CFLAGS=-g -O0''





^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-10-26  6:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-22 13:17 bug#65455: 30.0.50; Disassemble: error with "free-standing" native compiled function Gerd Möllmann
2023-08-22 13:29 ` Eli Zaretskii
2023-08-22 13:41   ` Gerd Möllmann
2023-08-22 15:39     ` Eli Zaretskii
2023-08-25  8:11 ` Andrea Corallo
2023-08-25 10:30   ` Eli Zaretskii
2023-08-25 11:43     ` Andrea Corallo
2023-08-25 11:47       ` Eli Zaretskii
2023-08-25 11:52         ` Andrea Corallo
2023-08-25 13:01           ` Eli Zaretskii
2023-08-25 14:11             ` Andrea Corallo
2023-08-25 14:56               ` Eli Zaretskii
2023-08-27 13:34                 ` Andrea Corallo
2023-08-27 13:40                   ` Eli Zaretskii
2023-08-27 15:41                     ` Andrea Corallo
2023-08-27 14:43         ` Andrea Corallo
2023-08-27 16:21           ` Eli Zaretskii
2023-08-27 18:04             ` Andrea Corallo
2023-08-27 18:22               ` Eli Zaretskii
2023-10-26  6:53                 ` Gerd Möllmann

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).