[09:44:46.274] time ./configure \ [09:44:46.274] --host=x86_64-w64-mingw32ucrt \ [09:44:46.274] --enable-cassert \ [09:44:46.274] --without-icu \ [09:44:46.274] CC="ccache x86_64-w64-mingw32ucrt-gcc" \ [09:44:46.274] CXX="ccache x86_64-w64-mingw32ucrt-g++" [09:44:46.393] checking build system type... x86_64-pc-linux-gnu [09:44:46.570] checking host system type... x86_64-w64-mingw32ucrt [09:44:46.575] checking which template to use... win32 [09:44:46.575] checking whether NLS is wanted... no [09:44:46.575] checking for default port number... 5432 [09:44:46.583] checking for block size... 8kB [09:44:46.584] checking for segment size... 1GB [09:44:46.586] checking for WAL block size... 8kB [09:44:46.588] checking for x86_64-w64-mingw32ucrt-gcc... ccache x86_64-w64-mingw32ucrt-gcc [09:44:46.620] checking whether the C compiler works... yes [09:44:46.766] checking for C compiler default output file name... a.exe [09:44:46.768] checking for suffix of executables... .exe [09:44:46.811] checking whether we are cross compiling... yes [09:44:46.896] checking for suffix of object files... o [09:44:46.913] checking whether we are using the GNU C compiler... yes [09:44:46.927] checking whether ccache x86_64-w64-mingw32ucrt-gcc accepts -g... yes [09:44:46.934] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C89... none needed [09:44:46.943] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C11... none needed [09:44:47.016] checking whether we are using the GNU C++ compiler... yes [09:44:47.225] checking whether ccache x86_64-w64-mingw32ucrt-g++ accepts -g... yes [09:44:47.261] checking for gawk... no [09:44:47.261] checking for mawk... mawk [09:44:47.263] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:44:47.297] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=vla, for CFLAGS... yes [09:44:47.305] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:44:47.358] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:44:47.413] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wendif-labels, for CFLAGS... yes [09:44:47.420] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:44:47.427] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:44:47.434] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:44:47.441] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:44:47.448] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:44:47.454] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type, for CFLAGS... yes [09:44:47.486] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:44:47.519] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:44:47.527] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:44:47.535] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-security, for CFLAGS... yes [09:44:47.543] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wformat-security, for CXXFLAGS... yes [09:44:47.550] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-variable-declarations, for CFLAGS... yes [09:44:47.557] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:44:47.564] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:44:47.571] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fwrapv, for CFLAGS... yes [09:44:47.602] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fwrapv, for CXXFLAGS... yes [09:44:47.611] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:44:47.627] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fexcess-precision=standard, for CXXFLAGS... yes [09:44:47.635] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:44:47.651] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:44:47.658] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:44:47.705] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:44:47.753] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:44:47.760] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:44:47.767] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:44:47.808] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:44:47.838] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:44:47.845] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:44:47.853] checking whether the C compiler still works... yes [09:44:47.927] checking how to run the C preprocessor... ccache x86_64-w64-mingw32ucrt-gcc -E [09:44:48.001] checking for x86_64-w64-mingw32ucrt-pkg-config... /usr/bin/x86_64-w64-mingw32ucrt-pkg-config [09:44:48.001] checking pkg-config is at least version 0.9.0... yes [09:44:48.017] checking whether to build with ICU support... no [09:44:48.018] checking whether to build with Tcl... no [09:44:48.018] checking whether to build Perl modules... no [09:44:48.018] checking whether to build Python modules... no [09:44:48.018] checking whether to build with GSSAPI support... no [09:44:48.019] checking whether to build with PAM support... no [09:44:48.019] checking whether to build with BSD Authentication support... no [09:44:48.019] checking whether to build with LDAP support... no [09:44:48.019] checking whether to build with Bonjour support... no [09:44:48.020] checking whether to build with SELinux support... no [09:44:48.020] checking whether to build with systemd support... no [09:44:48.020] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:44:48.020] checking whether to build with liburing support... no [09:44:48.020] checking whether to build with libcurl support... no [09:44:48.020] checking whether to build with libnuma support... no [09:44:48.020] checking whether to build with XML support... no [09:44:48.021] checking whether to build with LZ4 support... no [09:44:48.021] checking whether to build with ZSTD support... no [09:44:48.021] checking for x86_64-w64-mingw32ucrt-strip... x86_64-w64-mingw32ucrt-strip [09:44:48.021] checking whether it is possible to strip libraries... yes [09:44:48.030] checking for x86_64-w64-mingw32ucrt-ar... x86_64-w64-mingw32ucrt-ar [09:44:48.030] checking for x86_64-w64-mingw32ucrt-windres... x86_64-w64-mingw32ucrt-windres [09:44:48.030] checking for a BSD-compatible install... /usr/bin/install -c [09:44:48.040] checking for tar... /usr/bin/tar [09:44:48.040] checking whether ln -s works... yes [09:44:48.040] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:44:48.042] checking for nm... /usr/bin/nm [09:44:48.042] checking for bison... /usr/bin/bison [09:44:48.045] configure: using bison (GNU Bison) 3.8.2 [09:44:48.048] checking for flex... /usr/bin/flex [09:44:48.050] configure: using flex 2.6.4 [09:44:48.050] checking for perl... /usr/bin/perl [09:44:48.053] configure: using perl 5.40.1 [09:44:48.055] checking for zic... /usr/sbin/zic [09:44:48.055] checking for a sed that does not truncate output... /usr/bin/sed [09:44:48.061] checking for grep that handles long lines and -e... /usr/bin/grep [09:44:48.063] checking for egrep... /usr/bin/grep -E [09:44:48.065] checking for ANSI C header files... yes [09:44:48.114] checking for sys/types.h... yes [09:44:48.129] checking for sys/stat.h... yes [09:44:48.146] checking for stdlib.h... yes [09:44:48.162] checking for string.h... yes [09:44:48.200] checking for memory.h... yes [09:44:48.236] checking for strings.h... yes [09:44:48.252] checking for inttypes.h... yes [09:44:48.320] checking for stdint.h... yes [09:44:48.336] checking for unistd.h... yes [09:44:48.402] checking for main in -lm... yes [09:44:48.455] checking for library containing setproctitle... no [09:44:48.554] checking for library containing dlsym... no [09:44:48.649] checking for library containing socket... -lws2_32 [09:44:48.793] checking for library containing getopt_long... none required [09:44:48.844] checking for library containing shm_open... no [09:44:48.939] checking for library containing shm_unlink... no [09:44:49.035] checking for library containing clock_gettime... none required [09:44:49.081] checking for library containing shmget... no [09:44:49.176] checking for library containing backtrace_symbols... no [09:44:49.270] checking for library containing pthread_barrier_wait... none required [09:44:49.314] checking for inflate in -lz... yes [09:44:49.366] checking copyfile.h usability... no [09:44:49.421] checking copyfile.h presence... no [09:44:49.440] checking for copyfile.h... no [09:44:49.443] checking execinfo.h usability... no [09:44:49.497] checking execinfo.h presence... no [09:44:49.515] checking for execinfo.h... no [09:44:49.518] checking getopt.h usability... yes [09:44:49.572] checking getopt.h presence... yes [09:44:49.586] checking for getopt.h... yes [09:44:49.593] checking ifaddrs.h usability... no [09:44:49.646] checking ifaddrs.h presence... no [09:44:49.665] checking for ifaddrs.h... no [09:44:49.669] checking sys/epoll.h usability... no [09:44:49.724] checking sys/epoll.h presence... no [09:44:49.743] checking for sys/epoll.h... no [09:44:49.747] checking sys/event.h usability... no [09:44:49.802] checking sys/event.h presence... no [09:44:49.819] checking for sys/event.h... no [09:44:49.822] checking sys/personality.h usability... no [09:44:49.876] checking sys/personality.h presence... no [09:44:49.894] checking for sys/personality.h... no [09:44:49.898] checking sys/prctl.h usability... no [09:44:49.953] checking sys/prctl.h presence... no [09:44:49.971] checking for sys/prctl.h... no [09:44:49.975] checking sys/procctl.h usability... no [09:44:50.029] checking sys/procctl.h presence... no [09:44:50.047] checking for sys/procctl.h... no [09:44:50.051] checking sys/signalfd.h usability... no [09:44:50.106] checking sys/signalfd.h presence... no [09:44:50.125] checking for sys/signalfd.h... no [09:44:50.129] checking sys/ucred.h usability... no [09:44:50.184] checking sys/ucred.h presence... no [09:44:50.202] checking for sys/ucred.h... no [09:44:50.206] checking termios.h usability... no [09:44:50.259] checking termios.h presence... no [09:44:50.276] checking for termios.h... no [09:44:50.279] checking uchar.h usability... yes [09:44:50.287] checking uchar.h presence... yes [09:44:50.306] checking for uchar.h... yes [09:44:50.314] checking ucred.h usability... no [09:44:50.369] checking ucred.h presence... no [09:44:50.387] checking for ucred.h... no [09:44:50.390] checking xlocale.h usability... no [09:44:50.446] checking xlocale.h presence... no [09:44:50.464] checking for xlocale.h... no [09:44:50.467] checking zlib.h usability... yes [09:44:50.475] checking zlib.h presence... yes [09:44:50.498] checking for zlib.h... yes [09:44:50.498] checking for lz4... /usr/bin/lz4 [09:44:50.498] checking for zstd... /usr/bin/zstd [09:44:50.498] checking for openssl... /usr/bin/openssl [09:44:50.504] configure: using openssl: OpenSSL 3.5.4 30 Sep 2025 (Library: OpenSSL 3.5.4 30 Sep 2025) [09:44:50.504] checking crtdefs.h usability... yes [09:44:50.535] checking crtdefs.h presence... yes [09:44:50.548] checking for crtdefs.h... yes [09:44:50.550] checking whether byte ordering is bigendian... no [09:44:50.622] checking for inline... inline [09:44:50.630] checking for C printf format archetype... gnu_printf [09:44:50.665] checking for C++ printf format archetype... gnu_printf [09:44:50.724] checking for statement expressions... yes [09:44:50.768] checking for typeof... typeof [09:44:50.775] checking for __builtin_types_compatible_p... yes [09:44:50.795] checking for __builtin_constant_p... yes [09:44:50.805] checking for __builtin_mul_overflow... yes [09:44:50.860] checking for __builtin_unreachable... yes [09:44:50.905] checking for computed goto support... yes [09:44:50.913] checking for struct tm.tm_zone... no [09:44:50.991] checking for union semun... no [09:44:51.024] checking for socklen_t... yes [09:44:53.417] checking for struct sockaddr.sa_len... no [09:44:55.605] checking for C/C++ restrict keyword... __restrict [09:44:55.620] checking for struct option... yes [09:44:55.659] checking whether assembler supports x86_64 popcntq... yes [09:44:55.675] checking size of off_t... 4 [09:44:55.875] checking for int timezone... yes [09:44:55.939] checking for backtrace_symbols... no [09:44:55.994] checking for copyfile... no [09:44:56.050] checking for copy_file_range... no [09:44:56.104] checking for elf_aux_info... no [09:44:56.157] checking for getauxval... no [09:44:56.211] checking for getifaddrs... no [09:44:56.263] checking for getpeerucred... no [09:44:56.317] checking for inet_pton... yes [09:44:56.372] checking for kqueue... no [09:44:56.426] checking for localeconv_l... no [09:44:56.482] checking for mbstowcs_l... no [09:44:56.537] checking for posix_fallocate... no [09:44:56.590] checking for ppoll... no [09:44:56.645] checking for pthread_is_threaded_np... no [09:44:56.699] checking for setproctitle... no [09:44:56.754] checking for setproctitle_fast... no [09:44:56.807] checking for strsignal... no [09:44:56.859] checking for syncfs... no [09:44:56.911] checking for sync_file_range... no [09:44:56.966] checking for uselocale... no [09:44:57.020] checking for wcstombs_l... no [09:44:57.068] checking for __builtin_bswap16... yes [09:44:57.118] checking for __builtin_bswap32... yes [09:44:57.168] checking for __builtin_bswap64... yes [09:44:57.217] checking for __builtin_clz... yes [09:44:57.266] checking for __builtin_ctz... yes [09:44:57.316] checking for __builtin_popcount... yes [09:44:57.366] checking for __builtin_frame_address... yes [09:44:57.416] checking for _LARGEFILE_SOURCE value needed for large files... no [09:44:57.472] checking how ccache x86_64-w64-mingw32ucrt-gcc reports undeclared, standard C functions... error [09:44:57.501] checking for posix_fadvise... no [09:44:57.555] checking whether posix_fadvise is declared... no [09:44:57.597] checking whether fdatasync is declared... no [09:44:57.641] checking whether strlcat is declared... no [09:44:57.706] checking whether strlcpy is declared... no [09:44:57.768] checking whether strsep is declared... no [09:44:57.831] checking whether timingsafe_bcmp is declared... no [09:44:57.892] checking whether preadv is declared... no [09:44:57.925] checking whether pwritev is declared... no [09:44:57.960] checking whether strchrnul is declared... no [09:44:57.997] checking whether memset_s is declared... no [09:44:58.034] checking whether F_FULLFSYNC is declared... no [09:44:58.069] checking for explicit_bzero... no [09:44:58.118] checking for getopt... yes [09:44:58.162] checking for getpeereid... no [09:44:58.211] checking for inet_aton... no [09:44:58.259] checking for mkdtemp... no [09:44:58.308] checking for strlcat... no [09:44:58.356] checking for strlcpy... no [09:44:58.404] checking for strsep... no [09:44:58.454] checking for timingsafe_bcmp... no [09:44:58.504] checking for pthread_barrier_wait... yes [09:44:58.549] configure: On mingw32ucrt we will use our strtof wrapper. [09:44:58.549] checking for getopt_long... yes [09:44:58.595] checking for syslog... no [09:44:58.644] checking for opterr... yes [09:44:58.692] checking for optreset... no [09:44:58.746] checking test program... cross-compiling [09:44:58.746] checking size of void *... 8 [09:44:59.085] checking size of size_t... 8 [09:44:59.462] checking size of long... 4 [09:44:59.800] checking size of long long... 8 [09:45:00.130] checking size of intmax_t... 8 [09:45:00.496] checking alignment of short... 2 [09:45:00.645] checking alignment of int... 4 [09:45:00.921] checking alignment of long... 4 [09:45:01.290] checking alignment of int64_t... 8 [09:45:01.611] checking alignment of double... 8 [09:45:02.072] checking for __int128... yes [09:45:02.133] checking for __int128 alignment bug... assuming ok [09:45:02.133] checking alignment of PG_INT128_TYPE... 16 [09:45:02.552] checking for builtin __sync char locking functions... yes [09:45:02.597] checking for builtin __sync int32 locking functions... yes [09:45:02.642] checking for builtin __sync int32 atomic operations... yes [09:45:02.688] checking for builtin __sync int64 atomic operations... yes [09:45:02.736] checking for builtin __atomic int32 atomic operations... yes [09:45:02.782] checking for builtin __atomic int64 atomic operations... yes [09:45:02.829] checking for __get_cpuid... yes [09:45:02.879] checking for __get_cpuid_count... yes [09:45:02.927] checking for _xgetbv... yes [09:45:03.369] checking for _mm512_popcnt_epi64... yes [09:45:03.827] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [09:45:03.937] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:45:03.960] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [09:45:03.979] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:45:03.998] 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 [09:45:04.032] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:45:04.033] checking for _mm512_clmulepi64_epi128... yes [09:45:04.485] checking for vectorized CRC-32C... AVX-512 with runtime check [09:45:04.485] checking which random number source to use... Windows native [09:45:04.487] checking for xmllint... /usr/bin/xmllint [09:45:04.488] checking for xsltproc... /usr/bin/xsltproc [09:45:04.488] checking for fop... /usr/bin/fop [09:45:04.488] checking for dbtoepub... no [09:45:04.488] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:45:04.488] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:45:04.489] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:45:04.499] configure: using compiler=x86_64-w64-mingw32ucrt-gcc (GCC) 14 [09:45:04.499] 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 [09:45:04.499] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:45:04.499] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:45:04.593] configure: creating ./config.status [09:45:04.683] config.status: creating GNUmakefile [09:45:04.695] config.status: creating src/Makefile.global [09:45:04.713] config.status: creating src/include/pg_config.h [09:45:04.726] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:45:04.742] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:45:04.750] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:45:04.758] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:45:04.766] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:45:04.769] config.status: executing check_win32_symlinks commands [09:45:04.804] [09:45:04.804] real 0m18.530s [09:45:04.804] user 0m13.182s [09:45:04.804] sys 0m4.996s [09:45:04.804] make -s -j${BUILD_JOBS} clean [09:45:05.321] time make -s -j${BUILD_JOBS} world-bin [09:48:02.515] pgbench.c: In function ‘initWorkerThread’: [09:48:02.515] pgbench.c:1798:16: error: returning ‘void *’ from a function with return type ‘unsigned int’ makes integer from pointer without a cast [-Wint-conversion] [09:48:02.515] 1798 | return NULL; [09:48:02.515] | ^~~~ [09:48:02.515] pgbench.c: In function ‘initPopulateTableParallel’: [09:48:02.515] pgbench.c:1813:57: error: ‘pthread_t’ undeclared (first use in this function); did you mean ‘nthreads’? [09:48:02.515] 1813 | worker_threads = pg_malloc(num_workers * sizeof(pthread_t)); [09:48:02.515] | ^~~~~~~~~ [09:48:02.515] | nthreads [09:48:02.515] pgbench.c:1813:57: note: each undeclared identifier is reported only once for each function it appears in [09:48:02.516] make[3]: *** [: pgbench.o] Error 1 [09:48:02.517] make[2]: *** [Makefile:45: all-pgbench-recurse] Error 2 [09:48:02.520] make[2]: *** Waiting for unfinished jobs.... [09:48:06.869] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [09:48:06.869] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:48:06.869] [09:48:06.869] real 3m1.548s [09:48:06.869] user 10m5.864s [09:48:06.869] sys 1m33.878s [09:48:06.870] [09:48:06.870] Exit status: 2