nobu (Nobuyoshi Nakada) wrote in #note-1:
Could you share AC_CHECK_TYPE([NET_LUID], ...) part in your config.log?
I see, maybe there is a compiler bug, produce a Segmentation fault in NET_LUID check
configure:13208: checking for NET_LUID
configure:13208: cc -c  -O3 -fno-omit-frame-pointer -fno-fast-math -ggdb3   -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT conftest.c >&5
conftest.c:54:1: internal compiler error: Segmentation fault
   54 | }
      | ^
libbacktrace could not find executable to open
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://github.com/msys2/MINGW-packages/issues> for instructions.
configure:13208: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define RUBY_ABI_VERSION 0
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define STDC_HEADERS 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define RUBY_MSVCRT_VERSION 60
| #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
| #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
| #define HAVE_STMT_AND_DECL_IN_EXPR 1
| #define THREAD_IMPL_H "thread_win32.h"
| #define THREAD_IMPL_SRC "thread_win32.c"
| /* end confdefs.h.  */
| #include <winsock2.h>
| 			      #include <iphlpapi.h>
| 
| int
| main (void)
| {
| if (sizeof (NET_LUID))
| 	 return 0;
|   ;
|   return 0;
| }
While in another run, a different failure
configure:13208: cc -c  -O3 -fno-omit-frame-pointer -fno-fast-math -ggdb3   -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT conftest.c >&5
conftest.c: In function 'main':
conftest.c:50:23: error: expected expression before ')' token
   50 | if (sizeof ((NET_LUID)))
      |                       ^
configure:13208: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define RUBY_ABI_VERSION 0
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define STDC_HEADERS 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define RUBY_MSVCRT_VERSION 60
| #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
| #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
| #define HAVE_STMT_AND_DECL_IN_EXPR 1
| #define THREAD_IMPL_H "thread_win32.h"
| #define THREAD_IMPL_SRC "thread_win32.c"
| /* end confdefs.h.  */
| #include <winsock2.h>
| 			      #include <iphlpapi.h>
| 
| int
| main (void)
| {
| if (sizeof ((NET_LUID)))
| 	    return 0;
|   ;
|   return 0;
| }
And when I clean the project folder run configure and make again.
Stop with this message
make: *** No rule to make target 'coroutine/win64/Context.S', needed by 'coroutine/win64/Context.o'.  Stop.
make clean wrong cleared Context.S file