GNU bug report logs - #61917
29.0.60; native compilation issues

Previous Next

Package: emacs;

Reported by: Al Haji-Ali <abdo.haji.ali <at> gmail.com>

Date: Thu, 2 Mar 2023 15:31:01 UTC

Severity: normal

Merged with 62446

Found in versions 29.0.60, 30.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 61917 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 61917 <at> debbugs.gnu.org, abdo.haji.ali <at> gmail.com
Subject: Re: bug#61917: 29.0.60; native compilation issues
Date: Thu, 09 Mar 2023 12:08:11 +0200
Ping!

> From: Andrea Corallo <akrl <at> sdf.org>
> Cc: Al Haji-Ali <abdo.haji.ali <at> gmail.com>,  61917 <at> debbugs.gnu.org
> Date: Fri, 03 Mar 2023 10:06:16 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Al Haji-Ali <abdo.haji.ali <at> gmail.com>
> >> Date: Thu, 02 Mar 2023 15:18:23 +0000
> >> 
> >> 
> >> 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)
> >
> > Adding Andrea.
> 
> I'll try to have a look thanks.
> 
>   Andrea
> 




This bug report was last modified 2 years and 100 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.