[19:35:28.012] time ./configure \ [19:35:28.012] --host=x86_64-w64-mingw32ucrt \ [19:35:28.012] --enable-cassert \ [19:35:28.012] --without-icu \ [19:35:28.012] CC="ccache x86_64-w64-mingw32ucrt-gcc" \ [19:35:28.012] CXX="ccache x86_64-w64-mingw32ucrt-g++" [19:35:28.156] checking build system type... x86_64-pc-linux-gnu [19:35:28.341] checking host system type... x86_64-w64-mingw32ucrt [19:35:28.348] checking which template to use... win32 [19:35:28.348] checking whether NLS is wanted... no [19:35:28.348] checking for default port number... 5432 [19:35:28.357] checking for block size... 8kB [19:35:28.358] checking for segment size... 1GB [19:35:28.361] checking for WAL block size... 8kB [19:35:28.363] checking for x86_64-w64-mingw32ucrt-gcc... ccache x86_64-w64-mingw32ucrt-gcc [19:35:28.403] checking whether the C compiler works... yes [19:35:28.551] checking for C compiler default output file name... a.exe [19:35:28.553] checking for suffix of executables... .exe [19:35:28.600] checking whether we are cross compiling... yes [19:35:28.695] checking for suffix of object files... o [19:35:28.704] checking whether we are using the GNU C compiler... yes [19:35:28.722] checking whether ccache x86_64-w64-mingw32ucrt-gcc accepts -g... yes [19:35:28.730] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C89... none needed [19:35:28.741] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C11... none needed [19:35:28.800] checking whether we are using the GNU C++ compiler... yes [19:35:28.808] checking whether ccache x86_64-w64-mingw32ucrt-g++ accepts -g... yes [19:35:28.825] checking for ccache x86_64-w64-mingw32ucrt-g++ option to accept ISO C++11... none needed [19:35:28.867] checking for gawk... no [19:35:28.867] checking for mawk... mawk [19:35:28.869] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:35:28.878] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=vla, for CFLAGS... yes [19:35:28.886] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Werror=vla, for CXXFLAGS... yes [19:35:28.894] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:35:28.950] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:35:29.120] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:35:29.129] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:35:29.138] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wold-style-declaration, for CFLAGS... yes [19:35:29.146] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wimplicit-fallthrough=5, for CFLAGS... yes [19:35:29.155] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wimplicit-fallthrough=5, for CXXFLAGS... yes [19:35:29.164] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type, for CFLAGS... yes [19:35:29.172] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:35:29.181] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:35:29.190] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:35:29.198] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-security, for CFLAGS... yes [19:35:29.207] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wformat-security, for CXXFLAGS... yes [19:35:29.216] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-variable-declarations, for CFLAGS... yes [19:35:29.224] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:35:29.231] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:35:29.239] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fwrapv, for CFLAGS... yes [19:35:29.247] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fwrapv, for CXXFLAGS... yes [19:35:29.256] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:35:29.265] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fexcess-precision=standard, for CXXFLAGS... yes [19:35:29.273] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:35:29.282] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:35:29.290] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:35:29.339] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:35:29.390] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:35:29.399] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:35:29.408] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:35:29.455] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:35:29.463] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:35:29.471] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:35:29.480] checking whether the C compiler still works... yes [19:35:29.545] checking how to run the C preprocessor... ccache x86_64-w64-mingw32ucrt-gcc -E [19:35:29.629] checking for x86_64-w64-mingw32ucrt-pkg-config... /usr/bin/x86_64-w64-mingw32ucrt-pkg-config [19:35:29.629] checking pkg-config is at least version 0.9.0... yes [19:35:29.646] checking whether to build with ICU support... no [19:35:29.646] checking whether to build with Tcl... no [19:35:29.646] checking whether to build Perl modules... no [19:35:29.647] checking whether to build Python modules... no [19:35:29.647] checking whether to build with GSSAPI support... no [19:35:29.648] checking whether to build with PAM support... no [19:35:29.648] checking whether to build with BSD Authentication support... no [19:35:29.649] checking whether to build with LDAP support... no [19:35:29.649] checking whether to build with Bonjour support... no [19:35:29.649] checking whether to build with SELinux support... no [19:35:29.649] checking whether to build with systemd support... no [19:35:29.649] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:35:29.649] checking whether to build with liburing support... no [19:35:29.649] checking whether to build with libcurl support... no [19:35:29.649] checking whether to build with libnuma support... no [19:35:29.650] checking whether to build with XML support... no [19:35:29.650] checking whether to build with LZ4 support... no [19:35:29.650] checking whether to build with ZSTD support... no [19:35:29.650] checking for x86_64-w64-mingw32ucrt-strip... x86_64-w64-mingw32ucrt-strip [19:35:29.651] checking whether it is possible to strip libraries... yes [19:35:29.658] checking for x86_64-w64-mingw32ucrt-ar... x86_64-w64-mingw32ucrt-ar [19:35:29.659] checking for x86_64-w64-mingw32ucrt-windres... x86_64-w64-mingw32ucrt-windres [19:35:29.659] checking for a BSD-compatible install... /usr/bin/install -c [19:35:29.669] checking for tar... /usr/bin/tar [19:35:29.670] checking whether ln -s works... yes [19:35:29.670] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:35:29.672] checking for nm... /usr/bin/nm [19:35:29.673] checking for bison... /usr/bin/bison [19:35:29.676] configure: using bison (GNU Bison) 3.8.2 [19:35:29.680] checking for flex... /usr/bin/flex [19:35:29.683] configure: using flex 2.6.4 [19:35:29.683] checking for perl... /usr/bin/perl [19:35:29.686] configure: using perl 5.40.1 [19:35:29.689] checking for zic... /usr/sbin/zic [19:35:29.689] checking for a sed that does not truncate output... /usr/bin/sed [19:35:29.696] checking for grep that handles long lines and -e... /usr/bin/grep [19:35:29.699] checking for egrep... /usr/bin/grep -E [19:35:29.700] checking for ANSI C header files... yes [19:35:29.756] checking for sys/types.h... yes [19:35:29.775] checking for sys/stat.h... yes [19:35:29.792] checking for stdlib.h... yes [19:35:29.809] checking for string.h... yes [19:35:29.826] checking for memory.h... yes [19:35:29.841] checking for strings.h... yes [19:35:29.858] checking for inttypes.h... yes [19:35:29.876] checking for stdint.h... yes [19:35:29.893] checking for unistd.h... yes [19:35:29.908] checking for main in -lm... yes [19:35:29.966] checking for library containing setproctitle... no [19:35:30.069] checking for library containing dlsym... no [19:35:30.172] checking for library containing socket... -lws2_32 [19:35:30.326] checking for library containing getopt_long... none required [19:35:30.380] checking for library containing shm_open... no [19:35:30.483] checking for library containing shm_unlink... no [19:35:30.587] checking for library containing clock_gettime... none required [19:35:30.638] checking for library containing shmget... no [19:35:30.745] checking for library containing backtrace_symbols... no [19:35:30.847] checking for library containing pthread_barrier_wait... none required [19:35:30.896] checking for inflate in -lz... yes [19:35:30.955] checking copyfile.h usability... no [19:35:31.025] checking copyfile.h presence... no [19:35:31.045] checking for copyfile.h... no [19:35:31.050] checking execinfo.h usability... no [19:35:31.112] checking execinfo.h presence... no [19:35:31.133] checking for execinfo.h... no [19:35:31.137] checking getopt.h usability... yes [19:35:31.147] checking getopt.h presence... yes [19:35:31.165] checking for getopt.h... yes [19:35:31.173] checking ifaddrs.h usability... no [19:35:31.233] checking ifaddrs.h presence... no [19:35:31.254] checking for ifaddrs.h... no [19:35:31.257] checking sys/epoll.h usability... no [19:35:31.316] checking sys/epoll.h presence... no [19:35:31.337] checking for sys/epoll.h... no [19:35:31.342] checking sys/event.h usability... no [19:35:31.402] checking sys/event.h presence... no [19:35:31.423] checking for sys/event.h... no [19:35:31.427] checking sys/personality.h usability... no [19:35:31.486] checking sys/personality.h presence... no [19:35:31.508] checking for sys/personality.h... no [19:35:31.511] checking sys/prctl.h usability... no [19:35:31.572] checking sys/prctl.h presence... no [19:35:31.593] checking for sys/prctl.h... no [19:35:31.597] checking sys/procctl.h usability... no [19:35:31.655] checking sys/procctl.h presence... no [19:35:31.675] checking for sys/procctl.h... no [19:35:31.679] checking sys/signalfd.h usability... no [19:35:31.738] checking sys/signalfd.h presence... no [19:35:31.760] checking for sys/signalfd.h... no [19:35:31.763] checking sys/ucred.h usability... no [19:35:31.821] checking sys/ucred.h presence... no [19:35:31.839] checking for sys/ucred.h... no [19:35:31.842] checking termios.h usability... no [19:35:31.899] checking termios.h presence... no [19:35:31.920] checking for termios.h... no [19:35:31.923] checking uchar.h usability... yes [19:35:31.931] checking uchar.h presence... yes [19:35:31.953] checking for uchar.h... yes [19:35:31.963] checking ucred.h usability... no [19:35:32.021] checking ucred.h presence... no [19:35:32.040] checking for ucred.h... no [19:35:32.043] checking xlocale.h usability... no [19:35:32.102] checking xlocale.h presence... no [19:35:32.121] checking for xlocale.h... no [19:35:32.125] checking zlib.h usability... yes [19:35:32.135] checking zlib.h presence... yes [19:35:32.158] checking for zlib.h... yes [19:35:32.158] checking for lz4... /usr/bin/lz4 [19:35:32.159] checking for zstd... /usr/bin/zstd [19:35:32.159] checking for openssl... /usr/bin/openssl [19:35:32.164] configure: using openssl: OpenSSL 3.5.5 27 Jan 2026 (Library: OpenSSL 3.5.5 27 Jan 2026) [19:35:32.164] checking crtdefs.h usability... yes [19:35:32.173] checking crtdefs.h presence... yes [19:35:32.190] checking for crtdefs.h... yes [19:35:32.191] checking whether byte ordering is bigendian... no [19:35:32.272] checking for C printf format archetype... gnu_printf [19:35:32.282] checking for C++ printf format archetype... gnu_printf [19:35:32.292] checking for typeof... typeof [19:35:32.300] checking for C++ typeof... typeof [19:35:32.309] checking for typeof_unqual... __typeof_unqual__ [19:35:32.357] checking for C++ typeof_unqual... no [19:35:32.456] checking for __builtin_types_compatible_p... yes [19:35:32.469] checking for __builtin_constant_p... yes [19:35:32.483] checking for __builtin_mul_overflow... yes [19:35:32.543] checking for __builtin_unreachable... yes [19:35:32.588] checking for computed goto support... yes [19:35:32.596] checking for struct tm.tm_zone... no [19:35:32.677] checking for union semun... no [19:35:32.710] checking for socklen_t... yes [19:35:34.135] checking for struct sockaddr.sa_len... no [19:35:36.670] checking for C/C++ restrict keyword... __restrict [19:35:36.686] checking for struct option... yes [19:35:36.735] checking whether assembler supports x86_64 popcntq... yes [19:35:36.744] checking size of off_t... 4 [19:35:36.973] checking for int timezone... yes [19:35:37.044] checking for backtrace_symbols... no [19:35:37.107] checking for copyfile... no [19:35:37.166] checking for copy_file_range... no [19:35:37.225] checking for elf_aux_info... no [19:35:37.286] checking for explicit_memset... no [19:35:37.346] checking for getauxval... no [19:35:37.407] checking for getifaddrs... no [19:35:37.467] checking for getpeerucred... no [19:35:37.525] checking for inet_pton... yes [19:35:37.583] checking for kqueue... no [19:35:37.640] checking for localeconv_l... no [19:35:37.698] checking for mbstowcs_l... no [19:35:37.758] checking for memset_explicit... no [19:35:37.817] checking for posix_fallocate... no [19:35:37.876] checking for ppoll... no [19:35:37.935] checking for pthread_is_threaded_np... no [19:35:37.995] checking for setproctitle... no [19:35:38.055] checking for setproctitle_fast... no [19:35:38.114] checking for strsignal... no [19:35:38.173] checking for syncfs... no [19:35:38.234] checking for sync_file_range... no [19:35:38.294] checking for uselocale... no [19:35:38.354] checking for wcstombs_l... no [19:35:38.409] checking for __builtin_bswap16... yes [19:35:38.467] checking for __builtin_bswap32... yes [19:35:38.523] checking for __builtin_bswap64... yes [19:35:38.577] checking for __builtin_clz... yes [19:35:38.632] checking for __builtin_ctz... yes [19:35:38.686] checking for __builtin_frame_address... yes [19:35:38.740] checking for _LARGEFILE_SOURCE value needed for large files... no [19:35:38.803] checking how ccache x86_64-w64-mingw32ucrt-gcc reports undeclared, standard C functions... error [19:35:38.836] checking for posix_fadvise... no [19:35:38.899] checking whether posix_fadvise is declared... no [19:35:38.949] checking whether fdatasync is declared... no [19:35:39.002] checking whether strlcat is declared... no [19:35:39.071] checking whether strlcpy is declared... no [19:35:39.141] checking whether strsep is declared... no [19:35:39.210] checking whether timingsafe_bcmp is declared... no [19:35:39.282] checking whether preadv is declared... no [19:35:39.324] checking whether pwritev is declared... no [19:35:39.363] checking whether strchrnul is declared... no [19:35:39.408] checking whether memset_s is declared... no [19:35:39.455] checking whether F_FULLFSYNC is declared... no [19:35:39.499] checking for explicit_bzero... no [19:35:39.556] checking for getopt... yes [19:35:39.607] checking for getpeereid... no [19:35:39.665] checking for inet_aton... no [19:35:39.724] checking for mkdtemp... no [19:35:39.781] checking for strlcat... no [19:35:39.836] checking for strlcpy... no [19:35:39.894] checking for strsep... no [19:35:39.950] checking for timingsafe_bcmp... no [19:35:40.006] checking for pthread_barrier_wait... yes [19:35:40.058] configure: On mingw32ucrt we will use our strtof wrapper. [19:35:40.058] checking for getopt_long... yes [19:35:40.108] checking for syslog... no [19:35:40.164] checking for opterr... yes [19:35:40.219] checking for optreset... no [19:35:40.278] checking test program... cross-compiling [19:35:40.278] checking size of void *... 8 [19:35:40.594] checking size of size_t... 8 [19:35:40.920] checking size of long... 4 [19:35:41.159] checking size of long long... 8 [19:35:41.472] checking size of intmax_t... 8 [19:35:41.793] checking alignment of short... 2 [19:35:41.957] checking alignment of int... 4 [19:35:42.198] checking alignment of int64_t... 8 [19:35:42.515] checking alignment of double... 8 [19:35:42.828] checking for __int128... yes [19:35:42.889] checking for __int128 alignment bug... assuming ok [19:35:42.889] checking alignment of PG_INT128_TYPE... 16 [19:35:43.279] checking for builtin __sync char locking functions... yes [19:35:43.331] checking for builtin __sync int32 locking functions... yes [19:35:43.383] checking for builtin __sync int32 atomic operations... yes [19:35:43.435] checking for builtin __sync int64 atomic operations... yes [19:35:43.489] checking for builtin __atomic int32 atomic operations... yes [19:35:43.543] checking for builtin __atomic int64 atomic operations... yes [19:35:43.599] checking for __get_cpuid... yes [19:35:43.658] checking for __get_cpuid_count... yes [19:35:43.713] checking for _xgetbv... yes [19:35:44.178] checking for _mm512_popcnt_epi64... yes [19:35:44.673] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [19:35:44.795] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:35:44.823] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [19:35:44.846] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:35:44.869] 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 [19:35:44.909] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:35:44.910] checking for _mm512_clmulepi64_epi128... yes [19:35:45.380] checking for vectorized CRC-32C... AVX-512 with runtime check [19:35:45.381] checking which random number source to use... Windows native [19:35:45.383] checking for xmllint... /usr/bin/xmllint [19:35:45.383] checking for xsltproc... /usr/bin/xsltproc [19:35:45.383] checking for fop... /usr/bin/fop [19:35:45.384] checking for dbtoepub... no [19:35:45.384] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:35:45.384] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:35:45.384] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:35:45.396] configure: using compiler=x86_64-w64-mingw32ucrt-gcc (GCC) 14 [19:35:45.396] configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wmissing-format-attribute -Wold-style-declaration -Wimplicit-fallthrough=5 -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 -Wstrict-prototypes -Wold-style-definition [19:35:45.396] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:35:45.396] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:35:45.507] configure: creating ./config.status [19:35:45.610] config.status: creating GNUmakefile [19:35:45.626] config.status: creating src/Makefile.global [19:35:45.646] config.status: creating src/include/pg_config.h [19:35:45.663] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:35:45.681] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:35:45.691] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:35:45.700] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:35:45.709] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:35:45.713] config.status: executing check_win32_symlinks commands [19:35:45.753] [19:35:45.753] real 0m17.740s [19:35:45.753] user 0m12.254s [19:35:45.753] sys 0m5.227s [19:35:45.753] make -s -j${BUILD_JOBS} clean [19:35:46.381] time make -s -j${BUILD_JOBS} world-bin [19:35:59.107] pg_upgrade.c:89:13: error: no previous declaration for ‘sql_roident_correction’ [-Werror=missing-variable-declarations] [19:35:59.107] 89 | PQExpBuffer sql_roident_correction; [19:35:59.107] | ^~~~~~~~~~~~~~~~~~~~~~ [19:35:59.107] pg_upgrade.c: In function ‘main’: [19:35:59.107] pg_upgrade.c:267:17: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] [19:35:59.107] 267 | PGconn *conn_new_template1; [19:35:59.107] | ^~~~~~ [19:35:59.107] cc1: all warnings being treated as errors [19:35:59.107] make[3]: *** [: pg_upgrade.o] Error 1 [19:35:59.108] make[3]: *** Waiting for unfinished jobs.... [19:35:59.741] make[2]: *** [Makefile:45: all-pg_upgrade-recurse] Error 2 [19:35:59.741] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [19:35:59.741] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:35:59.741] [19:35:59.741] real 0m13.360s [19:35:59.741] user 0m25.608s [19:35:59.741] sys 0m9.638s [19:35:59.742] [19:35:59.742] Exit status: 2