unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* If I choose not to enable native-compile, why does configure complain so much?
@ 2024-03-20  9:20 Pedro Andres Aranda Gutierrez
  2024-03-20  9:46 ` Emanuel Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2024-03-20  9:20 UTC (permalink / raw)
  To: emacs-devel

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


Hi,

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 know what I’m doing and I don’t know why I get all these messages:

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.

Just a bit bored by unwanted messages…
/PA

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

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

* Re: If I choose not to enable native-compile, why does configure complain so much?
  2024-03-20  9:20 If I choose not to enable native-compile, why does configure complain so much? Pedro Andres Aranda Gutierrez
@ 2024-03-20  9:46 ` Emanuel Berg
  2024-03-20 10:05 ` Andrea Corallo
  2024-03-20 10:06 ` Andrea Corallo
  2 siblings, 0 replies; 5+ messages in thread
From: Emanuel Berg @ 2024-03-20  9:46 UTC (permalink / raw)
  To: emacs-devel

Pedro Andres Aranda Gutierrez wrote:

> 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 know what I'm doing and I don’t know why I get all these
> messages:
>
> checking for gcc_jit_context_acquire in -lgccjit... no

Maybe you missed an "\"?

-- 
underground experts united
https://dataswamp.org/~incal




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

* Re: If I choose not to enable native-compile, why does configure complain so much?
  2024-03-20  9:20 If I choose not to enable native-compile, why does configure complain so much? Pedro Andres Aranda Gutierrez
  2024-03-20  9:46 ` Emanuel Berg
@ 2024-03-20 10:05 ` Andrea Corallo
  2024-03-20 13:07   ` Eli Zaretskii
  2024-03-20 10:06 ` Andrea Corallo
  2 siblings, 1 reply; 5+ messages in thread
From: Andrea Corallo @ 2024-03-20 10:05 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: emacs-devel

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

> Hi,
>
> 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 know what I’m doing and I don’t know why I get all these messages:
>
> 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.
>
> Just a bit bored by unwanted messages…
> /PA

Hello Pedro,

no need to be frustrated, this is just a bug :)

Could you please report it as a bug so we can track it [1]? (emacs-devel
is not used for bugs)

Thanks

  Andrea

[1] <https://www.gnu.org/software/emacs/manual/html_node/emacs/Bugs.html>



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

* Re: If I choose not to enable native-compile, why does configure complain so much?
  2024-03-20  9:20 If I choose not to enable native-compile, why does configure complain so much? Pedro Andres Aranda Gutierrez
  2024-03-20  9:46 ` Emanuel Berg
  2024-03-20 10:05 ` Andrea Corallo
@ 2024-03-20 10:06 ` Andrea Corallo
  2 siblings, 0 replies; 5+ messages in thread
From: Andrea Corallo @ 2024-03-20 10:06 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: emacs-devel

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

> Hi,
>
> 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 know what I’m doing and I don’t know why I get all these messages:
>
> 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.
>
> Just a bit bored by unwanted messages…
> /PA

Hello Pedro,

no need to be frustrated, this is just a bug :)

Could you please report it as a bug [1] so we can track it and handle it
in the bug tracker?  (emacs-devel is not used for bugs)

Thanks

  Andrea

[1] <https://www.gnu.org/software/emacs/manual/html_node/emacs/Bugs.html>



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

* Re: If I choose not to enable native-compile, why does configure complain so much?
  2024-03-20 10:05 ` Andrea Corallo
@ 2024-03-20 13:07   ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2024-03-20 13:07 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: paaguti, emacs-devel

> From: Andrea Corallo <acorallo@gnu.org>
> Cc: emacs-devel <emacs-devel@gnu.org>
> Date: Wed, 20 Mar 2024 06:05:14 -0400
> 
> Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
> 
> > Hi,
> >
> > 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 know what I’m doing and I don’t know why I get all these messages:
> >
> > 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.
> >
> > Just a bit bored by unwanted messages…
> > /PA
> 
> Hello Pedro,
> 
> no need to be frustrated, this is just a bug :)

Are we sure there's a bug?  My reading of configure.ac is that the
libgccjit test is only done if the value of with_native-compilation is
"default", but not if it is "no".  So I suspect some cockpit error;
perhaps the command was typed incorrectly?



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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-20  9:20 If I choose not to enable native-compile, why does configure complain so much? Pedro Andres Aranda Gutierrez
2024-03-20  9:46 ` Emanuel Berg
2024-03-20 10:05 ` Andrea Corallo
2024-03-20 13:07   ` Eli Zaretskii
2024-03-20 10:06 ` Andrea Corallo

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