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


Message #8 received at 69912 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <acorallo <at> gnu.org>
To: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
Cc: 69912 <at> debbugs.gnu.org
Subject: Re: bug#69912: configure tries to find libgccjit when
 --with-native-compilation=no
Date: Wed, 20 Mar 2024 08:55:48 -0400
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?

Thanks

  Andrea




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.