From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#61917: 29.0.60; native compilation issues Date: Fri, 10 Mar 2023 16:55:35 +0000 Message-ID: References: <87zg8vmbb4.fsf@gmail.com> <83wn3zcfx7.fsf@gnu.org> <838rg62q5w.fsf@gnu.org> <83wn3q15h5.fsf@gnu.org> <87356dzxvn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3255"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , 61917@debbugs.gnu.org To: Al Haji-Ali Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 10 17:56:25 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pag2b-0000bO-6v for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Mar 2023 17:56:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pag2H-00079k-CJ; Fri, 10 Mar 2023 11:56:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pag2G-00079T-9L for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 11:56:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pag2G-0004gy-19 for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 11:56:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pag2E-0002GB-T3 for bug-gnu-emacs@gnu.org; Fri, 10 Mar 2023 11:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Mar 2023 16:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61917 X-GNU-PR-Package: emacs Original-Received: via spool by 61917-submit@debbugs.gnu.org id=B61917.16784673388632 (code B ref 61917); Fri, 10 Mar 2023 16:56:02 +0000 Original-Received: (at 61917) by debbugs.gnu.org; 10 Mar 2023 16:55:38 +0000 Original-Received: from localhost ([127.0.0.1]:55681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pag1p-0002FA-P4 for submit@debbugs.gnu.org; Fri, 10 Mar 2023 11:55:38 -0500 Original-Received: from ma.sdf.org ([205.166.94.33]:55068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pag1n-0002F0-VC for 61917@debbugs.gnu.org; Fri, 10 Mar 2023 11:55:36 -0500 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1pag1n-0004o2-OF; Fri, 10 Mar 2023 16:55:35 +0000 In-Reply-To: <87356dzxvn.fsf@gmail.com> (Al Haji-Ali's message of "Thu, 09 Mar 2023 16:35:08 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257706 Archived-At: Al Haji-Ali writes: > On 09/03/2023, Eli Zaretskii wrote: >>> For the libgccjit error I'm on hold waiting for a reproducer from the >>> reprorter. > > I figured out a minimal example on Emacs 29.0.60 > > 1. Start `emacs -Q` > > 2. execute the following > > (advice-add 'delete-region > :around > (defun my/advice(fn &rest args) > (apply fn args))) > > 3. Native-compile a file with the following content > > (defun test () > (delete-region (region-beginning) (region-end))) > > using for example `(native-compile buffer-file-name)` > > I then get the error > > 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) > > -- Al Super! Will look at thanks! Andrea