unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69912: configure tries to find libgccjit when --with-native-compilation=no
       [not found] <1920A1F3-CF34-4F0F-A3A2-B720D33DDEC9@gmail.com>
@ 2024-03-20 10:47 ` Pedro Andres Aranda Gutierrez
  2024-03-20 12:55   ` Andrea Corallo
  2024-03-20 13:14   ` Eli Zaretskii
  0 siblings, 2 replies; 8+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2024-03-20 10:47 UTC (permalink / raw)
  To: 69912

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]


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.


[-- Attachment #2: Type: text/html, Size: 2434 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#69912: configure tries to find libgccjit when --with-native-compilation=no
  2024-03-20 10:47 ` bug#69912: configure tries to find libgccjit when --with-native-compilation=no Pedro Andres Aranda Gutierrez
@ 2024-03-20 12:55   ` Andrea Corallo
  2024-03-20 13:39     ` Gerd Möllmann
  2024-03-20 13:14   ` Eli Zaretskii
  1 sibling, 1 reply; 8+ messages in thread
From: Andrea Corallo @ 2024-03-20 12:55 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: 69912

Pedro Andres Aranda Gutierrez <paaguti@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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#69912: configure tries to find libgccjit when --with-native-compilation=no
  2024-03-20 10:47 ` bug#69912: configure tries to find libgccjit when --with-native-compilation=no Pedro Andres Aranda Gutierrez
  2024-03-20 12:55   ` Andrea Corallo
@ 2024-03-20 13:14   ` Eli Zaretskii
  1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2024-03-20 13:14 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: 69912

> From: Pedro Andres Aranda Gutierrez <paaguti@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?)





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#69912: configure tries to find libgccjit when --with-native-compilation=no
  2024-03-20 12:55   ` Andrea Corallo
@ 2024-03-20 13:39     ` Gerd Möllmann
  2024-03-20 15:57       ` Pedro Andres Aranda Gutierrez
  0 siblings, 1 reply; 8+ messages in thread
From: Gerd Möllmann @ 2024-03-20 13:39 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: Pedro Andres Aranda Gutierrez, 69912

Andrea Corallo <acorallo@gnu.org> writes:

> Pedro Andres Aranda Gutierrez <paaguti@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#69912: configure tries to find libgccjit when --with-native-compilation=no
  2024-03-20 13:39     ` Gerd Möllmann
@ 2024-03-20 15:57       ` Pedro Andres Aranda Gutierrez
  2024-03-20 16:02         ` Pedro Andres Aranda Gutierrez
                           ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2024-03-20 15:57 UTC (permalink / raw)
  To: Gerd Möllmann; +Cc: Andrea Corallo, 69912

[-- Attachment #1: Type: text/plain, Size: 1832 bytes --]

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

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

> Andrea Corallo <acorallo@gnu.org> writes:
>
> > Pedro Andres Aranda Gutierrez <paaguti@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

[-- Attachment #2: Type: text/html, Size: 2748 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#69912: configure tries to find libgccjit when --with-native-compilation=no
  2024-03-20 15:57       ` Pedro Andres Aranda Gutierrez
@ 2024-03-20 16:02         ` Pedro Andres Aranda Gutierrez
  2024-03-20 16:27         ` Andrea Corallo
  2024-03-20 16:45         ` Eli Zaretskii
  2 siblings, 0 replies; 8+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2024-03-20 16:02 UTC (permalink / raw)
  To: Gerd Möllmann; +Cc: Andrea Corallo, 69912

[-- Attachment #1: Type: text/plain, Size: 2459 bytes --]

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@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@gmail.com>
> wrote:
>
>> Andrea Corallo <acorallo@gnu.org> writes:
>>
>> > Pedro Andres Aranda Gutierrez <paaguti@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

[-- Attachment #2: Type: text/html, Size: 3852 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#69912: configure tries to find libgccjit when --with-native-compilation=no
  2024-03-20 15:57       ` Pedro Andres Aranda Gutierrez
  2024-03-20 16:02         ` Pedro Andres Aranda Gutierrez
@ 2024-03-20 16:27         ` Andrea Corallo
  2024-03-20 16:45         ` Eli Zaretskii
  2 siblings, 0 replies; 8+ messages in thread
From: Andrea Corallo @ 2024-03-20 16:27 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: Gerd Möllmann, 69912-done

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

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

Done

Thanks

  Andrea





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#69912: configure tries to find libgccjit when --with-native-compilation=no
  2024-03-20 15:57       ` Pedro Andres Aranda Gutierrez
  2024-03-20 16:02         ` Pedro Andres Aranda Gutierrez
  2024-03-20 16:27         ` Andrea Corallo
@ 2024-03-20 16:45         ` Eli Zaretskii
  2 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2024-03-20 16:45 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: gerd.moellmann, acorallo, 69912-done

> Cc: Andrea Corallo <acorallo@gnu.org>, 69912@debbugs.gnu.org
> From: Pedro Andres Aranda Gutierrez <paaguti@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-03-20 16:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1920A1F3-CF34-4F0F-A3A2-B720D33DDEC9@gmail.com>
2024-03-20 10:47 ` bug#69912: configure tries to find libgccjit when --with-native-compilation=no Pedro Andres Aranda Gutierrez
2024-03-20 12:55   ` Andrea Corallo
2024-03-20 13:39     ` Gerd Möllmann
2024-03-20 15:57       ` Pedro Andres Aranda Gutierrez
2024-03-20 16:02         ` Pedro Andres Aranda Gutierrez
2024-03-20 16:27         ` Andrea Corallo
2024-03-20 16:45         ` Eli Zaretskii
2024-03-20 13:14   ` Eli Zaretskii

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