[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enabling native compilation by default when libgccjit is present
From: |
Eli Zaretskii |
Subject: |
Re: Enabling native compilation by default when libgccjit is present |
Date: |
Wed, 08 Dec 2021 15:21:58 +0200 |
> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Michael Heerdegen <michael_heerdegen@web.de>, emacs-devel@gnu.org
> Date: Wed, 08 Dec 2021 09:16:46 +0100
>
> On Dez 07 2021, Eli Zaretskii wrote:
>
> > You get additional warnings because each of the *.el files is compiled
> > in a separate Emacs process, which starts from a clean state. By
> > contrast, it may be the case that your code says something like
> >
> > (require 'foo)
> > ....
> > (require 'bar)
> >
> > and 'bar' uses some stuff in 'foo' under the assumption that 'foo' is
> > always loaded before 'bar'. Since native-compilation will compile
> > 'foo' and 'bar' separately, it will emit warnings.
>
> This is in no way dependent on native compilation, though.
Not directly, no. But in most cases, if you byte-compile or load a
file that has these two require's, the require'd files will not be
compiled, definitely not in separate sessions. Whereas with JIT
native-compilation, both of these do happen.
- Re: Enabling native compilation by default when libgccjit is present, (continued)
- Re: Enabling native compilation by default when libgccjit is present, Michael Heerdegen, 2021/12/03
- Re: Enabling native compilation by default when libgccjit is present, Eli Zaretskii, 2021/12/04
- Re: Enabling native compilation by default when libgccjit is present, Michael Heerdegen, 2021/12/06
- Re: Enabling native compilation by default when libgccjit is present, Michael Heerdegen, 2021/12/07
- Re: Enabling native compilation by default when libgccjit is present, Eli Zaretskii, 2021/12/07
- Re: Enabling native compilation by default when libgccjit is present, Michael Heerdegen, 2021/12/07
- Re: Enabling native compilation by default when libgccjit is present, Robert Pluim, 2021/12/08
- Re: Enabling native compilation by default when libgccjit is present, Michael Heerdegen, 2021/12/08
- Re: Enabling native compilation by default when libgccjit is present, Eli Zaretskii, 2021/12/08
- Re: Enabling native compilation by default when libgccjit is present, Andreas Schwab, 2021/12/08
- Re: Enabling native compilation by default when libgccjit is present,
Eli Zaretskii <=
- Re: Enabling native compilation by default when libgccjit is present, Michael Heerdegen, 2021/12/08
- Re: Enabling native compilation by default when libgccjit is present, Stefan Monnier, 2021/12/08
- Re: Enabling native compilation by default when libgccjit is present, Michael Heerdegen, 2021/12/09
- Re: Enabling native compilation by default when libgccjit is present, Andrea Corallo, 2021/12/09
- Re: Enabling native compilation by default when libgccjit is present, Stefan Monnier, 2021/12/09
- Re: Enabling native compilation by default when libgccjit is present, Michael Heerdegen, 2021/12/09
- Re: Enabling native compilation by default when libgccjit is present, Michael Heerdegen, 2021/12/09
- Re: Enabling native compilation by default when libgccjit is present, Eli Zaretskii, 2021/12/10
- Re: Enabling native compilation by default when libgccjit is present, Michael Heerdegen, 2021/12/10
- Re: Enabling native compilation by default when libgccjit is present, Eli Zaretskii, 2021/12/07