[07:25:48.222] time ./configure \ [07:25:48.222] --host=x86_64-w64-mingw32 \ [07:25:48.222] --enable-cassert \ [07:25:48.222] --without-icu \ [07:25:48.222] CC="ccache x86_64-w64-mingw32-gcc" \ [07:25:48.222] CXX="ccache x86_64-w64-mingw32-g++" [07:25:48.350] checking build system type... x86_64-pc-linux-gnu [07:25:48.525] checking host system type... x86_64-w64-mingw32 [07:25:48.531] checking which template to use... win32 [07:25:48.531] checking whether NLS is wanted... no [07:25:48.531] checking for default port number... 5432 [07:25:48.538] checking for block size... 8kB [07:25:48.539] checking for segment size... 1GB [07:25:48.542] checking for WAL block size... 8kB [07:25:48.543] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:25:48.578] checking whether the C compiler works... yes [07:25:48.712] checking for C compiler default output file name... a.exe [07:25:48.713] checking for suffix of executables... .exe [07:25:48.757] checking whether we are cross compiling... yes [07:25:48.835] checking for suffix of object files... o [07:25:48.843] checking whether we are using the GNU C compiler... yes [07:25:48.849] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:25:48.856] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:25:48.867] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C11... none needed [07:25:48.915] checking whether we are using the GNU C++ compiler... yes [07:25:48.921] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:25:48.960] checking for gawk... no [07:25:48.960] checking for mawk... mawk [07:25:48.963] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:25:48.970] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:25:48.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:25:49.022] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:25:49.188] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:25:49.197] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:25:49.205] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:25:49.214] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:25:49.223] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:25:49.232] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:25:49.240] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:25:49.248] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:25:49.256] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:25:49.265] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:25:49.273] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:25:49.281] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:25:49.289] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:25:49.328] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:25:49.336] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:25:49.344] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:25:49.352] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:25:49.361] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:25:49.369] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:25:49.397] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:25:49.405] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:25:49.413] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:25:49.452] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:25:49.493] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:25:49.501] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:25:49.509] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:25:49.547] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:25:49.555] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:25:49.563] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:25:49.572] checking whether the C compiler still works... yes [07:25:49.644] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:25:49.728] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:25:49.728] checking pkg-config is at least version 0.9.0... yes [07:25:49.747] checking whether to build with ICU support... no [07:25:49.747] checking whether to build with Tcl... no [07:25:49.747] checking whether to build Perl modules... no [07:25:49.747] checking whether to build Python modules... no [07:25:49.747] checking whether to build with GSSAPI support... no [07:25:49.749] checking whether to build with PAM support... no [07:25:49.749] checking whether to build with BSD Authentication support... no [07:25:49.749] checking whether to build with LDAP support... no [07:25:49.749] checking whether to build with Bonjour support... no [07:25:49.749] checking whether to build with SELinux support... no [07:25:49.749] checking whether to build with systemd support... no [07:25:49.749] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:25:49.749] checking whether to build with liburing support... no [07:25:49.750] checking whether to build with libcurl support... no [07:25:49.750] checking whether to build with libnuma support... no [07:25:49.750] checking whether to build with XML support... no [07:25:49.751] checking whether to build with LZ4 support... no [07:25:49.751] checking whether to build with ZSTD support... no [07:25:49.751] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:25:49.751] checking whether it is possible to strip libraries... yes [07:25:49.758] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:25:49.759] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:25:49.759] checking for a BSD-compatible install... /usr/bin/install -c [07:25:49.770] checking for tar... /usr/bin/tar [07:25:49.770] checking whether ln -s works... yes [07:25:49.770] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:25:49.773] checking for bison... /usr/bin/bison [07:25:49.775] configure: using bison (GNU Bison) 3.8.2 [07:25:49.779] checking for flex... /usr/bin/flex [07:25:49.781] configure: using flex 2.6.4 [07:25:49.781] checking for perl... /usr/bin/perl [07:25:49.785] configure: using perl 5.36.0 [07:25:49.787] checking for zic... /usr/sbin/zic [07:25:49.787] checking for a sed that does not truncate output... /usr/bin/sed [07:25:49.793] checking for grep that handles long lines and -e... /usr/bin/grep [07:25:49.796] checking for egrep... /usr/bin/grep -E [07:25:49.798] checking for ANSI C header files... yes [07:25:49.854] checking for sys/types.h... yes [07:25:49.870] checking for sys/stat.h... yes [07:25:49.888] checking for stdlib.h... yes [07:25:49.903] checking for string.h... yes [07:25:49.919] checking for memory.h... yes [07:25:49.936] checking for strings.h... yes [07:25:49.954] checking for inttypes.h... yes [07:25:49.972] checking for stdint.h... yes [07:25:49.988] checking for unistd.h... yes [07:25:50.004] checking for main in -lm... yes [07:25:50.057] checking for library containing setproctitle... no [07:25:50.156] checking for library containing dlsym... no [07:25:50.255] checking for library containing socket... -lws2_32 [07:25:50.397] checking for library containing getopt_long... none required [07:25:50.448] checking for library containing shm_open... no [07:25:50.543] checking for library containing shm_unlink... no [07:25:50.638] checking for library containing clock_gettime... no [07:25:50.733] checking for library containing shmget... no [07:25:50.829] checking for library containing backtrace_symbols... no [07:25:50.927] checking for library containing pthread_barrier_wait... -lpthread [07:25:51.019] checking for inflate in -lz... yes [07:25:51.070] checking atomic.h usability... no [07:25:51.129] checking atomic.h presence... no [07:25:51.148] checking for atomic.h... no [07:25:51.151] checking copyfile.h usability... no [07:25:51.206] checking copyfile.h presence... no [07:25:51.225] checking for copyfile.h... no [07:25:51.228] checking execinfo.h usability... no [07:25:51.284] checking execinfo.h presence... no [07:25:51.304] checking for execinfo.h... no [07:25:51.307] checking getopt.h usability... yes [07:25:51.315] checking getopt.h presence... yes [07:25:51.330] checking for getopt.h... yes [07:25:51.337] checking ifaddrs.h usability... no [07:25:51.394] checking ifaddrs.h presence... no [07:25:51.414] checking for ifaddrs.h... no [07:25:51.418] checking mbarrier.h usability... no [07:25:51.476] checking mbarrier.h presence... no [07:25:51.496] checking for mbarrier.h... no [07:25:51.500] checking sys/epoll.h usability... no [07:25:51.559] checking sys/epoll.h presence... no [07:25:51.581] checking for sys/epoll.h... no [07:25:51.584] checking sys/event.h usability... no [07:25:51.641] checking sys/event.h presence... no [07:25:51.661] checking for sys/event.h... no [07:25:51.664] checking sys/personality.h usability... no [07:25:51.721] checking sys/personality.h presence... no [07:25:51.741] checking for sys/personality.h... no [07:25:51.744] checking sys/prctl.h usability... no [07:25:51.800] checking sys/prctl.h presence... no [07:25:51.819] checking for sys/prctl.h... no [07:25:51.823] checking sys/procctl.h usability... no [07:25:51.879] checking sys/procctl.h presence... no [07:25:51.898] checking for sys/procctl.h... no [07:25:51.902] checking sys/signalfd.h usability... no [07:25:51.959] checking sys/signalfd.h presence... no [07:25:51.979] checking for sys/signalfd.h... no [07:25:51.983] checking sys/ucred.h usability... no [07:25:52.042] checking sys/ucred.h presence... no [07:25:52.064] checking for sys/ucred.h... no [07:25:52.068] checking termios.h usability... no [07:25:52.127] checking termios.h presence... no [07:25:52.148] checking for termios.h... no [07:25:52.151] checking ucred.h usability... no [07:25:52.207] checking ucred.h presence... no [07:25:52.227] checking for ucred.h... no [07:25:52.231] checking xlocale.h usability... no [07:25:52.287] checking xlocale.h presence... no [07:25:52.306] checking for xlocale.h... no [07:25:52.309] checking zlib.h usability... yes [07:25:52.319] checking zlib.h presence... yes [07:25:52.338] checking for zlib.h... yes [07:25:52.339] checking for lz4... /usr/bin/lz4 [07:25:52.339] checking for zstd... /usr/bin/zstd [07:25:52.339] checking for openssl... /usr/bin/openssl [07:25:52.344] configure: using openssl: OpenSSL 3.0.17 1 Jul 2025 (Library: OpenSSL 3.0.17 1 Jul 2025) [07:25:52.344] checking crtdefs.h usability... yes [07:25:52.352] checking crtdefs.h presence... yes [07:25:52.367] checking for crtdefs.h... yes [07:25:52.368] checking whether byte ordering is bigendian... no [07:25:52.442] checking for inline... inline [07:25:52.449] checking for printf format archetype... gnu_printf [07:25:52.457] checking for _Static_assert... yes [07:25:52.499] checking for typeof... typeof [07:25:52.507] checking for __builtin_types_compatible_p... yes [07:25:52.517] checking for __builtin_constant_p... yes [07:25:52.528] checking for __builtin_mul_overflow... yes [07:25:52.576] checking for __builtin_unreachable... yes [07:25:52.619] checking for computed goto support... yes [07:25:52.627] checking for struct tm.tm_zone... no [07:25:52.703] checking for union semun... no [07:25:52.737] checking for socklen_t... yes [07:25:53.955] checking for struct sockaddr.sa_len... no [07:25:56.214] checking for C/C++ restrict keyword... __restrict [07:25:56.229] checking for struct option... yes [07:25:56.279] checking whether assembler supports x86_64 popcntq... yes [07:25:56.288] checking size of off_t... 4 [07:25:56.506] 0 [07:25:56.506] checking for int timezone... yes [07:25:56.563] checking for backtrace_symbols... no [07:25:56.617] checking for copyfile... no [07:25:56.672] checking for copy_file_range... no [07:25:56.729] checking for elf_aux_info... no [07:25:56.783] checking for getauxval... no [07:25:56.837] checking for getifaddrs... no [07:25:56.891] checking for getpeerucred... no [07:25:56.945] checking for inet_pton... yes [07:25:57.001] checking for kqueue... no [07:25:57.060] checking for localeconv_l... no [07:25:57.119] checking for mbstowcs_l... no [07:25:57.174] checking for posix_fallocate... no [07:25:57.229] checking for ppoll... no [07:25:57.284] checking for pthread_is_threaded_np... no [07:25:57.338] checking for setproctitle... no [07:25:57.393] checking for setproctitle_fast... no [07:25:57.449] checking for strsignal... no [07:25:57.504] checking for syncfs... no [07:25:57.562] checking for sync_file_range... no [07:25:57.619] checking for uselocale... no [07:25:57.678] checking for wcstombs_l... no [07:25:57.730] checking for __builtin_bswap16... yes [07:25:57.786] checking for __builtin_bswap32... yes [07:25:57.836] checking for __builtin_bswap64... yes [07:25:57.885] checking for __builtin_clz... yes [07:25:57.935] checking for __builtin_ctz... yes [07:25:57.984] checking for __builtin_popcount... yes [07:25:58.033] checking for __builtin_frame_address... yes [07:25:58.083] checking for _LARGEFILE_SOURCE value needed for large files... no [07:25:58.138] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:25:58.173] checking for posix_fadvise... no [07:25:58.225] checking whether posix_fadvise is declared... no [07:25:58.268] checking whether fdatasync is declared... no [07:25:58.313] checking whether strlcat is declared... no [07:25:58.377] checking whether strlcpy is declared... no [07:25:58.439] checking whether strnlen is declared... yes [07:25:58.452] checking whether strsep is declared... no [07:25:58.515] checking whether timingsafe_bcmp is declared... no [07:25:58.578] checking whether preadv is declared... no [07:25:58.615] checking whether pwritev is declared... no [07:25:58.651] checking whether strchrnul is declared... no [07:25:58.692] checking whether memset_s is declared... no [07:25:58.733] checking whether F_FULLFSYNC is declared... no [07:25:58.771] checking for explicit_bzero... no [07:25:58.818] checking for getopt... yes [07:25:58.863] checking for getpeereid... no [07:25:58.911] checking for inet_aton... no [07:25:58.959] checking for mkdtemp... no [07:25:59.008] checking for strlcat... no [07:25:59.056] checking for strlcpy... no [07:25:59.104] checking for strnlen... yes [07:25:59.154] checking for strsep... no [07:25:59.205] checking for timingsafe_bcmp... no [07:25:59.255] checking for pthread_barrier_wait... yes [07:25:59.302] configure: On mingw32 we will use our strtof wrapper. [07:25:59.302] checking for getopt_long... yes [07:25:59.351] checking for syslog... no [07:25:59.401] checking for opterr... yes [07:25:59.453] checking for optreset... no [07:25:59.510] checking test program... cross-compiling [07:25:59.510] checking size of void *... 8 [07:25:59.801] checking size of size_t... 8 [07:26:00.067] checking size of long... 4 [07:26:00.269] checking size of long long... 8 [07:26:00.542] checking alignment of short... 2 [07:26:00.684] checking alignment of int... 4 [07:26:00.895] checking alignment of long... 4 [07:26:01.095] checking alignment of int64_t... 8 [07:26:01.363] checking alignment of double... 8 [07:26:01.633] checking for __int128... yes [07:26:01.684] checking for __int128 alignment bug... assuming ok [07:26:01.684] checking alignment of PG_INT128_TYPE... 16 [07:26:02.007] checking for builtin __sync char locking functions... yes [07:26:02.049] checking for builtin __sync int32 locking functions... yes [07:26:02.093] checking for builtin __sync int32 atomic operations... yes [07:26:02.138] checking for builtin __sync int64 atomic operations... yes [07:26:02.184] checking for builtin __atomic int32 atomic operations... yes [07:26:02.229] checking for builtin __atomic int64 atomic operations... yes [07:26:02.273] checking for __get_cpuid... yes [07:26:02.320] checking for __get_cpuid_count... yes [07:26:02.365] checking for _xgetbv... yes [07:26:02.770] checking for _mm512_popcnt_epi64... yes [07:26:03.197] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:26:03.298] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:26:03.319] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:26:03.337] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:26:03.355] 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 [07:26:03.410] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:26:03.410] checking for _mm512_clmulepi64_epi128... yes [07:26:03.819] checking for vectorized CRC-32C... AVX-512 with runtime check [07:26:03.819] checking which random number source to use... Windows native [07:26:03.821] checking for xmllint... /usr/bin/xmllint [07:26:03.821] checking for xsltproc... /usr/bin/xsltproc [07:26:03.822] checking for fop... /usr/bin/fop [07:26:03.822] checking for dbtoepub... no [07:26:03.822] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:26:03.822] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:26:03.823] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:26:03.833] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:26:03.833] 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 -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 [07:26:03.833] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:26:03.833] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:26:03.919] configure: creating ./config.status [07:26:04.001] config.status: creating GNUmakefile [07:26:04.013] config.status: creating src/Makefile.global [07:26:04.028] config.status: creating src/include/pg_config.h [07:26:04.040] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:26:04.055] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:26:04.062] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:26:04.069] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:26:04.076] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:26:04.079] config.status: executing check_win32_symlinks commands [07:26:04.111] [07:26:04.111] real 0m15.890s [07:26:04.111] user 0m10.591s [07:26:04.111] sys 0m5.038s [07:26:04.111] make -s -j${BUILD_JOBS} clean [07:26:04.678] time make -s -j${BUILD_JOBS} world-bin [07:26:16.970] pgbench.c: In function ‘replaceVariable’: [07:26:16.970] pgbench.c:1990:9: error: enumeration value ‘PQUOTE_SHELL_ARG’ not handled in switch [-Werror=switch] [07:26:16.970] 1990 | switch (quote) [07:26:16.970] | ^~~~~~ [07:26:16.970] pgbench.c:1987:25: error: unused variable ‘quotechar’ [-Werror=unused-variable] [07:26:16.970] 1987 | char quotechar; [07:26:16.970] | ^~~~~~~~~ [07:26:16.970] pgbench.c:2030:19: error: ‘quoted_value’ may be used uninitialized [-Werror=maybe-uninitialized] [07:26:16.970] 2030 | valueln = strlen(quoted_value); [07:26:16.970] | ^~~~~~~~~~~~~~~~~~~~ [07:26:16.970] pgbench.c:1988:21: note: ‘quoted_value’ was declared here [07:26:16.970] 1988 | char *quoted_value; [07:26:16.970] | ^~~~~~~~~~~~ [07:26:16.970] cc1: all warnings being treated as errors [07:26:16.972] make[3]: *** [: pgbench.o] Error 1 [07:26:16.972] make[2]: *** [Makefile:45: all-pgbench-recurse] Error 2 [07:26:16.972] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [07:26:16.973] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:26:16.973] [07:26:16.973] real 0m12.295s [07:26:16.973] user 0m17.435s [07:26:16.973] sys 0m11.071s [07:26:16.973] [07:26:16.973] Exit status: 2