[07:39:42.333] time ./configure \ [07:39:42.333] --host=x86_64-w64-mingw32 \ [07:39:42.333] --enable-cassert \ [07:39:42.333] --without-icu \ [07:39:42.333] CC="ccache x86_64-w64-mingw32-gcc" \ [07:39:42.333] CXX="ccache x86_64-w64-mingw32-g++" [07:39:42.456] checking build system type... x86_64-pc-linux-gnu [07:39:42.628] checking host system type... x86_64-w64-mingw32 [07:39:42.634] checking which template to use... win32 [07:39:42.634] checking whether NLS is wanted... no [07:39:42.634] checking for default port number... 5432 [07:39:42.641] checking for block size... 8kB [07:39:42.643] checking for segment size... 1GB [07:39:42.645] checking for WAL block size... 8kB [07:39:42.647] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:39:42.681] checking whether the C compiler works... yes [07:39:42.800] checking for C compiler default output file name... a.exe [07:39:42.802] checking for suffix of executables... .exe [07:39:42.843] checking whether we are cross compiling... yes [07:39:42.918] checking for suffix of object files... o [07:39:42.926] checking whether we are using the GNU C compiler... yes [07:39:42.933] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:39:42.939] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:39:42.949] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C11... none needed [07:39:43.005] checking whether we are using the GNU C++ compiler... yes [07:39:43.011] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:39:43.048] checking for gawk... no [07:39:43.048] checking for mawk... mawk [07:39:43.051] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:39:43.057] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:39:43.064] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:39:43.109] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:39:43.255] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:39:43.262] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:39:43.268] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:39:43.274] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:39:43.303] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:39:43.310] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:39:43.316] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:39:43.323] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:39:43.382] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:39:43.388] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:39:43.395] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:39:43.401] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:39:43.408] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:39:43.443] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:39:43.450] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:39:43.457] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:39:43.463] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:39:43.495] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:39:43.511] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:39:43.533] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:39:43.540] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:39:43.571] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:39:43.608] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:39:43.645] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:39:43.652] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:39:43.683] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:39:43.717] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:39:43.724] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:39:43.731] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:39:43.739] checking whether the C compiler still works... yes [07:39:43.802] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:39:43.874] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:39:43.875] checking pkg-config is at least version 0.9.0... yes [07:39:43.891] checking whether to build with ICU support... no [07:39:43.891] checking whether to build with Tcl... no [07:39:43.891] checking whether to build Perl modules... no [07:39:43.891] checking whether to build Python modules... no [07:39:43.891] checking whether to build with GSSAPI support... no [07:39:43.893] checking whether to build with PAM support... no [07:39:43.893] checking whether to build with BSD Authentication support... no [07:39:43.893] checking whether to build with LDAP support... no [07:39:43.893] checking whether to build with Bonjour support... no [07:39:43.893] checking whether to build with SELinux support... no [07:39:43.893] checking whether to build with systemd support... no [07:39:43.893] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:39:43.893] checking whether to build with liburing support... no [07:39:43.893] checking whether to build with libcurl support... no [07:39:43.894] checking whether to build with libnuma support... no [07:39:43.894] checking whether to build with XML support... no [07:39:43.894] checking whether to build with LZ4 support... no [07:39:43.894] checking whether to build with ZSTD support... no [07:39:43.895] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:39:43.895] checking whether it is possible to strip libraries... yes [07:39:43.901] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:39:43.901] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:39:43.902] checking for a BSD-compatible install... /usr/bin/install -c [07:39:43.910] checking for tar... /usr/bin/tar [07:39:43.910] checking whether ln -s works... yes [07:39:43.910] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:39:43.913] checking for bison... /usr/bin/bison [07:39:43.915] configure: using bison (GNU Bison) 3.8.2 [07:39:43.918] checking for flex... /usr/bin/flex [07:39:43.920] configure: using flex 2.6.4 [07:39:43.920] checking for perl... /usr/bin/perl [07:39:43.922] configure: using perl 5.36.0 [07:39:43.924] checking for zic... /usr/sbin/zic [07:39:43.925] checking for a sed that does not truncate output... /usr/bin/sed [07:39:43.929] checking for grep that handles long lines and -e... /usr/bin/grep [07:39:43.931] checking for egrep... /usr/bin/grep -E [07:39:43.933] checking for ANSI C header files... yes [07:39:44.020] checking for sys/types.h... yes [07:39:44.035] checking for sys/stat.h... yes [07:39:44.095] checking for stdlib.h... yes [07:39:44.109] checking for string.h... yes [07:39:44.123] checking for memory.h... yes [07:39:44.138] checking for strings.h... yes [07:39:44.155] checking for inttypes.h... yes [07:39:44.193] checking for stdint.h... yes [07:39:44.255] checking for unistd.h... yes [07:39:44.270] checking for main in -lm... yes [07:39:44.318] checking for library containing setproctitle... no [07:39:44.409] checking for library containing dlsym... no [07:39:44.496] checking for library containing socket... -lws2_32 [07:39:44.626] checking for library containing getopt_long... none required [07:39:44.673] checking for library containing shm_open... no [07:39:44.761] checking for library containing shm_unlink... no [07:39:44.846] checking for library containing clock_gettime... no [07:39:44.932] checking for library containing shmget... no [07:39:45.016] checking for library containing backtrace_symbols... no [07:39:45.102] checking for library containing pthread_barrier_wait... -lpthread [07:39:45.194] checking for inflate in -lz... yes [07:39:45.242] checking atomic.h usability... no [07:39:45.297] checking atomic.h presence... no [07:39:45.317] checking for atomic.h... no [07:39:45.321] checking copyfile.h usability... no [07:39:45.375] checking copyfile.h presence... no [07:39:45.394] checking for copyfile.h... no [07:39:45.397] checking execinfo.h usability... no [07:39:45.451] checking execinfo.h presence... no [07:39:45.470] checking for execinfo.h... no [07:39:45.474] checking getopt.h usability... yes [07:39:45.481] checking getopt.h presence... yes [07:39:45.496] checking for getopt.h... yes [07:39:45.504] checking ifaddrs.h usability... no [07:39:45.558] checking ifaddrs.h presence... no [07:39:45.577] checking for ifaddrs.h... no [07:39:45.581] checking mbarrier.h usability... no [07:39:45.635] checking mbarrier.h presence... no [07:39:45.654] checking for mbarrier.h... no [07:39:45.657] checking sys/epoll.h usability... no [07:39:45.711] checking sys/epoll.h presence... no [07:39:45.730] checking for sys/epoll.h... no [07:39:45.733] checking sys/event.h usability... no [07:39:45.786] checking sys/event.h presence... no [07:39:45.803] checking for sys/event.h... no [07:39:45.806] checking sys/personality.h usability... no [07:39:45.858] checking sys/personality.h presence... no [07:39:45.875] checking for sys/personality.h... no [07:39:45.879] checking sys/prctl.h usability... no [07:39:45.932] checking sys/prctl.h presence... no [07:39:45.950] checking for sys/prctl.h... no [07:39:45.953] checking sys/procctl.h usability... no [07:39:46.004] checking sys/procctl.h presence... no [07:39:46.021] checking for sys/procctl.h... no [07:39:46.024] checking sys/signalfd.h usability... no [07:39:46.077] checking sys/signalfd.h presence... no [07:39:46.095] checking for sys/signalfd.h... no [07:39:46.098] checking sys/ucred.h usability... no [07:39:46.150] checking sys/ucred.h presence... no [07:39:46.169] checking for sys/ucred.h... no [07:39:46.172] checking termios.h usability... no [07:39:46.224] checking termios.h presence... no [07:39:46.242] checking for termios.h... no [07:39:46.245] checking ucred.h usability... no [07:39:46.299] checking ucred.h presence... no [07:39:46.316] checking for ucred.h... no [07:39:46.319] checking xlocale.h usability... no [07:39:46.373] checking xlocale.h presence... no [07:39:46.391] checking for xlocale.h... no [07:39:46.394] checking zlib.h usability... yes [07:39:46.451] checking zlib.h presence... yes [07:39:46.469] checking for zlib.h... yes [07:39:46.470] checking for lz4... /usr/bin/lz4 [07:39:46.470] checking for zstd... /usr/bin/zstd [07:39:46.470] checking for openssl... /usr/bin/openssl [07:39:46.475] configure: using openssl: OpenSSL 3.0.17 1 Jul 2025 (Library: OpenSSL 3.0.17 1 Jul 2025) [07:39:46.475] checking crtdefs.h usability... yes [07:39:46.483] checking crtdefs.h presence... yes [07:39:46.498] checking for crtdefs.h... yes [07:39:46.499] checking whether byte ordering is bigendian... no [07:39:46.570] checking for inline... inline [07:39:46.599] checking for printf format archetype... gnu_printf [07:39:46.617] checking for _Static_assert... yes [07:39:46.660] checking for typeof... typeof [07:39:46.667] checking for __builtin_types_compatible_p... yes [07:39:46.678] checking for __builtin_constant_p... yes [07:39:46.709] checking for __builtin_mul_overflow... yes [07:39:46.757] checking for __builtin_unreachable... yes [07:39:46.798] checking for computed goto support... yes [07:39:46.805] checking for struct tm.tm_zone... no [07:39:46.879] checking for union semun... no [07:39:46.911] checking for socklen_t... yes [07:39:48.381] checking for struct sockaddr.sa_len... no [07:39:50.332] checking for C/C++ restrict keyword... __restrict [07:39:50.345] checking for struct option... yes [07:39:50.399] checking whether assembler supports x86_64 popcntq... yes [07:39:50.406] checking size of off_t... 4 [07:39:50.666] 0 [07:39:50.667] checking for int timezone... yes [07:39:50.720] checking for backtrace_symbols... no [07:39:50.772] checking for copyfile... no [07:39:50.823] checking for copy_file_range... no [07:39:50.875] checking for elf_aux_info... no [07:39:50.926] checking for getauxval... no [07:39:50.977] checking for getifaddrs... no [07:39:51.027] checking for getpeerucred... no [07:39:51.077] checking for inet_pton... yes [07:39:51.126] checking for kqueue... no [07:39:51.178] checking for localeconv_l... no [07:39:51.230] checking for mbstowcs_l... no [07:39:51.280] checking for posix_fallocate... no [07:39:51.330] checking for ppoll... no [07:39:51.381] checking for pthread_is_threaded_np... no [07:39:51.432] checking for setproctitle... no [07:39:51.483] checking for setproctitle_fast... no [07:39:51.534] checking for strsignal... no [07:39:51.585] checking for syncfs... no [07:39:51.640] checking for sync_file_range... no [07:39:51.692] checking for uselocale... no [07:39:51.743] checking for wcstombs_l... no [07:39:51.790] checking for __builtin_bswap16... yes [07:39:51.837] checking for __builtin_bswap32... yes [07:39:51.885] checking for __builtin_bswap64... yes [07:39:51.933] checking for __builtin_clz... yes [07:39:51.982] checking for __builtin_ctz... yes [07:39:52.029] checking for __builtin_popcount... yes [07:39:52.077] checking for __builtin_frame_address... yes [07:39:52.125] checking for _LARGEFILE_SOURCE value needed for large files... no [07:39:52.178] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:39:52.210] checking for posix_fadvise... no [07:39:52.262] checking whether posix_fadvise is declared... no [07:39:52.306] checking whether fdatasync is declared... no [07:39:52.351] checking whether strlcat is declared... no [07:39:52.413] checking whether strlcpy is declared... no [07:39:52.475] checking whether strnlen is declared... yes [07:39:52.488] checking whether strsep is declared... no [07:39:52.550] checking whether timingsafe_bcmp is declared... no [07:39:52.612] checking whether preadv is declared... no [07:39:52.647] checking whether pwritev is declared... no [07:39:52.682] checking whether strchrnul is declared... no [07:39:52.726] checking whether memset_s is declared... no [07:39:52.768] checking whether F_FULLFSYNC is declared... no [07:39:52.805] checking for explicit_bzero... no [07:39:52.852] checking for getopt... yes [07:39:52.897] checking for getpeereid... no [07:39:52.944] checking for inet_aton... no [07:39:52.990] checking for mkdtemp... no [07:39:53.036] checking for strlcat... no [07:39:53.084] checking for strlcpy... no [07:39:53.131] checking for strnlen... yes [07:39:53.180] checking for strsep... no [07:39:53.228] checking for timingsafe_bcmp... no [07:39:53.277] checking for pthread_barrier_wait... yes [07:39:53.322] configure: On mingw32 we will use our strtof wrapper. [07:39:53.322] checking for getopt_long... yes [07:39:53.367] checking for syslog... no [07:39:53.416] checking for opterr... yes [07:39:53.465] checking for optreset... no [07:39:53.517] checking test program... cross-compiling [07:39:53.517] checking size of void *... 8 [07:39:53.829] checking size of size_t... 8 [07:39:54.151] checking size of long... 4 [07:39:54.402] checking size of long long... 8 [07:39:54.746] checking alignment of short... 2 [07:39:54.990] checking alignment of int... 4 [07:39:55.195] checking alignment of long... 4 [07:39:55.393] checking alignment of int64_t... 8 [07:39:55.822] checking alignment of double... 8 [07:39:56.160] checking for __int128... yes [07:39:56.212] checking for __int128 alignment bug... assuming ok [07:39:56.212] checking alignment of PG_INT128_TYPE... 16 [07:39:56.700] checking for builtin __sync char locking functions... yes [07:39:56.743] checking for builtin __sync int32 locking functions... yes [07:39:56.788] checking for builtin __sync int32 atomic operations... yes [07:39:56.834] checking for builtin __sync int64 atomic operations... yes [07:39:56.879] checking for builtin __atomic int32 atomic operations... yes [07:39:56.921] checking for builtin __atomic int64 atomic operations... yes [07:39:56.967] checking for __get_cpuid... yes [07:39:57.014] checking for __get_cpuid_count... yes [07:39:57.059] checking for _xgetbv... yes [07:39:57.459] checking for _mm512_popcnt_epi64... yes [07:39:57.872] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:39:57.974] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:39:57.996] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:39:58.016] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:39:58.034] 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:39:58.090] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:39:58.091] checking for _mm512_clmulepi64_epi128... yes [07:39:58.497] checking for vectorized CRC-32C... AVX-512 with runtime check [07:39:58.497] checking which random number source to use... Windows native [07:39:58.499] checking for xmllint... /usr/bin/xmllint [07:39:58.499] checking for xsltproc... /usr/bin/xsltproc [07:39:58.499] checking for fop... /usr/bin/fop [07:39:58.500] checking for dbtoepub... no [07:39:58.500] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:39:58.500] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:39:58.500] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:39:58.511] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:39:58.511] 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:39:58.511] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:39:58.511] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:39:58.600] configure: creating ./config.status [07:39:58.684] config.status: creating GNUmakefile [07:39:58.696] config.status: creating src/Makefile.global [07:39:58.711] config.status: creating src/include/pg_config.h [07:39:58.723] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:39:58.738] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:39:58.745] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:39:58.751] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:39:58.758] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:39:58.762] config.status: executing check_win32_symlinks commands [07:39:58.793] [07:39:58.793] real 0m16.460s [07:39:58.793] user 0m10.951s [07:39:58.793] sys 0m5.230s [07:39:58.793] make -s -j${BUILD_JOBS} clean [07:39:59.352] time make -s -j${BUILD_JOBS} world-bin [07:42:47.045] parsexlog.c: In function ‘findLastCheckpoint’: [07:42:47.045] parsexlog.c:264:54: error: declaration of ‘checkPoint’ shadows a previous local [-Werror=shadow=compatible-local] [07:42:47.045] 264 | CheckPoint checkPoint; [07:42:47.045] | ^~~~~~~~~~ [07:42:47.045] parsexlog.c:255:49: note: shadowed declaration is here [07:42:47.045] 255 | CheckPoint checkPoint; [07:42:47.045] | ^~~~~~~~~~ [07:42:47.045] cc1: all warnings being treated as errors [07:42:47.047] make[3]: *** [: parsexlog.o] Error 1 [07:42:47.047] make[2]: *** [Makefile:45: all-pg_rewind-recurse] Error 2 [07:42:47.047] make[2]: *** Waiting for unfinished jobs.... [07:42:49.035] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [07:42:49.036] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:42:49.036] [07:42:49.036] real 2m49.683s [07:42:49.036] user 8m53.455s [07:42:49.036] sys 1m42.853s [07:42:49.036] [07:42:49.036] Exit status: 2