Master commit:2f915e729ac8c66f4009f4b28a57773923d7e7d1
NET_LUID is not successfully checked in win32 configure.
When try to compile in msys2 mingw64-gcc there will be a error message like follow.
win32/win32.c:4365:7: error: conflicting types for 'NET_LUID'; have 'struct <anonymous>'
4365 | } NET_LUID;
| ^~~~~~~~
In file included from D:/msys64/mingw64/include/iptypes.h:17,
from D:/msys64/mingw64/include/iphlpapi.h:17,
from ./include/ruby/win32.h:40,
from ./include/ruby/internal/dosish.h:38,
from ./include/ruby/defines.h:78,
from ./include/ruby/ruby.h:25,
from win32/win32.c:24:
D:/msys64/mingw64/include/ifdef.h:106:3: note: previous declaration of 'NET_LUID' with type 'NET_LUID'
106 | } NET_LUID, *PNET_LUID;
| ^~~~~~~~
Mingw64-gcc has NET_LUID, when comment out line 4357-line 4367 in win32/win32.c in follow, compile will be successed.
gcc --version
gcc.exe (Rev4, Built by MSYS2 project) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
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
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
Finally, This configure problem is caused by a intel CPU instability problem (See https://community.intel.com/t5/Processors/July-2024-Update-on-Instability-Reports-on-Intel-Core-13th-and/m-p/1617113) and produce ICE. After change to a new CPU (or AMD), problem fixed.