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:15:30 +0200 Message-ID: <1741ADC5-FF2A-4FDA-A448-BBE82B44525F@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> <587B61A2-0B53-49A7-8039-96DD7C3C24DA@algon.dk> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_F4F9661D-03A5-4619-8F72-0B024A6FA0B5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25736"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , konrad.podczeck@univie.ac.at, 48804@debbugs.gnu.org To: Niels =?UTF-8?Q?S=C3=B8ndergaard?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 04 17:17:12 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 1lpBZP-0006Uc-OG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 17:17:11 +0200 Original-Received: from localhost ([::1]:47330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpBZO-0006ge-8A for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 11:17:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpBZG-0006eH-F6 for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 11:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36173) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpBZG-0007g7-7N for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 11:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpBZG-00076c-2X for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 11:17: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:17:02 +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.162281976327095 (code B ref 48804); Fri, 04 Jun 2021 15:17:02 +0000 Original-Received: (at 48804) by debbugs.gnu.org; 4 Jun 2021 15:16:03 +0000 Original-Received: from localhost ([127.0.0.1]:47719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpBYE-00072K-Uj for submit@debbugs.gnu.org; Fri, 04 Jun 2021 11:16:03 -0400 Original-Received: from algon.dk ([212.99.233.66]:56706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpBY8-00071U-RM for 48804@debbugs.gnu.org; Fri, 04 Jun 2021 11:15:57 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by algon.dk (Postfix) with ESMTP id AE8C020062; Fri, 4 Jun 2021 17:15:46 +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 wmuI5MkqLxGy; Fri, 4 Jun 2021 17:15:44 +0200 (CEST) Original-Received: from smtpclient.apple (unknown [85.83.136.51]) by algon.dk (Postfix) with ESMTPA id 884FE2004F; Fri, 4 Jun 2021 17:15:44 +0200 (CEST) In-Reply-To: <587B61A2-0B53-49A7-8039-96DD7C3C24DA@algon.dk> X-Mailbutler-Message-Id: D7AC5766-E5C8-4786-9662-21C5C93A85DE 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:208024 Archived-At: --Apple-Mail=_F4F9661D-03A5-4619-8F72-0B024A6FA0B5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 hello with: ./configure --without-ns --with-x-toolkit=3Dno = -with-native-compilation --with-mailutils which is not what I really wants, we=E2=80=99re back to the original failure: checking libgccjit.h usability... yes checking libgccjit.h presence... yes checking for libgccjit.h... yes configure: error: The installed libgccjit failed to compile and run a = test program using the libgccjit library; see config.log for the details of the failure. The test program can be found here: . You can try compiling it yourself to investigate the issues. Please report the issue to your distribution if libgccjit was installed through that. mvh Niels > Den 4. jun. 2021 kl. 17.02 skrev Niels S=C3=B8ndergaard = : >=20 > 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 >=20 > mvh > Niels >=20 >> 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 >=20 --Apple-Mail=_F4F9661D-03A5-4619-8F72-0B024A6FA0B5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
hello

with: ./configure --without-ns --with-x-toolkit=3Dno = -with-native-compilation --with-mailutils
which is = not what I really wants,

we=E2=80=99re back to the original failure:


checking libgccjit.h usability... yes
checking libgccjit.h presence... yes
checking for libgccjit.h... yes
configure:= error: The installed libgccjit failed to compile and run a test program = using
the libgccjit library; see config.log for the = details of the failure.
The test program can be = found here:
You can try compiling it yourself to investigate = the issues.
Please report the issue to your = distribution if libgccjit was installed
through = that.


mvh
Niels

Den 4. jun. 2021 kl. 17.02 skrev Niels = S=C3=B8ndergaard <nisoni@algon.dk>:

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=_F4F9661D-03A5-4619-8F72-0B024A6FA0B5--