[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: |
Alan Third |
Subject: |
Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur) |
Date: |
Mon, 13 Sep 2021 19:19:57 +0100 |
On Mon, Sep 13, 2021 at 09:06:06PM +0900, Jean-Christophe Helary wrote:
>
>
> > On Sep 12, 2021, at 20:59, Alan Third <alan@idiocy.org> wrote:
>
> > What this tells me is that either this simple bit of shell script
> > behaves entirely differently when run interactively vs when run within
> > configure, or... perhaps there's some other problem causing the
> > failure further on?
>
> Here is the error:
>
> checking for dlfunc... no
> checking for gcc_jit_context_acquire in -lgccjit... 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:
> <https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html>.
> You can try compiling it yourself to investigate the issues.
> Please report the issue to your distribution if libgccjit was installed
> through that.
> You can find the instructions on how to compile and install libgccjit from
> source on this site:
> <https://gcc.gnu.org/wiki/JIT>.
>
> > Please resend config.log.
>
> offlist.
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...?
On the plus side, it does look like my last patch is probably doing
the right thing.
--
Alan Third
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), (continued)
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/08
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/09
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/09
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/10
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Eli Zaretskii, 2021/09/11
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/10
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/11
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/12
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/12
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur),
Alan Third <=
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/14
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/14