have_builtin_func: checking for __builtin_clz()... -------------------- 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/bigdecimal-4.0.1/ext/bigdecimal -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/bigdecimal-4.0.1/ext/bigdecimal -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: int foo;
6: int main() { __builtin_clz(0); return 0; }
/* end */

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

have_builtin_func: checking for __builtin_clzl()... -------------------- 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/bigdecimal-4.0.1/ext/bigdecimal -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: int foo;
6: int main() { __builtin_clzl(0); return 0; }
/* end */

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

have_builtin_func: checking for __builtin_clzll()... -------------------- 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/bigdecimal-4.0.1/ext/bigdecimal -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: int foo;
6: int main() { __builtin_clzll(0); return 0; }
/* end */

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

have_header: checking for float.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/bigdecimal-4.0.1/ext/bigdecimal -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 <float.h>
/* end */

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

have_header: checking for math.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/bigdecimal-4.0.1/ext/bigdecimal -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 <math.h>
/* end */

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

have_header: checking for stdbool.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/bigdecimal-4.0.1/ext/bigdecimal -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 <stdbool.h>
/* end */

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

have_header: checking for stdlib.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/bigdecimal-4.0.1/ext/bigdecimal -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 <stdlib.h>
/* end */

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

have_header: checking for x86intrin.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/bigdecimal-4.0.1/ext/bigdecimal -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 <x86intrin.h>
/* end */

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

have_func: checking for _lzcnt_u32() in x86intrin.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 -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -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  "
D:/a/_temp/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\a\_temp\msys64\tmp\ccoYDjYz.o:conftest.c:(.rdata$.refptr._lzcnt_u32[.refptr._lzcnt_u32]+0x0): undefined reference to `_lzcnt_u32'
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <x86intrin.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 ((*)()))_lzcnt_u32; return !p; }
/* 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 -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -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  "
conftest.c:18:13: error: conflicting types for '_lzcnt_u32'; have 'void(void)'
   18 | extern void _lzcnt_u32();
      |             ^~~~~~~~~~
In file included from D:/a/_temp/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/16.1.0/include/x86gprintrin.h:61,
                 from D:/a/_temp/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/16.1.0/include/x86intrin.h:27,
                 from D:/a/_temp/msys64/ucrt64/include/winnt.h:1703,
                 from D:/a/_temp/msys64/ucrt64/include/minwindef.h:163,
                 from D:/a/_temp/msys64/ucrt64/include/windef.h:9,
                 from D:/a/_temp/msys64/ucrt64/include/windows.h:69,
                 from D:/a/_temp/msys64/ucrt64/include/winsock2.h:23,
                 from ../../../../.././include/ruby/win32.h:33,
                 from ../../../../.././include/ruby/internal/dosish.h:38,
                 from ../../../../.././include/ruby/defines.h:78,
                 from ../../../../.././include/ruby/ruby.h:25,
                 from ../../../../.././include/ruby.h:38,
                 from conftest.c:1:
D:/a/_temp/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/16.1.0/include/lzcntintrin.h:51:1: note: previous definition of '_lzcnt_u32' with type 'unsigned int(unsigned int)'
   51 | _lzcnt_u32 (unsigned int __X)
      | ^~~~~~~~~~
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <x86intrin.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: extern void _lzcnt_u32();
19: int t(void) { _lzcnt_u32(); return 0; }
/* end */

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

have_func: checking for _lzcnt_u64() in x86intrin.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 -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -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  "
D:/a/_temp/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\a\_temp\msys64\tmp\cchoQkrk.o:conftest.c:(.rdata$.refptr._lzcnt_u64[.refptr._lzcnt_u64]+0x0): undefined reference to `_lzcnt_u64'
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <x86intrin.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 ((*)()))_lzcnt_u64; return !p; }
/* 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 -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -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  "
conftest.c:18:13: error: conflicting types for '_lzcnt_u64'; have 'void(void)'
   18 | extern void _lzcnt_u64();
      |             ^~~~~~~~~~
In file included from D:/a/_temp/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/16.1.0/include/x86gprintrin.h:61,
                 from D:/a/_temp/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/16.1.0/include/x86intrin.h:27,
                 from D:/a/_temp/msys64/ucrt64/include/winnt.h:1703,
                 from D:/a/_temp/msys64/ucrt64/include/minwindef.h:163,
                 from D:/a/_temp/msys64/ucrt64/include/windef.h:9,
                 from D:/a/_temp/msys64/ucrt64/include/windows.h:69,
                 from D:/a/_temp/msys64/ucrt64/include/winsock2.h:23,
                 from ../../../../.././include/ruby/win32.h:33,
                 from ../../../../.././include/ruby/internal/dosish.h:38,
                 from ../../../../.././include/ruby/defines.h:78,
                 from ../../../../.././include/ruby/ruby.h:25,
                 from ../../../../.././include/ruby.h:38,
                 from conftest.c:1:
D:/a/_temp/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/16.1.0/include/lzcntintrin.h:64:1: note: previous definition of '_lzcnt_u64' with type 'long long unsigned int(long long unsigned int)'
   64 | _lzcnt_u64 (unsigned long long __X)
      | ^~~~~~~~~~
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <x86intrin.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: extern void _lzcnt_u64();
19: int t(void) { _lzcnt_u64(); return 0; }
/* end */

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

have_header: checking for intrin.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/bigdecimal-4.0.1/ext/bigdecimal -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 <intrin.h>
/* end */

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

have_func: checking for __lzcnt() in intrin.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 -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -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  "
conftest.c: In function 't':
conftest.c:18:57: error: '__lzcnt' undeclared (first use in this function); did you mean '__lzcnt64'?
   18 | int t(void) { void ((*volatile p)()); p = (void ((*)()))__lzcnt; return !p; }
      |                                                         ^~~~~~~
      |                                                         __lzcnt64
conftest.c:18:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <intrin.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 ((*)()))__lzcnt; return !p; }
/* 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 -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -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  "
D:/a/_temp/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\a\_temp\msys64\tmp\ccybFOQm.o:conftest.c:(.text+0x6e): undefined reference to `__lzcnt'
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <intrin.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: extern void __lzcnt();
19: int t(void) { __lzcnt(); return 0; }
/* end */

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

have_func: checking for __lzcnt64() in intrin.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 -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -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  "
D:/a/_temp/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\a\_temp\msys64\tmp\ccLumVny.o:conftest.c:(.rdata$.refptr.__lzcnt64[.refptr.__lzcnt64]+0x0): undefined reference to `__lzcnt64'
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <intrin.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 ((*)()))__lzcnt64; return !p; }
/* 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 -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -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  "
conftest.c:18:13: error: conflicting types for '__lzcnt64'; have 'void(void)'
   18 | extern void __lzcnt64();
      |             ^~~~~~~~~
In file included from D:/a/_temp/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/16.1.0/include/x86gprintrin.h:61,
                 from D:/a/_temp/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/16.1.0/include/x86intrin.h:27,
                 from D:/a/_temp/msys64/ucrt64/include/winnt.h:1703,
                 from D:/a/_temp/msys64/ucrt64/include/minwindef.h:163,
                 from D:/a/_temp/msys64/ucrt64/include/windef.h:9,
                 from D:/a/_temp/msys64/ucrt64/include/windows.h:69,
                 from D:/a/_temp/msys64/ucrt64/include/winsock2.h:23,
                 from ../../../../.././include/ruby/win32.h:33,
                 from ../../../../.././include/ruby/internal/dosish.h:38,
                 from ../../../../.././include/ruby/defines.h:78,
                 from ../../../../.././include/ruby/ruby.h:25,
                 from ../../../../.././include/ruby.h:38,
                 from conftest.c:1:
D:/a/_temp/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/16.1.0/include/lzcntintrin.h:58:1: note: previous definition of '__lzcnt64' with type 'long long unsigned int(long long unsigned int)'
   58 | __lzcnt64 (unsigned long long __X)
      | ^~~~~~~~~
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <intrin.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: extern void __lzcnt64();
19: int t(void) { __lzcnt64(); return 0; }
/* end */

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

have_func: checking for _BitScanReverse() in intrin.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/bigdecimal-4.0.1/ext/bigdecimal -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: #include <intrin.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 ((*)()))_BitScanReverse; return !p; }
/* end */

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

have_func: checking for _BitScanReverse64() in intrin.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/bigdecimal-4.0.1/ext/bigdecimal -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: #include <intrin.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 ((*)()))_BitScanReverse64; return !p; }
/* end */

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

have_header: checking for ruby/atomic.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/bigdecimal-4.0.1/ext/bigdecimal -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 <ruby/atomic.h>
/* end */

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

have_header: checking for ruby/internal/has/builtin.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/bigdecimal-4.0.1/ext/bigdecimal -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 <ruby/internal/has/builtin.h>
/* end */

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

have_header: checking for ruby/internal/static_assert.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/bigdecimal-4.0.1/ext/bigdecimal -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 <ruby/internal/static_assert.h>
/* end */

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

have_func: checking for rb_complex_real() in ruby.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/bigdecimal-4.0.1/ext/bigdecimal -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: #include <ruby.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 ((*)()))rb_complex_real; return !p; }
/* end */

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

have_func: checking for rb_complex_imag() in ruby.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/bigdecimal-4.0.1/ext/bigdecimal -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: #include <ruby.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 ((*)()))rb_complex_imag; return !p; }
/* end */

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

have_func: checking for rb_opts_exception_p() in ruby.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/bigdecimal-4.0.1/ext/bigdecimal -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  "
conftest.c: In function 't':
conftest.c:18:57: error: 'rb_opts_exception_p' undeclared (first use in this function); did you mean 'rb_make_exception'?
   18 | int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_opts_exception_p; return !p; }
      |                                                         ^~~~~~~~~~~~~~~~~~~
      |                                                         rb_make_exception
conftest.c:18:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <ruby.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 ((*)()))rb_opts_exception_p; return !p; }
/* 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 -o conftest.exe -I../../../../../.ext/include/x64-mingw-ucrt -I../../../../.././include -I../../../../.././.bundle/gems/bigdecimal-4.0.1/ext/bigdecimal -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: #include <ruby.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: extern void rb_opts_exception_p();
19: int t(void) { rb_opts_exception_p(); return 0; }
/* end */

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

have_func: checking for rb_category_warn() in ruby.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/bigdecimal-4.0.1/ext/bigdecimal -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: #include <ruby.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 ((*)()))rb_category_warn; return !p; }
/* end */

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

have_const: checking for RB_WARN_CATEGORY_DEPRECATED in ruby.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/bigdecimal-4.0.1/ext/bigdecimal -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 <ruby.h>
6: 
7: /*top*/
8: typedef int conftest_type;
9: conftest_type conftestval = (int)RB_WARN_CATEGORY_DEPRECATED;
/* end */

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

extconf.h is:
/* begin */
 1: #ifndef EXTCONF_H
 2: #define EXTCONF_H
 3: #define HAVE_BUILTIN___BUILTIN_CLZ 1
 4: #define HAVE_BUILTIN___BUILTIN_CLZL 1
 5: #define HAVE_BUILTIN___BUILTIN_CLZLL 1
 6: #define HAVE_FLOAT_H 1
 7: #define HAVE_MATH_H 1
 8: #define HAVE_STDBOOL_H 1
 9: #define HAVE_STDLIB_H 1
10: #define HAVE_X86INTRIN_H 1
11: #define HAVE_INTRIN_H 1
12: #define HAVE__BITSCANREVERSE 1
13: #define HAVE__BITSCANREVERSE64 1
14: #define HAVE_RUBY_ATOMIC_H 1
15: #define HAVE_RUBY_INTERNAL_HAS_BUILTIN_H 1
16: #define HAVE_RUBY_INTERNAL_STATIC_ASSERT_H 1
17: #define HAVE_RB_COMPLEX_REAL 1
18: #define HAVE_RB_COMPLEX_IMAG 1
19: #define HAVE_RB_OPTS_EXCEPTION_P 1
20: #define HAVE_RB_CATEGORY_WARN 1
21: #define HAVE_CONST_RB_WARN_CATEGORY_DEPRECATED 1
22: #endif
/* end */

