[21:24:12.496] time ./configure \ [21:24:12.496] --host=x86_64-w64-mingw32ucrt \ [21:24:12.496] --enable-cassert \ [21:24:12.496] --without-icu \ [21:24:12.496] CC="ccache x86_64-w64-mingw32ucrt-gcc" \ [21:24:12.496] CXX="ccache x86_64-w64-mingw32ucrt-g++" [21:24:12.600] checking build system type... x86_64-pc-linux-gnu [21:24:12.787] checking host system type... x86_64-w64-mingw32ucrt [21:24:12.792] checking which template to use... win32 [21:24:12.792] checking whether NLS is wanted... no [21:24:12.792] checking for default port number... 5432 [21:24:12.798] checking for block size... 8kB [21:24:12.799] checking for segment size... 1GB [21:24:12.801] checking for WAL block size... 8kB [21:24:12.802] checking for x86_64-w64-mingw32ucrt-gcc... ccache x86_64-w64-mingw32ucrt-gcc [21:24:12.831] checking whether the C compiler works... yes [21:24:12.973] checking for C compiler default output file name... a.exe [21:24:12.974] checking for suffix of executables... .exe [21:24:13.013] checking whether we are cross compiling... yes [21:24:13.095] checking for suffix of object files... o [21:24:13.109] checking whether we are using the GNU C compiler... yes [21:24:13.134] checking whether ccache x86_64-w64-mingw32ucrt-gcc accepts -g... yes [21:24:13.141] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C89... none needed [21:24:13.225] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C11... none needed [21:24:13.271] checking whether we are using the GNU C++ compiler... yes [21:24:13.278] checking whether ccache x86_64-w64-mingw32ucrt-g++ accepts -g... yes [21:24:13.309] checking for gawk... no [21:24:13.310] checking for mawk... mawk [21:24:13.312] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:24:13.340] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=vla, for CFLAGS... yes [21:24:13.346] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:24:13.394] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:24:13.566] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wendif-labels, for CFLAGS... yes [21:24:13.573] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:24:13.651] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:24:13.679] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:24:13.692] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:24:13.699] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:24:13.705] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type, for CFLAGS... yes [21:24:13.717] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:24:13.746] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:24:13.752] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:24:13.759] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-security, for CFLAGS... yes [21:24:13.765] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wformat-security, for CXXFLAGS... yes [21:24:13.772] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-variable-declarations, for CFLAGS... yes [21:24:13.778] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:24:13.784] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:24:13.814] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fwrapv, for CFLAGS... yes [21:24:13.821] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fwrapv, for CXXFLAGS... yes [21:24:13.834] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:24:13.841] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fexcess-precision=standard, for CXXFLAGS... yes [21:24:13.847] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:24:13.853] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:24:13.867] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:24:13.909] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:24:13.954] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:24:13.961] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:24:13.990] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:24:14.029] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:24:14.035] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:24:14.042] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:24:14.049] checking whether the C compiler still works... yes [21:24:14.116] checking how to run the C preprocessor... ccache x86_64-w64-mingw32ucrt-gcc -E [21:24:14.184] checking for x86_64-w64-mingw32ucrt-pkg-config... /usr/bin/x86_64-w64-mingw32ucrt-pkg-config [21:24:14.185] checking pkg-config is at least version 0.9.0... yes [21:24:14.202] checking whether to build with ICU support... no [21:24:14.202] checking whether to build with Tcl... no [21:24:14.202] checking whether to build Perl modules... no [21:24:14.202] checking whether to build Python modules... no [21:24:14.202] checking whether to build with GSSAPI support... no [21:24:14.203] checking whether to build with PAM support... no [21:24:14.203] checking whether to build with BSD Authentication support... no [21:24:14.203] checking whether to build with LDAP support... no [21:24:14.203] checking whether to build with Bonjour support... no [21:24:14.203] checking whether to build with SELinux support... no [21:24:14.203] checking whether to build with systemd support... no [21:24:14.204] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:24:14.204] checking whether to build with liburing support... no [21:24:14.204] checking whether to build with libcurl support... no [21:24:14.204] checking whether to build with libnuma support... no [21:24:14.204] checking whether to build with XML support... no [21:24:14.205] checking whether to build with LZ4 support... no [21:24:14.205] checking whether to build with ZSTD support... no [21:24:14.205] checking for x86_64-w64-mingw32ucrt-strip... x86_64-w64-mingw32ucrt-strip [21:24:14.205] checking whether it is possible to strip libraries... yes [21:24:14.211] checking for x86_64-w64-mingw32ucrt-ar... x86_64-w64-mingw32ucrt-ar [21:24:14.212] checking for x86_64-w64-mingw32ucrt-windres... x86_64-w64-mingw32ucrt-windres [21:24:14.212] checking for a BSD-compatible install... /usr/bin/install -c [21:24:14.220] checking for tar... /usr/bin/tar [21:24:14.220] checking whether ln -s works... yes [21:24:14.220] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:24:14.222] checking for nm... /usr/bin/nm [21:24:14.222] checking for bison... /usr/bin/bison [21:24:14.224] configure: using bison (GNU Bison) 3.8.2 [21:24:14.227] checking for flex... /usr/bin/flex [21:24:14.229] configure: using flex 2.6.4 [21:24:14.229] checking for perl... /usr/bin/perl [21:24:14.231] configure: using perl 5.40.1 [21:24:14.233] checking for zic... /usr/sbin/zic [21:24:14.233] checking for a sed that does not truncate output... /usr/bin/sed [21:24:14.237] checking for grep that handles long lines and -e... /usr/bin/grep [21:24:14.239] checking for egrep... /usr/bin/grep -E [21:24:14.241] checking for ANSI C header files... yes [21:24:14.284] checking for sys/types.h... yes [21:24:14.335] checking for sys/stat.h... yes [21:24:14.349] checking for stdlib.h... yes [21:24:14.401] checking for string.h... yes [21:24:14.414] checking for memory.h... yes [21:24:14.467] checking for strings.h... yes [21:24:14.498] checking for inttypes.h... yes [21:24:14.512] checking for stdint.h... yes [21:24:14.525] checking for unistd.h... yes [21:24:14.536] checking for main in -lm... yes [21:24:14.583] checking for library containing setproctitle... no [21:24:14.670] checking for library containing dlsym... no [21:24:14.757] checking for library containing socket... -lws2_32 [21:24:14.882] checking for library containing getopt_long... none required [21:24:14.929] checking for library containing shm_open... no [21:24:15.015] checking for library containing shm_unlink... no [21:24:15.101] checking for library containing clock_gettime... none required [21:24:15.143] checking for library containing shmget... no [21:24:15.233] checking for library containing backtrace_symbols... no [21:24:15.322] checking for library containing pthread_barrier_wait... none required [21:24:15.365] checking for inflate in -lz... yes [21:24:15.413] checking copyfile.h usability... no [21:24:15.467] checking copyfile.h presence... no [21:24:15.483] checking for copyfile.h... no [21:24:15.486] checking execinfo.h usability... no [21:24:15.535] checking execinfo.h presence... no [21:24:15.551] checking for execinfo.h... no [21:24:15.554] checking getopt.h usability... yes [21:24:15.579] checking getopt.h presence... yes [21:24:15.591] checking for getopt.h... yes [21:24:15.597] checking ifaddrs.h usability... no [21:24:15.645] checking ifaddrs.h presence... no [21:24:15.661] checking for ifaddrs.h... no [21:24:15.664] checking sys/epoll.h usability... no [21:24:15.712] checking sys/epoll.h presence... no [21:24:15.727] checking for sys/epoll.h... no [21:24:15.730] checking sys/event.h usability... no [21:24:15.779] checking sys/event.h presence... no [21:24:15.795] checking for sys/event.h... no [21:24:15.797] checking sys/personality.h usability... no [21:24:15.844] checking sys/personality.h presence... no [21:24:15.859] checking for sys/personality.h... no [21:24:15.863] checking sys/prctl.h usability... no [21:24:15.912] checking sys/prctl.h presence... no [21:24:15.927] checking for sys/prctl.h... no [21:24:15.930] checking sys/procctl.h usability... no [21:24:15.979] checking sys/procctl.h presence... no [21:24:15.996] checking for sys/procctl.h... no [21:24:15.999] checking sys/signalfd.h usability... no [21:24:16.047] checking sys/signalfd.h presence... no [21:24:16.063] checking for sys/signalfd.h... no [21:24:16.066] checking sys/ucred.h usability... no [21:24:16.114] checking sys/ucred.h presence... no [21:24:16.129] checking for sys/ucred.h... no [21:24:16.132] checking termios.h usability... no [21:24:16.178] checking termios.h presence... no [21:24:16.194] checking for termios.h... no [21:24:16.197] checking uchar.h usability... yes [21:24:16.203] checking uchar.h presence... yes [21:24:16.222] checking for uchar.h... yes [21:24:16.228] checking ucred.h usability... no [21:24:16.275] checking ucred.h presence... no [21:24:16.291] checking for ucred.h... no [21:24:16.294] checking xlocale.h usability... no [21:24:16.343] checking xlocale.h presence... no [21:24:16.358] checking for xlocale.h... no [21:24:16.361] checking zlib.h usability... yes [21:24:16.416] checking zlib.h presence... yes [21:24:16.432] checking for zlib.h... yes [21:24:16.432] checking for lz4... /usr/bin/lz4 [21:24:16.432] checking for zstd... /usr/bin/zstd [21:24:16.433] checking for openssl... /usr/bin/openssl [21:24:16.437] configure: using openssl: OpenSSL 3.5.4 30 Sep 2025 (Library: OpenSSL 3.5.4 30 Sep 2025) [21:24:16.438] checking crtdefs.h usability... yes [21:24:16.462] checking crtdefs.h presence... yes [21:24:16.474] checking for crtdefs.h... yes [21:24:16.475] checking whether byte ordering is bigendian... no [21:24:16.535] checking for inline... inline [21:24:16.558] checking for C printf format archetype... gnu_printf [21:24:16.572] checking for C++ printf format archetype... gnu_printf [21:24:16.580] checking for statement expressions... yes [21:24:16.621] checking for typeof... typeof [21:24:16.634] checking for __builtin_types_compatible_p... yes [21:24:16.650] checking for __builtin_constant_p... yes [21:24:16.660] checking for __builtin_mul_overflow... yes [21:24:16.710] checking for __builtin_unreachable... yes [21:24:16.749] checking for computed goto support... yes [21:24:16.763] checking for struct tm.tm_zone... no [21:24:16.827] checking for union semun... no [21:24:16.852] checking for socklen_t... yes [21:24:17.987] checking for struct sockaddr.sa_len... no [21:24:19.938] checking for C/C++ restrict keyword... __restrict [21:24:19.973] checking for struct option... yes [21:24:20.007] checking whether assembler supports x86_64 popcntq... yes [21:24:20.020] checking size of off_t... 4 [21:24:20.347] checking for int timezone... yes [21:24:20.402] checking for backtrace_symbols... no [21:24:20.450] checking for copyfile... no [21:24:20.499] checking for copy_file_range... no [21:24:20.547] checking for elf_aux_info... no [21:24:20.597] checking for getauxval... no [21:24:20.644] checking for getifaddrs... no [21:24:20.692] checking for getpeerucred... no [21:24:20.740] checking for inet_pton... yes [21:24:20.789] checking for kqueue... no [21:24:20.838] checking for localeconv_l... no [21:24:20.887] checking for mbstowcs_l... no [21:24:20.936] checking for posix_fallocate... no [21:24:20.985] checking for ppoll... no [21:24:21.035] checking for pthread_is_threaded_np... no [21:24:21.083] checking for setproctitle... no [21:24:21.131] checking for setproctitle_fast... no [21:24:21.180] checking for strsignal... no [21:24:21.230] checking for syncfs... no [21:24:21.280] checking for sync_file_range... no [21:24:21.329] checking for uselocale... no [21:24:21.379] checking for wcstombs_l... no [21:24:21.427] checking for __builtin_bswap16... yes [21:24:21.475] checking for __builtin_bswap32... yes [21:24:21.521] checking for __builtin_bswap64... yes [21:24:21.565] checking for __builtin_clz... yes [21:24:21.611] checking for __builtin_ctz... yes [21:24:21.656] checking for __builtin_popcount... yes [21:24:21.702] checking for __builtin_frame_address... yes [21:24:21.746] checking for _LARGEFILE_SOURCE value needed for large files... no [21:24:21.795] checking how ccache x86_64-w64-mingw32ucrt-gcc reports undeclared, standard C functions... error [21:24:21.821] checking for posix_fadvise... no [21:24:21.871] checking whether posix_fadvise is declared... no [21:24:21.910] checking whether fdatasync is declared... no [21:24:21.951] checking whether strlcat is declared... no [21:24:22.010] checking whether strlcpy is declared... no [21:24:22.069] checking whether strsep is declared... no [21:24:22.128] checking whether timingsafe_bcmp is declared... no [21:24:22.188] checking whether preadv is declared... no [21:24:22.220] checking whether pwritev is declared... no [21:24:22.251] checking whether strchrnul is declared... no [21:24:22.289] checking whether memset_s is declared... no [21:24:22.327] checking whether F_FULLFSYNC is declared... no [21:24:22.363] checking for explicit_bzero... no [21:24:22.411] checking for getopt... yes [21:24:22.456] checking for getpeereid... no [21:24:22.505] checking for inet_aton... no [21:24:22.554] checking for mkdtemp... no [21:24:22.603] checking for strlcat... no [21:24:22.651] checking for strlcpy... no [21:24:22.700] checking for strsep... no [21:24:22.748] checking for timingsafe_bcmp... no [21:24:22.797] checking for pthread_barrier_wait... yes [21:24:22.841] configure: On mingw32ucrt we will use our strtof wrapper. [21:24:22.841] checking for getopt_long... yes [21:24:22.886] checking for syslog... no [21:24:22.935] checking for opterr... yes [21:24:22.983] checking for optreset... no [21:24:23.035] checking test program... cross-compiling [21:24:23.035] checking size of void *... 8 [21:24:23.485] checking size of size_t... 8 [21:24:23.905] checking size of long... 4 [21:24:24.183] checking size of long long... 8 [21:24:24.604] checking size of intmax_t... 8 [21:24:25.000] checking alignment of short... 2 [21:24:25.249] checking alignment of int... 4 [21:24:25.511] checking alignment of long... 4 [21:24:25.768] checking alignment of int64_t... 8 [21:24:26.135] checking alignment of double... 8 [21:24:26.427] checking for __int128... yes [21:24:26.488] checking for __int128 alignment bug... assuming ok [21:24:26.488] checking alignment of PG_INT128_TYPE... 16 [21:24:26.853] checking for builtin __sync char locking functions... yes [21:24:26.898] checking for builtin __sync int32 locking functions... yes [21:24:26.943] checking for builtin __sync int32 atomic operations... yes [21:24:26.988] checking for builtin __sync int64 atomic operations... yes [21:24:27.035] checking for builtin __atomic int32 atomic operations... yes [21:24:27.081] checking for builtin __atomic int64 atomic operations... yes [21:24:27.127] checking for __get_cpuid... yes [21:24:27.176] checking for __get_cpuid_count... yes [21:24:27.221] checking for _xgetbv... yes [21:24:27.657] checking for _mm512_popcnt_epi64... yes [21:24:28.101] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [21:24:28.199] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:24:28.219] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [21:24:28.235] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:24:28.251] checking for __builtin_loongarch_crcc_w_b_w, __builtin_loongarch_crcc_w_h_w, __builtin_loongarch_crcc_w_w_w and __builtin_loongarch_crcc_w_d_w... no [21:24:28.281] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:24:28.281] checking for _mm512_clmulepi64_epi128... yes [21:24:28.699] checking for vectorized CRC-32C... AVX-512 with runtime check [21:24:28.699] checking which random number source to use... Windows native [21:24:28.701] checking for xmllint... /usr/bin/xmllint [21:24:28.701] checking for xsltproc... /usr/bin/xsltproc [21:24:28.701] checking for fop... /usr/bin/fop [21:24:28.701] checking for dbtoepub... no [21:24:28.702] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:24:28.702] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:24:28.702] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:24:28.711] configure: using compiler=x86_64-w64-mingw32ucrt-gcc (GCC) 14 [21:24:28.711] configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 [21:24:28.711] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:24:28.711] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:24:28.791] configure: creating ./config.status [21:24:28.872] config.status: creating GNUmakefile [21:24:28.883] config.status: creating src/Makefile.global [21:24:28.899] config.status: creating src/include/pg_config.h [21:24:28.911] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:24:28.926] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:24:28.932] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:24:28.939] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:24:28.946] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:24:28.949] config.status: executing check_win32_symlinks commands [21:24:28.980] [21:24:28.980] real 0m16.484s [21:24:28.980] user 0m11.567s [21:24:28.980] sys 0m4.535s [21:24:28.980] make -s -j${BUILD_JOBS} clean [21:24:29.484] time make -s -j${BUILD_JOBS} world-bin [21:27:33.318] pgbench.c: In function ‘initWorkerThread’: [21:27:33.318] pgbench.c:1798:16: error: returning ‘void *’ from a function with return type ‘unsigned int’ makes integer from pointer without a cast [-Wint-conversion] [21:27:33.318] 1798 | return NULL; [21:27:33.318] | ^~~~ [21:27:33.318] pgbench.c: In function ‘initPopulateTableParallel’: [21:27:33.318] pgbench.c:1813:57: error: ‘pthread_t’ undeclared (first use in this function); did you mean ‘nthreads’? [21:27:33.318] 1813 | worker_threads = pg_malloc(num_workers * sizeof(pthread_t)); [21:27:33.318] | ^~~~~~~~~ [21:27:33.318] | nthreads [21:27:33.318] pgbench.c:1813:57: note: each undeclared identifier is reported only once for each function it appears in [21:27:33.320] make[3]: *** [: pgbench.o] Error 1 [21:27:33.320] make[2]: *** [Makefile:45: all-pgbench-recurse] Error 2 [21:27:33.326] make[2]: *** Waiting for unfinished jobs.... [21:27:37.346] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [21:27:37.346] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:27:37.346] [21:27:37.346] real 3m7.862s [21:27:37.346] user 10m31.013s [21:27:37.346] sys 1m34.114s [21:27:37.347] [21:27:37.347] Exit status: 2