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: Emacs-devel Digest, Vol 246, Issue 17 Date: Sun, 18 Aug 2024 08:10:45 +0800 Message-ID: <878qwuitbu.fsf@yahoo.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32965"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: ali_gnu2@emvision.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 18 02:11:37 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 1sfTWD-0008T8-Az for ged-emacs-devel@m.gmane-mx.org; Sun, 18 Aug 2024 02:11:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfTVb-0001bZ-Ui; Sat, 17 Aug 2024 20:10:59 -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 1sfTVZ-0001bQ-SW for emacs-devel@gnu.org; Sat, 17 Aug 2024 20:10:57 -0400 Original-Received: from sonic306-22.consmr.mail.ne1.yahoo.com ([66.163.189.84]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfTVX-0002an-Px for emacs-devel@gnu.org; Sat, 17 Aug 2024 20:10:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1723939853; bh=BgJHLv5ShYFaOOIJUpBDdil6BHfzjn1AShuxEd91mRQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=EZ7O0TBjsW2H4A3nJ+WB8YDGvUmJqrpp8XhWJyjjAXdOIpqeue/k8QMyTe9gt7Iu3mJVg06L799EM+jxauXKvtOQ5CRHO48RI2y9NF+41Ks5a/QpFmR6yns4EZaVyFUHrsaP+U/dfTLkvPnWMmkyDKdU1eH9JlWKA1uvEB5SI1vROZHA488YAb5jzhOZuvwmfDlRJZl0L+0d1aPyLrViWxzoBiNVQ7Tzn0BfoSN/bSGX6q8QDBPFLLFUmmJ3dNPebQ0aZhxRbjtiyEolC2JY233jYsjXMSvsrm+4+GaeBBthFzy7Jb5HkFvh3PlNk7eQw66nfNzmDJhjGof1GSHlmA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1723939853; bh=tyeFEqmVC9F68UtGcLcGCBrWM5hpSHA/P51VpmsZYdO=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=YDBkxWuSB2I83Pp64Ko5RkrSA2iSAJUyOFIRVWhfldzQj6uysqjdxXdF8CC70p331G+e8Mz8yZf1YJDQMgUr9XV2XmhCk4CNO2d2XFpKVBXgm550bVmhGDpWFC8WMKNoe9mxXpzm+hX/pxqplsrezLIXgiSzy3O20IeSfDn/QQtmTKx9lyT9z8G7plBe1bfXDrnUVFjM1714QHRFwrWYyfk06KW5+Ws3ZYKRNK8eedCkeXS+M6AHyKsGmYh0/m1mBpKLh+5m67imdy9HXQesWsF+2M9URNBw32ViqzAvizsVPYVIrDsPP7ZoW/9zDeeKffdInVbM/V6p9BJAOAKnbw== X-YMail-OSG: 7tjbMPAVM1neD0FhuBP6KUVQos5YLhNZRPD0T2IGZv4tuoCx54MsSeJVTnGg9He CkToETDr8_vYQ9RJJ0eDuKwQpRC9RThmHFqwM58eTX7_WrDSOvhLOG.eIs7t2HyTQKfdPm5WBUDY UdnUTd_wxUme4KjGiz_9l6MrB8W..ap_M68oLYq3zsIlUJ3E.SM0gdkmiE_UjGnpbG5qshYW6aE_ PTEis9QiXuPccsV9vc09mVyyE5qzc1rpvlEJFFi3JyYK7SQSyR4OrmoMy.APcdMem8vDtGTA18xz 3lFZrvWjoJgt0HpUb5MYcFoufwhdgAwWYlFON1SBK8jQeG7MV8Fq4tQgJGj_G6o0r2.el8Kafhqo 7nGBdq.TN3flnqpt9LUx9Wa.zMriQHbEspAcEEq7djGXZE8d8ZGEwS4EBhN3IAUr6QZOkwYbcyoL 1yy6HpdHzYgCXsPcy3JxvIhLIWasb.LvpKobmVr_Nhoi75hwOY9GQsbtvIh9UJ0eFOvrLiirPvEt Q7X1XvHPhIxPdWEMXi0k8DsJ8VYmysLrHutC5UiUQ.NG8_s.gmJk_A4.Pbho9EKJjKsi3Z1_f7fK PuXbmDnIM2l9bEmq0G8E8mp2rrnaSWTtOwDIz6M.slMD4fyza9pDcdB4Xj1..sJm7yCCI7Nrbe2F i2.sAKXgKeQ4842xl_kC0PFWfd1ZH7TPtZa_vewb0h.AJheCHH.67MEHi9Vo8KuvI1PS2wG7M6tA Dv1_Sy7MEZ.yQztNHVUwfmU6eyrsIij5_UCK759804H60SaMk8.SeO6zoByDgAbtFwBKHdfqDaZY B51DhdTnx_Z.ldFFze4SyTg3OAKGSIYR3tJhze0ZLc X-Sonic-MF: X-Sonic-ID: a206748a-ffa3-40e1-b5d4-85313188b350 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sun, 18 Aug 2024 00:10:53 +0000 Original-Received: by hermes--production-sg3-fc85cddf6-pbnn7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 8dd5330780c61c5bcf136766554d402a; Sun, 18 Aug 2024 00:10:49 +0000 (UTC) In-Reply-To: (ali gnu2's message of "Sat, 17 Aug 2024 16:49:21 -0600") 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.189.84; envelope-from=luangruo@yahoo.com; helo=sonic306-22.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:322875 Archived-At: ali_gnu2@emvision.com writes: > The Solaris code that does that is called dldump() and was > invented years ago (~25 years?) to support emacs. We used to > get occasional bug reports about emacs not dumping from time > to time, and dldump() put an end to that. > > I'm the person who maintains that code in Solaris, and also the > person who packages Emacs for our platform. We stopped using the > unexec code the moment the portable dumper arrived, and haven't > looked back. I don't think we'd even notice if unexec() went away. > > Thanks for caring, but don't let us slow this down. The portable > dumper is The Way. > > - Ali Hello Ali! I think you underestimate the number of programs using dldump. I've seen both Perl 5 and GNU Make hacked to save state with dldump, on Oracle Solaris, producing binaries that don't depend on the presence of a state file and probably start faster as well. Meanwhile pdumper-dumped binaries appear to crash in an x86 Solaris 10 zone, though I don't really use this configuration and I'm not interested in trying the portable dumper on sparc: core 'core' of 7021: ../../src/bootstrap-emacs -batch --no-site-file --no-site-lisp -f batc 00007fffaf433dc2 ???????? () 00007fffaf5eb3d7 ???????? () 00007fffaf5ec590 ???????? () 00007fffae3f351a _lwp_kill () + a 00007fffae3981b9 raise () + 19 00000000008baf90 terminate_due_to_signal () + c0 000000000090236e ???????? () 0000000000902334 deliver_thread_signal () + 74 00000000009023b0 deliver_fatal_thread_signal () + 10 00000000009024ef handle_sigsegv () + 4f 00007fffae3edd16 __sighndlr () + 6 00007fffae3e25e2 call_user_handler () + 252 00007fffae3e280e sigacthandler () + ee 00007fffaf5ea82d ???????? () ffffffffffffffff ???????? () 00000000009c77e7 lisp_align_malloc () + 4d7 00000000009c9dd2 make_float () + 42 00000000009d2e9d init_alloc () + d 00000000008bd373 main () + bb3 00000000006d15ab ???????? () > There are open source variants of Solaris for whom I don't > speak, but from what I know about our common code, they should > not be any more stuck on unexec() than we are. pdumper really > doesn't use any unix features that didn't exist decades ago. I don't believe we try to support Illumos. If Emacs should work, more power to them, but they have bigger fish to fry when GCC exception handling fails if an exception is raised the instant an object is unmapped, prompting dl_iterate_phdr to return -1.