GNU bug report logs - #48743
28.0.50; batch-native-compile should produce .elc files as well

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "T.V Raman" <raman@HIDDEN>; dated Sun, 30 May 2021 13:59:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 48743 <at> debbugs.gnu.org:


Received: (at 48743) by debbugs.gnu.org; 31 May 2021 13:41:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 31 09:41:33 2021
Received: from localhost ([127.0.0.1]:33021 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lniAf-0000Kh-BI
	for submit <at> debbugs.gnu.org; Mon, 31 May 2021 09:41:33 -0400
Received: from mx.sdf.org ([205.166.94.24]:65098)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <akrl@HIDDEN>) id 1lniAd-0000KY-Hy
 for 48743 <at> debbugs.gnu.org; Mon, 31 May 2021 09:41:32 -0400
Received: from mab (ma.sdf.org [205.166.94.33])
 by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 14VDfSlt002142
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO);
 Mon, 31 May 2021 13:41:29 GMT
From: Andrea Corallo <akrl@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48743: 28.0.50; batch-native-compile should produce .elc
 files as well
References: <20210530135754.DE34AC2054B@HIDDEN>
 <831r9o47y9.fsf@HIDDEN>
Date: Mon, 31 May 2021 13:41:28 +0000
In-Reply-To: <831r9o47y9.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 30 May
 2021 17:22:54 +0300")
Message-ID: <xjfbl8rkol3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 48743
Cc: 48743 <at> debbugs.gnu.org, "T.V Raman" <raman@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> Date: Sun, 30 May 2021 06:57:54 -0700 (PDT)
>> From:  "T.V Raman" via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
>> 
>> 
>> 1. Large packages that span multiple files can have build-order
>>    dependencies e.g. files containing macros need to be built and
>>    loaded when compiling the rest of the package.
>
> I became stuck right here at the 1st item: what do you mean by "files
> containing macros need to be built and loaded"?  For the "loaded"
> part, we use 'require' and 'eval-when-compile', and these work with
> *.el files exactly as they do with *.elc or *.eln.  So what exactly is
> the problem you are alluding to here, and in particularly what happens
> when you "build" these files with macros that requires them to be
> built?
>
> Without understanding this, I cannot follow the rest of your
> description.
>
> (Andrea, I hope you are following this.)

Hi Eli,

yes I'm following this thread, trying ATM to make my mind on what's the
real issue.

  Andrea




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48743; Package emacs. Full text available.

Message received at 48743 <at> debbugs.gnu.org:


Received: (at 48743) by debbugs.gnu.org; 30 May 2021 15:28:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 30 11:28:04 2021
Received: from localhost ([127.0.0.1]:60192 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lnNMB-0001Op-QJ
	for submit <at> debbugs.gnu.org; Sun, 30 May 2021 11:28:03 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47700)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lnNM8-0001OH-6N
 for 48743 <at> debbugs.gnu.org; Sun, 30 May 2021 11:28:02 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40884)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lnNM1-0002f4-Jy; Sun, 30 May 2021 11:27:53 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3918
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1lnNM1-0007E6-5g; Sun, 30 May 2021 11:27:53 -0400
Date: Sun, 30 May 2021 18:28:02 +0300
Message-Id: <83zgwc2qd9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: "T.V Raman" <raman@HIDDEN>
In-Reply-To: <p91czt8p8mp.fsf@HIDDEN> (raman@HIDDEN)
Subject: Re: bug#48743: 28.0.50; batch-native-compile should produce .elc
 files as well
References: <20210530135754.DE34AC2054B@HIDDEN>
 <831r9o47y9.fsf@HIDDEN> <p91czt8p8mp.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48743
Cc: 48743 <at> debbugs.gnu.org, akrl@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: "T.V Raman" <raman@HIDDEN>
> Cc: Andrea Corallo <akrl@HIDDEN>,  48743 <at> debbugs.gnu.org
> Date: Sun, 30 May 2021 08:02:38 -0700
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> As a simple example, say your package uses a defstruct defined using
> cl-defstruct.
> (cl-defstruct foo a b c )
> 
> Other files in the package use
> functions generated by defstruct such as make-foo  and foo-a

And 'require'-ing the file with cl-defstruct doesn't solve the
problem?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48743; Package emacs. Full text available.

Message received at 48743 <at> debbugs.gnu.org:


Received: (at 48743) by debbugs.gnu.org; 30 May 2021 15:02:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 30 11:02:55 2021
Received: from localhost ([127.0.0.1]:60173 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lnMxk-000725-D6
	for submit <at> debbugs.gnu.org; Sun, 30 May 2021 11:02:55 -0400
Received: from mail-pl1-f171.google.com ([209.85.214.171]:42503)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raman@HIDDEN>) id 1lnMxi-00071n-KI
 for 48743 <at> debbugs.gnu.org; Sun, 30 May 2021 11:02:47 -0400
Received: by mail-pl1-f171.google.com with SMTP id v13so3922610ple.9
 for <48743 <at> debbugs.gnu.org>; Sun, 30 May 2021 08:02:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=veKLVG8GSZPdM10bWCpAs1SCe1eQbfuTVZ4dzUDH8N0=;
 b=m4QjyjVt9rCNc7kNwdeeakxXrwax/8FfbDndwYWZEHdVI+vc6iSgaGRKbVRaAyuIOk
 pz63m9TNM9HvWfJezFe/lN5tDcANcxTduMArsbG3LkI9UWn5LG6coyuywW9hX9MYcWBG
 i0+g9OM8owUOecYe7cDc6GPJ/+RObmXHe0h5KKHTSIn9bBrJXttQ0RsS3tyzBa2qIof9
 8Jb/ZrbXTQBKB4NxFNSpR9o9SLhGmqHqsNNt5ovNINfVNrDbC0cBCxTwAf7nqMuCFsMm
 k+j1279mQtf8x4gW3RB7NsP+IRO9++3FfAgh7U11V4nuOMkQwkjLetU5elqoydviP3S5
 wStA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=veKLVG8GSZPdM10bWCpAs1SCe1eQbfuTVZ4dzUDH8N0=;
 b=AoS2Wc45BBhfAfP1w9M9fSfLjE0Knr5hhKzawVuip0QGCBDuG5rez3Dc4Iul9lCAyp
 108i6kVozImcS4sx9InYZax8F6F0QOj5gizvLDMDgRUS76SeROBfz47f+v8CbIXjqKD3
 6ejSPEMF88SYs0G20apxx3jHw6TjmwferK+tAwtpVDv1THFgfBblKfla42vNabUEIHl4
 6O0IMMC1s3kS6brGBbFMxTXAuSF9LHiE528Ux32CsmhAhUAcbDO2nVoU5v4CJm9VxYGp
 /hI1hwhvEkYCmSJ6HQmpBKvT9mSzfhIbMEuf/4nf9P33fxf3XLEfCdx0apmqVj9G5n+H
 NCyg==
X-Gm-Message-State: AOAM533dY7f864of0IaoCFYZhNeNdr1jYh8bOOpUjrtrDvw3XBmc1ZQx
 WLygGUupOqFPJAGLyyyI8xZi+ve/sDuoQ4PC
X-Google-Smtp-Source: ABdhPJw7rPRol6F+A1lZGvjdUh0ZN38Dak3zqQgyIeHpXxDONtygCG9pqLUJ58fSXr0cph2lnnW/Ow==
X-Received: by 2002:a17:902:e309:b029:f1:9342:2036 with SMTP id
 q9-20020a170902e309b02900f193422036mr16441869plc.53.1622386960077; 
 Sun, 30 May 2021 08:02:40 -0700 (PDT)
Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net.
 [24.4.174.65])
 by smtp.gmail.com with ESMTPSA id x9sm8869337pfd.66.2021.05.30.08.02.39
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 30 May 2021 08:02:39 -0700 (PDT)
Received: by raman-glaptop.localdomain (Postfix, from userid 13930)
 id 4DFA1C2054B; Sun, 30 May 2021 08:02:38 -0700 (PDT)
From: "T.V Raman" <raman@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#48743: 28.0.50; batch-native-compile should produce .elc
 files as well
References: <20210530135754.DE34AC2054B@HIDDEN>
 <831r9o47y9.fsf@HIDDEN>
Date: Sun, 30 May 2021 08:02:38 -0700
In-Reply-To: <831r9o47y9.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 30 May
 2021 17:22:54 +0300")
Message-ID: <p91czt8p8mp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=gb18030
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -8.0 (--------)
X-Debbugs-Envelope-To: 48743
Cc: 48743 <at> debbugs.gnu.org, Andrea Corallo <akrl@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -9.0 (---------)

Eli Zaretskii <eliz@HIDDEN> writes:

As a simple example, say your package uses a defstruct defined using
cl-defstruct.
(cl-defstruct foo a b c )

Other files in the package use
functions generated by defstruct such as make-foo  and foo-a

At present, when jitted, those other files produce warnings at random
such as make-foo is not known to be defined.

>> Date: Sun, 30 May 2021 06:57:54 -0700 (PDT)
>> From:  "T.V Raman" via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
>>=20
>>=20
>> 1. Large packages that span multiple files can have build-order
>>    dependencies e.g. files containing macros need to be built and
>>    loaded when compiling the rest of the package.
>
> I became stuck right here at the 1st item: what do you mean by "files
> containing macros need to be built and loaded"?  For the "loaded"
> part, we use 'require' and 'eval-when-compile', and these work with
> *.el files exactly as they do with *.elc or *.eln.  So what exactly is
> the problem you are alluding to here, and in particularly what happens
> when you "build" these files with macros that requires them to be
> built?
>
> Without understanding this, I cannot follow the rest of your
> description.
>
> (Andrea, I hope you are following this.)

--=20

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
=817=A94 Id: kg:/m/0285kf1  =950=DC8




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48743; Package emacs. Full text available.

Message received at 48743 <at> debbugs.gnu.org:


Received: (at 48743) by debbugs.gnu.org; 30 May 2021 14:22:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 30 10:22:53 2021
Received: from localhost ([127.0.0.1]:60158 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lnML7-0005yk-LR
	for submit <at> debbugs.gnu.org; Sun, 30 May 2021 10:22:53 -0400
Received: from eggs.gnu.org ([209.51.188.92]:39106)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1lnML5-0005yU-MT
 for 48743 <at> debbugs.gnu.org; Sun, 30 May 2021 10:22:52 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40084)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1lnMKz-0006GR-Nl; Sun, 30 May 2021 10:22:45 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3900
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1lnMKy-0008J6-Vm; Sun, 30 May 2021 10:22:45 -0400
Date: Sun, 30 May 2021 17:22:54 +0300
Message-Id: <831r9o47y9.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: "T.V Raman" <raman@HIDDEN>, Andrea Corallo <akrl@HIDDEN>
In-Reply-To: <20210530135754.DE34AC2054B@HIDDEN>
 (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#48743: 28.0.50;
 batch-native-compile should produce .elc files as well
References: <20210530135754.DE34AC2054B@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48743
Cc: 48743 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sun, 30 May 2021 06:57:54 -0700 (PDT)
> From:  "T.V Raman" via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> 
> 1. Large packages that span multiple files can have build-order
>    dependencies e.g. files containing macros need to be built and
>    loaded when compiling the rest of the package.

I became stuck right here at the 1st item: what do you mean by "files
containing macros need to be built and loaded"?  For the "loaded"
part, we use 'require' and 'eval-when-compile', and these work with
*.el files exactly as they do with *.elc or *.eln.  So what exactly is
the problem you are alluding to here, and in particularly what happens
when you "build" these files with macros that requires them to be
built?

Without understanding this, I cannot follow the rest of your
description.

(Andrea, I hope you are following this.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#48743; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 May 2021 13:58:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 30 09:58:05 2021
Received: from localhost ([127.0.0.1]:60125 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lnLx6-0005En-TX
	for submit <at> debbugs.gnu.org; Sun, 30 May 2021 09:58:05 -0400
Received: from lists.gnu.org ([209.51.188.17]:48974)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raman@HIDDEN>) id 1lnLx4-0005Ec-GT
 for submit <at> debbugs.gnu.org; Sun, 30 May 2021 09:58:03 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57050)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raman@HIDDEN>) id 1lnLx4-0008DX-7v
 for bug-gnu-emacs@HIDDEN; Sun, 30 May 2021 09:58:02 -0400
Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:39903)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <raman@HIDDEN>) id 1lnLx1-0007O0-C2
 for bug-gnu-emacs@HIDDEN; Sun, 30 May 2021 09:58:01 -0400
Received: by mail-pg1-x52d.google.com with SMTP id v14so6353060pgi.6
 for <bug-gnu-emacs@HIDDEN>; Sun, 30 May 2021 06:57:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025;
 h=from:to:subject:mime-version:content-transfer-encoding:message-id
 :date; bh=02SaMkXnD/NgGQPlwRh5pOjoqyBFQrmY7WMlN2+7xtg=;
 b=YtbBPNjIYPyVQs82FzMhUewgosCsXGnqgIk5MfUS4pWvWJBB6mvEg3sq+R11BWRCDq
 nZi+B5Pi5Sp552sKybnrEPL8Bc8NbFgz2SWPax/ykS0D+RcsdYi4WJsHAwt2KZv9q6/m
 7gayA+PSTH4RssrkMOURCzh25foaxLZDkD9S/JRnSLulfqYyuN58BdGvi+hPeQ3R5Zd/
 d+87rD6RQKNSaOp+lBzn5d0MCrleJ6F8vbxbnTZnQbUuj3jvxeA5j21GBZKRiZ2jLjkD
 dHpu6oKsJJh0nxz//tfmwvOP8kGfJ7/gz5TJwg1AQtPKevYn34Ze29YPfjy8PO/13qaW
 T+uw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:mime-version
 :content-transfer-encoding:message-id:date;
 bh=02SaMkXnD/NgGQPlwRh5pOjoqyBFQrmY7WMlN2+7xtg=;
 b=gUiCNclJopAWjhpRcbRFWyJboZH2+7jIJhiYWtazris9c0+sR0ZSnwuBPp/G2o+rEf
 ZMW28wgna8uK8GfYbnQsjch1P2gUODoZvV8OyJy/rZo3q0Tl+l/HgIEvhJ+vMs5bOx5P
 6q+js3AOtZUrJMofbiXwkM5Nkz11jFgTRsIlA7agoDkzY/Z5hs4CB2zoCgvVbxEhn2Ve
 d8orUdVOntme4TB9vf4ZL+S7eISa5BFpOyl0kLKuJ2d/vzKJrNtkiDUpC0LCBmErQlmL
 IkuiArcZ6NxioIIQz2hB/DMUqOIwkM4OEte0XSzJ5oVR0D/faD+6NAl5iXvkuDA0daRL
 0Z9g==
X-Gm-Message-State: AOAM533YqYO+665m4FUj8c47YXkxkPtjE/hKzQkVU9c7/pEUAXtbXDQv
 5xsInFexNK71jn6rHxRefc+LgCDuPPuu2Xh9
X-Google-Smtp-Source: ABdhPJyo/k4FWrUOnHyHcRFCH8bFplxu3UO7c2cGFJQADmKJLfQ/l82aDwzV2j8wJjdkTlgNs/zPJw==
X-Received: by 2002:a63:6343:: with SMTP id x64mr3050942pgb.130.1622383076884; 
 Sun, 30 May 2021 06:57:56 -0700 (PDT)
Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net.
 [24.4.174.65])
 by smtp.gmail.com with ESMTPSA id s11sm8859277pfm.95.2021.05.30.06.57.55
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 30 May 2021 06:57:56 -0700 (PDT)
Received: by raman-glaptop.localdomain (Postfix, from userid 13930)
 id DE34AC2054B; Sun, 30 May 2021 06:57:54 -0700 (PDT)
From: "T.V Raman" <raman@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; batch-native-compile should produce .elc files as well
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-Id: <20210530135754.DE34AC2054B@HIDDEN>
Date: Sun, 30 May 2021 06:57:54 -0700 (PDT)
Received-SPF: pass client-ip=2607:f8b0:4864:20::52d;
 envelope-from=raman@HIDDEN; helo=mail-pg1-x52d.google.com
X-Spam_score_int: -175
X-Spam_score: -17.6
X-Spam_bar: -----------------
X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5,
 USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


1. Large packages that span multiple files can have build-order
   dependencies e.g. files containing macros need to be built and
   loaded when compiling the rest of the package.

   2. At present, jitted .eln files appear to be compiled from the .el
      files, and that misses these dependencies, leading to spurious
      warnings, and possibly incorrect behavior.

      3. Attempting to fix this by using -f batch-native-compile fails
         in one and possibly two ways:

         A. If the Makefile defines its build rules   using .elc and
            .el suffixes, then one needs to first  remove the .elc
            files before  running make in order to generate the .eln
            files. These .eln files  end up in .emacs.d/eln-cache;

B. however if one then rebuilds the .elc files, those are now
            newer than the .eln files, which means the .eln files get
            jitted anyway. That jit run of course produces all the
            afore-mentioned problems.
            

            Suggestion:  have batch-native-compile generate both .eln
            and .elc files -- or alternatively, have the jit compiler
            generate the .eln files from .elc files if the .elc files
            are newer. The latter solution would be nice since it
            isolates package developers from having to think about
            native compilation, and differences between .eln and .elc
            files with respect to warnings and behavior.
            

--Raman
            
            


In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-05-29 built on raman-glaptop
Repository revision: f163b9f426c6bd0bec87c0985bca4f838b9eee89
Repository branch: native-emacs
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux rodete

Configured using:
 'configure --enable-silent-rules --without-xwidgets --with-mailutils
 --without-compress-install --with-native-compilation
 --program-prefix=native- LDFLAGS=-O3 'CPPFLAGS=-Ofast ''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix

Major mode: Shell

Minor modes in effect:
  recentf-mode: t
  dired-omit-mode: t
  dirtrack-procfs-mode: t
  savehist-mode: t
  save-place-mode: t
  psession-mode: t
  psession-autosave-mode: t
  midnight-mode: t
  magit-wip-initial-backup-mode: t
  magit-wip-before-change-mode: t
  magit-wip-after-apply-mode: t
  magit-wip-after-save-mode: t
  magit-wip-mode: t
  global-git-commit-mode: t
  ido-ubiquitous-mode: t
  flx-ido-mode: t
  ido-everywhere: t
  display-time-mode: t
  disable-mouse-global-mode: t
  company-statistics-mode: t
  company-prescient-mode: t
  prescient-persist-mode: t
  cl-font-lock-built-in-mode: t
  auto-correct-mode: t
  global-voice-lock-mode: t
  voice-lock-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/raman/emacs/lisp/emacspeak/lisp/tapestry hides /home/raman/emacs/lisp/site-lisp/vm/lisp/tapestry
/home/raman/.emacs.d/elpa/lispy-20210121.926/elpa hides /home/raman/.emacs.d/elpa/ivy-20210518.1815/elpa
/home/raman/.emacs.d/elpa/transient-20210525.1141/transient hides /home/raman/sourceforge/native-emacs/lisp/transient
/home/raman/emacs/lisp/emacspeak/lisp/tetris hides /home/raman/sourceforge/native-emacs/lisp/play/tetris

Features:
(shadow mailalias emacsbug shr-color mm-archive mule-util hl-line
finder-inf emacspeak-paradox paradox ...)

Memory information:
((conses 16 3018329 1355737)
 (symbols 48 72873 30)
 (strings 32 378570 157451)
 (string-bytes 1 15281924)
 (vectors 16 191362)
 (vector-slots 8 5234800 796305)
 (floats 8 2349 1254)
 (intervals 56 284641 71727)
 (buffers 992 45))


-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮




Acknowledgement sent to "T.V Raman" <raman@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#48743; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 31 May 2021 13:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.