[08:33:10.502] time ./configure \ [08:33:10.502] --host=x86_64-w64-mingw32ucrt \ [08:33:10.502] --enable-cassert \ [08:33:10.502] --without-icu \ [08:33:10.502] CC="ccache x86_64-w64-mingw32ucrt-gcc" \ [08:33:10.502] CXX="ccache x86_64-w64-mingw32ucrt-g++" [08:33:10.628] checking build system type... x86_64-pc-linux-gnu [08:33:10.826] checking host system type... x86_64-w64-mingw32ucrt [08:33:10.832] checking which template to use... win32 [08:33:10.832] checking whether NLS is wanted... no [08:33:10.832] checking for default port number... 5432 [08:33:10.839] checking for block size... 8kB [08:33:10.840] checking for segment size... 1GB [08:33:10.842] checking for WAL block size... 8kB [08:33:10.844] checking for x86_64-w64-mingw32ucrt-gcc... ccache x86_64-w64-mingw32ucrt-gcc [08:33:10.877] checking whether the C compiler works... yes [08:33:11.033] checking for C compiler default output file name... a.exe [08:33:11.034] checking for suffix of executables... .exe [08:33:11.075] checking whether we are cross compiling... yes [08:33:11.161] checking for suffix of object files... o [08:33:11.170] checking whether we are using the GNU C compiler... yes [08:33:11.177] checking whether ccache x86_64-w64-mingw32ucrt-gcc accepts -g... yes [08:33:11.185] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C89... none needed [08:33:11.195] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C11... none needed [08:33:11.246] checking whether we are using the GNU C++ compiler... yes [08:33:11.254] checking whether ccache x86_64-w64-mingw32ucrt-g++ accepts -g... yes [08:33:11.293] checking for gawk... no [08:33:11.293] checking for mawk... mawk [08:33:11.295] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:33:11.303] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=vla, for CFLAGS... yes [08:33:11.310] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:33:11.365] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:33:11.557] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wendif-labels, for CFLAGS... yes [08:33:11.564] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:33:11.571] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:33:11.579] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:33:11.586] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:33:11.593] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:33:11.600] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type, for CFLAGS... yes [08:33:11.607] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:33:11.615] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:33:11.622] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:33:11.630] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-security, for CFLAGS... yes [08:33:11.638] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wformat-security, for CXXFLAGS... yes [08:33:11.645] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-variable-declarations, for CFLAGS... yes [08:33:11.653] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:33:11.661] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:33:11.669] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fwrapv, for CFLAGS... yes [08:33:11.676] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fwrapv, for CXXFLAGS... yes [08:33:11.682] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:33:11.689] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fexcess-precision=standard, for CXXFLAGS... yes [08:33:11.696] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:33:11.703] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:33:11.710] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:33:11.754] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:33:11.802] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:33:11.810] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:33:11.817] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:33:11.859] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:33:11.866] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:33:11.873] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:33:11.882] checking whether the C compiler still works... yes [08:33:11.950] checking how to run the C preprocessor... ccache x86_64-w64-mingw32ucrt-gcc -E [08:33:12.023] checking for x86_64-w64-mingw32ucrt-pkg-config... /usr/bin/x86_64-w64-mingw32ucrt-pkg-config [08:33:12.023] checking pkg-config is at least version 0.9.0... yes [08:33:12.039] checking whether to build with ICU support... no [08:33:12.039] checking whether to build with Tcl... no [08:33:12.040] checking whether to build Perl modules... no [08:33:12.040] checking whether to build Python modules... no [08:33:12.040] checking whether to build with GSSAPI support... no [08:33:12.041] checking whether to build with PAM support... no [08:33:12.041] checking whether to build with BSD Authentication support... no [08:33:12.041] checking whether to build with LDAP support... no [08:33:12.041] checking whether to build with Bonjour support... no [08:33:12.041] checking whether to build with SELinux support... no [08:33:12.041] checking whether to build with systemd support... no [08:33:12.041] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:33:12.042] checking whether to build with liburing support... no [08:33:12.042] checking whether to build with libcurl support... no [08:33:12.042] checking whether to build with libnuma support... no [08:33:12.042] checking whether to build with XML support... no [08:33:12.042] checking whether to build with LZ4 support... no [08:33:12.043] checking whether to build with ZSTD support... no [08:33:12.043] checking for x86_64-w64-mingw32ucrt-strip... x86_64-w64-mingw32ucrt-strip [08:33:12.043] checking whether it is possible to strip libraries... yes [08:33:12.053] checking for x86_64-w64-mingw32ucrt-ar... x86_64-w64-mingw32ucrt-ar [08:33:12.053] checking for x86_64-w64-mingw32ucrt-windres... x86_64-w64-mingw32ucrt-windres [08:33:12.053] checking for a BSD-compatible install... /usr/bin/install -c [08:33:12.062] checking for tar... /usr/bin/tar [08:33:12.062] checking whether ln -s works... yes [08:33:12.062] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:33:12.064] checking for bison... /usr/bin/bison [08:33:12.066] configure: using bison (GNU Bison) 3.8.2 [08:33:12.069] checking for flex... /usr/bin/flex [08:33:12.071] configure: using flex 2.6.4 [08:33:12.071] checking for perl... /usr/bin/perl [08:33:12.074] configure: using perl 5.40.1 [08:33:12.076] checking for zic... /usr/sbin/zic [08:33:12.076] checking for a sed that does not truncate output... /usr/bin/sed [08:33:12.083] checking for grep that handles long lines and -e... /usr/bin/grep [08:33:12.085] checking for egrep... /usr/bin/grep -E [08:33:12.087] checking for ANSI C header files... yes [08:33:12.135] checking for sys/types.h... yes [08:33:12.150] checking for sys/stat.h... yes [08:33:12.164] checking for stdlib.h... yes [08:33:12.179] checking for string.h... yes [08:33:12.195] checking for memory.h... yes [08:33:12.211] checking for strings.h... yes [08:33:12.226] checking for inttypes.h... yes [08:33:12.241] checking for stdint.h... yes [08:33:12.255] checking for unistd.h... yes [08:33:12.267] checking for main in -lm... yes [08:33:12.318] checking for library containing setproctitle... no [08:33:12.415] checking for library containing dlsym... no [08:33:12.508] checking for library containing socket... -lws2_32 [08:33:12.641] checking for library containing getopt_long... none required [08:33:12.688] checking for library containing shm_open... no [08:33:12.778] checking for library containing shm_unlink... no [08:33:12.869] checking for library containing clock_gettime... none required [08:33:12.912] checking for library containing shmget... no [08:33:13.007] checking for library containing backtrace_symbols... no [08:33:13.106] checking for library containing pthread_barrier_wait... none required [08:33:13.154] checking for inflate in -lz... yes [08:33:13.204] checking atomic.h usability... no [08:33:13.264] checking atomic.h presence... no [08:33:13.281] checking for atomic.h... no [08:33:13.285] checking copyfile.h usability... no [08:33:13.336] checking copyfile.h presence... no [08:33:13.353] checking for copyfile.h... no [08:33:13.356] checking execinfo.h usability... no [08:33:13.407] checking execinfo.h presence... no [08:33:13.423] checking for execinfo.h... no [08:33:13.427] checking getopt.h usability... yes [08:33:13.433] checking getopt.h presence... yes [08:33:13.447] checking for getopt.h... yes [08:33:13.453] checking ifaddrs.h usability... no [08:33:13.504] checking ifaddrs.h presence... no [08:33:13.520] checking for ifaddrs.h... no [08:33:13.523] checking mbarrier.h usability... no [08:33:13.574] checking mbarrier.h presence... no [08:33:13.592] checking for mbarrier.h... no [08:33:13.596] checking sys/epoll.h usability... no [08:33:13.650] checking sys/epoll.h presence... no [08:33:13.667] checking for sys/epoll.h... no [08:33:13.670] checking sys/event.h usability... no [08:33:13.721] checking sys/event.h presence... no [08:33:13.737] checking for sys/event.h... no [08:33:13.741] checking sys/personality.h usability... no [08:33:13.791] checking sys/personality.h presence... no [08:33:13.808] checking for sys/personality.h... no [08:33:13.812] checking sys/prctl.h usability... no [08:33:13.863] checking sys/prctl.h presence... no [08:33:13.880] checking for sys/prctl.h... no [08:33:13.883] checking sys/procctl.h usability... no [08:33:13.935] checking sys/procctl.h presence... no [08:33:13.954] checking for sys/procctl.h... no [08:33:13.957] checking sys/signalfd.h usability... no [08:33:14.014] checking sys/signalfd.h presence... no [08:33:14.033] checking for sys/signalfd.h... no [08:33:14.037] checking sys/ucred.h usability... no [08:33:14.093] checking sys/ucred.h presence... no [08:33:14.112] checking for sys/ucred.h... no [08:33:14.115] checking termios.h usability... no [08:33:14.171] checking termios.h presence... no [08:33:14.190] checking for termios.h... no [08:33:14.193] checking uchar.h usability... yes [08:33:14.202] checking uchar.h presence... yes [08:33:14.224] checking for uchar.h... yes [08:33:14.231] checking ucred.h usability... no [08:33:14.285] checking ucred.h presence... no [08:33:14.302] checking for ucred.h... no [08:33:14.305] checking xlocale.h usability... no [08:33:14.356] checking xlocale.h presence... no [08:33:14.373] checking for xlocale.h... no [08:33:14.376] checking zlib.h usability... yes [08:33:14.384] checking zlib.h presence... yes [08:33:14.405] checking for zlib.h... yes [08:33:14.405] checking for lz4... /usr/bin/lz4 [08:33:14.405] checking for zstd... /usr/bin/zstd [08:33:14.406] checking for openssl... /usr/bin/openssl [08:33:14.410] configure: using openssl: OpenSSL 3.5.4 30 Sep 2025 (Library: OpenSSL 3.5.4 30 Sep 2025) [08:33:14.411] checking crtdefs.h usability... yes [08:33:14.418] checking crtdefs.h presence... yes [08:33:14.431] checking for crtdefs.h... yes [08:33:14.432] checking whether byte ordering is bigendian... no [08:33:14.498] checking for inline... inline [08:33:14.505] checking for printf format archetype... gnu_printf [08:33:14.514] checking for _Static_assert... yes [08:33:14.559] checking for typeof... typeof [08:33:14.567] checking for __builtin_types_compatible_p... yes [08:33:14.579] checking for __builtin_constant_p... yes [08:33:14.590] checking for __builtin_mul_overflow... yes [08:33:14.646] checking for __builtin_unreachable... yes [08:33:14.691] checking for computed goto support... yes [08:33:14.698] checking for struct tm.tm_zone... no [08:33:14.770] checking for union semun... no [08:33:14.802] checking for socklen_t... yes [08:33:16.060] checking for struct sockaddr.sa_len... no [08:33:18.294] checking for C/C++ restrict keyword... __restrict [08:33:18.307] checking for struct option... yes [08:33:18.348] checking whether assembler supports x86_64 popcntq... yes [08:33:18.357] checking size of off_t... 4 [08:33:18.566] checking for int timezone... yes [08:33:18.630] checking for backtrace_symbols... no [08:33:18.687] checking for copyfile... no [08:33:18.742] checking for copy_file_range... no [08:33:18.798] checking for elf_aux_info... no [08:33:18.855] checking for getauxval... no [08:33:18.911] checking for getifaddrs... no [08:33:18.968] checking for getpeerucred... no [08:33:19.023] checking for inet_pton... yes [08:33:19.076] checking for kqueue... no [08:33:19.129] checking for localeconv_l... no [08:33:19.183] checking for mbstowcs_l... no [08:33:19.236] checking for posix_fallocate... no [08:33:19.290] checking for ppoll... no [08:33:19.346] checking for pthread_is_threaded_np... no [08:33:19.403] checking for setproctitle... no [08:33:19.460] checking for setproctitle_fast... no [08:33:19.517] checking for strsignal... no [08:33:19.574] checking for syncfs... no [08:33:19.629] checking for sync_file_range... no [08:33:19.685] checking for uselocale... no [08:33:19.741] checking for wcstombs_l... no [08:33:19.794] checking for __builtin_bswap16... yes [08:33:19.848] checking for __builtin_bswap32... yes [08:33:19.901] checking for __builtin_bswap64... yes [08:33:19.952] checking for __builtin_clz... yes [08:33:20.004] checking for __builtin_ctz... yes [08:33:20.055] checking for __builtin_popcount... yes [08:33:20.107] checking for __builtin_frame_address... yes [08:33:20.158] checking for _LARGEFILE_SOURCE value needed for large files... no [08:33:20.217] checking how ccache x86_64-w64-mingw32ucrt-gcc reports undeclared, standard C functions... error [08:33:20.248] checking for posix_fadvise... no [08:33:20.304] checking whether posix_fadvise is declared... no [08:33:20.348] checking whether fdatasync is declared... no [08:33:20.391] checking whether strlcat is declared... no [08:33:20.455] checking whether strlcpy is declared... no [08:33:20.517] checking whether strnlen is declared... yes [08:33:20.530] checking whether strsep is declared... no [08:33:20.594] checking whether timingsafe_bcmp is declared... no [08:33:20.654] checking whether preadv is declared... no [08:33:20.685] checking whether pwritev is declared... no [08:33:20.716] checking whether strchrnul is declared... no [08:33:20.755] checking whether memset_s is declared... no [08:33:20.794] checking whether F_FULLFSYNC is declared... no [08:33:20.831] checking for explicit_bzero... no [08:33:20.880] checking for getopt... yes [08:33:20.928] checking for getpeereid... no [08:33:20.979] checking for inet_aton... no [08:33:21.028] checking for mkdtemp... no [08:33:21.077] checking for strlcat... no [08:33:21.129] checking for strlcpy... no [08:33:21.179] checking for strnlen... yes [08:33:21.229] checking for strsep... no [08:33:21.279] checking for timingsafe_bcmp... no [08:33:21.331] checking for pthread_barrier_wait... yes [08:33:21.379] configure: On mingw32ucrt we will use our strtof wrapper. [08:33:21.379] checking for getopt_long... yes [08:33:21.427] checking for syslog... no [08:33:21.477] checking for opterr... yes [08:33:21.527] checking for optreset... no [08:33:21.579] checking test program... cross-compiling [08:33:21.580] checking size of void *... 8 [08:33:21.835] checking size of size_t... 8 [08:33:22.090] checking size of long... 4 [08:33:22.294] checking size of long long... 8 [08:33:22.559] checking alignment of short... 2 [08:33:22.695] checking alignment of int... 4 [08:33:22.905] checking alignment of long... 4 [08:33:23.113] checking alignment of int64_t... 8 [08:33:23.388] checking alignment of double... 8 [08:33:23.651] checking for __int128... yes [08:33:23.705] checking for __int128 alignment bug... assuming ok [08:33:23.706] checking alignment of PG_INT128_TYPE... 16 [08:33:24.027] checking for builtin __sync char locking functions... yes [08:33:24.069] checking for builtin __sync int32 locking functions... yes [08:33:24.111] checking for builtin __sync int32 atomic operations... yes [08:33:24.153] checking for builtin __sync int64 atomic operations... yes [08:33:24.198] checking for builtin __atomic int32 atomic operations... yes [08:33:24.241] checking for builtin __atomic int64 atomic operations... yes [08:33:24.286] checking for __get_cpuid... yes [08:33:24.336] checking for __get_cpuid_count... yes [08:33:24.383] checking for _xgetbv... yes [08:33:24.832] checking for _mm512_popcnt_epi64... yes [08:33:25.276] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [08:33:25.379] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:33:25.399] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [08:33:25.416] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:33:25.433] 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 [08:33:25.466] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:33:25.466] checking for _mm512_clmulepi64_epi128... yes [08:33:25.901] checking for vectorized CRC-32C... AVX-512 with runtime check [08:33:25.901] checking which random number source to use... Windows native [08:33:25.903] checking for xmllint... /usr/bin/xmllint [08:33:25.904] checking for xsltproc... /usr/bin/xsltproc [08:33:25.904] checking for fop... /usr/bin/fop [08:33:25.905] checking for dbtoepub... no [08:33:25.905] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:33:25.905] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:33:25.905] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [08:33:25.914] configure: using compiler=x86_64-w64-mingw32ucrt-gcc (GCC) 14 [08:33:25.914] 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 [08:33:25.914] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [08:33:25.915] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:33:26.000] configure: creating ./config.status [08:33:26.083] config.status: creating GNUmakefile [08:33:26.095] config.status: creating src/Makefile.global [08:33:26.111] config.status: creating src/include/pg_config.h [08:33:26.123] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:33:26.138] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:33:26.146] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:33:26.154] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:33:26.162] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:33:26.165] config.status: executing check_win32_symlinks commands [08:33:26.198] [08:33:26.198] real 0m15.695s [08:33:26.198] user 0m11.153s [08:33:26.198] sys 0m4.214s [08:33:26.198] make -s -j${BUILD_JOBS} clean [08:33:26.722] time make -s -j${BUILD_JOBS} world-bin [08:33:35.229] pg_createsubscriber.c: In function ‘cleanup_objects_atexit’: [08:33:35.229] pg_createsubscriber.c:207:36: error: implicit declaration of function ‘truncate’; did you mean ‘ftruncate’? [-Wimplicit-function-declaration] [08:33:35.229] 207 | if ((err = truncate(filename, recovery_conf_size)) != 0) [08:33:35.229] | ^~~~~~~~ [08:33:35.229] | ftruncate [08:33:35.230] make[3]: *** [: pg_createsubscriber.o] Error 1 [08:33:35.231] make[2]: *** [Makefile:45: all-pg_basebackup-recurse] Error 2 [08:33:35.231] make[2]: *** Waiting for unfinished jobs.... [08:33:35.406] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [08:33:35.407] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:33:35.407] [08:33:35.407] real 0m8.685s [08:33:35.407] user 0m12.547s [08:33:35.407] sys 0m7.287s [08:33:35.407] [08:33:35.407] Exit status: 2