From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Pure space Date: Sat, 17 Aug 2024 21:36:38 +0800 Message-ID: <87y14vi849.fsf@yahoo.com> References: <87cym8jngk.fsf@protonmail.com> <864j7j65b1.fsf@gnu.org> <87v7zzk1lf.fsf@yahoo.com> <8634n32tuw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6585"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Kangas , pipcet@protonmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 17 15:37:55 2024 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 1sfJcw-0001X2-AH for ged-emacs-devel@m.gmane-mx.org; Sat, 17 Aug 2024 15:37:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfJc8-00070K-Mt; Sat, 17 Aug 2024 09:37:04 -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 1sfJc7-0006zv-3A for emacs-devel@gnu.org; Sat, 17 Aug 2024 09:37:03 -0400 Original-Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfJby-0005eu-Gi for emacs-devel@gnu.org; Sat, 17 Aug 2024 09:37:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1723901810; bh=gcrFQsGCcTZC5pZOuZIloEqGBlNok+jDdxN+0kRNczg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=e69wDlEWZjCKcLG13j85yeEca0BxGRibdMCuRnk6IjNA4bx0wk2pWXb/oEZTUAGOYie0O9O2NS1qoGo5RX6BJeDd33kS4Tj+zIvpGiI5gMXqcm0EGDqeta9imIGKG6R9nWYq3zhplA/iqZZWll9ZbcRMnRXhmDpFyIbOCOBtC7rz0/H2aGEt3d/TE71PS9XAdr+DrDoewJNp/hql0HlR9ayAUyQ+nSvtkYPYJWSqktvpGIeW03HEeliI/bLZ0V1VnDCntZjz6WGLGrkgUVo/cIOKnkytdcClTn7jok+LbrbTZgov5BGIhxD26Y9zFyGPz5DINz7S3cwAHqEOY+ZrjQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1723901810; bh=IBOFhc0uUYk1K5IUNemIlMTKVL/Ow5eZQN8+B7oWQrv=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=B7Kx1ZzqJMW8+u90Zs9n4YZL+DStu01boyhwVXaLwE1L/C+3uS6S5g/VLJWZ9m9HROi2B4r3Dt/mHv1+ugpO6PeYps9QZFfW9yx8NWC/Ga2ojgMTvRv96OfMG18tje1rgHbWw4P//Tk1zlu/hTzAEL6a/8Hpy5pHtcgO88WrlNRYdET0jOgvXCZ/3D/h7h+jNWAfIXMaV0b09QO221LvfMUEEBYaO814CjApb5Uyk+6bLEeSTYy/ya6vNAuMFMYp6Dg7X66iwRrtG13E0UpGJVGzZF1UeBtVf+dE/HlU4eeyNztlOe+nhw8/nO8NlbKf14BZjGkmkVA1s81ke9DP+Q== X-YMail-OSG: CAGXB0kVM1mrcbhsqoQdj7rmFKk6CKVfMTbow7pg_dVsOAKN6ZSesf6Bc5j1awG GHmyYz4Ym5IvgaHQLSPm.1HpNTCXtcZM3lf_Qy.GCrZ1_QQJiytjZS1v56JfYNruA1My6RRJWPMc La7YqMFMoDG_kOcZNMcqTkYV_tljh8BerTnSxsDoH2nrXiYPoh84kqd_fyzaZ9_Xg_Q0qkz5l9Yz HY8AfljmmH4OdLYnFhgyR3HvxE_YYmGrwp7ZLdV3KWI.nEcJjzzXWk00pWjQSWlTSOEJz58.SSKx q1SIB5PBlSZKFo0b4WkXEGgGUq3vaK.mTCrewFkbHaEs_UReSTEojJkgKDy3j14qLB2QkojiVa7e 5PVoA3.0nz9TJsqaUumHR_RE3zJgYAGyQChKbgtJDwbfM4bl0L_y0XBmfBByfsaGQzClqh33dchf gTg4UXNXuYJKyLKiP_3B9h4xIUlvjcqkiM73eplXIgtKDOM2AOeK0rl9Pnqi_9oUdvOMUjiq93zM 9d_EmYzkachWh9NqNP0iiqhfS15fn.sAyeLOL3x8m_MfgLItI7U5moV9sDDyYLU9jMxGflVfF8oo _TaUJZeuoOxdSYOC8SPVHzdfxCruNfpkyyssRpx79gX_0LjVfJf0A7Ku24h8lxxJfRZIWoWqe85u HVRpIRS6BO_1q.GTWFsol5D7ncAs168bh3fovrHFF.Fr8v4jsOiDQCZUB.cFeK7t94lKwpXq0_VT SIO4NYSrLVsWS2Usorjzh3prYs0ZWTmvtVwXGi.jtuXKt9LFzIaxl1qreNQLCCElQY3Ha7hMDjEu ZO2aGqTk7WFDtVzk1.XIZdT2.WD_8ydfrFhM9A31G1 X-Sonic-MF: X-Sonic-ID: 739a63c3-d2dd-415c-9630-755f32a96ce8 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Sat, 17 Aug 2024 13:36:50 +0000 Original-Received: by hermes--production-sg3-fc85cddf6-5gxlp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4ebf16df13a3e0740466c0682aa3c6db; Sat, 17 Aug 2024 13:36:44 +0000 (UTC) In-Reply-To: <8634n32tuw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 17 Aug 2024 15:53:43 +0300") X-Mailer: WebService/1.1.22544 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.146; envelope-from=luangruo@yahoo.com; helo=sonic309-20.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322851 Archived-At: Eli Zaretskii writes: >> From: Stefan Kangas >> Date: Sat, 17 Aug 2024 05:10:29 -0700 >> Cc: Eli Zaretskii , Pip Cet , emacs-devel@gnu.org >> >> Po Lu 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.