Subject: 28.0.50; Emacs with native-complication failed with latest commit (after 6767e556) in Windows
From: Kiên Nguyễn Quang <[email-masked]>
To: [email-masked]
Date: Wed, 1 Sep 2021 19:23:23 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

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