From unknown Fri Jun 20 07:11:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62537 <62537@debbugs.gnu.org> To: bug#62537 <62537@debbugs.gnu.org> Subject: Status: Error compiling emacs master with native compilation activated Reply-To: bug#62537 <62537@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:11:09 +0000 retitle 62537 Error compiling emacs master with native compilation activated reassign 62537 emacs submitter 62537 Pedro Andres Aranda Gutierrez severity 62537 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 03:19:12 2023 Received: (at submit) by debbugs.gnu.org; 30 Mar 2023 07:19:12 +0000 Received: from localhost ([127.0.0.1]:55624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phmYx-0006LQ-U7 for submit@debbugs.gnu.org; Thu, 30 Mar 2023 03:19:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:44082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phmYv-0006LI-Ti for submit@debbugs.gnu.org; Thu, 30 Mar 2023 03:19:10 -0400 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 1phmYv-00084X-JU for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 03:19:09 -0400 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phmYt-0004s9-GD for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 03:19:09 -0400 Received: by mail-ed1-x532.google.com with SMTP id ew6so72704436edb.7 for ; Thu, 30 Mar 2023 00:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680160745; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=lLxwnVaY4iQgDeK/sr+Tccf8zHb7W+OK6I3CVsSO6LU=; b=g//SIFrALajqbZv1xkH3FDbVD7xXKESPEkAu8r/usafLXmtwoLKJbLtxZfy+lEzrKJ aQm4R6PGW3SFLceKTEYBPDXeLcbY3MqeL+x7qwE2ocUR1cVs4ABgsSHLr4AJWMhaq/GJ zR/qmRG7479jV+rHkQpnfgEKQ1evT6+qLZuSRCo8F/LjwSrJa6OX6DX1JIXBmo5i0gCY wlHwd+hVT8UwpMuYAWhYMXOg+NmzoOE1oGzoo8sifV6WmYFKBPrTGTXdZBo1/90Zml8o sf7n0WI9D9RwC4rKLUObHR8Bvwyi9ftJJIJaYXJwfIq+i/K9A3aAnD3CSL8RoMhuTHwu Z8nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680160745; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=lLxwnVaY4iQgDeK/sr+Tccf8zHb7W+OK6I3CVsSO6LU=; b=wXQV+gVjLJq9Xc9nFYxcnQahI7pHFHu3lS//8zBvPQPbDaxi3ZWNun5Nm1O+Q+wurp 5DqZ3UDtnPPOnYlDVu42oTrvmXn3akJUz1Zp98o4Ad82GvdE2uH0z4uC8/fTnzpmAKy/ ALJHz2HEumi6q1okXY1onjOGHt3PzbkpnADJ05m+xQnwLNG8gdmlE/7y0nlf0glVSmGu 5mSN/xWmrqkAHBt1LLeOvg5z3SwKoDHe1AbRCrC/jc3/2nt2t/0E43nxZXMWcjTEUKrb 65Y2bghLLmYhVNpWYJwpUWtWMyvlyLmSw7wWJnAUFcXitLUjlyJHs8O4kdikbUr/hAbZ ldcw== X-Gm-Message-State: AAQBX9dBde/Wsk/5Ih7tBFMa9bQIZBJHQ9Wc3ITMfrNSmGhLo1zWhlpi MGgkU6w12jUFdy1Ldw/NJH1GvP0aeXgSYFk7MthHD5HKwCFhI8PM X-Google-Smtp-Source: AKy350aN4Rlj3Y1RrUJXoYd1o5YZAjKHMIjKMtEwEtTdokX8drbQfMILeexskChxYOmObHhbuMefswwTILcyeJFLmyc= X-Received: by 2002:a17:906:c357:b0:932:4255:5908 with SMTP id ci23-20020a170906c35700b0093242555908mr10904678ejb.5.1680160744956; Thu, 30 Mar 2023 00:19:04 -0700 (PDT) MIME-Version: 1.0 From: Pedro Andres Aranda Gutierrez Date: Thu, 30 Mar 2023 09:18:39 +0200 Message-ID: Subject: Error compiling emacs master with native compilation activated To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=paaguti@gmail.com; helo=mail-ed1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) HI there seems to be a problem when compiling the org-mode files with native compilation activated ``` ELC+ELN org/org-plot.elc Error: native-ice ("org/org-plot.el" "block does not end with a branch" #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t) nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil 2) #s(comp-mvar (t) nil nil nil nil 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 4) plist-get) (set #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t) nil nil nil nil 0)) (setimm #s(comp-mvar (t) nil nil nil nil 6) :transpose) (set #s(comp-mvar (t) nil nil nil nil 4) (callref funcall #s(comp-mvar (t) nil nil nil nil 4) #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t) nil nil nil nil 6))) (set #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t) nil nil nil nil 4)) (setimm #s(comp-mvar (t) nil nil nil nil 6) #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (y 105 yes 105 t 105)))) nil nil nil nil #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) nil nil 1 72 nil nil) org-plot/gnuplot) mapbacktrace(#f(compiled-function (evald func args flags) #)) debug-early-backtrace() debug-early(error (native-ice "org/org-plot.el" "block does not end with a branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG 83") (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) make-temp-file) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) "org-plot") (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) org-table-to-lisp) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) plist-get) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6) #)) :closed nil :in-edges nil :out-edges nil :idom nil :df # :post-num nil :final-frame nil :sp 1 :addr 72 :non-ret-insn nil :no-ret nil) org-plot/gnuplot)) signal(native-ice ("org/org-plot.el" "block does not end with a branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG 83") (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) make-temp-file) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) "org-plot") (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) org-table-to-lisp) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) plist-get) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) (callref funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6) #)) :closed nil :in-edges nil :out-edges nil :idom nil :df # :post-num nil :final-frame nil :sp 1 :addr 72 :non-ret-insn nil :no-ret nil) org-plot/gnuplot)) comp--native-compile("org/org-plot.el") batch-native-compile() batch-byte+native-compile() command-line-1(("--eval" "(setq load-prefer-newer t byte-compile-warnings 'all)" "-l" "comp" "-f" "batch-byte+native-compile" "org/org-plot.el")) command-line() normal-top-level() Internal native compiler error: "org/org-plot.el", "block does not end with a branch", #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t) nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil 2) #s(comp-mvar (t) nil nil nil nil 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) ...) nil nil nil nil #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) nil nil ...), # make[5]: *** [Makefile:327: org/org-plot.elc] Error 255 ``` -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 04:50:19 2023 Received: (at 62537) by debbugs.gnu.org; 30 Mar 2023 08:50:19 +0000 Received: from localhost ([127.0.0.1]:55732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phnz9-0000Jn-FD for submit@debbugs.gnu.org; Thu, 30 Mar 2023 04:50:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phnz7-0000JR-8V; Thu, 30 Mar 2023 04:50:17 -0400 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 1phnz1-0001eP-Mv; Thu, 30 Mar 2023 04:50:11 -0400 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=zm2GQF2AS0GyjELpsAAyRHuQSBvxEQ+GQiMtfzl5Nuo=; b=An1yu2Vj5CAf o5cVgpUhWDavZ2OQvD5pCOWHaYZZMj1tsFCLQnoQv34f9U0KnqAaGD7/PIJqZKaUu+aQ2iV/Z7iB8 ukwVkwrs24E+jrzV1Ubz/rUU17DBw6Iu+20/EI4zCg8A22WFEKtuRXDPdY3IG0RpbTlUCd5Kyu9PM +Mx/s5qa/Y/m1SkYocshLoZP3AObnwCroc2JVzCUBTZ/pHOmkiowD0ROlq3VBLposZWWWPq2ikos2 6+xKlEw5WJabV2ks3r5QNihWyhGxW5W+mvI4Amd1HyVavKoklIsxVeRB2tuq/gj284Ol7Khy6ZyZu 72u6PcyIkcOU9xRIOXWW6Q==; 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 1phnz1-0005Vr-3w; Thu, 30 Mar 2023 04:50:11 -0400 Date: Thu, 30 Mar 2023 11:50:20 +0300 Message-Id: <83leje62sz.fsf@gnu.org> From: Eli Zaretskii To: Pedro Andres Aranda Gutierrez In-Reply-To: (message from Pedro Andres Aranda Gutierrez on Thu, 30 Mar 2023 09:18:39 +0200) Subject: Re: bug#62537: Error compiling emacs master with native compilation activated References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62537 Cc: 62537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 62537 62481 thanks > From: Pedro Andres Aranda Gutierrez > Date: Thu, 30 Mar 2023 09:18:39 +0200 > > HI > there seems to be a problem when compiling the org-mode files with > native compilation activated > > ``` > ELC+ELN org/org-plot.elc > > Error: native-ice ("org/org-plot.el" "block does not end with a > branch" #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call > helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm > #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm > #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t) > nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil > 2) #s(comp-mvar (t) nil nil nil nil 3))) (call This is a duplicate of bug#62481. We expect this to be solved when emacs-29 branch is next merged to master. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 05:28:35 2023 Received: (at 62537) by debbugs.gnu.org; 30 Mar 2023 09:28:35 +0000 Received: from localhost ([127.0.0.1]:55756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phoaB-0003fc-1X for submit@debbugs.gnu.org; Thu, 30 Mar 2023 05:28:35 -0400 Received: from mx.sdf.org ([205.166.94.24]:55069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phoa8-0003fT-Qd for 62537@debbugs.gnu.org; Thu, 30 Mar 2023 05:28:33 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 32U9SA0E022833 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 30 Mar 2023 09:28:17 GMT From: Andrea Corallo To: Pedro Andres Aranda Gutierrez Subject: Re: bug#62537: Error compiling emacs master with native compilation activated In-Reply-To: (Pedro Andres Aranda Gutierrez's message of "Thu, 30 Mar 2023 09:18:39 +0200") References: Date: Thu, 30 Mar 2023 09:28:10 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62537 Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= , 62537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pedro Andres Aranda Gutierrez writes: > HI > there seems to be a problem when compiling the org-mode files with > native compilation activated > > ``` > ELC+ELN org/org-plot.elc > > Error: native-ice ("org/org-plot.el" "block does not end with a > branch" #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call > helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm > #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm > #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t) > nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil > 2) #s(comp-mvar (t) nil nil nil nil 3))) (call > record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil > nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil > nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm > #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set > #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) > nil nil nil nil 3))) (call helper_unbind_n #s(comp-mvar nil nil ((1 . > 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 4) > plist-get) (set #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t) > nil nil nil nil 0)) (setimm #s(comp-mvar (t) nil nil nil nil 6) > :transpose) (set #s(comp-mvar (t) nil nil nil nil 4) (callref funcall > #s(comp-mvar (t) nil nil nil nil 4) #s(comp-mvar (t) nil nil nil nil > 5) #s(comp-mvar (t) nil nil nil nil 6))) (set #s(comp-mvar (t) nil nil > nil nil 5) #s(comp-mvar (t) nil nil nil nil 4)) (setimm #s(comp-mvar > (t) nil nil nil nil 6) #s(hash-table size 3 test eq rehash-size 1.5 > rehash-threshold 0.8125 purecopy t data (y 105 yes 105 t 105)))) nil > nil nil nil #s(hash-table size 65 test eql rehash-size 1.5 > rehash-threshold 0.8125 data ()) nil nil 1 72 nil nil) > org-plot/gnuplot) > mapbacktrace(#f(compiled-function (evald func args flags) # 0x285567f77ae87d2>)) > debug-early-backtrace() > debug-early(error (native-ice "org/org-plot.el" "block does not end > with a branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG > 83") (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil > :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) > make-temp-file) (setimm #s(comp-mvar :typeset (t) :valset nil :range > nil :neg nil :id nil :slot 3) "org-plot") (set #s(comp-mvar :typeset > (t) :valset nil :range nil :neg nil :id nil :slot 2) (callref funcall > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > :slot 2) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > nil :slot 3))) (call record_unwind_protect_excursion) (setimm > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > :slot 3) org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t) > :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > :slot 3))) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil > :neg nil :id nil :slot 3) org-table-to-lisp) (set #s(comp-mvar > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref > funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > nil :slot 3))) (call helper_unbind_n #s(comp-mvar :typeset nil :valset > nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) > plist-get) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg > nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil > :neg nil :id nil :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset > nil :range nil :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) (callref > funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > nil :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil > :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg > nil :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil > :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset > nil :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6) > #)) :closed nil :in-edges nil > :out-edges nil :idom nil :df # > :post-num nil :final-frame nil :sp 1 :addr 72 :non-ret-insn nil > :no-ret nil) org-plot/gnuplot)) > signal(native-ice ("org/org-plot.el" "block does not end with a > branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG 83") > (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 > . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) > :valset nil :range nil :neg nil :id nil :slot 2) make-temp-file) > (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > nil :slot 3) "org-plot") (set #s(comp-mvar :typeset (t) :valset nil > :range nil :neg nil :id nil :slot 2) (callref funcall #s(comp-mvar > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > :slot 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) > org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t) :valset > nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) > (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > nil :slot 3) org-table-to-lisp) (set #s(comp-mvar :typeset (t) :valset > nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call > helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1)) > :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset > nil :range nil :neg nil :id nil :slot 4) plist-get) (set #s(comp-mvar > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil > :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar :typeset (t) > :valset nil :range nil :neg nil :id nil :slot 4) (callref funcall > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil > :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil :range > nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil > :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar :typeset > (t) :valset nil :range nil :neg nil :id nil :slot 6) # 3/3 0x155ea01696a7>)) :closed nil :in-edges nil :out-edges nil :idom > nil :df # :post-num nil > :final-frame nil :sp 1 :addr 72 :non-ret-insn nil :no-ret nil) > org-plot/gnuplot)) > comp--native-compile("org/org-plot.el") > batch-native-compile() > batch-byte+native-compile() > command-line-1(("--eval" "(setq load-prefer-newer t > byte-compile-warnings 'all)" "-l" "comp" "-f" > "batch-byte+native-compile" "org/org-plot.el")) > command-line() > normal-top-level() > Internal native compiler error: "org/org-plot.el", "block does not end > with a branch", #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call > helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm > #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm > #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t) > nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil > 2) #s(comp-mvar (t) nil nil nil nil 3))) (call > record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil > nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil > nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm > #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set > #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) > nil nil nil nil 3))) ...) nil nil nil nil #s(hash-table size 65 test > eql rehash-size 1.5 rehash-threshold 0.8125 data ()) nil nil ...), > # > make[5]: *** [Makefile:327: org/org-plot.elc] Error 255 Hi Pedro, bisecting this should be due to: " 52b67740d10df8ca539fdc2c7d50283997683141 Author: Mattias Engdeg=C3=A5rd AuthorDate: Sat Mar 25 15:38:00 2023 +0100 Commit: Mattias Engdeg=C3=A5rd CommitDate: Sat Mar 25 16:21:09 2023 +0100 Parent: db7e95531ac Switch buffer in Ftreesit_query_capture Merged: comp-no-spawn Follows: emacs-28.2 (164697) Generalise a LAP optimisation rule * lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode): Accept (stack-set 1) as equivalent to (discardN-preserve-tos 1) in a rule previously overlooked. This is usually beneficial in code size and almost always shortens dynamic paths. " I'll try to have a look as soon as I've some time. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 06:00:28 2023 Received: (at 62537) by debbugs.gnu.org; 30 Mar 2023 10:00:28 +0000 Received: from localhost ([127.0.0.1]:55812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1php51-0004VE-HL for submit@debbugs.gnu.org; Thu, 30 Mar 2023 06:00:28 -0400 Received: from mail-ed1-f51.google.com ([209.85.208.51]:35806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1php4y-0004Ux-VY for 62537@debbugs.gnu.org; Thu, 30 Mar 2023 06:00:25 -0400 Received: by mail-ed1-f51.google.com with SMTP id y4so74304558edo.2 for <62537@debbugs.gnu.org>; Thu, 30 Mar 2023 03:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680170419; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4Ou59g63P7ZZyEHJl6mRMb6DVEdJJVVuAkEa/ErqPEw=; b=cpH816wTGr1lv0rFZLKc9vTsUrzzVp6F5tx3ZH1T08d1xhJH++DalIJ0yAw0uoxhxW ABKCJEWI/1QTmhsg6aEowhB7rDZHVKj/fF2WNi+NCTkxQDqm7tjsbUbjvOk8uEgLGZ2I YzXyhEs+MqWVfztcx7exMhs6oduBOn/YfKRn2o+vXGF1T2/vNrBnSgQV5/segNVwgdyn bnBuG38Sa0k/sgShBJoK5PNAX0fU52vzqV0l9hnr8VPpf7o1ugAsXEjgKnmhWrSQbCBO DF2VDt/lb6ao0rcXKsMFwxhEoFhfpLe8KOFG9dZ0971NsUIjeDNEnq6yeVWSEix4w4tP ytLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680170419; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4Ou59g63P7ZZyEHJl6mRMb6DVEdJJVVuAkEa/ErqPEw=; b=X/S/4NHAw7IiH9fh/IPL6wcigLuAwfiJQbmMWtLWg0dHfOi9vjMhhhllb1ADk3UVra bdzFdQOCghV05Fg3PGjmPdfW6EuA8YzuEuZxEZmt05XKedhNIoJqr8+HA3xRf0Mhh1iB taMONKqoKTuPiBgRkTfhSb9PHhY0ELRHoDISlJk9xCR8nQlU0aUaEcA3dDVQoQ4U6Em0 7bD8PfFNaTqhnZtPTM9qA8nEYdx6829V09gve+8Psz80xrj6c0EDKbj6/ZyiDGhquBZ5 WHLQ5Hnp4pJZwnF9ogdEM8pyhlsobGWjy02Ptu/8gz1s4RMGJILkm528oz99atN3zFSl 4HWg== X-Gm-Message-State: AAQBX9daL41dw77OJhEX5yve4GJLcuJ3d432cs7EjHSTYTj+Ty54m9kr yEXTX/1Y+w4y3WVSqegppJWkG1zBItn8sl/uFJc= X-Google-Smtp-Source: AKy350YsqOhmqnV+G5eaEZTuV1KxfeAytMsu3H5tgI5tqZsY9mpGk9q5SsW+ldIFP1t8IKw8TYQ4m6uLGwIZM950MpU= X-Received: by 2002:a17:906:c357:b0:932:4255:5908 with SMTP id ci23-20020a170906c35700b0093242555908mr11130310ejb.5.1680170419001; Thu, 30 Mar 2023 03:00:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pedro Andres Aranda Gutierrez Date: Thu, 30 Mar 2023 11:59:52 +0200 Message-ID: Subject: Re: bug#62537: Error compiling emacs master with native compilation activated To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62537 Cc: =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= , 62537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Let me know when you are done. I can pull-up a VM in no time to check, check pre-patches, etc. I'm on master Best, /PA On Thu, 30 Mar 2023 at 11:28, Andrea Corallo wrote: > > Pedro Andres Aranda Gutierrez writes: > > > HI > > there seems to be a problem when compiling the org-mode files with > > native compilation activated > > > > ``` > > ELC+ELN org/org-plot.elc > > > > Error: native-ice ("org/org-plot.el" "block does not end with a > > branch" #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call > > helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm > > #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm > > #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t) > > nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil > > 2) #s(comp-mvar (t) nil nil nil nil 3))) (call > > record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil > > nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil > > nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm > > #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set > > #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) > > nil nil nil nil 3))) (call helper_unbind_n #s(comp-mvar nil nil ((1 . > > 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 4) > > plist-get) (set #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t) > > nil nil nil nil 0)) (setimm #s(comp-mvar (t) nil nil nil nil 6) > > :transpose) (set #s(comp-mvar (t) nil nil nil nil 4) (callref funcall > > #s(comp-mvar (t) nil nil nil nil 4) #s(comp-mvar (t) nil nil nil nil > > 5) #s(comp-mvar (t) nil nil nil nil 6))) (set #s(comp-mvar (t) nil nil > > nil nil 5) #s(comp-mvar (t) nil nil nil nil 4)) (setimm #s(comp-mvar > > (t) nil nil nil nil 6) #s(hash-table size 3 test eq rehash-size 1.5 > > rehash-threshold 0.8125 purecopy t data (y 105 yes 105 t 105)))) nil > > nil nil nil #s(hash-table size 65 test eql rehash-size 1.5 > > rehash-threshold 0.8125 data ()) nil nil 1 72 nil nil) > > org-plot/gnuplot) > > mapbacktrace(#f(compiled-function (evald func args flags) # > 0x285567f77ae87d2>)) > > debug-early-backtrace() > > debug-early(error (native-ice "org/org-plot.el" "block does not end > > with a branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG > > 83") (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil > > :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar > > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) > > make-temp-file) (setimm #s(comp-mvar :typeset (t) :valset nil :range > > nil :neg nil :id nil :slot 3) "org-plot") (set #s(comp-mvar :typeset > > (t) :valset nil :range nil :neg nil :id nil :slot 2) (callref funcall > > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > > :slot 2) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > > nil :slot 3))) (call record_unwind_protect_excursion) (setimm > > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > > :slot 3) org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t) > > :valset nil :range nil :neg nil :id nil :slot 3) (callref funcall > > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > > :slot 3))) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil > > :neg nil :id nil :slot 3) org-table-to-lisp) (set #s(comp-mvar > > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) (callref > > funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > > nil :slot 3))) (call helper_unbind_n #s(comp-mvar :typeset nil :valset > > nil :range ((1 . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar > > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) > > plist-get) (set #s(comp-mvar :typeset (t) :valset nil :range nil :neg > > nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil > > :neg nil :id nil :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset > > nil :range nil :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar > > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 4) (callref > > funcall #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > > nil :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil > > :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg > > nil :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil > > :range nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset > > nil :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar > > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 6) > > #)) :closed nil :in-edges nil > > :out-edges nil :idom nil :df # > > :post-num nil :final-frame nil :sp 1 :addr 72 :non-ret-insn nil > > :no-ret nil) org-plot/gnuplot)) > > signal(native-ice ("org/org-plot.el" "block does not end with a > > branch" #s(comp-block-lap :name bb_8 :insns ((comment "LAP TAG 83") > > (call helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 > > . 1)) :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) > > :valset nil :range nil :neg nil :id nil :slot 2) make-temp-file) > > (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > > nil :slot 3) "org-plot") (set #s(comp-mvar :typeset (t) :valset nil > > :range nil :neg nil :id nil :slot 2) (callref funcall #s(comp-mvar > > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 2) > > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > > :slot 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar > > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3) > > org-plot/goto-nearest-table) (set #s(comp-mvar :typeset (t) :valset > > nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar > > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) > > (setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > > nil :slot 3) org-table-to-lisp) (set #s(comp-mvar :typeset (t) :valset > > nil :range nil :neg nil :id nil :slot 3) (callref funcall #s(comp-mvar > > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 3))) (call > > helper_unbind_n #s(comp-mvar :typeset nil :valset nil :range ((1 . 1)) > > :neg nil :id nil :slot nil)) (setimm #s(comp-mvar :typeset (t) :valset > > nil :range nil :neg nil :id nil :slot 4) plist-get) (set #s(comp-mvar > > :typeset (t) :valset nil :range nil :neg nil :id nil :slot 5) > > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > > :slot 0)) (setimm #s(comp-mvar :typeset (t) :valset nil :range nil > > :neg nil :id nil :slot 6) :transpose) (set #s(comp-mvar :typeset (t) > > :valset nil :range nil :neg nil :id nil :slot 4) (callref funcall > > #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id nil > > :slot 4) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id > > nil :slot 5) #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil > > :id nil :slot 6))) (set #s(comp-mvar :typeset (t) :valset nil :range > > nil :neg nil :id nil :slot 5) #s(comp-mvar :typeset (t) :valset nil > > :range nil :neg nil :id nil :slot 4)) (setimm #s(comp-mvar :typeset > > (t) :valset nil :range nil :neg nil :id nil :slot 6) # > 3/3 0x155ea01696a7>)) :closed nil :in-edges nil :out-edges nil :idom > > nil :df # :post-num nil > > :final-frame nil :sp 1 :addr 72 :non-ret-insn nil :no-ret nil) > > org-plot/gnuplot)) > > comp--native-compile("org/org-plot.el") > > batch-native-compile() > > batch-byte+native-compile() > > command-line-1(("--eval" "(setq load-prefer-newer t > > byte-compile-warnings 'all)" "-l" "comp" "-f" > > "batch-byte+native-compile" "org/org-plot.el")) > > command-line() > > normal-top-level() > > Internal native compiler error: "org/org-plot.el", "block does not end > > with a branch", #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call > > helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm > > #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm > > #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t) > > nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil > > 2) #s(comp-mvar (t) nil nil nil nil 3))) (call > > record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil > > nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil > > nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm > > #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set > > #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) > > nil nil nil nil 3))) ...) nil nil nil nil #s(hash-table size 65 test > > eql rehash-size 1.5 rehash-threshold 0.8125 data ()) nil nil ...), > > # > > make[5]: *** [Makefile:327: org/org-plot.elc] Error 255 > > Hi Pedro, > > bisecting this should be due to: > " > 52b67740d10df8ca539fdc2c7d50283997683141 > Author: Mattias Engdeg=C3=A5rd > AuthorDate: Sat Mar 25 15:38:00 2023 +0100 > Commit: Mattias Engdeg=C3=A5rd > CommitDate: Sat Mar 25 16:21:09 2023 +0100 > > Parent: db7e95531ac Switch buffer in Ftreesit_query_capture > Merged: comp-no-spawn > Follows: emacs-28.2 (164697) > > Generalise a LAP optimisation rule > > * lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode): > Accept (stack-set 1) as equivalent to (discardN-preserve-tos 1) in a > rule previously overlooked. This is usually beneficial in code size > and almost always shortens dynamic paths. > " > > I'll try to have a look as soon as I've some time. > > Thanks > > Andrea --=20 Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 06:37:23 2023 Received: (at 62537) by debbugs.gnu.org; 30 Mar 2023 10:37:23 +0000 Received: from localhost ([127.0.0.1]:55853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phpel-0005ZV-9e for submit@debbugs.gnu.org; Thu, 30 Mar 2023 06:37:23 -0400 Received: from mail153c50.megamailservers.eu ([91.136.10.163]:43606 helo=mail50c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phpej-0005ZH-4u for 62537@debbugs.gnu.org; Thu, 30 Mar 2023 06:37:22 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1680172638; bh=0BCHOc4rGvBnDv7B8Nflc6ElndVPpC7ZNXW+pIV1whc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=FQRNhy77uYLzDZxvwTd0kBlQIH8c3YwV9uP4ADLzfD3o1ZQCb/PfvMXmU1APQKs88 FLRY11Q7pFjDZotxhkzH4VwoRw1MVeMbiASuiswf/lkhRJfI3DaSgKAkj6UImhhpJE /IvNtGObNTKj2MkZa8hCP1ZMv2pF2BMg9RNB3+ik= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 32UAbG0E048907; Thu, 30 Mar 2023 10:37:18 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\)) Subject: Re: bug#62537: Error compiling emacs master with native compilation activated From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Thu, 30 Mar 2023 12:37:15 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Andrea Corallo X-Mailer: Apple Mail (2.3654.120.0.1.14) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: 0 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehkedgvdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecunecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpeforghtthhirghsucfgnhhguggvghonrhguuceomhgrthhtihgrshgvsegrtghmrdhorhhgqeenucggtffrrghtthgvrhhnpeevkeffudejhfekhedvgfffieekgffhfedvkeeuffelgeefkeeulefhjeeifeekgfenucfkphepudekkedrudehtddrudeihedrvdefheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeekrdduhedtrdduieehrddvfeehpdhhvghlohepshhmthhptghlihgvnhhtrdgrphhplhgvpdhmrghilhhfrhhomhepmhgrthhtihgrshgvsegrtghmrdhorhhgpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheprghkrhhlsehsughfrdhorhhgpdhrtghpthhtohepphgrrghguhhtihesghhmrghilhdrtghomhdprhgtphhtthhopeeivdehfeejseguvggssghughhsrdhgnhhurdhorhhg X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 62537 Cc: 62537@debbugs.gnu.org, Pedro Andres Aranda Gutierrez X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 30 mars 2023 kl. 11.28 skrev Andrea Corallo : > bisecting this should be due to: > " > 52b67740d10df8ca539fdc2c7d50283997683141 > Generalise a LAP optimisation rule That change should be entirely safe. Perhaps it just somehow triggers an = unexpected path in nativecomp? From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 09:35:36 2023 Received: (at 62537) by debbugs.gnu.org; 30 Mar 2023 13:35:36 +0000 Received: from localhost ([127.0.0.1]:56155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phsRD-0004k4-S6 for submit@debbugs.gnu.org; Thu, 30 Mar 2023 09:35:36 -0400 Received: from mx.sdf.org ([205.166.94.24]:64716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phsRC-0004ju-Df for 62537@debbugs.gnu.org; Thu, 30 Mar 2023 09:35:34 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 32UDZRTh018507 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 30 Mar 2023 13:35:31 GMT From: Andrea Corallo To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#62537: Error compiling emacs master with native compilation activated In-Reply-To: ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Thu, 30 Mar 2023 12:37:15 +0200") References: Date: Thu, 30 Mar 2023 13:35:27 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62537 Cc: 62537@debbugs.gnu.org, Pedro Andres Aranda Gutierrez X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mattias Engdeg=C3=A5rd writes: > 30 mars 2023 kl. 11.28 skrev Andrea Corallo : > >> bisecting this should be due to: >> " >> 52b67740d10df8ca539fdc2c7d50283997683141 > >> Generalise a LAP optimisation rule > > That change should be entirely safe. Perhaps it just somehow triggers an = unexpected path in nativecomp? That's entirely possible :) Will look at and report. Andrea From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 31 06:26:36 2023 Received: (at 62537) by debbugs.gnu.org; 31 Mar 2023 10:26:36 +0000 Received: from localhost ([127.0.0.1]:60435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piBxs-0001UL-3y for submit@debbugs.gnu.org; Fri, 31 Mar 2023 06:26:36 -0400 Received: from mx.sdf.org ([205.166.94.24]:53182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piBxq-0001UD-Ts for 62537@debbugs.gnu.org; Fri, 31 Mar 2023 06:26:35 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 32VAQKWZ013115 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 31 Mar 2023 10:26:21 GMT From: Andrea Corallo To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#62537: Error compiling emacs master with native compilation activated In-Reply-To: (Andrea Corallo's message of "Thu, 30 Mar 2023 13:35:27 +0000") References: Date: Fri, 31 Mar 2023 10:26:20 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Andrea Corallo writes: > Mattias Engdegård writes: > >> 30 mars 2023 kl. 11.28 skrev Andrea Corallo : >> >>> bisecting this should be due to: >>> " >>> 52b67740d10df8ca539fdc2c7d50283997683 [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [205.166.94.33 listed in zen.spamhaus.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 62537 Cc: 62537@debbugs.gnu.org, Pedro Andres Aranda Gutierrez X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Andrea Corallo writes: > Mattias Engdegård writes: > >> 30 mars 2023 kl. 11.28 skrev Andrea Corallo : >> >>> bisecting this should be due to: >>> " >>> 52b67740d10df8ca539fdc2c7d50283997683 [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [205.166.94.33 listed in zen.spamhaus.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Andrea Corallo writes: > Mattias Engdeg=C3=A5rd writes: > >> 30 mars 2023 kl. 11.28 skrev Andrea Corallo : >> >>> bisecting this should be due to: >>> " >>> 52b67740d10df8ca539fdc2c7d50283997683141 >> >>> Generalise a LAP optimisation rule >> >> That change should be entirely safe. Perhaps it just somehow triggers an= unexpected path in nativecomp? > > That's entirely possible :) > > Will look at and report. > > Andrea I haven't had time to complete the investigation/fix but as data point... This is the most reduced reproducer I could produce: ;;; -*- lexical-binding: t; -*- (defun test () (when (let ((val (foo))) (cond ((eq val 'x) t) ((eq val 'y) 'y))) (foo)) t) This is the old LAP: (byte-constant foo . 0) (byte-call . 0) (byte-dup) (byte-constant #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshol= d 0.8125 purecopy t data (x 8 y 12)) . 1) (byte-switch) (byte-goto TAG 16 . 1) (TAG 8 . 1) (byte-constant t . 2) (byte-goto TAG 17 . 2) (TAG 12 . 1) (byte-constant t . 2) (byte-goto TAG 17 . 2) (TAG 16 . 1) (byte-constant nil . 3) (TAG 17 . 2) (byte-stack-set . 1) (byte-goto-if-nil TAG 25 . 0) (byte-constant foo . 0) (byte-call . 0) (byte-discard) (TAG 25 . 0) (byte-constant t . 2) (byte-return . 0) This is the new one: (byte-constant foo . 0) (byte-call . 0) (byte-dup) (byte-constant #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshol= d 0.8125 purecopy t data (x 9 y 9)) . 1) (byte-switch) (byte-discard) (byte-goto TAG 13 . 0) (TAG 9 . 1) (byte-discard) (byte-constant foo . 0) (byte-call . 0) (byte-discard) (TAG 13 . 0) (byte-constant t . 2) (byte-return . 0) At a very quick look I don't see anything wrong with it so as anticipated most lickly is just a bug in the native compiler limplify pass. Best Regards Andrea From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 31 11:15:07 2023 Received: (at 62537) by debbugs.gnu.org; 31 Mar 2023 15:15:07 +0000 Received: from localhost ([127.0.0.1]:34250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGT5-0006za-5T for submit@debbugs.gnu.org; Fri, 31 Mar 2023 11:15:07 -0400 Received: from mail233c50.megamailservers.eu ([91.136.10.243]:40042 helo=mail37c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piGT2-0006zO-EG for 62537@debbugs.gnu.org; Fri, 31 Mar 2023 11:15:05 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1680275702; bh=I9QPuM3FUTIZXcMcsV9piVJipQZ7ndTKkXt8IiBvJFI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=E3QTSfwREzdS+m66t7fQqnLZrhkjE5WjbRNzvnD6bJe9WiyVrdHw55FL3tdwEbCES BUS9TmbN55YvPLVGEk6VfpweMN9UzgCzhyaLqlWSYGhyrhxCJO4B7PkeAGdibEFdvd bw2K6uRYITmYB3uMcnp9OW+2CLdGK2iHletVSlzw= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail37c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 32VFExYa016669; Fri, 31 Mar 2023 15:15:01 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\)) Subject: Re: bug#62537: Error compiling emacs master with native compilation activated From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Fri, 31 Mar 2023 17:14:58 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <664DC8F8-EEEC-4A90-A4F5-86C11378486C@acm.org> References: To: Andrea Corallo X-Mailer: Apple Mail (2.3654.120.0.1.14) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: 0 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeiuddgkedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecunecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpeforghtthhirghsucfgnhhguggvghonrhguuceomhgrthhtihgrshgvsegrtghmrdhorhhgqeenucggtffrrghtthgvrhhnpeevkeffudejhfekhedvgfffieekgffhfedvkeeuffelgeefkeeulefhjeeifeekgfenucfkphepudekkedrudehtddrudeihedrvdefheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeekrdduhedtrdduieehrddvfeehpdhhvghlohepshhmthhptghlihgvnhhtrdgrphhplhgvpdhmrghilhhfrhhomhepmhgrthhtihgrshgvsegrtghmrdhorhhgpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheprghkrhhlsehsughfrdhorhhgpdhrtghpthhtohepiedvheefjeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehprggrghhuthhisehgmhgrihhlrdgtohhm X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 62537 Cc: 62537@debbugs.gnu.org, Pedro Andres Aranda Gutierrez X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 31 mars 2023 kl. 12.26 skrev Andrea Corallo : > At a very quick look I don't see anything wrong with it so as > anticipated most lickly is just a bug in the native compiler limplify > pass. I agree, the output looks correct. Good example by the way, and it = illustrates the motivation behind the change well -- the new code is = much better, although it can still be improved. Let us know what you find. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 01 14:57:00 2023 Received: (at control) by debbugs.gnu.org; 1 Apr 2023 18:57:00 +0000 Received: from localhost ([127.0.0.1]:38619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pigPK-0003Xg-Pf for submit@debbugs.gnu.org; Sat, 01 Apr 2023 14:57:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pigPG-0003XK-Dz; Sat, 01 Apr 2023 14:56:56 -0400 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 1pigP9-0001xd-9P; Sat, 01 Apr 2023 14:56:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=MXvqVCaUj4Mt3KFM06HfLiTIdd2tK8TMsop0umWy8aM=; b=eeYsJ9EfqwbEJZLWxuMg 55mBlv9s5KI+piZRgI2OmTD9LZl7yT6edLbXuPsW+HgSi61u9OPB4kWGyVOuLQby8JVep2uO0JNrT ew2xJujisu0YADU2scj14RtVk3yh3KHoP2IQ9Wdy39d93GRzq2eebbrqHKZPaX4rkrxexSP7Jze13 S7uSAKBC5Wke4q8rXRGLRTGHA+H0Vbtzlr8VOzbmcFEzm75FibX5qWBSH2AA1ggsMjG0cQ6f8nre/ LykjmvSSVbxNXsnM8FaKgytDdptALOi2hVnmXca4ggKcmjy8AzAmS9rJuAqwki4v66L8my6J1olHg Pw4g+Qomg+KVwA==; 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 1pigP7-0006Wn-LU; Sat, 01 Apr 2023 14:56:46 -0400 Date: Sat, 01 Apr 2023 21:57:02 +0300 Message-Id: <83edp3xwg1.fsf@gnu.org> From: Eli Zaretskii To: Adam =?utf-8?Q?Sj=C3=B8gren?= In-Reply-To: <87r0t3wk0f.fsf@tullinup.koldfront.dk> (bug-gnu-emacs@gnu.org) Subject: Re: bug#62596: make bootstrap failing since 52b67740d10 References: <87r0t3wk0f.fsf@tullinup.koldfront.dk> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 62596@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 62596 62481 thanks > Date: Sat, 01 Apr 2023 20:10:56 +0200 > From: Adam Sjøgren via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Hi, > > > When I try to build current master (f5891da70aa) of Emacs on Debian > unstable using this command: > > ./autogen.sh && ./configure -C --with-tree-sitter --with-xinput2 --without-pgtk --with-native-compilation=aot && make FAST=true -j12 bootstrap > > It fails like this: > > ... > ELC+ELN org/org-src.elc > > Error: native-ice ("org/org-plot.el" "block does not end with a branch" #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t) nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil 2) #s(comp-mvar (t) nil nil nil nil 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (setimm #s(comp-mvar (t) nil nil nil nil 3) org-table-to-lisp) (set #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3))) (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 4) plist-get) (set #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t) nil nil nil nil 0)) (setimm #s(comp-mvar (t) nil nil nil nil 6) :transpose) (set #s(comp-mvar (t) nil nil nil nil 4) (callref funcall #s(comp-mvar (t) nil nil nil nil 4) #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t) nil nil nil nil 6))) (set #s(comp-mvar (t) nil nil nil nil 5) #s(comp-mvar (t) nil nil nil nil 4)) (setimm #s(comp-mvar (t) nil nil nil nil 6) #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (y 105 yes 105 t 105)))) nil nil nil nil #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) nil nil 1 72 nil nil) org-plot/gnuplot) This is a duplicate of bug#62481, which is already solved on the macs-29 branch, and should be solved on master when emacs-29 is next merged. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 03 10:36:04 2023 Received: (at control) by debbugs.gnu.org; 3 Apr 2023 14:36:04 +0000 Received: from localhost ([127.0.0.1]:44953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjLHw-0002rY-2M for submit@debbugs.gnu.org; Mon, 03 Apr 2023 10:36:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjLHs-0002qu-Rs; Mon, 03 Apr 2023 10:36:02 -0400 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 1pjLHn-0007xX-8U; Mon, 03 Apr 2023 10:35:55 -0400 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=nmh8ILGHZLiyFuYU0MKxjTWaFjo8xlKTGzuY6U0lS1o=; b=L9IJRoJEj5Fx ZDr7d7iN+TyGBUU2RKfE6d8J1fn8sdc+U/1WOpnwgedy/bInVFFdcyXB+jsTEWh/FBRJbb8SLTJy1 z7TLbAcwP9ZiKQjF5NMbhz4UiKunNKeXwbLlahk8k5A+pPvkGrB414I18HS0nHAqnltDTdXCCGc8c N6/Y7zLmEMD/ITRfFw6vWVaDxmYuTC8LAIxzLRA//13J6FMSSCpDPiCBAwQzfoaHz/GoQ+hpeV+gz FgYXdy0d8KliYPUjxCoo7S5DEKeaUT4TZYPPzBRlOaIGq6udiU4NM9ajw+e7IaZLSE7eoIQpPtdie a6EcRhxQMqt25jAbYzw/gg==; 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 1pjLHm-00046f-0Q; Mon, 03 Apr 2023 10:35:54 -0400 Date: Mon, 03 Apr 2023 17:36:16 +0300 Message-Id: <83r0t1uj6n.fsf@gnu.org> From: Eli Zaretskii To: Maks In-Reply-To: <875yadf4a5.fsf@gmail.com> (message from Maks on Mon, 03 Apr 2023 17:07:14 +0300) Subject: Re: bug#62644: 29.0.60; Internal native compiler error References: <875yadf4a5.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 62644@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 62644 62481 thanks > From: Maks > Date: Mon, 03 Apr 2023 17:07:14 +0300 > > Hello, > > when I try to build Emacs from master branch I get an error: > > ELC+ELN org/org-plot.elc > ELC+ELN org/org-protocol.elc > ELC+ELN org/org-refile.elc > > Error: native-ice ("org/org-plot.el" "block does not end with a branch" #s(comp-block-lap bb_8 ((comment "LAP TAG 83") (call helper_unbind_n #s(comp-mvar nil nil ((1 . 1)) nil nil nil)) (setimm #s(comp-mvar (t) nil nil nil nil 2) make-temp-file) (setimm #s(comp-mvar (t) nil nil nil nil 3) "org-plot") (set #s(comp-mvar (t) nil nil nil nil 2) (callref funcall #s(comp-mvar (t) nil nil nil nil 2) #s(comp-mvar (t) nil nil nil nil 3))) (call record_unwind_protect_excursion) (setimm #s(comp-mvar (t) nil nil nil nil 3) org-plot/goto-nearest-table) (set #s(comp-mvar (t) nil nil nil nil 3) (callref funcall #s(comp-mvar (t) nil nil nil nil 3 This is a duplicate of bug#62481, which was already resolved on the emacs-29 branch. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 03 22:24:59 2023 Received: (at control) by debbugs.gnu.org; 4 Apr 2023 02:24:59 +0000 Received: from localhost ([127.0.0.1]:45578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjWLz-00081x-Bz for submit@debbugs.gnu.org; Mon, 03 Apr 2023 22:24:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjWLt-00081W-TU; Mon, 03 Apr 2023 22:24:54 -0400 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 1pjWLo-0001jJ-BQ; Mon, 03 Apr 2023 22:24:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=qgHJymARHUpWQHrtToPAlU1OMK2Imuz6uH8khoMVFVs=; b=o/Ee3a5nkrTkl8A7QPOm RtcThmnxj5qca0Iq+RYgN/Bxd3Ddumhl2eWibaZZb25Zv68/dNlSkEJp/gB67X0nsJNQy+iHch/lD 6MC5qjn8nGxPv4DW6YNHoHYvaM4RTUJVtu+u5nprRSCpIVh7BHYVG/Sa3iPb/im9Xumq+aJ0eGA+l W2uytyNycRQERzcZh3mwxAh4Y6BFmyt5cQrERP+bRmCKJZAU9lqWazkJqumVyuj3cbU3IeF8nTMq+ VIOMJRcdRJvtAkAubZhmvDXsR/+DcqpDaKAKFiAN+l22XC5wCzi/hsnV56qRJPP7t2ti2TjzNBFrR 6Z6GScxQR5Rurg==; 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 1pjWLn-0004H8-Ou; Mon, 03 Apr 2023 22:24:48 -0400 Date: Tue, 04 Apr 2023 05:25:10 +0300 Message-Id: <834jpwv0xl.fsf@gnu.org> From: Eli Zaretskii To: Mekeor Melire In-Reply-To: <87mt3o7l9u.fsf@posteo.de> (message from Mekeor Melire on Mon, 03 Apr 2023 20:29:29 +0000) Subject: Re: bug#62655: 30.0.50; Build error (in case of NATIVECOMP?): =?utf-8?Q?=E2=80=9Corg-plot=2Eel=22?= "block does not end with a =?utf-8?Q?branch=22=E2=80=9D?= References: <87mt3o7l9u.fsf@posteo.de> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 62655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 62655 62481 thanks > From: Mekeor Melire > Date: Mon, 03 Apr 2023 20:29:29 +0000 > > GNU Emacs, master branch, latest commits, e.g. > 0275c54ca80124f8a6e3a9823844b9ee131443cc, fails to build. The full > build error for attempting to install Emacs with Guix ("guix > install emacs-next-tree-sitter > --with-branch=emacs-next-tree-sitter=master") is attached. > > FreeBSD also has this issue. They seem to work it around by > disabling NATIVECOMP. So, it seems to related to native > compilation. > https://cgit.freebsd.org/ports/commit/?id=73560fbfd1950eec2da204856d5698905e299273 > > Garuda Linux also seems to have this issue. > https://builds.garudalinux.org/repos/chaotic-aur/logs/emacs-pgtk-native-comp-git.log This is a duplicate of bug#62481. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 05 13:20:14 2023 Received: (at 62537) by debbugs.gnu.org; 5 Apr 2023 17:20:15 +0000 Received: from localhost ([127.0.0.1]:52552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pk6nu-0002TP-OB for submit@debbugs.gnu.org; Wed, 05 Apr 2023 13:20:14 -0400 Received: from mx.sdf.org ([205.166.94.24]:54976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pk6ns-0002TF-4i for 62537@debbugs.gnu.org; Wed, 05 Apr 2023 13:20:12 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 335HJuUF007741 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 5 Apr 2023 17:19:57 GMT From: Andrea Corallo To: 62537@debbugs.gnu.org Subject: Re: bug#62537: Error compiling emacs master with native compilation activated In-Reply-To: <664DC8F8-EEEC-4A90-A4F5-86C11378486C@acm.org> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Fri, 31 Mar 2023 17:14:58 +0200") References: <664DC8F8-EEEC-4A90-A4F5-86C11378486C@acm.org> Date: Wed, 05 Apr 2023 17:19:57 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Gut I finally have a fix for this! As we suspected was a bug in the native compiler limplification pass triggered by the new LAP emitted. fa669c4b17c fixes bootstrap --with-native-compilation=aot here and adds a test, is now pushed to master. In 29 the bug never showed up (probably because the new LAP tweak is not it) so I guess it's be [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [205.166.94.33 listed in zen.spamhaus.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 62537 Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii , Pedro Andres Aranda Gutierrez X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Gut I finally have a fix for this! As we suspected was a bug in the native compiler limplification pass triggered by the new LAP emitted. fa669c4b17c fixes bootstrap --with-native-compilation=aot here and adds a test, is now pushed to master. In 29 the bug never showed up (probably because the new LAP tweak is not it) so I guess it's be [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [205.166.94.33 listed in zen.spamhaus.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Gut I finally have a fix for this! As we suspected was a bug in the native compiler limplification pass triggered by the new LAP emitted. fa669c4b17c fixes bootstrap --with-native-compilation=aot here and adds a test, is now pushed to master. In 29 the bug never showed up (probably because the new LAP tweak is not it) so I guess it's better to leave the code as it is. Now we should finally have again bootstrap for both master and 29 clean, so any issue we might see is unexpected to me. Best Regards Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 05 16:51:16 2023 Received: (at 62537) by debbugs.gnu.org; 5 Apr 2023 20:51:16 +0000 Received: from localhost ([127.0.0.1]:52761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkA68-0000Wf-1J for submit@debbugs.gnu.org; Wed, 05 Apr 2023 16:51:16 -0400 Received: from mail1476c50.megamailservers.eu ([91.136.14.76]:56856 helo=mail118c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkA64-0000VW-Is for 62537@debbugs.gnu.org; Wed, 05 Apr 2023 16:51:14 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1680727865; bh=V5qrp858U86uJgN4icnJ8u8GIPGadzF2B8ex2JZj0jc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=g/CfH6GZdNMR50oPugMLoWZM92Eocm7j9i5YuwifBivoHKY236myG8ZkF9PA6m5SH 4osn4kWcOFm+2PPUFiOEjXcExmlbxOexios+wS78kw0O2SKh1ZIx8HqpfbTarxsSyP o3TmRc/rVrMXRKY5Qk4ks4G4ZjbCt8gJfemwGqWw= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail118c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 335Kp2mW072781; Wed, 5 Apr 2023 20:51:04 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: Re: bug#62537: Error compiling emacs master with native compilation activated From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Wed, 5 Apr 2023 22:51:01 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <8CD7FA80-0E05-4112-A063-8F49F6A28CD4@acm.org> References: <664DC8F8-EEEC-4A90-A4F5-86C11378486C@acm.org> To: Andrea Corallo X-Mailer: Apple Mail (2.3654.120.0.1.15) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdejuddgudehhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffuvffqrffktedpqfgfvfdpgffpggdqveehtdenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpeforghtthhirghsucfgnhhguggvghonrhguuceomhgrthhtihgrshgvsegrtghmrdhorhhgqeenucggtffrrghtthgvrhhnpeevkeffudejhfekhedvgfffieekgffhfedvkeeuffelgeefkeeulefhjeeifeekgfenucfkphepudekkedrudehtddrudeihedrvdefheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeekrdduhedtrdduieehrddvfeehpdhhvghlohepshhmthhptghlihgvnhhtrdgrphhplhgvpdhmrghilhhfrhhomhepmhgrthhtihgrshgvsegrtghmrdhorhhgpdhnsggprhgtphhtthhopeegpdhrtghpthhtoheprghkrhhlsehsughfrdhorhhgpdhrtghpthhtohepiedvheefjeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehprggrghhuthhisehgmhgrihhlrdgtohhmpdhrtghpthhtohepvghlihiisehgnhhurdhorhhg X-Origin-Country: SE X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 62537 Cc: Eli Zaretskii , 62537@debbugs.gnu.org, Pedro Andres Aranda Gutierrez X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 5 apr. 2023 kl. 19.19 skrev Andrea Corallo : > As we suspected was a bug in the native compiler limplification pass > triggered by the new LAP emitted. >=20 > fa669c4b17c fixes bootstrap --with-native-compilation=3Daot here and = adds > a test, is now pushed to master. In 29 the bug never showed up > (probably because the new LAP tweak is not it) so I guess it's better = to > leave the code as it is. Nice! So the bug was that we optimised away switches where all jump = targets are the same, without considering the fall-through case? (Perhaps we should do something like that in the LAP optimiser. Wonder = how common the opportunity is though.) By the way, the bulk of `comp-jump-table-optimizable` should be = equivalent to something like (apply #'=3D (hash-table-values jmp-table)) which is arguably clearer and definitely shorter. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 05 17:12:27 2023 Received: (at 62537) by debbugs.gnu.org; 5 Apr 2023 21:12:27 +0000 Received: from localhost ([127.0.0.1]:52780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkAQc-0001BU-Rz for submit@debbugs.gnu.org; Wed, 05 Apr 2023 17:12:27 -0400 Received: from mx.sdf.org ([205.166.94.24]:64399) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkAQa-0001BF-Ui for 62537@debbugs.gnu.org; Wed, 05 Apr 2023 17:12:25 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 335LC8So023126 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 5 Apr 2023 21:12:16 GMT From: Andrea Corallo To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#62537: Error compiling emacs master with native compilation activated In-Reply-To: <8CD7FA80-0E05-4112-A063-8F49F6A28CD4@acm.org> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Wed, 5 Apr 2023 22:51:01 +0200") References: <664DC8F8-EEEC-4A90-A4F5-86C11378486C@acm.org> <8CD7FA80-0E05-4112-A063-8F49F6A28CD4@acm.org> Date: Wed, 05 Apr 2023 21:12:09 +0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Mattias Engdegård writes: > 5 apr. 2023 kl. 19.19 skrev Andrea Corallo : > >> As we suspected was a bug in the native compiler limplification pass >> triggered by the new LAP emitted. >> >> fa669c4b17c fixes boot [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [205.166.94.33 listed in zen.spamhaus.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 62537 Cc: Eli Zaretskii , 62537@debbugs.gnu.org, Pedro Andres Aranda Gutierrez X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Mattias Engdegård writes: > 5 apr. 2023 kl. 19.19 skrev Andrea Corallo : > >> As we suspected was a bug in the native compiler limplification pass >> triggered by the new LAP emitted. >> >> fa669c4b17c fixes boot [...] Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [205.166.94.33 listed in zen.spamhaus.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Mattias Engdeg=C3=A5rd writes: > 5 apr. 2023 kl. 19.19 skrev Andrea Corallo : > >> As we suspected was a bug in the native compiler limplification pass >> triggered by the new LAP emitted. >>=20 >> fa669c4b17c fixes bootstrap --with-native-compilation=3Daot here and adds >> a test, is now pushed to master. In 29 the bug never showed up >> (probably because the new LAP tweak is not it) so I guess it's better to >> leave the code as it is. > > Nice! So the bug was that we optimised away switches where all jump targe= ts are the same, without considering the fall-through case? Hi Mattias, yep that's correct :) > (Perhaps we should do something like that in the LAP optimiser. Wonder ho= w common the opportunity is though.) Yeah might be a good idea even if I don't know how common this condition is. (We might count how many times `comp-jump-table-optimizable' returns t in an aot build tho to get an idea). > By the way, the bulk of `comp-jump-table-optimizable` should be equivalen= t to something like > > (apply #'=3D (hash-table-values jmp-table)) > > which is arguably clearer and definitely shorter. True but with the downside that it conses. I'll think about if I want to change it, thanks for the neat suggestion tho :) Best Regards Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 05 17:46:18 2023 Received: (at 62537) by debbugs.gnu.org; 5 Apr 2023 21:46:18 +0000 Received: from localhost ([127.0.0.1]:52803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkAxO-00022d-2y for submit@debbugs.gnu.org; Wed, 05 Apr 2023 17:46:18 -0400 Received: from mail209c50.megamailservers.eu ([91.136.10.219]:58064 helo=mail194c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkAxL-00022T-I5 for 62537@debbugs.gnu.org; Wed, 05 Apr 2023 17:46:16 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1680731173; bh=roaRniX8/W6dyzmC3VYx+gOETDlUC9DWuwPz3I9Dw/8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=Uxf9Oj7jCHvcQciB3rZxqmzSt0VgIog0E5zrlOinTUPkQU0rtoKXP7oADWVbxRdcY Sb4Z5hVwL5ObS6TzSXSFOqitn+HNP9PL++5Q9I8cuZbl4kvhef3tySLlfW9DoEHQTX NQZOFi52A4YiAkyUXqaRTtVlBCIKqspkAk/qTKZ4= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail194c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 335LkARj110034; Wed, 5 Apr 2023 21:46:12 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: Re: bug#62537: Error compiling emacs master with native compilation activated From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Wed, 5 Apr 2023 23:46:09 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <664DC8F8-EEEC-4A90-A4F5-86C11378486C@acm.org> <8CD7FA80-0E05-4112-A063-8F49F6A28CD4@acm.org> To: Andrea Corallo X-Mailer: Apple Mail (2.3654.120.0.1.15) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdejvddgtdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepveekffdujefhkeehvdfgffeikefghfefvdekueffleegfeekueelhfejieefkefgnecukfhppedukeekrdduhedtrdduieehrddvfeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudeihedrvdefhedphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohepgedprhgtphhtthhopegrkhhrlhesshgufhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopeeivdehfeejseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepphgrrghguhhtihesghhmrghilhdrtghomh X-Origin-Country: SE X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 62537 Cc: Eli Zaretskii , 62537@debbugs.gnu.org, Pedro Andres Aranda Gutierrez X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 5 apr. 2023 kl. 23.12 skrev Andrea Corallo : >> (Perhaps we should do something like that in the LAP optimiser. = Wonder how common the opportunity is though.) >=20 > Yeah might be a good idea even if I don't know how common this = condition > is. Experimentally adding a LAP optimiser rule for it resulted in no matches = during a complete lisp recompilation, so it's safe to say that it's not = very common.=20 I'm not going to bother, but perhaps your code works on something that = has undergone further transformations and is thus more likely to trigger = the rule? >> (apply #'=3D (hash-table-values jmp-table)) >>=20 >> which is arguably clearer and definitely shorter. >=20 > True but with the downside that it conses. More than the current code? From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 06 06:42:26 2023 Received: (at 62537) by debbugs.gnu.org; 6 Apr 2023 10:42:26 +0000 Received: from localhost ([127.0.0.1]:53544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkN4T-0000K1-NN for submit@debbugs.gnu.org; Thu, 06 Apr 2023 06:42:26 -0400 Received: from mail236c50.megamailservers.eu ([91.136.10.246]:57126 helo=mail56c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkN4R-0000Jp-ED for 62537@debbugs.gnu.org; Thu, 06 Apr 2023 06:42:24 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1680777741; bh=4jUn0tbAh8uLNQ+Sef1g6nvZ0/B1LrHk0liRmV1a1pI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=jSddae2a4PTEeUxBkgiTzOFo3wqyeEQLqmFoKyd5vyIPGhFbDKARFu3KM9FVq4Gag bczkApMWtcOY5i+PZ6lODnvXr7Rqpg32euNlAGTQaqdzrsJTqW3RewJ4ueqgQdcpIY q9ZtcRPE1qTKvNG10aEBGkcnOCWw94NwdijyhycA= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail56c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 336AgILh048416; Thu, 6 Apr 2023 10:42:20 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: Re: bug#62537: Error compiling emacs master with native compilation activated From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Thu, 6 Apr 2023 12:42:18 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <775940BE-8158-4AFE-8AA1-5FBA4D7C2C95@acm.org> References: <664DC8F8-EEEC-4A90-A4F5-86C11378486C@acm.org> To: Andrea Corallo X-Mailer: Apple Mail (2.3654.120.0.1.15) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdejfedgvdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepveekffdujefhkeehvdfgffeikefghfefvdekueffleegfeekueelhfejieefkefgnecukfhppedukeekrdduhedtrdduieehrddvfeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudeihedrvdefhedphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohepgedprhgtphhtthhopegrkhhrlhesshgufhdrohhrghdprhgtphhtthhopeeivdehfeejseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepphgrrghguhhtihesghhmrghilhdrtghomhdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 62537 Cc: Eli Zaretskii , 62537@debbugs.gnu.org, Pedro Andres Aranda Gutierrez X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 5 apr. 2023 kl. 19.19 skrev Andrea Corallo : > In 29 the bug never showed up > (probably because the new LAP tweak is not it) so I guess it's better = to > leave the code as it is. Actually I don't think I can prove that the LAP code will never have the = pattern that triggered the bug in Emacs 29; nothing prevents it in = principle from occurring anyway. It doesn't seem safe to keep the buggy limplification in that branch -- = I suggest we remove the switch-eliminating optimisation in comp.el = altogether just in case. What do you think? From unknown Fri Jun 20 07:11:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 29 Oct 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator