From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Al Haji-Ali Newsgroups: gmane.emacs.bugs Subject: bug#61917: 29.0.60; native compilation issues Date: Thu, 02 Mar 2023 15:18:23 +0000 Message-ID: <87zg8vmbb4.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="29208"; mail-complaints-to="usenet@ciao.gmane.io" To: 61917@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 02 16:31:20 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 1pXkts-0007Os-EX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Mar 2023 16:31:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXktc-0001Xh-SA; Thu, 02 Mar 2023 10:31: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 1pXkta-0001XV-S2 for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 10:31: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 1pXkta-00013U-KT for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 10:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXkta-0004Vk-35 for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 10:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Al Haji-Ali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Mar 2023 15:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61917 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167777100717266 (code B ref -1); Thu, 02 Mar 2023 15:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Mar 2023 15:30:07 +0000 Original-Received: from localhost ([127.0.0.1]:58122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXksh-0004TY-6P for submit@debbugs.gnu.org; Thu, 02 Mar 2023 10:30:07 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:39506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXksf-0004TB-Me for submit@debbugs.gnu.org; Thu, 02 Mar 2023 10:30: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 1pXksf-0001OB-A3 for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 10:30:05 -0500 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXksd-0000YA-OH for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 10:30:05 -0500 Original-Received: by mail-wr1-x42d.google.com with SMTP id j2so16895297wrh.9 for ; Thu, 02 Mar 2023 07:30:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677771001; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=c5uR2KG9C0FmNyQBKvjVbROEQPiNvpyORsvwNXnisrM=; b=bYGmFzgNh73fYZVoss+TQrtCCBqVUTysjmpbMJJNoeY3R+kfgtRd0Lx/f6BdZQzl4G uk4jDWxIrf+jQ0dYEYeo7irvligkIqEhTw2OCxzQGOygVz/HUXC4QzHCftFsMk0abQLU gRiAUevh9L1Ej2J/dh93tgXe29jTFQtVdDRNfEPeEVnzoplQ/CFM9BGfmmVLghBE6rLt UhRtZqQyLOn0D4Foqqn4emRiBnq0KWYF/WH1qhmBFanVgKJOMvyHh3gHBhA8jLlctfsr yySvMep/9YBYZiCThDVMzVHvz2rDFo3UD5bpeV770RWHjG4Sp+H7Oe6fH9McV8bMhnb7 TBsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677771001; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=c5uR2KG9C0FmNyQBKvjVbROEQPiNvpyORsvwNXnisrM=; b=08b2ybApJx1qG79KOKvc2AA8AiJhO1ERLJfumxoVjk2HKujLEeSpNJRaDCmGK3NnYH Tj2rS1eZxX51Gz+/gu02MyGb6UJAc+1yDmtb8/px3uPK/OCv3/QmmhfdITJYKb53MFUX h7MfVR+fnMSD6+bDnCqHishJ+fnPltuqXPEzVvcRhvuO4wrPIuz1u8+aBcMb5FbNESgd TLZ+dYlGy4JNTOPN88MifRfgM0SKivnPqA52EzoqP2pQw4z/2AA7JhuQjm8V6SudHnOW TOc1AlS7A2XOjeKc9F0e4PqlOkM2NEOUYCNrrRbkxS9r+M9G1MQ1xHH13myWbcgFguI4 Y8XA== X-Gm-Message-State: AO0yUKWxFZD8HFLqJdbLQpYZBL1oVUHFFohOOtGvGMc7cZ7B6uqzYEBk bvdzUKcA9DuV9tTb2A6f2Z4nrXkKSnA= X-Google-Smtp-Source: AK7set+aNNe5aIqtG1T1XhGTH6vTOWevpoFwvrRkINYdwBKrbhXp5eLQCBC0f0PefQbeHnAD389iqA== X-Received: by 2002:adf:e490:0:b0:2c5:c71:4a84 with SMTP id i16-20020adfe490000000b002c50c714a84mr8096358wrm.68.1677771001528; Thu, 02 Mar 2023 07:30:01 -0800 (PST) Original-Received: from localhost (vpn-fn-225.net.ed.ac.uk. [192.41.114.225]) by smtp.gmail.com with ESMTPSA id n3-20020a5d4203000000b002c57384dfe0sm15378366wrq.113.2023.03.02.07.30.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 07:30:01 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=abdo.haji.ali@gmail.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:257162 Archived-At: 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) Best regards, -- Al