From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#41994: Emacs on Apple ARM devices Date: Sat, 15 Aug 2020 01:04:27 +0200 (CEST) Message-ID: <5df77c6e-6cf7-4775-bfe4-ff174564db6a_IMAP_ADDED_MISSING@EDGAR> References: <20200814201143.GC44359@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24022"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41994@debbugs.gnu.org, Stefan Kangas , Robert Pluim To: Roland Kaufmann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 15 01:05:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1k6il4-00064B-RT for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Aug 2020 01:05:11 +0200 Original-Received: from localhost ([::1]:58038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6il3-0001x2-Fw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Aug 2020 19:05:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6ikw-0001wu-Lf for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 19:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6ikw-0001Nr-B3 for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 19:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k6ikw-00062b-41 for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 19:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Aug 2020 23:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41994 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 41994-submit@debbugs.gnu.org id=B41994.159744628223189 (code B ref 41994); Fri, 14 Aug 2020 23:05:02 +0000 Original-Received: (at 41994) by debbugs.gnu.org; 14 Aug 2020 23:04:42 +0000 Original-Received: from localhost ([127.0.0.1]:54054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6ikc-00061x-2G for submit@debbugs.gnu.org; Fri, 14 Aug 2020 19:04:42 -0400 Original-Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:45698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6ikX-00061g-4L for 41994@debbugs.gnu.org; Fri, 14 Aug 2020 19:04:40 -0400 Original-Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 88E6940C; Sat, 15 Aug 2020 01:04:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1597446270; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To; l=1568; bh=H1YksACPp3bbhhbRMyNnHrIf5VVr/4kFiwvOsOCKRaI=; b=JR+xnaniyE8uth2VsixHqujGGg/QCxu411rvhHDUpslzo9GBo3ppkTlSPc3Maxgv qPLGBwAUXB6QQMUUVTAhj4Y/0SxtS0BKjb//HBqHUT35n4BBMPKnTOrwRzrgI0li/sc Y54mufBey0msl5ngvcClWmE63OZz8ygxel6qe1FAP053H7OBUj8Ba6N0IjPXqAInZOP wtXHSS51jy0PJQsscdFd40awACOfkI8n/TgXagIKGtup88FKetsn/Mm7nI/heqOTi7L AsghTUwAVypMeWQSZEbbxTI9hu1iLwX8FthBWUNq+kZL0fOQeTMnwtdcYwZ+pVA6s0L 4xnP3Un8Tw== Original-Received: by smtp.mailfence.com with ESMTPA ; Sat, 15 Aug 2020 01:04:27 +0200 (CEST) Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 9222C202489F5B; Sat, 15 Aug 2020 00:04:25 +0100 (BST) Mail-Followup-To: Alan Third , Roland Kaufmann , 41994@debbugs.gnu.org, Robert Pluim , Stefan Kangas Content-Disposition: inline In-Reply-To: X-ContactOffice-Account: com:241649512 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185179 Archived-At: On Sat, Aug 15, 2020 at 12:10:22AM +0200, Roland Kaufmann wrote: > RK> Code generation on Apple's ARM devices ... expect a code > RK> signature section ... This changeset implements those changes > RK> on the Mach-O dumper > > RP> Are these ... still needed now that emacs-27 has a portable > RP> dumper? > > This may be a case of incredible bad timing, as I haven't kept up on the > development of the pdumper. Doing some light reading up on it now, it seems > to me that it does the loading from a custom file format instead of writing > a native executable. > > Evidently, this renders any improvements on the unexec code moot, although > it's still in the tree, I guess for platforms where the pdumper is not yet > fully tested, so I understand the reluctance to spend any more scarce time > on it. Yes, unfortunately I think it's unlikely anyone will be wanting to run unexec on macOS from now on. It may be worth seeing if the gccemacs (native elisp compilation) project will need something like this. I don't know enough about either these requirements or gccemacs to say. > AT> I suspect the patch to configure.ac might be needed even for > AT> the pdumpder? > > Yes, although one could discuss if the concept of ported/unported status > still applies in the same way once there is the pdumper. Well, I may as well commit it. Have you contributed to Emacs before and if so have you signed the copyright paperwork? This is small enough that it should be exempt, but I'd rather get the notation correct. :) -- Alan Third