From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47161: 28.0.50; [feature/native-comp] Failure to native-compile bytecomp.el etc. Date: Tue, 16 Mar 2021 16:22:01 +0000 Message-ID: References: <837dm8fncz.fsf@gnu.org> <834khcfhw7.fsf@gnu.org> <83mtv3dzyq.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18674"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47161@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 16 17:46:07 2021 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 1lMCpa-0004hu-Id for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 17:46:06 +0100 Original-Received: from localhost ([::1]:49126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMCpZ-00080i-Ih for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 12:46:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMCTG-0004em-Ol for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 12:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMCTG-0003vm-GI for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 12:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMCTG-000353-Dm for bug-gnu-emacs@gnu.org; Tue, 16 Mar 2021 12:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Mar 2021 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47161 X-GNU-PR-Package: emacs Original-Received: via spool by 47161-submit@debbugs.gnu.org id=B47161.161591172611747 (code B ref 47161); Tue, 16 Mar 2021 16:23:02 +0000 Original-Received: (at 47161) by debbugs.gnu.org; 16 Mar 2021 16:22:06 +0000 Original-Received: from localhost ([127.0.0.1]:40858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMCSL-00033O-VZ for submit@debbugs.gnu.org; Tue, 16 Mar 2021 12:22:06 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:58623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMCSI-000331-SF for 47161@debbugs.gnu.org; Tue, 16 Mar 2021 12:22:04 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12GGM1GQ004602 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 16 Mar 2021 16:22:01 GMT In-Reply-To: <83mtv3dzyq.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Mar 2021 14:50:53 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:202467 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: 47161@debbugs.gnu.org >> Date: Mon, 15 Mar 2021 20:05:10 +0000 >> >> > ELC emacs-lisp/byte-opt.elc >> > Compiler-macro error for cl--block-wrapper: (error "(setf seq-elt) is already defined as something else than a generic function") >> > Eager macro-expansion failure: (error "(setf seq-elt) is already defined as something else than a generic function") >> > >> > What causes this? >> >> ATM I've no idea, but it doesn't look to me evidently related to native >> compilation. How can I reproduce it? > > What I did was modified byte-opt.el, saved, and said "make". I can reproduce it. >> Also, shouldn't byte-opt.el be native compiled as it's in COMPILE_FIRST? > > That bothers me as well. It happens from time to time: for example, > I've just updated from Git, which brought modified bytecomp.el and > comp.el, both in COMPILE_FIRST. And yet this is what I see when I say > "make": > > make -C lisp all > make[1]: Entering directory `/d/gnu/git/emacs/native-comp/lisp' > make -C ../leim all EMACS="../src/emacs.exe" > make -C ../admin/grammars all EMACS="../../src/emacs.exe" > make[2]: Entering directory `/d/gnu/git/emacs/native-comp/admin/grammars' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/d/gnu/git/emacs/native-comp/admin/grammars' > make[2]: Entering directory `/d/gnu/git/emacs/native-comp/leim' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/d/gnu/git/emacs/native-comp/leim' > make[2]: Entering directory `/d/gnu/git/emacs/native-comp/lisp' > ELC emacs-lisp/bytecomp.elc > make[2]: Leaving directory `/d/gnu/git/emacs/native-comp/lisp' > make[2]: Entering directory `/d/gnu/git/emacs/native-comp/lisp' > ELC emacs-lisp/comp.elc > make[2]: Leaving directory `/d/gnu/git/emacs/native-comp/lisp' > make[2]: Entering directory `/d/gnu/git/emacs/native-comp/lisp' > make[2]: Nothing to be done for `compile-targets'. > make[2]: Leaving directory `/d/gnu/git/emacs/native-comp/lisp' > > Why not "ELC+ELN"? AFAICS using "make V=1" we fail only to add the correct "ELC+ELN" in place of "ELC" but we invoke the right command, will try to have a look. Regarding the macro expansion issue I tried to have a quick look but I'm not very much into cl-generic.el and couldn't spot any obvious (for me) issue so far. Andrea