all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Stefan Kangas <stefankangas@gmail.com>,
	 pipcet@protonmail.com, emacs-devel@gnu.org
Subject: Re: Pure space
Date: Sat, 17 Aug 2024 21:36:38 +0800	[thread overview]
Message-ID: <87y14vi849.fsf@yahoo.com> (raw)
In-Reply-To: <8634n32tuw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 17 Aug 2024 15:53:43 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Stefan Kangas <stefankangas@gmail.com>
>> Date: Sat, 17 Aug 2024 05:10:29 -0700
>> Cc: Eli Zaretskii <eliz@gnu.org>, Pip Cet <pipcet@protonmail.com>, emacs-devel@gnu.org
>> 
>> Po Lu <luangruo@yahoo.com> writes:
>> 
>> > Portable dumping doesn't function on Windows 98 or DOS.  Please fix or
>> > implement pdumper on these two platforms first, or hack their unexec
>> > builds not to require pure space, which should not be terribly
>> > difficult.
>> 
>> In my view, that's not a blocker for removing the unexec build.
>
> Agreed.

The Windows 98 build is: it has many users and it is in a satisfactory
condition at present, so it would be a terrible regression.

>> We would take patches to fix MS-DOS and/or Windows 98, I think.
>
> On Windows 9X the pdumper build does work, it just crashes too much.
> So it sounds like some problem that could be fixed.

It crashes 100% of the time, actually, not merely "too much", which I
can't investigate without a functioning gdb, and which is very much
against the spirit of the word "portable".  Unless one of you are
willing to show me a GDB that is newer than Code::Blocks provides and
which groks recent DWARF debug info, I don't forsee any solution.

> If we want to keep the MSDOS port, the way forward is to switch it to
> pdumper.  There's already an implementation in pdumper.c that uses
> malloc and write instead of the missing mmap, it just was never tried
> with the MSDOS port.  I don't see any reasons why it couldn't work.

Why can't unexecoff be retained without pure space?  There's also no
reason against this enormously simpler solution, and the same is true of
the Solaris unexec, which is no more than 13 lines of trivial code.  You
need not concern yourself with them at all, while MS-DOS users receive a
new Emacs, and Solaris users, a binary that starts 110 ms faster, and
doesn't require juggling with dumper files whenever an installation or
its binaries are created or moved.



  reply	other threads:[~2024-08-17 13:36 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-16 19:07 Pure space Pip Cet
2024-08-17  6:18 ` Eli Zaretskii
2024-08-17  6:59   ` Stefan Kangas
2024-08-17  8:14     ` Po Lu
2024-08-17 12:10       ` Stefan Kangas
2024-08-17 12:53         ` Eli Zaretskii
2024-08-17 13:36           ` Po Lu [this message]
2024-08-17 14:12             ` Eli Zaretskii
2024-08-17  8:45   ` Pip Cet
2024-08-17 10:51     ` Eli Zaretskii
2024-08-17 11:38       ` Pip Cet
2024-08-17 13:13         ` Eli Zaretskii
2024-08-17 13:26           ` Pip Cet
2024-08-17 14:29             ` Eli Zaretskii
2024-08-17 14:35               ` Pip Cet
2024-08-17 13:11     ` Stefan Kangas
2024-08-17 14:30       ` Pip Cet
2024-08-17 15:34         ` Andrea Corallo
2024-08-17 15:41           ` Pip Cet
2024-08-17  8:16 ` Po Lu
2024-08-17  8:28   ` Po Lu
2024-08-17  8:31     ` Po Lu
2024-08-17  8:57     ` Pip Cet
2024-08-17 11:06       ` Eli Zaretskii
2024-08-17 10:45   ` Eli Zaretskii
2024-08-17 11:46     ` Po Lu
2024-08-17 12:49       ` Eli Zaretskii
2024-08-17 13:44         ` Po Lu
2024-08-17 14:17           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y14vi849.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=pipcet@protonmail.com \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.