From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#48743: 28.0.50; batch-native-compile should produce .elc files as well Date: Sun, 30 May 2021 08:02:38 -0700 Message-ID: References: <20210530135754.DE34AC2054B@raman-glaptop.localdomain> <831r9o47y9.fsf@gnu.org> Reply-To: "T.V Raman" Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="551"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48743@debbugs.gnu.org, Andrea Corallo To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 30 17:03:09 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 1lnMy5-000AW2-GZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 May 2021 17:03:09 +0200 Original-Received: from localhost ([::1]:58294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnMy4-0003aj-HF for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 May 2021 11:03:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnMxy-0003aW-Bh for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 11:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48633) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnMxy-0006VV-46 for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 11:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnMxy-000730-1C for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 11:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "T.V Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 May 2021 15:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48743 X-GNU-PR-Package: emacs Original-Received: via spool by 48743-submit@debbugs.gnu.org id=B48743.162238697627050 (code B ref 48743); Sun, 30 May 2021 15:03:01 +0000 Original-Received: (at 48743) by debbugs.gnu.org; 30 May 2021 15:02:56 +0000 Original-Received: from localhost ([127.0.0.1]:60173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnMxk-000725-D6 for submit@debbugs.gnu.org; Sun, 30 May 2021 11:02:55 -0400 Original-Received: from mail-pl1-f171.google.com ([209.85.214.171]:42503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnMxi-00071n-KI for 48743@debbugs.gnu.org; Sun, 30 May 2021 11:02:47 -0400 Original-Received: by mail-pl1-f171.google.com with SMTP id v13so3922610ple.9 for <48743@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) Original-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) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id 4DFA1C2054B; Sun, 30 May 2021 08:02:38 -0700 (PDT) In-Reply-To: <831r9o47y9.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 30 May 2021 17:22:54 +0300") 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:207624 Archived-At: Eli Zaretskii 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" >>=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