From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61917: 29.0.60; native compilation issues Date: Thu, 02 Mar 2023 17:48:52 +0200 Message-ID: <83wn3zcfx7.fsf@gnu.org> References: <87zg8vmbb4.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9270"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61917@debbugs.gnu.org To: Al Haji-Ali , Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 02 16:50:22 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 1pXlCI-0002II-Ds for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Mar 2023 16:50:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXlC0-0004vl-Cz; Thu, 02 Mar 2023 10:50:04 -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 1pXlBy-0004tu-Hs for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 10:50:02 -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 1pXlBy-0004g9-6S for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 10:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXlBx-00054o-Iw for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 10:50:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Mar 2023 15:50:01 +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.167777215119449 (code B ref 61917); Thu, 02 Mar 2023 15:50:01 +0000 Original-Received: (at 61917) by debbugs.gnu.org; 2 Mar 2023 15:49:11 +0000 Original-Received: from localhost ([127.0.0.1]:58153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXlB9-00053d-7t for submit@debbugs.gnu.org; Thu, 02 Mar 2023 10:49:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXlB7-00053Q-Dh for 61917@debbugs.gnu.org; Thu, 02 Mar 2023 10:49:09 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXlB1-0004SW-QU; Thu, 02 Mar 2023 10:49:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=3jvmX2e5BVkp3S/pg0/mtXU/OyU+4U6mEDPSJFRmlHI=; b=Jnrf42G+hsDH qUCW3xF37C6r8XB+DjWRsHQ/oCdNRr+9G586HT+yf5KVsdEFwChAK/UkQA7tleIQRaxV7Au3WEZqB nMI9orz4Yx+aQqrPjiNwJyl0s5+XBOJTtO2N36jkhUK2ob46+Clt0CdbqnHMai6MvfDmL1ZkAx2n9 bTO63Rq6wr8DErzGgp9ACsuDxET59lgmY4BSMUDOh023B3LyU1jubnujHgPWtHYgal0tfMBpegHpl DYrMsXs8UIMbGgVHSF+hU4fkKmOAf/Wgc0eTX3L0hPkHEvhhyn3mlYOngm1+5Mwwsh8oc+pguicln Su5sSgZcn+Yfi5/poFw42Q==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXlB1-00079W-0G; Thu, 02 Mar 2023 10:49:03 -0500 In-Reply-To: <87zg8vmbb4.fsf@gmail.com> (message from Al Haji-Ali on Thu, 02 Mar 2023 15:18:23 +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:257165 Archived-At: > From: Al Haji-Ali > 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.