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: Sat, 19 Aug 2023 01:23:00 +0300 Message-ID: <874jkw56t7.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> <87wmxv5t3p.fsf@thaodan.de> 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="40454"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 19 00:24:03 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 1qX7sw-000AKR-H2 for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Aug 2023 00:24:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qX7s6-0003Ju-ID; Fri, 18 Aug 2023 18:23:10 -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 1qX7s5-0003Jm-EC for emacs-devel@gnu.org; Fri, 18 Aug 2023 18:23:09 -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 1qX7s2-0007D1-AV; Fri, 18 Aug 2023 18:23:09 -0400 Original-Received: from odin (dsl-trebng12-50dc77-87.dhcp.inet.fi [80.220.119.87]) by thaodan.de (Postfix) with ESMTPSA id 0617ED08DB9; Sat, 19 Aug 2023 01:23:00 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1692397381; bh=WNrW+mc8aWtkhT7yVx2QAHycvYTN9ckO2ZNxLiDD300=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=oDyQDRJlNpz7owJDD9ymq/CkW1ue4A7/N85cCsjE9MrWEMGlSgyEHcHVsYiD4/LF1 P+MEJRZaZvtnRqXGIvEqTy1SjNjWwnp6OyHn4Kc724+rvXDaQOHYWbwKdeZPtdKd5G qtTJcUVm7DVRCG+2ZmTRdbcznC3OlVx2RfM53T/2Bjmx/4pwm7RsLGLQUo7Dz7j+qH jWg2XoHPaK2aqDiGZ8iBPndnhdbDiykTKHhtdXkONYYkBlMLIBsR2FWygA+uIqyeHg oN43UhZco4CImyT+HuoX1ZLLuvMYwESY7DQqcIPkDw6ON8vYtJ29HTCG7aFOscgXdA 4lFMnPIyQQJMxf5kqxvBIuN559VZhRtLGVCyBI3KopXwcxI+Vyo4oVulipWsDA9MSN iJiXal1/HyPXiQvydZhpqLrYcy/hXlzm9kDhGODUJ8eMXABCUO92U47Mwi7GfwjtWw gqQ0mPWA34Rqt2E1JqvC4wd1UhkhOTQMdCOK5ukk6AWTh/yDuNDks60otfZXAY8gpD Dbb+sMROElzC0kff5rFpCaP72Z+kHpogvnx0MOF3B6mr2trjK2F56pky6KcZtI7d61 U1WQ7yzNJUCyTtgv70+rdG/TEUhvikSINNOOAojdMb8c4AcRjvqHR6kxIHo+tanwkn e8nScBqUF+3g3q2RHIA6X6d8= In-Reply-To: (Andrea Corallo's message of "Wed, 16 Aug 2023 04:49:21 -0400") 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:308904 Archived-At: Andrea Corallo writes: > Bj=C3=B6rn Bidar writes: > >> 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 contex= t? >>>>=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? > > Yes What changed that now these primitives change this way or is this simply a side effect of another change?