From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lynn Winebarger Newsgroups: gmane.emacs.devel Subject: Re: Regression in dump-emacs-portable Date: Mon, 13 Feb 2023 20:13:22 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27681"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 14 02:14:31 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 1pRjtv-0006z0-AZ for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Feb 2023 02:14:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRjt6-0001vY-8t; Mon, 13 Feb 2023 20:13:40 -0500 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 1pRjt4-0001vB-RJ for emacs-devel@gnu.org; Mon, 13 Feb 2023 20:13:38 -0500 Original-Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRjt3-0004t5-3k for emacs-devel@gnu.org; Mon, 13 Feb 2023 20:13:38 -0500 Original-Received: by mail-pl1-x634.google.com with SMTP id d8so14227440plr.10 for ; Mon, 13 Feb 2023 17:13:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1676337214; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=8BaOSYDa3BcjbG3f/0mFiLDtXXgLmBOCy9bIxVi3oBE=; b=bh5442VFkCOBfZG8SBvcX36yG8hnfFdEp5mnwtkCER4QPdv3oT+h1fVskYFsWxsvJO b/Oay0sxBS0Pi2/j5TfMfWAmpFU5YWYt6Tt9L7d3y+DFN8/ShSNlVbXpGI7i2OTUAGz6 0vO3+WFNHbOsLX56CZL1uL2Iezt2CSU2Zt1EyB4H29uj6QIGIhEIjPal6jb6zTIPjbOC SxWRu3PXjUQGqbOhrcoyrjHPpAd+xdPm93sBPGCqp4sv/s+04mDt+QlatO2BZiyJf1g4 JdmRHBh3O/5OSaAf6Ff1ZJtYfl/BgGFIyIkQ5KgEpLj4CerRyQcSeQjX/YFvf8NhDg2w q9LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1676337214; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8BaOSYDa3BcjbG3f/0mFiLDtXXgLmBOCy9bIxVi3oBE=; b=tkidKPDr2PombpDuJJuhe1dcmz8BB9Fr60bj2kHAO51CGAzxNt60BBudtj8xy8xce6 bzvT3eoixfdHIp4bHoJyc5qj9RuCVLqG8MdPunndET4j942duy3XtRaFodHv0Bdsag2h VAPNsGcSB9Yza1VVAcVquFO2dhOoj02b9Wl6s5i6dai/mcqbNJ43eiARdwB+vyk82xiF 7VUpIdSuiWuYjZPVuQm59wCEjvmUyoNghpcEnrA0n3wce3qxyUunM8MDRUIIVF5q+Mwu n/J1bIincLdHz7ddNTbOGKI/MeB3HDGnMIsWugHPuWkh3pvx8+W5dVsimtf3nrouIswp 83lA== X-Gm-Message-State: AO0yUKVYcb9sHtTQEN78Bjs4tceY0m0LADZ6cQBaU8EgdjumS3uP9EM6 ZCfXTru8wTNjeqSoRF627YStqlFxlvkqxBcbELSGja03 X-Google-Smtp-Source: AK7set/FUmKzIUaTVmxa0SyL39xlhn84och3WAGmPKEGTECpjZ8dHRGemavr1WO4vlqPJkev7NEd6OyR5ukF/kfZ0DE= X-Received: by 2002:a17:902:7846:b0:196:1951:3fb7 with SMTP id e6-20020a170902784600b0019619513fb7mr264726pln.1.1676337214493; Mon, 13 Feb 2023 17:13:34 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=owinebar@gmail.com; helo=mail-pl1-x634.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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:303249 Archived-At: On Sun, Feb 12, 2023 at 7:51 PM Lynn Winebarger wrote: > the after-init-hook. The same issues arose with 29.0.60, but the > fixes for 30.0.50 did not work for that build. After more carefully following the script I used in generating the maximal redump of core emacs libraries for 28.2, I now have a redump script that works for both 29.0.60 and 30.0.50, although I still have no idea why the particular libraries (that dump without issue in 28.2) cause failure in the later two versions. I did notice that the dump file for 28.2 is 135M, and the dump file for 30.0.50 and 29.0.60 is only 75M. (!) When I exclude the same additional libraries from the 28.2 dump, the dump file is still 133M, so the additional exclusions are not enough to explain the size difference. I also looked for tests of dump-emacs-portable in the test/ subdirectory, and grep reported nothing. I can translate my shell script into elisp to run under ERT, and add testing for each of the libraries expected to be dumpable (in the sense of not requiring code evaluated on load that needs to be delayed until run-time) individually. How do I submit that? Are there any restrictions I should observe? I have a list of libraries I exclude due to platform incompatibility with linux (ones with w32 and dos in the names), but I don't have anything for other platforms. Lynn