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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69912 in the body.
You can then email your comments to 69912 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#69912; Package emacs. (Wed, 20 Mar 2024 10:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 20 Mar 2024 10:56:02 GMT) Full text and rfc822 format available.

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

From: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: configure tries to find libgccjit when --with-native-compilation=no
Date: Wed, 20 Mar 2024 11:47:38 +0100
[Message part 1 (text/plain, inline)]
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.

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69912; Package emacs. (Wed, 20 Mar 2024 13:12:02 GMT) Full text and rfc822 format available.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69912; Package emacs. (Wed, 20 Mar 2024 13:42:01 GMT) Full text and rfc822 format available.

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

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: Re: 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69912; Package emacs. (Wed, 20 Mar 2024 13:56:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <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 15:14:33 +0200
> From: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
> Date: Wed, 20 Mar 2024 11:47:38 +0100
> 
> 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:

Is that backslash that is missing there after -O3 indeed missing?  If
so, please try with the missing backslash.

If that doesn't help, please post your config.log here, so we could
examine it and try to understand why the configure script is testing
libgccjit even though you said --with-native-compilation=no.  I have
the current master built on 2 different systems without
native-compilation, and I don't see these tests at configure time on
those systems.  (Are you seeing this with the master branch or some
other branch, btw?)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69912; Package emacs. (Wed, 20 Mar 2024 16:01:02 GMT) Full text and rfc822 format available.

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

From: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: Andrea Corallo <acorallo <at> gnu.org>, 69912 <at> debbugs.gnu.org
Subject: Re: bug#69912: configure tries to find libgccjit when
 --with-native-compilation=no
Date: Wed, 20 Mar 2024 16:57:57 +0100
[Message part 1 (text/plain, inline)]
Close this and apologies... I really need a break
/PA

On Wed, 20 Mar 2024 at 14:39, Gerd Möllmann <gerd.moellmann <at> gmail.com>
wrote:

> 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.
>


-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69912; Package emacs. (Wed, 20 Mar 2024 16:05:02 GMT) Full text and rfc822 format available.

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

From: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: Andrea Corallo <acorallo <at> gnu.org>, 69912 <at> debbugs.gnu.org
Subject: Re: bug#69912: configure tries to find libgccjit when
 --with-native-compilation=no
Date: Wed, 20 Mar 2024 17:02:01 +0100
[Message part 1 (text/plain, inline)]
However, if I don't say anything in the configuration, for example, about
treesitter, it will just say that the library is not there and not make
such a fuzz about it not being there ;-)

/PA

On Wed, 20 Mar 2024 at 16:57, Pedro Andres Aranda Gutierrez <
paaguti <at> gmail.com> wrote:

> Close this and apologies... I really need a break
> /PA
>
> On Wed, 20 Mar 2024 at 14:39, Gerd Möllmann <gerd.moellmann <at> gmail.com>
> wrote:
>
>> 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.
>>
>
>
> --
> Fragen sind nicht da, um beantwortet zu werden,
> Fragen sind da um gestellt zu werden
> Georg Kreisler
>
> Headaches with a Juju log:
> unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
> a leader-deposed hook here, but we can't yet
>
>

-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet
[Message part 2 (text/html, inline)]

Reply sent to Andrea Corallo <acorallo <at> gnu.org>:
You have taken responsibility. (Wed, 20 Mar 2024 16:29:02 GMT) Full text and rfc822 format available.

Notification sent to Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>:
bug acknowledged by developer. (Wed, 20 Mar 2024 16:29:02 GMT) Full text and rfc822 format available.

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

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

> Close this and apologies... I really need a break 
> /PA

Done

Thanks

  Andrea




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#69912; Package emacs. (Wed, 20 Mar 2024 16:47:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
Cc: gerd.moellmann <at> gmail.com, acorallo <at> gnu.org, 69912-done <at> debbugs.gnu.org
Subject: Re: bug#69912: configure tries to find libgccjit when
 --with-native-compilation=no
Date: Wed, 20 Mar 2024 18:45:47 +0200
> Cc: Andrea Corallo <acorallo <at> gnu.org>, 69912 <at> debbugs.gnu.org
> From: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>
> Date: Wed, 20 Mar 2024 16:57:57 +0100
> 
> Close this and apologies... I really need a break 

Closed.  No need to apologize: anyone could make a mistake.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 18 Apr 2024 11:25:27 GMT) Full text and rfc822 format available.

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.