Subject: bug#56829: Unable to build Emacs with native compilation

From: Eli Zaretskii <[email-masked]>
Date: Fri, 29 Jul 2022 18:24:41 +0300

> From: German Pacenza <[email-masked]>
> Date: Fri, 29 Jul 2022 10:34:39 -0300
> 
> Since commit c6029ed34ea83c7c0adbd723d63bd78ff0ec0796 I am unable to
> build Emacs:
> 
> make[4]: Leaving directory '/home/german/repos/emacs/admin/grammars'
>   ELC+ELN  ../lisp/custom.elc
>   ELC+ELN  ../lisp/dnd.elc
>   ELC+ELN  ../lisp/disp-table.elc
>   ELC+ELN  ../lisp/dos-fns.elc
>   ELC+ELN  ../lisp/dos-vars.elc
>   ELC+ELN  ../lisp/dos-w32.elc
>   ELC+ELN  ../lisp/dynamic-setting.elc
>   ELC+ELN  ../lisp/electric.elc
> libgccjit.so: error: gcc_jit_context_new_call_through_ptr: not enough arguments to fn_ptr:
> freloc->R6e6172726f772d746f2d726567696f6e_narrow_to_region_0 (got 2 args, expected 3)
> libgccjit.so: error: gcc_jit_block_add_eval: NULL rvalue

Ddi you try "make bootstrap"?  narrow-to-region is defined with 2
mandatory arguments and 1 optional.