From: Alan Third <alan@idiocy.org>
To: Jean-Christophe Helary <lists@traduction-libre.org>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur)
Date: Mon, 13 Sep 2021 19:19:57 +0100 [thread overview]
Message-ID: <YT+WTXF82bFpM8Nq@idiocy.org> (raw)
In-Reply-To: <608CDAE6-7F71-4193-90A0-B145B5A0F0A3@traduction-libre.org>
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
next prev parent reply other threads:[~2021-09-13 18:19 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-15 6:10 ./configure --with-native-compilation on macos (11.5.2 Big Sur) Jean-Christophe Helary
2021-08-16 17:18 ` Alan Third
2021-08-17 0:59 ` Jean-Christophe Helary
2021-08-17 1:02 ` Jean-Christophe Helary
2021-08-17 19:45 ` Alan Third
2021-08-20 6:29 ` Jean-Christophe Helary
2021-08-21 4:43 ` Jean-Christophe Helary
2021-08-21 9:47 ` Alan Third
2021-09-05 13:07 ` Alan Third
2021-09-05 13:22 ` Jean-Christophe Helary
2021-09-06 3:24 ` Alan Third
2021-09-06 3:46 ` Jean-Christophe Helary
2021-09-06 6:27 ` Jean-Christophe Helary
2021-09-06 6:43 ` Jean-Christophe Helary
2021-09-06 7:10 ` Jean-Christophe Helary
2021-09-06 7:34 ` Stefan Kangas
2021-09-06 7:38 ` Jean-Christophe Helary
2021-09-06 7:52 ` Stefan Kangas
2021-09-06 10:33 ` Eli Zaretskii
2021-09-06 12:12 ` Jean-Christophe Helary
2021-09-06 12:34 ` Eli Zaretskii
2021-09-06 9:45 ` Jean-Christophe Helary
2021-09-06 20:01 ` Alan Third
2021-09-06 23:50 ` Jean-Christophe Helary
2021-09-13 22:55 ` Jean-Christophe Helary
2021-09-08 7:34 ` Lars Ingebrigtsen
2021-09-08 15:31 ` Alan Third
2021-09-08 20:59 ` Alan Third
2021-09-08 21:15 ` Alan Third
2021-09-08 23:44 ` Jean-Christophe Helary
2021-09-09 21:07 ` Alan Third
2021-09-10 0:35 ` Jean-Christophe Helary
2021-09-10 20:53 ` Alan Third
2021-09-11 5:54 ` Eli Zaretskii
2021-09-11 0:30 ` Jean-Christophe Helary
2021-09-11 16:17 ` Alan Third
2021-09-12 8:47 ` Jean-Christophe Helary
2021-09-12 11:59 ` Alan Third
2021-09-13 12:06 ` Jean-Christophe Helary
2021-09-13 18:19 ` Alan Third [this message]
2021-09-13 18:42 ` Alan Third
2021-09-13 22:04 ` Jean-Christophe Helary
2021-09-13 22:08 ` Alan Third
2021-09-13 22:24 ` Jean-Christophe Helary
2021-09-13 22:56 ` Jean-Christophe Helary
2021-09-14 15:22 ` Alan Third
2021-09-14 17:10 ` Jean-Christophe Helary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YT+WTXF82bFpM8Nq@idiocy.org \
--to=alan@idiocy.org \
--cc=emacs-devel@gnu.org \
--cc=lists@traduction-libre.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).