Subject: Re: bug#56738: Cannot find libgccjit.dylib on macOS

From: Stefan Kangas <[email-masked]>
Date: Thu, 4 Aug 2022 14:14:07 +0000

Eli Zaretskii <[email-masked]> writes:

>> From: Kevin Morio <[email-masked]>
>> Date: Sun, 24 Jul 2022 12:15:17 +0200
>>
>> Dear Emacs maintainers,
>>
>> Emacs 28.1.90 (282dde887db163b25b31fba3bf10a80f2b93203c) fails to build on
>> macOS 12.4 when configured with the following invocation:
>>
>> ./configure —with-native-compilation
>> ...
>> usage: dirname string [...]
>> 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.
>>
>> This is the same bug as bug#55173 which has been reported for
>>   Emacs 29.0.50 (a41a181db5f3aca043ed42b228dc56a6403c21a5)
>> and fixed in commit
>>   faa29fa2c9e9d5a5d7544a1a39b2a89cf57a8439
>> with the following patch
>
> Thanks, I've now cherry-picked that change to the emacs-28 branch, and
> it will be part of the upcoming Emacs 28.2.

No further comments within a week, so I'm closing this bug report.