From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Sharing native-lisp system load-path between builds Date: Mon, 14 Aug 2023 21:41:58 +0300 Message-ID: <83zg2ta2kp.fsf@gnu.org> References: <871qhzjd0m.fsf@thaodan.de> <83edlzx8cy.fsf@gnu.org> <87jzvqj1d0.fsf@thaodan.de> <87il9i5wtw.fsf@thaodan.de> <83pm3qbbkr.fsf@gnu.org> <87il9i3ppl.fsf@thaodan.de> <83bkf9bylz.fsf@gnu.org> <87bkf932b5.fsf@thaodan.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31781"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acorallo@gnu.org, emacs-devel@gnu.org To: =?utf-8?Q?Bj=C3=B6rn?= Bidar Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 14 20:42:52 2023 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 1qVcWi-00084a-DL for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Aug 2023 20:42:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVcVr-0003vG-Ub; Mon, 14 Aug 2023 14:41:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVcVq-0003v6-L8 for emacs-devel@gnu.org; Mon, 14 Aug 2023 14:41:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVcVq-0005LF-3C; Mon, 14 Aug 2023 14:41:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Q8GyiEI/XuM42eHAikugGDfKpm+tchbHjJ3nmttGmAU=; b=fm3O95APcdIdyVD3wVOS swAAA/gNGH3zUw02tvtTyH8ChBIbCU9Z8e+xtNjo2XYOtXZpZa2eTaU+9zXt+T7j1opWkb5BQUTLt klmNqsWqCOEB6Cm6VsXdn/TfiftdrD+QftfKay1sF5QJulsGyONkmIK2djcxYur3tDMdh/RH0lWqM CoDt/Kirk/eVnOsjt4ipbm0FcSf4eDdD8UnPmjtusB5Y34a0+LtVDnYwWaLmvmqgoJbsh9hJ0d4Fu 4NqJ9P6husOuKSxeBw4hDwG+KlLh+36GC0T08B94nXIFUJ6loVuX8f2n1BTIEKfSiiOxSIK1Q/whz LulPxlLG4ThRXQ==; In-Reply-To: <87bkf932b5.fsf@thaodan.de> (message from =?utf-8?Q?Bj=C3=B6r?= =?utf-8?Q?n?= Bidar on Mon, 14 Aug 2023 21:29:34 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308743 Archived-At: [Why private email?] > From: Björn Bidar > Date: Mon, 14 Aug 2023 21:29:34 +0300 > > Eli Zaretskii writes: > > > Thanks. So what does "work" and "does not work" mean in this context? > > Work means the eln files could be shared, doesn't mean the files can't > be shared the hash in the native lisp path is different and the files > are no longer compatible. How did you share them? did you manually copy them into the same directory or forced Emacs to write them there? Or did Emacs create *.eln files with the same hashes and in the same 29.0.50-NNNNN subdirectory? Also, which *.el files were compiled into *.eln files you could share -- were those the preloaded *.el files, non-preloaded *.el files from the Emacs tree, or third-party *.el files from packages that are not bundled with Emacs? In general, such different configurations could only be able to share *.eln files by sheer luck. It is enough to have one more or one less primitive in one of the builds to require a separate set of *.eln files, because the hash of the versioned subdirectory of native-lisp/ and of eln-cache changes when primitives are added or deleted. That has been so for a very long time, definitely long before commit 3c8167ec0f964.