Subject: Re: bug#50315: 28.0.50; Emacs with native-complication failed with latest commit (after 6767e556) in Windows

From: Andrea Corallo <[email-masked]>
Date: Wed, 01 Sep 2021 12:31:16 +0000

Kiên Nguyễn Quang <[email-masked]> writes:

> Build error failure:
>
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: comp.o: in function
> `define_cast_from_to':
> D:/a/emacs-build/emacs-build/git/master/src/comp.c:3159: undefined reference to `gcc_jit_context_new_cast'
> ...
>
> This is due to `gcc_jit_context_new_cast' is not loaded from dll.
> The proposed fix is attached.
>
> Best regards,
> Kien

Hi Kiên,

thanks for working on this!

Do you have the copyright assigment paperwork done?  Also paches should
come with a changelog entry (see the CONTRIBUTE file).

Thanks!

  Andrea