From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Niels =?UTF-8?Q?S=C3=B8ndergaard?= Newsgroups: gmane.emacs.bugs Subject: bug#48804: 27.2; compilation emacs on macOS Date: Fri, 4 Jun 2021 14:59:54 +0200 Message-ID: <66405D8B-FDF5-4CCC-BDBF-C54A66BDCD3B@algon.dk> References: <2AF45A3E-8412-437F-A903-F314C934E618@univie.ac.at> <8335tyw4mk.fsf@gnu.org> <834kedn7hx.fsf@gnu.org> <3AF5227F-7CBC-4F9A-BB72-E4E92F3BFDBF@idiocy.org> <8335txn73m.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_3CF94F7D-F6F2-4B87-8C64-6C4A315B5A0D" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37377"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , Niels =?UTF-8?Q?S=C3=B8ndergaard?= , Konrad Podczeck , 48804@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 04 15:02:27 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 1lp9T1-0009YL-En for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 15:02:27 +0200 Original-Received: from localhost ([::1]:41332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lp9Sz-0004X5-CN for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 09:02:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lp9Rd-0003es-Tj for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 09:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34240) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lp9Rd-0000pM-MI for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 09:01:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lp9Rd-00017P-Kv for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 09:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Niels =?UTF-8?Q?S=C3=B8ndergaard?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jun 2021 13:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48804 X-GNU-PR-Package: emacs Original-Received: via spool by 48804-submit@debbugs.gnu.org id=B48804.16228116244247 (code B ref 48804); Fri, 04 Jun 2021 13:01:01 +0000 Original-Received: (at 48804) by debbugs.gnu.org; 4 Jun 2021 13:00:24 +0000 Original-Received: from localhost ([127.0.0.1]:45786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp9Qy-00016N-4u for submit@debbugs.gnu.org; Fri, 04 Jun 2021 09:00:24 -0400 Original-Received: from algon.dk ([212.99.233.66]:55658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lp9Qs-000160-PL for 48804@debbugs.gnu.org; Fri, 04 Jun 2021 09:00:19 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by algon.dk (Postfix) with ESMTP id 1646520062; Fri, 4 Jun 2021 15:00:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at algon.dk Original-Received: from algon.dk ([127.0.0.1]) by localhost (odin.algon.dk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pGv2tCAkvfna; Fri, 4 Jun 2021 15:00:07 +0200 (CEST) Original-Received: from smtpclient.apple (unknown [85.83.136.51]) by algon.dk (Postfix) with ESMTPA id CA5EF2004F; Fri, 4 Jun 2021 15:00:07 +0200 (CEST) In-Reply-To: <8335txn73m.fsf@gnu.org> X-Mailbutler-Message-Id: B39AC676-E38F-4843-99FB-9A568F0E20F5 X-Mailer: Apple Mail (2.3654.100.0.2.22) 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:208010 Archived-At: --Apple-Mail=_3CF94F7D-F6F2-4B87-8C64-6C4A315B5A0D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 hello=20 Now I god this error in the =E2=80=9Cconfigure = =E2=80=94with-native-compilation=E2=80=9D , checking AppKit/AppKit.h usability... no checking AppKit/AppKit.h presence... yes configure: WARNING: AppKit/AppKit.h: present but cannot be compiled configure: WARNING: AppKit/AppKit.h: check for missing prerequisite = headers? configure: WARNING: AppKit/AppKit.h: see the Autoconf documentation configure: WARNING: AppKit/AppKit.h: section "Present But Cannot Be = Compiled" configure: WARNING: AppKit/AppKit.h: proceeding with the compiler's = result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-gnu-emacs@gnu.org ## configure: WARNING: ## ------------------------------------ ## checking for AppKit/AppKit.h... no configure: error: The include files (AppKit/AppKit.h etc) that are required for a Nextstep build are missing or cannot be compiled. Either fix this, or re-configure with the option '--without-ns=E2=80=99.=20= And I didn=E2=80=99t specify =E2=80=9C=E2=80=94with-ns=E2=80=9D this = time mvh Niels =20 > Den 4. jun. 2021 kl. 14.32 skrev Eli Zaretskii : >=20 >> Date: Fri, 04 Jun 2021 13:26:38 +0100 >> CC: = konrad.podczeck@univie.ac.at,nisoni@algon.dk,48804@debbugs.gnu.org >> From: Alan Third >>=20 >>>> I=E2=80=99ve gcc 10.2.0_4 installed by Homebrew on my new iMac = 24=E2=80=9D (with M1), >>> and can=E2=80=99t get a newer version, so I=E2=80=99ll >>>> properly have to wait =E2=80=A6..=20 >>>=20 >>> What's wrong with GCC 10? AFAIK, even GCC 7 comes with libgccjit = that >>> is good enough for Emacs. >>=20 >> I believe that libgccjit only just added support for M1 processors in = the last week or two, and for whatever reason the Intel emulation on the = Macs doesn't work with the older libgccjit either. >=20 > Should we mention this in NEWS, where we announce native-compilation > support? Knowing the prerequisites is important to avoid false > expectations and frustration. --Apple-Mail=_3CF94F7D-F6F2-4B87-8C64-6C4A315B5A0D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 hello 

Now I god this error in the =E2=80=9Cconfigure = =E2=80=94with-native-compilation=E2=80=9D ,

checking AppKit/AppKit.h usability... = no
checking AppKit/AppKit.h presence... = yes
configure: WARNING: AppKit/AppKit.h: present = but cannot be compiled
configure: WARNING: = AppKit/AppKit.h:     check for missing prerequisite = headers?
configure: WARNING: AppKit/AppKit.h: see = the Autoconf documentation
configure: WARNING: = AppKit/AppKit.h:     section "Present But Cannot Be = Compiled"
configure: WARNING: AppKit/AppKit.h: = proceeding with the compiler's result
configure: = WARNING:     ## ------------------------------------ = ##
configure: WARNING:     ## Report this = to bug-gnu-emacs@gnu.org ##
configure: = WARNING:     ## ------------------------------------ = ##
checking for AppKit/AppKit.h... no
configure: error: The include files (AppKit/AppKit.h etc) = that
are required for a Nextstep build are missing = or cannot be compiled.
Either fix this, or = re-configure with the option '--without-ns=E2=80=99. 

And I didn=E2=80=99t = specify =E2=80=9C=E2=80=94with-ns=E2=80=9D this time

mvh
Niels
 
Den 4. = jun. 2021 kl. 14.32 skrev Eli Zaretskii <eliz@gnu.org>:

Date: Fri, 04 Jun 2021 = 13:26:38 +0100
CC: konrad.podczeck@univie.ac.at,nisoni@algon.dk,48804@debbugs.gnu.org
From: Alan Third = <alan@idiocy.org>

I=E2=80=99ve gcc 10.2.0_4 installed by Homebrew on my new = iMac 24=E2=80=9D (with M1),
and can=E2=80=99t = get a newer version, so I=E2=80=99ll
properly have to wait =E2=80=A6..

What's wrong with GCC 10? =  AFAIK, even GCC 7 comes with libgccjit that
is good = enough for Emacs.

I believe = that libgccjit only just added support for M1 processors in the last = week or two, and for whatever reason the Intel emulation on the Macs = doesn't work with the older libgccjit either.

Should we mention this in NEWS, = where we announce native-compilation
support? =  Knowing the prerequisites is important to avoid false
expectations and frustration.

3D""= --Apple-Mail=_3CF94F7D-F6F2-4B87-8C64-6C4A315B5A0D--