all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: 71916@debbugs.gnu.org
Subject: bug#71916: 31.0.50; build failure on MINGW64
Date: Wed, 03 Jul 2024 19:02:06 +0100	[thread overview]
Message-ID: <86jzi2l5gh.fsf@gmail.com> (raw)
In-Reply-To: <CAGAaD=xCUutFDpYWZ2AhURb=i64nd_cnHwXoTznDdFHnd-PGSA@mail.gmail.com>

On Wed 03 Jul 2024, Andrea Corallo wrote:

> leuven65 <leuven65@gmail.com> writes:
>
>> I found the latest version of both master and emacs-30 branch (from Monday) failed to be built on MINGW64 / windows10.
>> It failed when starting native compilation, error pops up "Cannot find libgccjit library" (from
>> comp-ensure-native-compiler), maybe the called function "load_gccjit_if_necessary / init_gccjit_functions" return error.
>>
>> But if to revert the change introduced by branch "savannah/scratch/windows-98" (merged on 2024/06/30), the build becomes
>> OK.
>>
>>  git revert 38179f85f8f7236d5de8d9a4333b6a1d4ded63f0
>>
>> So that maybe the issue is caused by the 3 commits in this branch.
>
> Hello leuven65,
>
> could you share the exact error you observe?
>
> Ccing Po Lo
>
> Thanks
>
>   Andrea

I've seen the same issue on emacs-30 and master branches. It seems to be
that emacs cannot find the libgccjit DLL after dumping.

Running emacs under gdb, and using a breakpoint on `redraw-display':

(gdb) r -Q
Starting program: C:\emacs\git\emacs\emacs-30\build\mingw64-x86_64-O2-native\src\emacs.exe -Q
[New Thread 11584.0x27b4]
[New Thread 11584.0x1f54]
[New Thread 11584.0x1ec8]
[New Thread 11584.0x2ad0]
[New Thread 11584.0x1a60]

Thread 1 hit Breakpoint 2, Fredraw_display () at C:/emacs/git/emacs/emacs-30/src/dispnew.c:3222

(gdb) pp Vlibrary_cache
((gccjit) (gccjit . t))

It seems odd that there are two entries here.

There is code at the end of syms_of_emacs in emacs.c that changes
Vdynamic_library_alist as a workaround for something similar, so have
other changes made that ineffective ?

    AndyM






  parent reply	other threads:[~2024-07-03 18:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-03 13:43 bug#71916: 31.0.50; build failure on MINGW64 leuven65
2024-07-03 13:52 ` Andrea Corallo
2024-07-03 14:11   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-03 16:24   ` leuven65
2024-07-03 18:02   ` Andy Moreton [this message]
2024-07-03 19:15     ` Eli Zaretskii
2024-07-03 21:47       ` Andy Moreton
2024-07-03 22:09         ` Andrea Corallo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86jzi2l5gh.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=71916@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.