From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#51104: comp-tests.elc messes up after reconfiguring for different machine Date: Mon, 12 Sep 2022 19:34:49 +0000 Message-ID: References: <87h71c972r.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31682"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: larsi@gnus.org, eggert@cs.ucla.edu, andrea_corallo@yahoo.it To: 51104@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 12 21:35:41 2022 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 1oXpDZ-000861-3x for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 21:35:41 +0200 Original-Received: from localhost ([::1]:57722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXpDY-0005EY-3q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 15:35:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXpCx-0005Bd-93 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 15:35:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXpCw-0002Pr-Sc for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 15:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXpCw-0000da-CM for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 15:35: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: Mon, 12 Sep 2022 19:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51104 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo X-Debbugs-Original-To: Paul Eggert via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 51104@debbugs.gnu.org, Lars Ingebrigtsen , Paul Eggert , Andrea Corallo Original-Received: via spool by 51104-submit@debbugs.gnu.org id=B51104.16630112992438 (code B ref 51104); Mon, 12 Sep 2022 19:35:02 +0000 Original-Received: (at 51104) by debbugs.gnu.org; 12 Sep 2022 19:34:59 +0000 Original-Received: from localhost ([127.0.0.1]:48097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXpCt-0000dF-2C for submit@debbugs.gnu.org; Mon, 12 Sep 2022 15:34:59 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:56723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXpCp-0000d4-4w for 51104@debbugs.gnu.org; Mon, 12 Sep 2022 15:34:57 -0400 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 28CJYnLq001396 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 12 Sep 2022 19:34:51 GMT In-Reply-To: (Paul Eggert via's message of "Mon, 12 Sep 2022 12:54:36 -0500") 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:242299 Archived-At: Paul Eggert via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > On 9/12/22 10:30, Andrea Corallo wrote: >> I believe in theory should be possible to move this computation in the >> compile time to keep "comp-tests.elc" arch indepent if this is >> requirement. > > As I understand it, .elc files are supposed to be architecture independent. > > Is Lars onto something when he says this should be a .eln file > instead? I don't recall what comp-tests.el does. comp-tests.el just tests the native compiler (in this case the ret type prediction it does). I guess here make check does byte-compile comp-tests.el but being the tests executed with a non-interactive emacs this is never native compiled afterward (it would hide the issue). Probably the quickest and easiest fix is just to add the `no-byte-compile' into comp-tests.el. Andrea