all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#61917: 29.0.60; native compilation issues
@ 2023-03-02 15:18 Al Haji-Ali
  2023-03-02 15:48 ` Eli Zaretskii
  0 siblings, 1 reply; 19+ messages in thread
From: Al Haji-Ali @ 2023-03-02 15:18 UTC (permalink / raw)
  To: 61917


I've ran into a few issues with native compilation that I would like to report here in case they are unintentional bugs.

- First, native-compiling a simple file like

(defun test ()
  '(A . B))

after setting a non-zero native-comp-verbose, for example by running:

(let ((native-comp-verbose 1))
    (native-compile buffer-file-name))

gives the error `wrong-type-argument (listp B)`
in `comp-prettyformat-insn`

- Another issue I noticed is that if a file has `no-native-compile: t` and I call `emacs-lisp-native-compile-and-load` anyways on it, I get an error: `Wrong type argument: stringp, nil`. Not sure if this is intended.

- I've also had the following error when compiling a large file with many components (if more information is needed, I can try to pinpoint the reason once verbose debugging is fixed as it is making debugging difficult)

libgccjit.so: error: gcc_jit_context_new_call_through_ptr: mismatching types for argument 1 of fn_ptr: freloc->R64656c6574652d726567696f6e_delete_region_0: assignment to param 1 (type: struct Lisp_X *) from (long long)2 (type: long long)


Best regards,
-- Al





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

end of thread, other threads:[~2023-04-09 17:48 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02 15:18 bug#61917: 29.0.60; native compilation issues Al Haji-Ali
2023-03-02 15:48 ` Eli Zaretskii
     [not found]   ` <xjfzg8uxi7b.fsf@ma.sdf.org>
2023-03-09 10:08     ` Eli Zaretskii
2023-03-09 11:33       ` Andrea Corallo
2023-03-09 12:20         ` Eli Zaretskii
2023-03-09 16:35           ` Al Haji-Ali
2023-03-10 16:55             ` Andrea Corallo
     [not found]               ` <xjf4jqfqoy0.fsf@ma.sdf.org>
2023-03-23 15:43                 ` Al Haji-Ali
2023-03-25 12:49                   ` Naofumi Yasufuku
2023-03-25 14:46                     ` Andrea Corallo
2023-03-25 19:55                       ` Naofumi Yasufuku
2023-03-26  8:22                         ` Andrea Corallo
2023-03-26  9:20                         ` Andrea Corallo
2023-03-29 20:29                           ` Andrea Corallo
2023-03-29 22:53                             ` Naofumi Yasufuku
2023-03-30 13:14                               ` Naofumi Yasufuku
2023-03-30 13:32                                 ` Andrea Corallo
2023-04-09 17:48                                   ` Dmitry Gutov
2023-03-10 16:54           ` Andrea Corallo

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.