Subject: Re: bug#65455: 30.0.50; Disassemble: error with "free-standing" native compiled function

From: Eli Zaretskii <[email-masked]>
Date: Tue, 22 Aug 2023 18:39:05 +0300

> From: Gerd Möllmann <[email-masked]>
> Cc: Andrea Corallo <[email-masked]>,  [email-masked]
> Date: Tue, 22 Aug 2023 15:41:40 +0200
> 
> Eli Zaretskii <[email-masked]> 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

Let's wait for Andrea to chime in.  Maybe I misunderstood the intended
way of calling that function or what exactly its 2nd argument is.