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 17:02:48 +0200 Message-ID: <587B61A2-0B53-49A7-8039-96DD7C3C24DA@algon.dk> References: <8335tyw4mk.fsf@gnu.org> <834kedn7hx.fsf@gnu.org> <3AF5227F-7CBC-4F9A-BB72-E4E92F3BFDBF@idiocy.org> <8335txn73m.fsf@gnu.org> <66405D8B-FDF5-4CCC-BDBF-C54A66BDCD3B@algon.dk> <831r9hn37i.fsf@gnu.org> <83wnr9lnr8.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=_20EC2E29-6F6F-4BEC-8776-3654F99E3B81" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2268"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Niels =?UTF-8?Q?S=C3=B8ndergaard?= , konrad.podczeck@univie.ac.at, 48804@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 04 17:04:14 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 1lpBMr-0000Oo-Uh for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 17:04:14 +0200 Original-Received: from localhost ([::1]:38090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpBMr-0007Io-0O for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 11:04:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpBMg-0007ID-BY for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 11:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36147) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpBMg-0006ds-48 for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 11:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpBMg-0006MD-0b for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 11:04:02 -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 15:04: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.162281899824276 (code B ref 48804); Fri, 04 Jun 2021 15:04:01 +0000 Original-Received: (at 48804) by debbugs.gnu.org; 4 Jun 2021 15:03:18 +0000 Original-Received: from localhost ([127.0.0.1]:47693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpBLu-0006JI-Le for submit@debbugs.gnu.org; Fri, 04 Jun 2021 11:03:18 -0400 Original-Received: from algon.dk ([212.99.233.66]:56624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpBLp-0006Ih-B4 for 48804@debbugs.gnu.org; Fri, 04 Jun 2021 11:03:12 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by algon.dk (Postfix) with ESMTP id A66B520062; Fri, 4 Jun 2021 17:03:03 +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 H_odj7WvVuTl; Fri, 4 Jun 2021 17:03:02 +0200 (CEST) Original-Received: from smtpclient.apple (unknown [85.83.136.51]) by algon.dk (Postfix) with ESMTPA id 7CC222004F; Fri, 4 Jun 2021 17:03:02 +0200 (CEST) In-Reply-To: X-Mailbutler-Message-Id: B842EC4A-F171-40F1-9812-0BC22E8F908A 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:208023 Archived-At: --Apple-Mail=_20EC2E29-6F6F-4BEC-8776-3654F99E3B81 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I cannot get version 11 through Homebrew, the gewest I can get is = 10.2.0_4 I=E2=80=99ll take out the eksport CC=3D from my .zshrc and try again mvh Niels > Den 4. jun. 2021 kl. 16.43 skrev Alan Third : >=20 > On Fri, Jun 04, 2021 at 05:15:23PM +0300, Eli Zaretskii wrote: >>> From: Niels S=C3=B8ndergaard >>> Date: Fri, 4 Jun 2021 16:08:10 +0200 >>> Cc: Niels S=C3=B8ndergaard , >>> Alan Third , >>> Konrad Podczeck , >>> 48804@debbugs.gnu.org >>>=20 >>> Yes, 10.2.0_4 >>>=20 >>> installed by Homebrew ben default on my machine >>=20 >> That's the problem: AFAIK Emacs cannot be built on macOS with GCC. >> And I don't think not specifying --with-ns avoids that problem. >=20 > --with-ns is the default on macOS, so to build with GCC you need to > specify --without-ns. But that's probably not what's wanted here. >=20 > Neils, if you followed the suggestion elsewhere in this thread to set > CC, please undo that and let configure find clang. >=20 > Make sure you have the latest libgccjit installed with homebrew > (version 11?). >=20 > --=20 > Alan Third --Apple-Mail=_20EC2E29-6F6F-4BEC-8776-3654F99E3B81 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I = cannot get version 11 through Homebrew, the gewest I can get is = 10.2.0_4
I=E2=80=99ll take out the eksport CC=3D from my = .zshrc
and try again

mvh
Niels

Den 4. jun. 2021 kl. 16.43 skrev Alan Third <alan@idiocy.org>:

On Fri, Jun 04, 2021 at 05:15:23PM +0300, Eli Zaretskii = wrote:
From: Niels S=C3=B8ndergaa= rd <nisoni@algon.dk>
Date: Fri, 4 Jun 2021 = 16:08:10 +0200
Cc: Niels S=C3=B8ndergaard <nisoni@algon.dk>,
Alan Third <alan@idiocy.org>,
Konrad Podczeck <konrad.podczeck@univie.ac.at>,
48804@debbugs.gnu.org

Yes, = 10.2.0_4

installed by Homebrew ben default = on my machine

That's the = problem: AFAIK Emacs cannot be built on macOS with GCC.
And = I don't think not specifying --with-ns avoids that problem.

--with-ns is the default on macOS, so to build with GCC you = need to
specify = --without-ns. But that's probably not what's wanted here.

Neils, if you followed the = suggestion elsewhere in this thread to set
CC, please undo that and let configure find clang.

Make sure you have the latest = libgccjit installed with homebrew
(version 11?).

-- Alan = Third

3D""= --Apple-Mail=_20EC2E29-6F6F-4BEC-8776-3654F99E3B81--