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" Newsgroups: gmane.emacs.devel Subject: Re: Native compile: excessive recompilation? Date: Mon, 17 May 2021 13:22:41 -0700 Message-ID: References: <87a6otmba5.fsf@md5i.com> 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="3965"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Michael Welsh Duggan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 17 22:23:24 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lijls-0000mP-04 for ged-emacs-devel@m.gmane-mx.org; Mon, 17 May 2021 22:23:24 +0200 Original-Received: from localhost ([::1]:50524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lijlo-0005wA-IN for ged-emacs-devel@m.gmane-mx.org; Mon, 17 May 2021 16:23:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lijlI-0005EX-Jz for emacs-devel@gnu.org; Mon, 17 May 2021 16:22:48 -0400 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:40768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lijlG-0007cx-4V for emacs-devel@gnu.org; Mon, 17 May 2021 16:22:48 -0400 Original-Received: by mail-pj1-x1032.google.com with SMTP id b9-20020a17090a9909b029015cf9effaeaso248841pjp.5 for ; Mon, 17 May 2021 13:22:45 -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=lFcWwQIlc+Uh/hAhhrVlimN5cxPvXvo1PHyFNba5YHw=; b=sXQIPTFRlAIUb4FGYrIqHyFd8whAKuR/Bz2nPaY/eDpydQ+9iY/bXzcFOCphe4Ff2m Aqj17Zh7P7LHYKyYRMlwQmnpKHyZMlNBzbLybvYp8m9vu9+XfIZtmoPjjMnZZ5wpb1hJ svqn+EZiXcYXFAwmGbcHCKyST3ER4J4XpyvpPMtGlzwZQDnitAQHymWbhJN0MIo93d9H J4v2NlaupJXoIyUmhSdI86C+GpGuNj/6Plbh8ZoSouubgbj0V8S4Yo7iLKRP2sQnHgwY iJzdCUeHYHVQS0eE6uAHnmqofBXHTRbgSFESzi6Jk2QOrLnm3LtSM4AvbdSfLQ03gLtb gWvg== 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=lFcWwQIlc+Uh/hAhhrVlimN5cxPvXvo1PHyFNba5YHw=; b=CDdGOQq0s6lEs3pNJ6rmvYays4GoafgsIjfHokDeS1T3Po/GEEMP6KXvz/xCT6e1rS zNGjCcbZAabyEKF34ty5JiKxaxCSr+FbrCLNdvVxWegNqwm47H/QoxO9U2cUow3wSWK4 IoKWOnOebV7GJUlm00Wk9qC4qAq4YBKg5F0EyJg8eyKpt6iCLVc5bpHmfhUueETse592 ko9F07p976HGe8igtxIuC/D632Svewo62v4CmBiDGgeGbDB1m8C4BVlGOC5nrKWv4SUW xlbAEEGaSbWBdu5jOnr1e0lXq7Kj3+yyLCP9RpMB8sxFUJ9C6AA+Wka79UooSqmZqw6L dJdg== X-Gm-Message-State: AOAM531pNXMMvyDx44BKqE+zetywXaq+HKdKlho+jwPo2DvB4Mgawx+3 boWp1P1sqwNo2MrKoftIJZzt6leIhtXaGsEh X-Google-Smtp-Source: ABdhPJzQD8ZEtyZ7jDlbcc05YxwMZdLU8Kw1fNt8KG4gaudn7q5WL0hb5vdAmVYst7egUIWK1YS3/Q== X-Received: by 2002:a17:90a:d903:: with SMTP id c3mr977617pjv.34.1621282963985; Mon, 17 May 2021 13:22:43 -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 f14sm11869565pjq.50.2021.05.17.13.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 13:22:43 -0700 (PDT) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id 8161CC21501; Mon, 17 May 2021 13:22:41 -0700 (PDT) In-Reply-To: <87a6otmba5.fsf@md5i.com> (Michael Welsh Duggan's message of "Mon, 17 May 2021 15:05:06 -0400") Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=raman@google.com; helo=mail-pj1-x1032.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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269429 Archived-At: Michael Welsh Duggan writes: 1+, see the message I just sent in response to another thread with Andrea. What I also notice is that if I batch-byte-compile all of emacspeak (with no other native-emacs running, then start native-emacs -- emacspeak modules still get recompiled at random times > I, from scratch, built Emacs with native compilation and built and > installed using NATIVE_FULL_AOT=3D1. There is indeed a > /usr/local/lib/emacs/28.0.50/native-lisp dir with a directory that > contains the natively-compiled files. However, if I start emacs, even > with -Q, from a fresh user, files get compiled and put into the user > native compilation cache (~/.emacs.d/eln-cache/...). Has anyone else > noticed this? Or have I just made a mistake somewhere when testing > this?=20=20 > > If I use emacs -Q and do `C-h i', I get compilations for the following > files: > > bytecomp-12882072-ffdd30ae.eln comp-cstr-ef162ef7-c492cd97.eln > byte-opt-9c5f25f5-b7c94b77.eln gv-e0cf7478-eac584a4.eln > cconv-3b1f1f98-ac4628a4.eln help-mode-d4dbae3d-034e8cf5.eln > cl-extra-d7051cba-ff815ded.eln info-ce12c0ca-3d2b00fd.eln > cl-lib-8b938900-fbcee53d.eln rx-627d8c83-18b6598f.eln > cl-macs-7ae82f81-d9748b96.eln seq-c314b42f-4e726806.eln > cl-seq-f464c4e2-95d0eb23.eln subr-x-02dfef32-04f2924b.eln > comp-7672a6ed-56d0b5ab.eln warnings-28e75f4d-c98d4e00.eln > > I would have thought that it would use the ones in > /usr/local/lib/emacs/28.0.50/native-lisp instead of recompiling them? > If it can be confirmed that this is a bug, I'll submit a proper bug > report. --=20 Thanks, --Raman =817=A94 Id: kg:/m/0285kf1 =950=DC8