[07:51:12.900] time ./configure \ [07:51:12.900] --host=x86_64-w64-mingw32 \ [07:51:12.900] --enable-cassert \ [07:51:12.900] --without-icu \ [07:51:12.900] CC="ccache x86_64-w64-mingw32-gcc" \ [07:51:12.900] CXX="ccache x86_64-w64-mingw32-g++" [07:51:13.025] checking build system type... x86_64-pc-linux-gnu [07:51:13.199] checking host system type... x86_64-w64-mingw32 [07:51:13.205] checking which template to use... win32 [07:51:13.205] checking whether NLS is wanted... no [07:51:13.205] checking for default port number... 5432 [07:51:13.213] checking for block size... 8kB [07:51:13.214] checking for segment size... 1GB [07:51:13.217] checking for WAL block size... 8kB [07:51:13.218] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:51:13.255] checking whether the C compiler works... yes [07:51:13.381] checking for C compiler default output file name... a.exe [07:51:13.382] checking for suffix of executables... .exe [07:51:13.425] checking whether we are cross compiling... yes [07:51:13.500] checking for suffix of object files... o [07:51:13.509] checking whether we are using the GNU C compiler... yes [07:51:13.517] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:51:13.524] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:51:13.535] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C11... none needed [07:51:13.588] checking whether we are using the GNU C++ compiler... yes [07:51:13.596] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:51:13.636] checking for gawk... no [07:51:13.636] checking for mawk... mawk [07:51:13.638] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:51:13.645] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:51:13.653] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:51:13.698] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:51:13.851] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:51:13.859] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:51:13.866] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:51:13.873] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:51:13.880] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:51:13.888] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:51:13.895] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:51:13.902] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:51:13.909] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:51:13.916] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:51:13.924] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:51:13.931] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:51:13.939] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:51:13.977] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:51:13.984] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:51:13.991] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:51:13.999] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:51:14.006] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:51:14.013] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:51:14.038] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:51:14.047] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:51:14.054] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:51:14.092] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:51:14.133] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:51:14.141] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:51:14.148] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:51:14.184] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:51:14.191] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:51:14.199] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:51:14.207] checking whether the C compiler still works... yes [07:51:14.274] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:51:14.351] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:51:14.352] checking pkg-config is at least version 0.9.0... yes [07:51:14.369] checking whether to build with ICU support... no [07:51:14.369] checking whether to build with Tcl... no [07:51:14.369] checking whether to build Perl modules... no [07:51:14.369] checking whether to build Python modules... no [07:51:14.370] checking whether to build with GSSAPI support... no [07:51:14.371] checking whether to build with PAM support... no [07:51:14.371] checking whether to build with BSD Authentication support... no [07:51:14.371] checking whether to build with LDAP support... no [07:51:14.371] checking whether to build with Bonjour support... no [07:51:14.371] checking whether to build with SELinux support... no [07:51:14.371] checking whether to build with systemd support... no [07:51:14.371] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:51:14.371] checking whether to build with liburing support... no [07:51:14.372] checking whether to build with libcurl support... no [07:51:14.372] checking whether to build with libnuma support... no [07:51:14.372] checking whether to build with XML support... no [07:51:14.372] checking whether to build with LZ4 support... no [07:51:14.373] checking whether to build with ZSTD support... no [07:51:14.373] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:51:14.373] checking whether it is possible to strip libraries... yes [07:51:14.380] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:51:14.380] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:51:14.381] checking for a BSD-compatible install... /usr/bin/install -c [07:51:14.389] checking for tar... /usr/bin/tar [07:51:14.390] checking whether ln -s works... yes [07:51:14.390] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:51:14.392] checking for bison... /usr/bin/bison [07:51:14.394] configure: using bison (GNU Bison) 3.8.2 [07:51:14.397] checking for flex... /usr/bin/flex [07:51:14.399] configure: using flex 2.6.4 [07:51:14.399] checking for perl... /usr/bin/perl [07:51:14.402] configure: using perl 5.36.0 [07:51:14.404] checking for zic... /usr/sbin/zic [07:51:14.404] checking for a sed that does not truncate output... /usr/bin/sed [07:51:14.409] checking for grep that handles long lines and -e... /usr/bin/grep [07:51:14.411] checking for egrep... /usr/bin/grep -E [07:51:14.412] checking for ANSI C header files... yes [07:51:14.463] checking for sys/types.h... yes [07:51:14.479] checking for sys/stat.h... yes [07:51:14.495] checking for stdlib.h... yes [07:51:14.509] checking for string.h... yes [07:51:14.523] checking for memory.h... yes [07:51:14.537] checking for strings.h... yes [07:51:14.551] checking for inttypes.h... yes [07:51:14.566] checking for stdint.h... yes [07:51:14.580] checking for unistd.h... yes [07:51:14.594] checking for main in -lm... yes [07:51:14.641] checking for library containing setproctitle... no [07:51:14.734] checking for library containing dlsym... no [07:51:14.823] checking for library containing socket... -lws2_32 [07:51:14.950] checking for library containing getopt_long... none required [07:51:14.996] checking for library containing shm_open... no [07:51:15.082] checking for library containing shm_unlink... no [07:51:15.167] checking for library containing clock_gettime... no [07:51:15.253] checking for library containing shmget... no [07:51:15.340] checking for library containing backtrace_symbols... no [07:51:15.428] checking for library containing pthread_barrier_wait... -lpthread [07:51:15.517] checking for inflate in -lz... yes [07:51:15.564] checking atomic.h usability... no [07:51:15.622] checking atomic.h presence... no [07:51:15.639] checking for atomic.h... no [07:51:15.642] checking copyfile.h usability... no [07:51:15.695] checking copyfile.h presence... no [07:51:15.712] checking for copyfile.h... no [07:51:15.715] checking execinfo.h usability... no [07:51:15.768] checking execinfo.h presence... no [07:51:15.786] checking for execinfo.h... no [07:51:15.789] checking getopt.h usability... yes [07:51:15.797] checking getopt.h presence... yes [07:51:15.811] checking for getopt.h... yes [07:51:15.818] checking ifaddrs.h usability... no [07:51:15.870] checking ifaddrs.h presence... no [07:51:15.888] checking for ifaddrs.h... no [07:51:15.891] checking mbarrier.h usability... no [07:51:15.944] checking mbarrier.h presence... no [07:51:15.962] checking for mbarrier.h... no [07:51:15.965] checking sys/epoll.h usability... no [07:51:16.017] checking sys/epoll.h presence... no [07:51:16.035] checking for sys/epoll.h... no [07:51:16.038] checking sys/event.h usability... no [07:51:16.092] checking sys/event.h presence... no [07:51:16.110] checking for sys/event.h... no [07:51:16.113] checking sys/personality.h usability... no [07:51:16.166] checking sys/personality.h presence... no [07:51:16.183] checking for sys/personality.h... no [07:51:16.186] checking sys/prctl.h usability... no [07:51:16.239] checking sys/prctl.h presence... no [07:51:16.256] checking for sys/prctl.h... no [07:51:16.260] checking sys/procctl.h usability... no [07:51:16.313] checking sys/procctl.h presence... no [07:51:16.330] checking for sys/procctl.h... no [07:51:16.333] checking sys/signalfd.h usability... no [07:51:16.386] checking sys/signalfd.h presence... no [07:51:16.404] checking for sys/signalfd.h... no [07:51:16.407] checking sys/ucred.h usability... no [07:51:16.461] checking sys/ucred.h presence... no [07:51:16.478] checking for sys/ucred.h... no [07:51:16.482] checking termios.h usability... no [07:51:16.533] checking termios.h presence... no [07:51:16.551] checking for termios.h... no [07:51:16.554] checking ucred.h usability... no [07:51:16.606] checking ucred.h presence... no [07:51:16.624] checking for ucred.h... no [07:51:16.627] checking xlocale.h usability... no [07:51:16.679] checking xlocale.h presence... no [07:51:16.697] checking for xlocale.h... no [07:51:16.700] checking zlib.h usability... yes [07:51:16.709] checking zlib.h presence... yes [07:51:16.727] checking for zlib.h... yes [07:51:16.728] checking for lz4... /usr/bin/lz4 [07:51:16.728] checking for zstd... /usr/bin/zstd [07:51:16.728] checking for openssl... /usr/bin/openssl [07:51:16.732] configure: using openssl: OpenSSL 3.0.17 1 Jul 2025 (Library: OpenSSL 3.0.17 1 Jul 2025) [07:51:16.732] checking crtdefs.h usability... yes [07:51:16.740] checking crtdefs.h presence... yes [07:51:16.753] checking for crtdefs.h... yes [07:51:16.755] checking whether byte ordering is bigendian... no [07:51:16.823] checking for inline... inline [07:51:16.830] checking for printf format archetype... gnu_printf [07:51:16.838] checking for _Static_assert... yes [07:51:16.879] checking for typeof... typeof [07:51:16.886] checking for __builtin_types_compatible_p... yes [07:51:16.897] checking for __builtin_constant_p... yes [07:51:16.907] checking for __builtin_mul_overflow... yes [07:51:16.954] checking for __builtin_unreachable... yes [07:51:16.995] checking for computed goto support... yes [07:51:17.002] checking for struct tm.tm_zone... no [07:51:17.077] checking for union semun... no [07:51:17.110] checking for socklen_t... yes [07:51:18.322] checking for struct sockaddr.sa_len... no [07:51:20.439] checking for C/C++ restrict keyword... __restrict [07:51:20.454] checking for struct option... yes [07:51:20.499] checking whether assembler supports x86_64 popcntq... yes [07:51:20.507] checking size of off_t... 4 [07:51:20.707] 0 [07:51:20.707] checking for int timezone... yes [07:51:20.759] checking for backtrace_symbols... no [07:51:20.809] checking for copyfile... no [07:51:20.859] checking for copy_file_range... no [07:51:20.909] checking for elf_aux_info... no [07:51:20.958] checking for getauxval... no [07:51:21.009] checking for getifaddrs... no [07:51:21.061] checking for getpeerucred... no [07:51:21.113] checking for inet_pton... yes [07:51:21.163] checking for kqueue... no [07:51:21.213] checking for localeconv_l... no [07:51:21.264] checking for mbstowcs_l... no [07:51:21.314] checking for posix_fallocate... no [07:51:21.363] checking for ppoll... no [07:51:21.416] checking for pthread_is_threaded_np... no [07:51:21.469] checking for setproctitle... no [07:51:21.522] checking for setproctitle_fast... no [07:51:21.576] checking for strsignal... no [07:51:21.627] checking for syncfs... no [07:51:21.678] checking for sync_file_range... no [07:51:21.728] checking for uselocale... no [07:51:21.778] checking for wcstombs_l... no [07:51:21.826] checking for __builtin_bswap16... yes [07:51:21.873] checking for __builtin_bswap32... yes [07:51:21.920] checking for __builtin_bswap64... yes [07:51:21.968] checking for __builtin_clz... yes [07:51:22.016] checking for __builtin_ctz... yes [07:51:22.064] checking for __builtin_popcount... yes [07:51:22.112] checking for __builtin_frame_address... yes [07:51:22.158] checking for _LARGEFILE_SOURCE value needed for large files... no [07:51:22.211] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:51:22.241] checking for posix_fadvise... no [07:51:22.292] checking whether posix_fadvise is declared... no [07:51:22.335] checking whether fdatasync is declared... no [07:51:22.380] checking whether strlcat is declared... no [07:51:22.448] checking whether strlcpy is declared... no [07:51:22.517] checking whether strnlen is declared... yes [07:51:22.533] checking whether strsep is declared... no [07:51:22.601] checking whether timingsafe_bcmp is declared... no [07:51:22.672] checking whether preadv is declared... no [07:51:22.713] checking whether pwritev is declared... no [07:51:22.754] checking whether strchrnul is declared... no [07:51:22.802] checking whether memset_s is declared... no [07:51:22.849] checking whether F_FULLFSYNC is declared... no [07:51:22.893] checking for explicit_bzero... no [07:51:22.946] checking for getopt... yes [07:51:22.996] checking for getpeereid... no [07:51:23.049] checking for inet_aton... no [07:51:23.101] checking for mkdtemp... no [07:51:23.152] checking for strlcat... no [07:51:23.204] checking for strlcpy... no [07:51:23.255] checking for strnlen... yes [07:51:23.307] checking for strsep... no [07:51:23.359] checking for timingsafe_bcmp... no [07:51:23.409] checking for pthread_barrier_wait... yes [07:51:23.454] configure: On mingw32 we will use our strtof wrapper. [07:51:23.454] checking for getopt_long... yes [07:51:23.498] checking for syslog... no [07:51:23.545] checking for opterr... yes [07:51:23.592] checking for optreset... no [07:51:23.644] checking test program... cross-compiling [07:51:23.644] checking size of void *... 8 [07:51:23.928] checking size of size_t... 8 [07:51:24.220] checking size of long... 4 [07:51:24.443] checking size of long long... 8 [07:51:24.729] checking alignment of short... 2 [07:51:24.868] checking alignment of int... 4 [07:51:25.065] checking alignment of long... 4 [07:51:25.260] checking alignment of int64_t... 8 [07:51:25.538] checking alignment of double... 8 [07:51:25.820] checking for __int128... yes [07:51:25.871] checking for __int128 alignment bug... assuming ok [07:51:25.871] checking alignment of PG_INT128_TYPE... 16 [07:51:26.192] checking for builtin __sync char locking functions... yes [07:51:26.234] checking for builtin __sync int32 locking functions... yes [07:51:26.277] checking for builtin __sync int32 atomic operations... yes [07:51:26.319] checking for builtin __sync int64 atomic operations... yes [07:51:26.362] checking for builtin __atomic int32 atomic operations... yes [07:51:26.405] checking for builtin __atomic int64 atomic operations... yes [07:51:26.449] checking for __get_cpuid... yes [07:51:26.499] checking for __get_cpuid_count... yes [07:51:26.546] checking for _xgetbv... yes [07:51:26.947] checking for _mm512_popcnt_epi64... yes [07:51:27.371] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:51:27.485] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:51:27.511] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:51:27.534] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:51:27.556] 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:51:27.619] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:51:27.620] checking for _mm512_clmulepi64_epi128... yes [07:51:28.048] checking for vectorized CRC-32C... AVX-512 with runtime check [07:51:28.049] checking which random number source to use... Windows native [07:51:28.051] checking for xmllint... /usr/bin/xmllint [07:51:28.051] checking for xsltproc... /usr/bin/xsltproc [07:51:28.052] checking for fop... /usr/bin/fop [07:51:28.052] checking for dbtoepub... no [07:51:28.052] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:51:28.052] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:51:28.052] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:51:28.065] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:51:28.065] 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:51:28.065] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:51:28.065] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:51:28.167] configure: creating ./config.status [07:51:28.268] config.status: creating GNUmakefile [07:51:28.282] config.status: creating src/Makefile.global [07:51:28.300] config.status: creating src/include/pg_config.h [07:51:28.314] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:51:28.332] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:51:28.340] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:51:28.347] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:51:28.354] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:51:28.358] config.status: executing check_win32_symlinks commands [07:51:28.394] [07:51:28.394] real 0m15.494s [07:51:28.394] user 0m10.332s [07:51:28.394] sys 0m4.925s [07:51:28.394] make -s -j${BUILD_JOBS} clean [07:51:28.974] time make -s -j${BUILD_JOBS} world-bin [07:51:44.180] parsexlog.c: In function ‘findLastCheckpoint’: [07:51:44.180] parsexlog.c:264:54: error: declaration of ‘checkPoint’ shadows a previous local [-Werror=shadow=compatible-local] [07:51:44.180] 264 | CheckPoint checkPoint; [07:51:44.180] | ^~~~~~~~~~ [07:51:44.180] parsexlog.c:255:49: note: shadowed declaration is here [07:51:44.180] 255 | CheckPoint checkPoint; [07:51:44.180] | ^~~~~~~~~~ [07:51:44.180] cc1: all warnings being treated as errors [07:51:44.181] make[3]: *** [: parsexlog.o] Error 1 [07:51:44.181] make[2]: *** [Makefile:45: all-pg_rewind-recurse] Error 2 [07:51:44.181] make[2]: *** Waiting for unfinished jobs.... [07:51:44.275] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [07:51:44.275] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:51:44.275] [07:51:44.275] real 0m15.301s [07:51:44.275] user 0m32.479s [07:51:44.275] sys 0m12.960s [07:51:44.275] [07:51:44.275] Exit status: 2