* bug#56738: Cannot find libgccjit.dylib on macOS
@ 2022-07-24 10:15 Kevin Morio
2022-07-24 12:51 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Morio @ 2022-07-24 10:15 UTC (permalink / raw)
To: 56738
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
diff --git a/configure.ac b/configure.ac
index 741a1a31df..03eb9783a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3844,7 +3844,7 @@ AC_DEFUN
MAC_CFLAGS="-I$(dirname $($BREW ls -v libgccjit | \
grep libgccjit.h))"
MAC_LIBS="-L$(dirname $($BREW ls -v libgccjit| \
- grep libgccjit.so\$))"
+ grep -E 'libgccjit\.(so|dylib)$'))"
fi
fi
Thanks,
Kevin Morio
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#56738: Cannot find libgccjit.dylib on macOS
2022-07-24 10:15 bug#56738: Cannot find libgccjit.dylib on macOS Kevin Morio
@ 2022-07-24 12:51 ` Eli Zaretskii
2022-08-04 14:14 ` Stefan Kangas
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2022-07-24 12:51 UTC (permalink / raw)
To: Kevin Morio; +Cc: 56738
> From: Kevin Morio <kevin@morio.me>
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#56738: Cannot find libgccjit.dylib on macOS
2022-07-24 12:51 ` Eli Zaretskii
@ 2022-08-04 14:14 ` Stefan Kangas
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2022-08-04 14:14 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Kevin Morio, 56738-done
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Kevin Morio <kevin@morio.me>
>> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-04 14:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-24 10:15 bug#56738: Cannot find libgccjit.dylib on macOS Kevin Morio
2022-07-24 12:51 ` Eli Zaretskii
2022-08-04 14:14 ` Stefan Kangas
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).