all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Niels Søndergaard" <nisoni@algon.dk>
Cc: alan@idiocy.org, nisoni@algon.dk, konrad.podczeck@univie.ac.at,
	48804@debbugs.gnu.org
Subject: bug#48804: 27.2; compilation emacs on macOS
Date: Fri, 04 Jun 2021 21:55:50 +0300	[thread overview]
Message-ID: <83v96tlart.fsf@gnu.org> (raw)
In-Reply-To: <1741ADC5-FF2A-4FDA-A448-BBE82B44525F@algon.dk> (message from Niels Søndergaard on Fri, 4 Jun 2021 17:15:30 +0200)

> From: Niels Søndergaard <nisoni@algon.dk>
> Date: Fri, 4 Jun 2021 17:15:30 +0200
> Cc: Alan Third <alan@idiocy.org>,
>  Eli Zaretskii <eliz@gnu.org>,
>  konrad.podczeck@univie.ac.at,
>  48804@debbugs.gnu.org
> 
> with: ./configure --without-ns --with-x-toolkit=no -with-native-compilation --with-mailutils
> which is not what I really wants,
> 
> we’re back to the original failure:
> 
> checking libgccjit.h usability... yes
> checking libgccjit.h presence... 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.

Don't set CC in the environment.  Instead, add the directory where the
gcc compiler driver (the 'gcc' executable file) is installed to your
PATH, but after the directory where clang is installed.  Also, make
sure you don't have on PATH a 'gcc' executable that actually calls
clang.

The problem is that you need clang as your compiler to build Emacs,
but you need to arrange for libgccjit to find 'gcc' and its C compiler
('cc1').






  reply	other threads:[~2021-06-04 18:55 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-03  5:54 bug#48804: 27.2; compilation emacs on macOS Niels Søndergaard
2021-06-03  6:46 ` Eli Zaretskii
2021-06-03  6:51   ` Niels Søndergaard
2021-06-03  7:49     ` Eli Zaretskii
2021-06-03  8:12       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-06-03  9:10         ` Niels Søndergaard
2021-06-03  9:21           ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-06-03  7:57     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-06-03  8:22 ` Konrad Podczeck
2021-06-03 21:34   ` Alan Third
2021-06-04  6:00     ` Eli Zaretskii
2021-06-04 11:52       ` Konrad Podczeck
2021-06-04 12:19         ` Niels Søndergaard
2021-06-04 12:23           ` Eli Zaretskii
2021-06-04 12:26             ` Alan Third
2021-06-04 12:32               ` Eli Zaretskii
2021-06-04 12:59                 ` Alan Third
2021-06-04 13:03                   ` Niels Søndergaard
2021-06-04 12:59                 ` Niels Søndergaard
2021-06-04 13:56                   ` Eli Zaretskii
2021-06-04 14:08                     ` Niels Søndergaard
2021-06-04 14:15                       ` Eli Zaretskii
2021-06-04 14:43                         ` Alan Third
2021-06-04 15:02                           ` Niels Søndergaard
2021-06-04 15:15                             ` Niels Søndergaard
2021-06-04 18:55                               ` Eli Zaretskii [this message]
2021-06-04 16:04                           ` Doug Davis
2021-06-04 14:33             ` Konrad Podczeck

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83v96tlart.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=48804@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=konrad.podczeck@univie.ac.at \
    --cc=nisoni@algon.dk \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.