unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: ccqpein <ccqpein@protonmail.com>
Cc: 57029@debbugs.gnu.org
Subject: bug#57029: macos cannot build emacs after updated gcc and libgccjit to 12.1
Date: Sun, 07 Aug 2022 09:50:11 +0300	[thread overview]
Message-ID: <83k07ky2cc.fsf@gnu.org> (raw)
In-Reply-To: <0XdlK8afi5tP0-XWF94oxykFhVRmcAQTkFlnCPZN5EF5KELu1gHJZo0NKuB1i-5wTN6mPsKDwB0513QAInRoG2tC2ra5_F8NssLG_Bjm99I=@protonmail.com> (bug-gnu-emacs@gnu.org)

merge 57029 57015
thanks

> Date: Sun, 07 Aug 2022 03:29:47 +0000
> From:  ccqpein via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> I just update the gcc and the libgccjit through `brew` tonight and find building the emacs from source has
> issue. 
> 
> after `./autogen.sh`, I ran the `./configure --with-native-compilation` (for simplifying) and got the error
> message that 
> 
> ```
> checking for gcc_jit_context_acquire in -lgccjit... no
> configure: error: ELisp native compiler was requested, but libgccjit was not found.
> Please try installing libgccjit or a similar package.
> If you are sure you want Emacs be compiled without ELisp native compiler,
> pass the --without-native-compilation option to configure.
> ```
> 
> I add `echo $MAC_CFLAGS` and `echo $MAC_LIBS` after line 4269 in `configure.ac` and I figure out it gives
> me the right including path of libgccjit 12. 
> 
> ```
> -I/usr/local/Cellar/libgccjit/12.1.0/include
> -L/usr/local/Cellar/libgccjit/12.1.0/lib/gcc/current /usr/local/Cellar/libgccjit/12.1.0/lib/gcc/12
> ```
> 
> my environment:
> 
> macOS 12.5
> intel CPU

Thanks, this is a duplicate of bug#57015.





  reply	other threads:[~2022-08-07  6:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-07  3:29 bug#57029: macos cannot build emacs after updated gcc and libgccjit to 12.1 ccqpein via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-07  6:50 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-06 11:38 bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0 Naofumi Yasufuku
2022-08-06 12:13 ` Eli Zaretskii
2022-08-06 15:13   ` Naofumi Yasufuku
     [not found]     ` <m1les1xrag.fsf@yasufuku.dev>
2022-08-06 16:44       ` Eli Zaretskii
2022-08-08  6:03         ` bug#57015: bug#57029: macos cannot build emacs after updated gcc and libgccjit to 12.1 Gerd Möllmann
2022-08-08  8:08           ` Andreas Schwab
2022-08-08 12:57             ` Gerd Möllmann
2022-08-07  9:57   ` bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0 Stefan Kangas
2022-08-07 12:58     ` bug#57029: macos cannot build emacs after updated gcc and libgccjit to 12.1 Lars Ingebrigtsen
2022-08-09 15:33 ` bug#57015: 29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0 Dario Gjorgjevski
2022-08-10 14:42   ` Naofumi Yasufuku
2022-08-10 15:52     ` Eli Zaretskii
2022-08-10 16:14       ` Stefan Kangas
2022-08-11 16:20         ` Eli Zaretskii
2022-08-16 13:28           ` Dario Gjorgjevski
2022-08-16 13:44             ` Eli Zaretskii
2022-08-16 13:58               ` Dario Gjorgjevski
2022-08-16 14:32                 ` Stefan Kangas
2022-08-16 15:52                   ` Eli Zaretskii
2022-08-19  7:24                     ` bug#57015: bug#57029: macos cannot build emacs after updated gcc and libgccjit to 12.1 Gerd Möllmann
2022-08-19  7:38                       ` Eli Zaretskii
2022-08-19  9:05                         ` Gerd Möllmann
2022-09-05 18:43                           ` Lars Ingebrigtsen

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=83k07ky2cc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=57029@debbugs.gnu.org \
    --cc=ccqpein@protonmail.com \
    /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).