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, 09 Mar 2023 12:08:11 +0200 Message-ID: <838rg62q5w.fsf@gnu.org> References: <87zg8vmbb4.fsf@gmail.com> <83wn3zcfx7.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24856"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61917@debbugs.gnu.org, abdo.haji.ali@gmail.com To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 09 11:09:18 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 1paDD4-0006JE-CT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Mar 2023 11:09:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paDCq-0008EF-6B; Thu, 09 Mar 2023 05:09: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 1paDCp-00088k-7C for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2023 05:09:03 -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 1paDCo-0007hQ-P5 for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2023 05:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paDCo-0007wz-FD for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2023 05:09:02 -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, 09 Mar 2023 10:09: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.167835649830504 (code B ref 61917); Thu, 09 Mar 2023 10:09:02 +0000 Original-Received: (at 61917) by debbugs.gnu.org; 9 Mar 2023 10:08:18 +0000 Original-Received: from localhost ([127.0.0.1]:50996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paDC5-0007vw-Vd for submit@debbugs.gnu.org; Thu, 09 Mar 2023 05:08:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paDC4-0007vj-7F for 61917@debbugs.gnu.org; Thu, 09 Mar 2023 05:08:16 -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 1paDBy-0007OM-HJ; Thu, 09 Mar 2023 05:08:10 -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=huxzO4Fu/gLFkmCong6lKzBVFRabgBRLfa49AFXgjuM=; b=VaTl5dsIlBjl p0Ufeph1vGpow1A3EXGrMh6RW3aXjb+fVS+Q9ryjzGv7ehb+qL5fAOkybnm4SwHDEj5ZxQ0uY6wsT E9MSOtRBqwxYQHfYWoqVzmBZ0K3ixjJmYM310iFXb/1Wyb9TM+BI29eB3ukALZ2wxkB/obAka8E8M yqCxN7kOwqfiOL7E975zrXWhhhObJMrAl1UHDAYkF8772w6IfZhbatKxSlHAdmYNmE/2pEeqe6yys emldl5VjLatNXKjfkTBnohr5peXbXfLa5lAxTmATQnqU+DT7f26C2B7SX/dRncFM2PRmR03TTA1WR K3zpWYgRyLTI4T5nDsyFPw==; 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 1paDBx-0000Si-WD; Thu, 09 Mar 2023 05:08:10 -0500 In-Reply-To: (message from Andrea Corallo on Fri, 03 Mar 2023 10:06:16 +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:257600 Archived-At: Ping! > From: Andrea Corallo > Cc: Al Haji-Ali , 61917@debbugs.gnu.org > Date: Fri, 03 Mar 2023 10:06:16 +0000 > > Eli Zaretskii writes: > > >> 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. > > I'll try to have a look thanks. > > Andrea >