From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Artem Loenko via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45455: [nextstep]: Emacs master does not compile on Apple Silicon (arm64) Date: Mon, 28 Dec 2020 11:06:56 +0000 Message-ID: <38960312-96D1-4C04-88EB-74787C0533F3@mac.com> References: <4F964265-C862-43DE-A1BB-252C0649167D@mac.com> <7CA99D96-DBD2-4E28-9B62-CCA1A2DD025A@mac.com> <837dp2lidq.fsf@gnu.org> Reply-To: Artem Loenko Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_1A5DDC8A-73E5-4858-90DF-B8E8AECC40E7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15374"; mail-complaints-to="usenet@ciao.gmane.io" Cc: p.stephani2@gmail.com, 45455@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 28 12:08:10 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 1ktqNm-0003tf-Mv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 12:08:10 +0100 Original-Received: from localhost ([::1]:55406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktqNl-0000B5-Oy for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 06:08:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktqNe-000096-Pd for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 06:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51025) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktqNe-0001A3-Hc for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 06:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ktqNe-0007T8-CQ for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 06:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Artem Loenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Dec 2020 11:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45455 X-GNU-PR-Package: emacs Original-Received: via spool by 45455-submit@debbugs.gnu.org id=B45455.160915363028649 (code B ref 45455); Mon, 28 Dec 2020 11:08:02 +0000 Original-Received: (at 45455) by debbugs.gnu.org; 28 Dec 2020 11:07:10 +0000 Original-Received: from localhost ([127.0.0.1]:34338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktqMn-0007S0-P3 for submit@debbugs.gnu.org; Mon, 28 Dec 2020 06:07:10 -0500 Original-Received: from ms11p00im-qufo17291301.me.com ([17.58.38.42]:37648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktqMl-0007Ra-Ay for 45455@debbugs.gnu.org; Mon, 28 Dec 2020 06:07:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1609153619; bh=cymU0gTxNQG8vJxvKsSfyixLqwUU+3Vcc4cBMu214K4=; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:To; b=AeIJcv+V4gkiD23f4+0USFL3Mugav+IWVPg2mQ+COn4X5+Q17b+xVQUp+M2EFSeB2 i0YtpHZJFtNlunlPo8trYQOrpG+Bx7SUId3H0kyrdxGBG6lSKKi78vV3kHpntozL5o rZyFo0ryaYdP84b3rvQttTSfRGL8l62fZo64xHOOE6UEhpoKPOzFskttWhH4VoBW/d tpC0bc2YVnjCNzKfX4y5KjbbqLTrhdfmQqAhLPI1AsC65gcc/1L5yTh/HqjyGZyvSh XqWC60l2ijZGrU+0nYru8/I8L0pUFT88L3D3vxMIxmh9U3BVu53x7bjxSRBrgG/U1I DZj7518TfYfOQ== Original-Received: from [192.168.1.21] (cpc157823-brnt5-2-0-cust20.4-2.cable.virginm.net [86.25.108.21]) by ms11p00im-qufo17291301.me.com (Postfix) with ESMTPSA id D54601001BA; Mon, 28 Dec 2020 11:06:58 +0000 (UTC) In-Reply-To: <837dp2lidq.fsf@gnu.org> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2020-12-28_11:2020-12-24, 2020-12-28 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2012280069 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:196859 Archived-At: --Apple-Mail=_1A5DDC8A-73E5-4858-90DF-B8E8AECC40E7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 28 Dec 2020, at 03:27, Eli Zaretskii wrote: >=20 >> Date: Sun, 27 Dec 2020 21:37:23 +0000 >> Cc: 45455@debbugs.gnu.org >> From: Artem Loenko via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >> I see two options: >>=20 >> - Backport `arm64:Darwin:*:*)` support within `config.guess` to = emacs-27 branch and switch to >> `aarch64-apple-darwin` everywhere >> - Do not backport, but switch to `aarch64-apple-darwin` everywhere = anyway :) >>=20 >> What do you think? >=20 > The latter, please. It's too late to backport config.guess to the > release branch, and I see no good reason to do so. Then the patch in the initial message will do. We have to apply it to = the master and emacs-27 (if there will be more releases from it) = branches. I just checked, Emacs compiles fine on both branches with the = patch on Apple Silicon. Or we can revert the following commit =E2=80=93 = https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=3Demacs-27&id=3Dfda9= b3e83a434706c31ab1bee5c15511c0181d5a = Philipp, are okay with this?= --Apple-Mail=_1A5DDC8A-73E5-4858-90DF-B8E8AECC40E7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On 28 Dec 2020, at = 03:27, Eli Zaretskii <eliz@gnu.org> wrote:

Date: Sun, 27 Dec 2020 = 21:37:23 +0000
Cc: 45455@debbugs.gnu.org
From: Artem Loenko = via "Bug reports for GNU Emacs,
the Swiss army knife of = text editors" <bug-gnu-emacs@gnu.org>

I = see two options:

- Backport = `arm64:Darwin:*:*)` support within `config.guess` to emacs-27 branch and = switch to
`aarch64-apple-darwin` everywhere
- = Do not backport, but switch to `aarch64-apple-darwin` everywhere anyway = :)

What do you think?

The latter, please.  It's = too late to backport config.guess to the
release branch, = and I see no good reason to do so.

Then the patch in the initial message will do. We have to = apply it to the master and emacs-27 (if there will be more releases from = it) branches. I just checked, Emacs compiles fine on both branches with = the patch on Apple Silicon. Or we can revert the following commit = =E2=80=93 https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=3Demacs-2= 7&id=3Dfda9b3e83a434706c31ab1bee5c15511c0181d5a

Philipp, are okay with = this?
= --Apple-Mail=_1A5DDC8A-73E5-4858-90DF-B8E8AECC40E7--