GNU bug report logs - #69912
configure tries to find libgccjit when --with-native-compilation=no

Previous Next

Package: emacs;

Reported by: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>

Date: Wed, 20 Mar 2024 10:56:02 UTC

Severity: normal

Done: Andrea Corallo <acorallo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Andrea Corallo <acorallo <at> gnu.org>
Cc: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>, 69912 <at> debbugs.gnu.org
Subject: bug#69912: configure tries to find libgccjit when --with-native-compilation=no
Date: Wed, 20 Mar 2024 14:39:40 +0100
Andrea Corallo <acorallo <at> gnu.org> writes:

> Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com> writes:
>
>> When I compile Emacs for macOS, I disable native-compilation for good:
>>
>> ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig \
>>             LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include” \
>>             CC=clang OBJC=clang CFLAGS="-g -O3”
>>             --with-ns --with-modules --with-jansson \
>>             --with-native-compilation=no
>>
>> I keep getting all these messages about GCCJIT:
>>
>> checking for gcc_jit_context_acquire in -lgccjit… no
>> configure: WARNING: Elisp native compiler can't be enabled as libgccjit was not
>> found.
>> Please try installing libgccjit or a similar package if you want to have it
>> enabled.
>> checking for libgccjit.h… no
>> configure: WARNING: Elisp native compiler can't be enabled as libgccjit header files
>> were not found.
>> Please try installing libgccjit-dev or a similar package if you want to have it
>> enabled
>>
>> I really DO NOT want notice compilation here…and I know that I’m doing.
>
> Mmmhh, I might be doing something wrong but I can't reproduce it with
> master on my GNU/Linux system.  Which version of Emacs are you
> compiling?

MacOS 14.4 here, using Homebrew and Emacs master.
I can't reproduce this.




This bug report was last modified 1 year and 61 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.