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: Thu, 9 Sep 2021 08:44:47 +0900


> On Sep 9, 2021, at 0:31, Alan Third <alan@idiocy.org> wrote:
> 
> On Mon, Sep 06, 2021 at 06:45:58PM +0900, Jean-Christophe Helary wrote:
>>>>> What is the result of
>>>>> 
>>>>> port installed active | grep '^ *gcc@<:@0-9@:>@* ' | awk '{ print $1; }'
>>>> 
>>>> the result is a blank line
> <snip>
>>> Totally removing macports allowed me to properly run ./configure 
>>> --with-native-compilation
>>> I am currently "make"ing emacs.
>>> 
>>> There are some apps that I need from macport so I'll reinstall it from 
>>> scratch.
>> 
>> Alan,
>> 
>> I confirm that reinstalling llvm through macports makes the issue
>> appear again. So there is indeed a conflict between brew and
>> macports here.
> 
> Can you please send the output from 'port installed active'?

============
port installed active
The following ports are currently installed:
  bzip2 @1.0.8_0 (active)
  gettext @0.19.8.1_2 (active)
  icu @67.1_4 (active)
  libcxx @5.0.1_4 (active)
  libedit @20210216-3.1_0 (active)
  libffi @3.4.2_0 (active)
  libiconv @1.16_1 (active)
  libxml2 @2.9.12_1 (active)
  llvm-10 @10.0.1_2 (active)
  llvm_select @2_0 (active)
  ncurses @6.2_1 (active)
  openssl @1.1.1l_0 (active)
  readline @8.1.000_0 (active)
  xar @1.8.0.452_0 (active)
  xz @5.2.5_0 (active)
  zlib @1.2.11_0 (active)
============

Also, just if that matters:

============
brew info libgccjit
libgccjit: stable 11.2.0 (bottled), HEAD
JIT library for the GNU compiler collection
https://gcc.gnu.org/
/usr/local/Cellar/libgccjit/11.2.0 (14 files, 36.3MB) *
  Poured from bottle on 2021-09-07 at 13:10:59
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/libgccjit.rb
License: GPL-3.0-or-later with GCC-exception-3.1
==> Dependencies
Required: gmp ✔, isl ✔, libmpc ✔, mpfr ✔
==> Options
--HEAD
        Install HEAD version
============
which gcc
/usr/bin/gcc
============
gcc -v
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
============

And the third version of the patch you sent produced the same error... :(

I have just totally removed brew and macports to remove all the cruft and 
reinstalled only the packages that I needed (and their dependencies).

-- 
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]