emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur)


From: Jean-Christophe Helary
Subject: Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur)
Date: Tue, 14 Sep 2021 07:04:30 +0900


> On Sep 14, 2021, at 3:42, Alan Third <alan@idiocy.org> wrote:
> 
> On Mon, Sep 13, 2021 at 07:19:57PM +0100, Alan Third wrote:
>> Here's the real error:
>> 
>> configure:16948: ./conftest
>> ld: library not found for -lgcc_ext.10.5
>> libgccjit.so: error: error invoking gcc driver
>> 
>> 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=48815

But I don't know what to make of that. Sorry.

> 
> 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  master [$✘!?] 
➜ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr 
--with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/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

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]