From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur) Date: Tue, 14 Sep 2021 07:04:30 +0900 Message-ID: References: <5F33DEC8-5272-41B7-A113-32A69A2E7357@traduction-libre.org> <07148D36-9963-4048-AF82-582FF09B5EB2@traduction-libre.org> <06FC1F7D-92CF-4722-AB6F-1B698F48082B@traduction-libre.org> <608CDAE6-7F71-4193-90A0-B145B5A0F0A3@traduction-libre.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) 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="27984"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs Devel To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 14 00:06:40 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mPu63-00073Y-Kt for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Sep 2021 00:06:39 +0200 Original-Received: from localhost ([::1]:49378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPu62-0002J2-CB for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Sep 2021 18:06:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPu4A-0000JH-PT for emacs-devel@gnu.org; Mon, 13 Sep 2021 18:04:42 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:38757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPu48-0006Tw-5c for emacs-devel@gnu.org; Mon, 13 Sep 2021 18:04:42 -0400 Original-Received: (Authenticated sender: lists@traduction-libre.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 36A7B1BF204; Mon, 13 Sep 2021 22:04:34 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=217.70.183.201; envelope-from=lists@traduction-libre.org; helo=relay8-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274670 Archived-At: > On Sep 14, 2021, at 3:42, Alan Third wrote: >=20 > On Mon, Sep 13, 2021 at 07:19:57PM +0100, Alan Third wrote: >> Here's the real error: >>=20 >> configure:16948: ./conftest >> ld: library not found for -lgcc_ext.10.5 >> libgccjit.so: error: error invoking gcc driver >>=20 >> I have no idea what gcc_ext.10.5 is about. That's not part of the >> Homebrew libgccjit install, but it does appear to be part of gcc. >> Perhaps you need to install Homebrew's gcc as well? But surely it's a >> dependency...? It looks like an old issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48815 But I don't know what to make of that. Sorry. >=20 > Actually, it occurs to me that you said the problems occur when you > install llvm under Macports... I don't know how this stuff all ties > together, so is it possible that installing llvm is changing your > environment in some way that breaks the gcc install from brew? I don't have gcc on brew. My gcc is clang from Apple: emacs on =EE=82=A0 master [$=E2=9C=98!?]=20 =E2=9E=9C gcc --version Configured with: --prefix=3D/Library/Developer/CommandLineTools/usr = --with-gxx-include-dir=3D/Library/Developer/CommandLineTools/SDKs/MacOSX.s= dk/usr/include/c++/4.2.1 Apple clang version 12.0.5 (clang-1205.0.22.11) Target: x86_64-apple-darwin20.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin --=20 Jean-Christophe Helary @brandelune https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/