From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.devel Subject: Re: Sharing native-lisp system load-path between builds Date: Wed, 16 Aug 2023 10:44:42 +0300 Message-ID: <87wmxv5t3p.fsf@thaodan.de> 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> <83zg2ta2kp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16351"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: acorallo@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 16 09:45:43 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 1qWBDq-0003xm-9q for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Aug 2023 09:45:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWBD9-0008Lx-AQ; Wed, 16 Aug 2023 03:45:00 -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 1qWBD5-0008KF-Dm for emacs-devel@gnu.org; Wed, 16 Aug 2023 03:44:56 -0400 Original-Received: from thaodan.de ([2a03:4000:4f:f15::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWBD2-00045e-EE; Wed, 16 Aug 2023 03:44:55 -0400 Original-Received: from odin (dsl-trebng12-50dc77-87.dhcp.inet.fi [80.220.119.87]) by thaodan.de (Postfix) with ESMTPSA id 45F05D08DBA; Wed, 16 Aug 2023 10:44:43 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1692171883; bh=C/xudzBOEPloFq3/TvGCVmmtO2oAOWlBOe7j1FGd/GA=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=ZvBK784xpaWPCJRUet+Qzi0b9kl1f2MUkJ8xT/lBlvRWGB/btBVLQH/ANAiBseIBx l8V0bfwkGISbrH1+Laj4GthMK1dhkHtQCLHBISrptF3MsT4ZNXONjHxnOFZFE/iiyx LIn+wzDZwcaahHJB8+fuja0+lkFAmVPuTIvR/znkcs9vL1bgsW5DDPuCkPV1MwqchE dCyFCUNQ+Y7ccegy0dqHhzDTKF+um8o8rOB1dZzMHT6Aseve14YaRzosKlE2D0xv4j aAjlXD8ov/thiGxD3RpSLTiOFXtt7wNqlvIAHqjPj1AsrPzJCIjNbnvPTaeNLE+CdL IQm2JyFtk24jCRfX7fBfNyeRHX1IjBnQGslVQtpHNC8d+u7oS5krVQ+cE+xuDcwoZ1 3+E3ZkIOGpZ4tE4VoZZBzA5TvFLoCH3kzqhIAvP3/0Ru9fZsZCNAUd+Bk6rX12j1N+ iuClgAaXWiV/Fg/hGfup+AZUOZ4/FI4buWNlLZAY3yZ1IfV6S0vPgcYDCAoZPxKSMs 0wcNhA2ZLvUmJi8Twssj9uWh+iaAzyYCxARzhkD7IKLA2wKGH1sltEBphj82oQS/4J a+ZvaR5dS0F0iZppQ5o76JIoMt/7lnDcnN/+SfLZ8Bquil7D8RDFJ/x5szQDPaIh29 w1JhgWK4odbh1/FAqX3tfC14= In-Reply-To: <83zg2ta2kp.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 14 Aug 2023 21:41:58 +0300") Received-SPF: pass client-ip=2a03:4000:4f:f15::1; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:308799 Archived-At: Eli Zaretskii writes: >> From: Bj=C3=B6rn Bidar >> Date: Mon, 14 Aug 2023 21:29:34 +0300 >>=20 >> Eli Zaretskii writes: >>=20 >> > Thanks. So what does "work" and "does not work" mean in this context? >>=20 >> 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? Yes exactly. The - directory was the same. > 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? Only the builtin el files as can be seen in the spec file. >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. Does enabling or disabling lets say png change any of those primitives? The package has different subpackages build from 100% the same source. The configuration is only different when it comes to ui support.