From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#47307: Emacs 27.2 RC2 build/check issues on macOS ARM64 Date: Mon, 22 Mar 2021 19:20:40 +0200 Message-ID: <83zgyv9kbb.fsf@gnu.org> References: <6027b0e3-b361-cfd0-3b93-3ead504a2be1@cs.ucla.edu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22571"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47307@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 22 18:24:54 2021 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 1lOOIP-0005lE-KA for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Mar 2021 18:24:53 +0100 Original-Received: from localhost ([::1]:52538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOOIN-0007xO-4g for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Mar 2021 13:24:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOOEg-0001me-N8 for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 13:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOOEf-000239-Qo for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 13:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOOEf-0008NI-Mz for bug-gnu-emacs@gnu.org; Mon, 22 Mar 2021 13:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Mar 2021 17:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47307 X-GNU-PR-Package: emacs Original-Received: via spool by 47307-submit@debbugs.gnu.org id=B47307.161643364832153 (code B ref 47307); Mon, 22 Mar 2021 17:21:01 +0000 Original-Received: (at 47307) by debbugs.gnu.org; 22 Mar 2021 17:20:48 +0000 Original-Received: from localhost ([127.0.0.1]:58458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOOES-0008MW-1g for submit@debbugs.gnu.org; Mon, 22 Mar 2021 13:20:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOOEP-0008MJ-Pr for 47307@debbugs.gnu.org; Mon, 22 Mar 2021 13:20:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34953) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOOEJ-0001qV-FP; Mon, 22 Mar 2021 13:20:39 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2138 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lOOEE-0007Vp-BR; Mon, 22 Mar 2021 13:20:34 -0400 In-Reply-To: <6027b0e3-b361-cfd0-3b93-3ead504a2be1@cs.ucla.edu> (message from Paul Eggert on Sun, 21 Mar 2021 18:27:32 -0700) 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:202844 Archived-At: > From: Paul Eggert > Date: Sun, 21 Mar 2021 18:27:32 -0700 > > I configured Emacs 27.2 RC2 on macOS 11.2 ARM64 (arm-apple-darwin20.3.0) > using "./configure --with-gnutls=ifavailable" (plain "./configure" > failed, which was disconcerting). When I ran "make" the compiler complained: > > editfns.c:2063:18: warning: unsequenced modification and access to > 'sa_avail' [-Wunsequenced] > > This correctly diagnoses undefined behavior in that C function. I didn't > investigate what happens on that platform is as it's easier to fix the > problem on all platforms. I propose installing the attached > obviously-safe patch into the emacs-27 branch. I'm okay with installing this on the emacs-27 branch, but please wait until Emacs 27.2 is released (in a few days, fingers crossed), as I see no reason to delay 27.2 due to this issue. Thanks.