checking for --enable-debug-build option... -------------------- no

--------------------

pkg_config: checking for pkg-config for libffi... -------------------- not found

package configuration for libffi is not found
--------------------

have_header: checking for ffi.h... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed     -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt   -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return !!argv[argc];
8: }
/* end */

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ffi.h>
/* end */

--------------------

have_library: checking for -lffi... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed     -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -lffi  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: 
18: int t(void) { ; return 0; }
/* end */

--------------------

have_func: checking for ffi_prep_cif_var() in ffi.h... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -lffi  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -lffi  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <ffi.h>
 6: 
 7: /*top*/
 8: extern int t(void);
 9: int main(int argc, char **argv)
10: {
11:   if (argc > 1000000) {
12:     int (* volatile tp)(void)=(int (*)(void))&t;
13:     printf("%d", (*tp)());
14:   }
15: 
16:   return !!argv[argc];
17: }
18: int t(void) { void ((*volatile p)()); p = (void ((*)()))ffi_prep_cif_var; return !p; }
/* end */

--------------------

have_header: checking for sys/mman.h... -------------------- no

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include   -c conftest.c"
conftest.c:5:10: fatal error: sys/mman.h: No such file or directory
    5 | #include <sys/mman.h>
      |          ^~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/mman.h>
/* end */

--------------------

have_header: checking for link.h... -------------------- no

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include   -c conftest.c"
conftest.c:5:10: fatal error: link.h: No such file or directory
    5 | #include <link.h>
      |          ^~~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <link.h>
/* end */

--------------------

have_header: checking for dlfcn.h... -------------------- no

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include   -c conftest.c"
conftest.c:5:10: fatal error: dlfcn.h: No such file or directory
    5 | #include <dlfcn.h>
      |          ^~~~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <dlfcn.h>
/* end */

--------------------

have_header: checking for windows.h... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <windows.h>
/* end */

--------------------

have_func: checking for LoadLibrary()... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -lffi  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -lffi  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))LoadLibrary; return !p; }
/* end */

--------------------

have_func: checking for FreeLibrary()... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -lffi  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -lffi  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))FreeLibrary; return !p; }
/* end */

--------------------

have_func: checking for GetProcAddress()... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -lffi  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -lffi  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))GetProcAddress; return !p; }
/* end */

--------------------

have_func: checking for GetModuleFileName()... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -lffi  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -lffi  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))GetModuleFileName; return !p; }
/* end */

--------------------

have_library: checking for -lws2_32... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -lffi  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -lws2_32 -lffi  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: 
18: int t(void) { ; return 0; }
/* end */

--------------------

have_const: checking for FFI_STDCALL in ffi.h... -------------------- no

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include   -c conftest.c"
conftest.c:9:34: error: 'FFI_STDCALL' undeclared here (not in a function); did you mean 'CC_STDCALL'?
    9 | conftest_type conftestval = (int)FFI_STDCALL;
      |                                  ^~~~~~~~~~~
      |                                  CC_STDCALL
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ffi.h>
6: 
7: /*top*/
8: typedef int conftest_type;
9: conftest_type conftestval = (int)FFI_STDCALL;
/* end */

--------------------

check_signedness: checking signedness of size_t... -------------------- unsigned

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include   -c conftest.c"
conftest.c:9:5: error: size of array 'conftest_const' is negative
    9 | int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
      |     ^~~~~~~~~~~~~~
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <stddef.h>
6: typedef size_t rbcv_typedef_;
7: 
8: /*top*/
9: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
/* end */

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include   -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <stddef.h>
6: typedef size_t rbcv_typedef_;
7: 
8: /*top*/
9: int conftest_const[((rbcv_typedef_)-1 > 0) ? 1 : -1];
/* end */

--------------------

have_func: checking for rb_str_to_interned_str()... -------------------- yes

PATH=.;../../../../..;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\include;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\bin;C:\ProgramFiles64Folder\PuppetLabs\Puppet\puppet\include;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\a\_temp\msys64\usr\bin\site_perl;D:\a\_temp\msys64\usr\bin\vendor_perl;D:\a\_temp\msys64\usr\bin\core_perl LSAN_OPTIONS=detect_leaks=0 "x86_64-w64-mingw32-gcc -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/fiddle-1.1.8/ext/fiddle -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -I/ucrt64/include -I/ucrt64/include/readline -IC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/include conftest.c -L. -L../../../../.. -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -L. -L/ucrt64/lib -L/ucrt64/lib -LC:/ProgramFiles64Folder/PuppetLabs/Puppet/puppet/lib -Wl,--nxcompat -Wl,--dynamicbase -fstack-protector-strong  -Wl,--no-as-needed    -lws2_32 -lffi  -lx64-ucrt-ruby400-static -lgmp -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  -lws2_32 -lffi  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: 
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14: 
15:   return !!argv[argc];
16: }
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_to_interned_str; return !p; }
/* end */

--------------------

extconf.h is:
/* begin */
 1: #ifndef EXTCONF_H
 2: #define EXTCONF_H
 3: #define HAVE_FFI_H 1
 4: #define USE_FFI_CLOSURE_ALLOC 1
 5: #define HAVE_FFI_PREP_CIF_VAR 1
 6: #define HAVE_WINDOWS_H 1
 7: #define HAVE_LOADLIBRARY 1
 8: #define HAVE_FREELIBRARY 1
 9: #define HAVE_GETPROCADDRESS 1
10: #define HAVE_GETMODULEFILENAME 1
11: #define SIGNEDNESS_OF_SIZE_T +1
12: #define HAVE_RB_STR_TO_INTERNED_STR 1
13: #endif
/* end */

