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: Objects that can't be purified during dumping Date: Sat, 23 Jul 2022 09:59:18 -0400 Message-ID: References: <83czdwhsc1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001fc91105e4795c1c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21665"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 23 16:02:43 2022 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 1oFFiN-0005S3-06 for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Jul 2022 16:02:43 +0200 Original-Received: from localhost ([::1]:32774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFFiL-0000F3-Od for ged-emacs-devel@m.gmane-mx.org; Sat, 23 Jul 2022 10:02:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFFfL-0005dB-7O for emacs-devel@gnu.org; Sat, 23 Jul 2022 09:59:35 -0400 Original-Received: from mail-oi1-x229.google.com ([2607:f8b0:4864:20::229]:44620) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFFfJ-0003Ns-H0; Sat, 23 Jul 2022 09:59:34 -0400 Original-Received: by mail-oi1-x229.google.com with SMTP id bb16so8451503oib.11; Sat, 23 Jul 2022 06:59:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Cc3rvaMOm2Ukz3E7FYNBE1VNTf38HRbXK9iDfhHKm1s=; b=QWT+HQD5t1Ocryema/GLudiBUbPbxTEqVOj59zxN6Tec5/lupXAwVtSeErwgbX40xl gqwvWwlwtaS4d8unstCDjvROz82Q7ImAT/jYtIAS3lbnZWcbkztjPWzjYPiqyq0gMaJd AqM2RVfpxU2uBY/Z720HxCixTq1x2hgD3KcpSyVW0Qz3QytzLeacL+LqVcu6Cpp2X8Du A2kqZ4zCAPhJleOZHLGMjqegfdZYliAFlWlZjDRYRpfFfkROGqycBN19mYeKfjQ8jsDx obutDwnK4lRemjFQdjm7NUPfkFdSyGUB7PBdJFxPODtEDRkOSUZ1LJDYKAUSdV6xbWis 8zSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Cc3rvaMOm2Ukz3E7FYNBE1VNTf38HRbXK9iDfhHKm1s=; b=epLaU16vEHqvH3fAdM1tdb7s0Sz5y1PiYbealAkMdagj05upcc6Ddl7wxTWfA8nk1g QBcswB1eTIurd1WwHNc5hQFSIh2ATPLquKPsTkmFmmk/H1d1vHQql1L6rBOWf6dfRQSM 398KofifhAPv4VMlYFgnMPN10AWN+8ToHVTXf1FZHKf8DNh6S9tN25fxigKHsIxe+Tlw O3YzVzlEL+SMBYbx2T/mpNZ2J65/yfryj67uZueKNYXOk8nm+5ljgMWnTZ13DZuMdMsb nUKGH9F2qFRCWlP47oz+eup0WEf8rLixoS8VOgkgNVaRNJvPgt7AwmfDRjLJPQRghfTk kB8g== X-Gm-Message-State: AJIora+uJ21+xvxtHRb5buhzrykw/psa+O+iA4KPTuRa5q0VZf6xU9up 1wEdpABYA4ELY8osL9hi74U3tbVWOevecf7NLlquTyg3 X-Google-Smtp-Source: AGRyM1vG1O+8PZbEV0jI9o2vu2XcvRwE4vNuIUoyTnX+kvpsbFFdV9agsojTdPgXM2bkGmQL+mUe5yadGnmkfApLuzU= X-Received: by 2002:a05:6808:1201:b0:337:e9c2:84b7 with SMTP id a1-20020a056808120100b00337e9c284b7mr1979958oil.247.1658584771314; Sat, 23 Jul 2022 06:59:31 -0700 (PDT) In-Reply-To: <83czdwhsc1.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::229; envelope-from=owinebar@gmail.com; helo=mail-oi1-x229.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:292535 Archived-At: --0000000000001fc91105e4795c1c Content-Type: text/plain; charset="UTF-8" On Sat, Jul 23, 2022, 9:27 AM Eli Zaretskii wrote: > > From: Lynn Winebarger > > Date: Sat, 23 Jul 2022 08:19:35 -0400 > > > > In my quest to have a "fully loaded" emacs, I'm attempting to dump a > version that loads about 2400 features > > in site-load.el. > > Dump how? with the portable dumping? If so, we don't yet fully > support re-dumping, although it's a goal we'd like to reach. > I might be confused, but I thought redumping referred to dumping using an already dumped emacs. I'm trying to bootstrap emacs with these additional features loaded in the initial dump. > Attempting to load email/rfc2047 produces an error to the effect that > purecopy does not know how to purify a > > char table (specifically a syntax table). > > Is there a reason objects that aren't specifically recognized as being > "purifiable" can't just be marked as > > pinned like hash table without the purecopy attribute? I mean, if I put > that in the code, are there foreseeable > > bugs that would result? > > Pure space will go away at some point, so we are unlikely to invest > any effort into fixing this. > I recalled seeing an exchange to that effect on this list. I'll try the hack (on alloc.c) and see if it works as an interim solution. Lynn --0000000000001fc91105e4795c1c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Jul 23, 2022, 9:27 AM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Lynn Winebarger <owinebar@gmail.com>
> Date: Sat, 23 Jul 2022 08:19:35 -0400
>
> In my quest to have a "fully loaded" emacs, I'm attempti= ng to dump a version that loads about 2400 features
> in site-load.el.

Dump how? with the portable dumping?=C2=A0 If so, we don't yet fully support re-dumping, although it's a goal we'd like to reach.

I might= be confused, but I thought redumping referred to dumping using an already = dumped emacs.=C2=A0 I'm trying to bootstrap emacs with these additional= features loaded in the initial dump.

>= ; Attempting to load email/rfc2047 produces an error to the effect that pur= ecopy does not know how to purify a
> char table (specifically a syntax table).=C2=A0
> Is there a reason objects that aren't specifically recognized as b= eing "purifiable" can't just be marked as
> pinned like hash table without the purecopy attribute?=C2=A0 I mean, i= f I put that in the code, are there foreseeable
> bugs that would result?

Pure space will go away at some point, so we are unlikely to invest
any effort into fixing this.
=
I recalled seeing an exchange to that effect on= this list.=C2=A0 =C2=A0I'll try the hack (on alloc.c) and see if it wo= rks as an interim solution.=C2=A0


Lynn