From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Doug Davis Newsgroups: gmane.emacs.bugs Subject: bug#48804: 27.2; compilation emacs on macOS Date: Fri, 04 Jun 2021 12:04:01 -0400 Message-ID: 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12447"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) 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 18:26:07 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 1lpCe7-00034W-8N for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 18:26:07 +0200 Original-Received: from localhost ([::1]:35148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpCe6-0008SZ-6P for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Jun 2021 12:26:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpCJi-0004oL-SP for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 12:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpCJi-00072D-Hg for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 12:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpCJi-0001RG-BE for bug-gnu-emacs@gnu.org; Fri, 04 Jun 2021 12:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Doug Davis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jun 2021 16:05: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.16228226595374 (code B ref 48804); Fri, 04 Jun 2021 16:05:02 +0000 Original-Received: (at 48804) by debbugs.gnu.org; 4 Jun 2021 16:04:19 +0000 Original-Received: from localhost ([127.0.0.1]:47778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpCIw-0001OI-7z for submit@debbugs.gnu.org; Fri, 04 Jun 2021 12:04:19 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:55337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpCIs-0001Ne-0t for 48804@debbugs.gnu.org; Fri, 04 Jun 2021 12:04:13 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id AE2615C0126; Fri, 4 Jun 2021 12:04:04 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 04 Jun 2021 12:04:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ddavis.io; h= from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type:content-transfer-encoding; s=fm2; bh= 0Kux0KP4ZMudZ+EsAR8NWFx8dGB4eD/8kXTMMldRr4I=; b=wbdgTPYlE1vZPGyL V2Um4jD8oCR/TnkBdKBWNUf4Iz5p0ywzYoSl7MkopmyXsAq8VcvqPqrNb65qEALE 4X/Xz6fVgoRexXV/JnTUAmeJJuH4ihSsYMrTURzH97eZAy3EP6+oMZvHfS+xZDQM 2TlwwezYQPWz4cNZqvpPWr/eZFzCxxjef19LmAJ3hucjN3ZortI196O9Lc50hf/j qjUa9wbShUgWmugiD93a7ervZMoWId/6VCCZOKJlurAzzpjtuFr8rKzvcug7CM3y apv80LsEdg9jBqT92mMTOkfxQTU+ztoH3ud4frYxeU69FbZ8SIxY0Np2eebVty4P xQWixw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=0Kux0KP4ZMudZ+EsAR8NWFx8dGB4eD/8kXTMMldRr 4I=; b=sjJcwcnyQrJ/sZ5JlILyzvbUsurKX/Ok2bD4QejZRlEjHIloSJhXJoPGv wF9bXyHyqDLg0w3280B7lgcDMOj+gsv6NXpVGs9/GVgfJmUKC1a4kmR6sxqUEK2a umwMO1zCGU68ACOt7fmP+jxFS2LuPhv/TUP4/4q34B4pj8I/qAE83Ywd0wUV6pTu tPynyhunW70TruHQScjf8LBPrWdEh9gMCPBHJKN+YD9V/4YLia20I2j6JjfARn0z IcsXqaaS4ka7Sekkq3oKldsAOqOatd+ZAEtWg5wwlnFtue/AKZv44bNnQz/GHV+M UbTBe2w0/gpbhC46R8bat1fCXxMyA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedtuddgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufhfffgjkfgfgggtgfesthhqredttderjeenucfhrhhomhepffhouhhg ucffrghvihhsuceouggurghvihhsseguuggrvhhishdrihhoqeenucggtffrrghtthgvrh hnpedvkeffieeuteevveevhfekleduheetheekgeefheejgfdukeejgffhueetudegveen ucffohhmrghinhepsghrvgifrdhshhenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpeguuggrvhhishesuggurghvihhsrdhioh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 4 Jun 2021 12:04:02 -0400 (EDT) In-Reply-To: (Alan Third's message of "Fri, 4 Jun 2021 15:43:08 +0100") 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:208026 Archived-At: Alan Third writes: > 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 >> > >> > Yes, 10.2.0_4 >> > >> > installed by Homebrew ben default on my machine Homebrew provides binaries for gcc 11.1 and libgccjit 11.1. The libgccjit page quotes 11.1 as the current version (https://formulae.brew.sh/formula/libgccjit) Perhaps try to track down why your Homebrew installation isn't finding the latest formula? >> >> 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?). With the latest gcc & libgccjit installed I'm writing this email from the Emacs master branch on an M1 MacBook Air compiled with: $ CFLAGS=3D"-O3 -g3 -I/opt/homebrew/opt/libgccjit/include" LDFLAGS=3D"-L/op= t/homebrew/opt/libgccjit/lib/gcc/11/" ./configure --with-native-compilation $ make -j7 $ src/emacs