GNU bug report logs -
#65455
30.0.50; Disassemble: error with "free-standing" native compiled function
Previous Next
Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Date: Tue, 22 Aug 2023 13:18:02 UTC
Severity: normal
Found in version 30.0.50
Fixed in version 30.1
Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
> What happens if you do
>
> (native-compile 'foo "foo.eln")
>
> instead?
>
> Adding Andrea.
Ok. I did
(fmakunbound 'foo)
(defun foo (a b)
(list a b))
(native-compile 'foo "foo.eln")
That resulted in an error, with *Messages* containing
comp--native-compile: Native compiler error: foo, "Compiling foo.eln...
Wrong type argument: stringp, nil
Error: wrong-type-argument (stringp nil)
mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x1ffb7762e512f81>))
debug-early-backtrace()
debug-early(error (wrong-type-argument stringp nil))
file-exists-p(nil)
comp-compile-ctxt-to-file(\"foo.eln\")
comp-final1()
load-with-code-conversion(\"/private/var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T/emacs-int-comp-foo-e1cmnO.el\" \"/private/var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T/emacs-int-comp-foo-e1cmnO.el\" nil t)
command-line-1((\"-l\" \"/var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T/emacs-int-comp-foo-e1cmnO.el\"))
command-line()
normal-top-level()
This bug report was last modified 1 year and 269 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.