[16:46:19.309] time ./configure \ [16:46:19.309] --host=x86_64-w64-mingw32ucrt \ [16:46:19.309] --enable-cassert \ [16:46:19.309] --without-icu \ [16:46:19.309] CC="ccache x86_64-w64-mingw32ucrt-gcc" \ [16:46:19.309] CXX="ccache x86_64-w64-mingw32ucrt-g++" [16:46:19.411] checking build system type... x86_64-pc-linux-gnu [16:46:19.599] checking host system type... x86_64-w64-mingw32ucrt [16:46:19.604] checking which template to use... win32 [16:46:19.605] checking whether NLS is wanted... no [16:46:19.605] checking for default port number... 5432 [16:46:19.611] checking for block size... 8kB [16:46:19.613] checking for segment size... 1GB [16:46:19.615] checking for WAL block size... 8kB [16:46:19.616] checking for x86_64-w64-mingw32ucrt-gcc... ccache x86_64-w64-mingw32ucrt-gcc [16:46:19.647] checking whether the C compiler works... yes [16:46:19.794] checking for C compiler default output file name... a.exe [16:46:19.795] checking for suffix of executables... .exe [16:46:19.836] checking whether we are cross compiling... yes [16:46:19.919] checking for suffix of object files... o [16:46:19.927] checking whether we are using the GNU C compiler... yes [16:46:19.933] checking whether ccache x86_64-w64-mingw32ucrt-gcc accepts -g... yes [16:46:19.940] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C89... none needed [16:46:19.948] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C11... none needed [16:46:19.997] checking whether we are using the GNU C++ compiler... yes [16:46:20.004] checking whether ccache x86_64-w64-mingw32ucrt-g++ accepts -g... yes [16:46:20.036] checking for gawk... no [16:46:20.036] checking for mawk... mawk [16:46:20.038] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:46:20.045] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=vla, for CFLAGS... yes [16:46:20.052] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:46:20.103] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:46:20.271] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wendif-labels, for CFLAGS... yes [16:46:20.279] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:46:20.286] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:46:20.293] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:46:20.300] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:46:20.307] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:46:20.314] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type, for CFLAGS... yes [16:46:20.321] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:46:20.327] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:46:20.334] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:46:20.340] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-security, for CFLAGS... yes [16:46:20.347] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wformat-security, for CXXFLAGS... yes [16:46:20.353] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-variable-declarations, for CFLAGS... yes [16:46:20.359] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:46:20.366] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:46:20.373] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fwrapv, for CFLAGS... yes [16:46:20.380] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fwrapv, for CXXFLAGS... yes [16:46:20.387] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:46:20.394] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fexcess-precision=standard, for CXXFLAGS... yes [16:46:20.400] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:46:20.407] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:46:20.413] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:46:20.455] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:46:20.499] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:46:20.506] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:46:20.512] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:46:20.550] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:46:20.557] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:46:20.563] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:46:20.571] checking whether the C compiler still works... yes [16:46:20.631] checking how to run the C preprocessor... ccache x86_64-w64-mingw32ucrt-gcc -E [16:46:20.698] checking for x86_64-w64-mingw32ucrt-pkg-config... /usr/bin/x86_64-w64-mingw32ucrt-pkg-config [16:46:20.698] checking pkg-config is at least version 0.9.0... yes [16:46:20.713] checking whether to build with ICU support... no [16:46:20.713] checking whether to build with Tcl... no [16:46:20.714] checking whether to build Perl modules... no [16:46:20.714] checking whether to build Python modules... no [16:46:20.714] checking whether to build with GSSAPI support... no [16:46:20.715] checking whether to build with PAM support... no [16:46:20.715] checking whether to build with BSD Authentication support... no [16:46:20.717] checking whether to build with LDAP support... no [16:46:20.717] checking whether to build with Bonjour support... no [16:46:20.717] checking whether to build with SELinux support... no [16:46:20.717] checking whether to build with systemd support... no [16:46:20.717] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:46:20.717] checking whether to build with liburing support... no [16:46:20.717] checking whether to build with libcurl support... no [16:46:20.717] checking whether to build with libnuma support... no [16:46:20.717] checking whether to build with XML support... no [16:46:20.717] checking whether to build with LZ4 support... no [16:46:20.717] checking whether to build with ZSTD support... no [16:46:20.717] checking for x86_64-w64-mingw32ucrt-strip... x86_64-w64-mingw32ucrt-strip [16:46:20.717] checking whether it is possible to strip libraries... yes [16:46:20.725] checking for x86_64-w64-mingw32ucrt-ar... x86_64-w64-mingw32ucrt-ar [16:46:20.725] checking for x86_64-w64-mingw32ucrt-windres... x86_64-w64-mingw32ucrt-windres [16:46:20.725] checking for a BSD-compatible install... /usr/bin/install -c [16:46:20.734] checking for tar... /usr/bin/tar [16:46:20.734] checking whether ln -s works... yes [16:46:20.734] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:46:20.736] checking for bison... /usr/bin/bison [16:46:20.738] configure: using bison (GNU Bison) 3.8.2 [16:46:20.741] checking for flex... /usr/bin/flex [16:46:20.744] configure: using flex 2.6.4 [16:46:20.744] checking for perl... /usr/bin/perl [16:46:20.746] configure: using perl 5.40.1 [16:46:20.749] checking for zic... /usr/sbin/zic [16:46:20.749] checking for a sed that does not truncate output... /usr/bin/sed [16:46:20.754] checking for grep that handles long lines and -e... /usr/bin/grep [16:46:20.756] checking for egrep... /usr/bin/grep -E [16:46:20.758] checking for ANSI C header files... yes [16:46:20.806] checking for sys/types.h... yes [16:46:20.819] checking for sys/stat.h... yes [16:46:20.833] checking for stdlib.h... yes [16:46:20.846] checking for string.h... yes [16:46:20.859] checking for memory.h... yes [16:46:20.873] checking for strings.h... yes [16:46:20.887] checking for inttypes.h... yes [16:46:20.902] checking for stdint.h... yes [16:46:20.917] checking for unistd.h... yes [16:46:20.929] checking for main in -lm... yes [16:46:20.980] checking for library containing setproctitle... no [16:46:21.072] checking for library containing dlsym... no [16:46:21.160] checking for library containing socket... -lws2_32 [16:46:21.285] checking for library containing getopt_long... none required [16:46:21.330] checking for library containing shm_open... no [16:46:21.413] checking for library containing shm_unlink... no [16:46:21.494] checking for library containing clock_gettime... none required [16:46:21.534] checking for library containing shmget... no [16:46:21.618] checking for library containing backtrace_symbols... no [16:46:21.701] checking for library containing pthread_barrier_wait... none required [16:46:21.742] checking for inflate in -lz... yes [16:46:21.788] checking atomic.h usability... no [16:46:21.847] checking atomic.h presence... no [16:46:21.864] checking for atomic.h... no [16:46:21.868] checking copyfile.h usability... no [16:46:21.920] checking copyfile.h presence... no [16:46:21.938] checking for copyfile.h... no [16:46:21.941] checking execinfo.h usability... no [16:46:21.994] checking execinfo.h presence... no [16:46:22.010] checking for execinfo.h... no [16:46:22.014] checking getopt.h usability... yes [16:46:22.021] checking getopt.h presence... yes [16:46:22.035] checking for getopt.h... yes [16:46:22.042] checking ifaddrs.h usability... no [16:46:22.093] checking ifaddrs.h presence... no [16:46:22.109] checking for ifaddrs.h... no [16:46:22.112] checking mbarrier.h usability... no [16:46:22.161] checking mbarrier.h presence... no [16:46:22.177] checking for mbarrier.h... no [16:46:22.181] checking sys/epoll.h usability... no [16:46:22.229] checking sys/epoll.h presence... no [16:46:22.246] checking for sys/epoll.h... no [16:46:22.249] checking sys/event.h usability... no [16:46:22.299] checking sys/event.h presence... no [16:46:22.317] checking for sys/event.h... no [16:46:22.320] checking sys/personality.h usability... no [16:46:22.370] checking sys/personality.h presence... no [16:46:22.388] checking for sys/personality.h... no [16:46:22.391] checking sys/prctl.h usability... no [16:46:22.442] checking sys/prctl.h presence... no [16:46:22.459] checking for sys/prctl.h... no [16:46:22.462] checking sys/procctl.h usability... no [16:46:22.512] checking sys/procctl.h presence... no [16:46:22.528] checking for sys/procctl.h... no [16:46:22.532] checking sys/signalfd.h usability... no [16:46:22.582] checking sys/signalfd.h presence... no [16:46:22.599] checking for sys/signalfd.h... no [16:46:22.602] checking sys/ucred.h usability... no [16:46:22.650] checking sys/ucred.h presence... no [16:46:22.667] checking for sys/ucred.h... no [16:46:22.670] checking termios.h usability... no [16:46:22.719] checking termios.h presence... no [16:46:22.735] checking for termios.h... no [16:46:22.738] checking uchar.h usability... yes [16:46:22.745] checking uchar.h presence... yes [16:46:22.765] checking for uchar.h... yes [16:46:22.772] checking ucred.h usability... no [16:46:22.821] checking ucred.h presence... no [16:46:22.837] checking for ucred.h... no [16:46:22.841] checking xlocale.h usability... no [16:46:22.890] checking xlocale.h presence... no [16:46:22.908] checking for xlocale.h... no [16:46:22.910] checking zlib.h usability... yes [16:46:22.918] checking zlib.h presence... yes [16:46:22.938] checking for zlib.h... yes [16:46:22.938] checking for lz4... /usr/bin/lz4 [16:46:22.938] checking for zstd... /usr/bin/zstd [16:46:22.939] checking for openssl... /usr/bin/openssl [16:46:22.943] configure: using openssl: OpenSSL 3.5.4 30 Sep 2025 (Library: OpenSSL 3.5.4 30 Sep 2025) [16:46:22.944] checking crtdefs.h usability... yes [16:46:22.951] checking crtdefs.h presence... yes [16:46:22.964] checking for crtdefs.h... yes [16:46:22.965] checking whether byte ordering is bigendian... no [16:46:23.029] checking for inline... inline [16:46:23.036] checking for printf format archetype... gnu_printf [16:46:23.045] checking for _Static_assert... yes [16:46:23.086] checking for typeof... typeof [16:46:23.094] checking for __builtin_types_compatible_p... yes [16:46:23.114] checking for __builtin_constant_p... yes [16:46:23.125] checking for __builtin_mul_overflow... yes [16:46:23.175] checking for __builtin_unreachable... yes [16:46:23.215] checking for computed goto support... yes [16:46:23.223] checking for struct tm.tm_zone... no [16:46:23.291] checking for union semun... no [16:46:23.320] checking for socklen_t... yes [16:46:24.452] checking for struct sockaddr.sa_len... no [16:46:26.458] checking for C/C++ restrict keyword... __restrict [16:46:26.470] checking for struct option... yes [16:46:26.508] checking whether assembler supports x86_64 popcntq... yes [16:46:26.515] checking size of off_t... 4 [16:46:26.700] checking for int timezone... yes [16:46:26.759] checking for backtrace_symbols... no [16:46:26.808] checking for copyfile... no [16:46:26.857] checking for copy_file_range... no [16:46:26.906] checking for elf_aux_info... no [16:46:26.958] checking for getauxval... no [16:46:27.008] checking for getifaddrs... no [16:46:27.060] checking for getpeerucred... no [16:46:27.113] checking for inet_pton... yes [16:46:27.163] checking for kqueue... no [16:46:27.213] checking for localeconv_l... no [16:46:27.263] checking for mbstowcs_l... no [16:46:27.315] checking for posix_fallocate... no [16:46:27.367] checking for ppoll... no [16:46:27.419] checking for pthread_is_threaded_np... no [16:46:27.470] checking for setproctitle... no [16:46:27.520] checking for setproctitle_fast... no [16:46:27.571] checking for strsignal... no [16:46:27.619] checking for syncfs... no [16:46:27.668] checking for sync_file_range... no [16:46:27.718] checking for uselocale... no [16:46:27.766] checking for wcstombs_l... no [16:46:27.814] checking for __builtin_bswap16... yes [16:46:27.862] checking for __builtin_bswap32... yes [16:46:27.910] checking for __builtin_bswap64... yes [16:46:27.956] checking for __builtin_clz... yes [16:46:28.004] checking for __builtin_ctz... yes [16:46:28.049] checking for __builtin_popcount... yes [16:46:28.095] checking for __builtin_frame_address... yes [16:46:28.141] checking for _LARGEFILE_SOURCE value needed for large files... no [16:46:28.193] checking how ccache x86_64-w64-mingw32ucrt-gcc reports undeclared, standard C functions... error [16:46:28.220] checking for posix_fadvise... no [16:46:28.272] checking whether posix_fadvise is declared... no [16:46:28.313] checking whether fdatasync is declared... no [16:46:28.353] checking whether strlcat is declared... no [16:46:28.412] checking whether strlcpy is declared... no [16:46:28.472] checking whether strnlen is declared... yes [16:46:28.485] checking whether strsep is declared... no [16:46:28.545] checking whether timingsafe_bcmp is declared... no [16:46:28.605] checking whether preadv is declared... no [16:46:28.637] checking whether pwritev is declared... no [16:46:28.668] checking whether strchrnul is declared... no [16:46:28.705] checking whether memset_s is declared... no [16:46:28.741] checking whether F_FULLFSYNC is declared... no [16:46:28.775] checking for explicit_bzero... no [16:46:28.823] checking for getopt... yes [16:46:28.865] checking for getpeereid... no [16:46:28.913] checking for inet_aton... no [16:46:28.960] checking for mkdtemp... no [16:46:29.007] checking for strlcat... no [16:46:29.054] checking for strlcpy... no [16:46:29.101] checking for strnlen... yes [16:46:29.149] checking for strsep... no [16:46:29.196] checking for timingsafe_bcmp... no [16:46:29.244] checking for pthread_barrier_wait... yes [16:46:29.287] configure: On mingw32ucrt we will use our strtof wrapper. [16:46:29.287] checking for getopt_long... yes [16:46:29.332] checking for syslog... no [16:46:29.380] checking for opterr... yes [16:46:29.427] checking for optreset... no [16:46:29.478] checking test program... cross-compiling [16:46:29.478] checking size of void *... 8 [16:46:29.727] checking size of size_t... 8 [16:46:29.976] checking size of long... 4 [16:46:30.165] checking size of long long... 8 [16:46:30.417] checking alignment of short... 2 [16:46:30.546] checking alignment of int... 4 [16:46:30.730] checking alignment of long... 4 [16:46:30.918] checking alignment of int64_t... 8 [16:46:31.165] checking alignment of double... 8 [16:46:31.415] checking for __int128... yes [16:46:31.469] checking for __int128 alignment bug... assuming ok [16:46:31.469] checking alignment of PG_INT128_TYPE... 16 [16:46:31.782] checking for builtin __sync char locking functions... yes [16:46:31.824] checking for builtin __sync int32 locking functions... yes [16:46:31.865] checking for builtin __sync int32 atomic operations... yes [16:46:31.906] checking for builtin __sync int64 atomic operations... yes [16:46:31.949] checking for builtin __atomic int32 atomic operations... yes [16:46:31.990] checking for builtin __atomic int64 atomic operations... yes [16:46:32.033] checking for __get_cpuid... yes [16:46:32.077] checking for __get_cpuid_count... yes [16:46:32.121] checking for _xgetbv... yes [16:46:32.535] checking for _mm512_popcnt_epi64... yes [16:46:32.967] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [16:46:33.065] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:46:33.085] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [16:46:33.102] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:46:33.119] 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 [16:46:33.151] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:46:33.151] checking for _mm512_clmulepi64_epi128... yes [16:46:33.568] checking for vectorized CRC-32C... AVX-512 with runtime check [16:46:33.568] checking which random number source to use... Windows native [16:46:33.570] checking for xmllint... /usr/bin/xmllint [16:46:33.570] checking for xsltproc... /usr/bin/xsltproc [16:46:33.570] checking for fop... /usr/bin/fop [16:46:33.570] checking for dbtoepub... no [16:46:33.571] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:46:33.571] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:46:33.571] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:46:33.581] configure: using compiler=x86_64-w64-mingw32ucrt-gcc (GCC) 14 [16:46:33.581] 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 [16:46:33.581] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:46:33.581] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:46:33.665] configure: creating ./config.status [16:46:33.750] config.status: creating GNUmakefile [16:46:33.763] config.status: creating src/Makefile.global [16:46:33.777] config.status: creating src/include/pg_config.h [16:46:33.790] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:46:33.805] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:46:33.812] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:46:33.819] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:46:33.826] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:46:33.830] config.status: executing check_win32_symlinks commands [16:46:33.862] [16:46:33.862] real 0m14.552s [16:46:33.862] user 0m10.366s [16:46:33.862] sys 0m3.879s [16:46:33.862] make -s -j${BUILD_JOBS} clean [16:46:34.356] time make -s -j${BUILD_JOBS} world-bin [16:46:48.166] pgbench.c: In function ‘initWorkerThread’: [16:46:48.166] pgbench.c:1798:16: error: returning ‘void *’ from a function with return type ‘unsigned int’ makes integer from pointer without a cast [-Wint-conversion] [16:46:48.166] 1798 | return NULL; [16:46:48.166] | ^~~~ [16:46:48.166] pgbench.c: In function ‘initPopulateTableParallel’: [16:46:48.166] pgbench.c:1813:57: error: ‘pthread_t’ undeclared (first use in this function); did you mean ‘nthreads’? [16:46:48.166] 1813 | worker_threads = pg_malloc(num_workers * sizeof(pthread_t)); [16:46:48.166] | ^~~~~~~~~ [16:46:48.166] | nthreads [16:46:48.166] pgbench.c:1813:57: note: each undeclared identifier is reported only once for each function it appears in [16:46:48.168] make[3]: *** [: pgbench.o] Error 1 [16:46:48.168] make[2]: *** [Makefile:45: all-pgbench-recurse] Error 2 [16:46:48.168] make[2]: *** Waiting for unfinished jobs.... [16:46:48.413] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [16:46:48.413] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:46:48.413] [16:46:48.413] real 0m14.058s [16:46:48.413] user 0m18.770s [16:46:48.413] sys 0m7.449s [16:46:48.414] [16:46:48.414] Exit status: 2