Re: [BUG] Compilation warnings with 29.4

Corwin Brust <[email protected]> Sat, 13 Jul 2024 05:27:35 -0500
Newsgroups gmane.emacs.windows
Message-ID <CAJf-WoRFofGvhJX695r0jYo7rXnUwTMh6Dus43haCHdBZqFw9A@mail.gmail.com>
On Thu, Jul 11, 2024 at 7:21=E2=80=AFAM Eli Zaretskii <[email protected]> wrote:
>
> > From: Joel Reicher <[email protected]>
> > Cc: [email protected]
> > Date: Thu, 11 Jul 2024 21:58:27 +1000
> >
> > Eli Zaretskii <[email protected]> writes:
> >
> > >> From: Joel Reicher <[email protected]>
> > >> Cc: [email protected]
> > >> Date: Thu, 11 Jul 2024 10:45:41 +1000
> > >>
> > >> Eli Zaretskii <[email protected]> writes:
> > >>
> > >>> AFAICT, the installer was also updated.  If you are sure you
> > >>> installed the new version, perhaps you should completely
> > >>> uninstall the previous one first?
> > >>
> > >> I had already completely uninstalled first (including checking
> > >> the directory manually to see it was empty).
> > >
> > > AFAIK, at least one other person confirmed that this new
> > > distribution fixed the problem.
> > >
> > > AFAIR, the problem was caused by the fact that libgccjit was
> > > present, but as.exe was not.  So if you have libgccjit DLL
> > > somewhere on your system, either on PATH or in the same
> > > directory where emacs.exe lives, just getting it out of the way
> > > ore renaming it could be what you need.
> >
> > >From the installer itself there is a
> >
> > c:/Program Files/Emacs/emacs-29.4/bin/libgccjit-0.dll
> >
> > But doesn't setting `native-comp-jit-compilation' to nil
> > accomplish the same workaround a little more easily? (I added this
> > to my early-init yesterday while I'm figuring out the problem.)
> >
> > Also I think that DLL is missing from emacs-29.4.zip. Was that the
> > "packaging error"; i.e. should it *not* be present in the
> > installer exe?
>
> It should have been absent from both of them.
>

I'm unable to replicate the issue using the 29.4 binaries I most
recently posted - I can only suggest ensuring all other installations
of Emacs (and GCC/libgccjit) are removed (at least from the Windows
path) and downloading again and doing a fresh install from the
installer.