[12:30:09.512] time ./configure \ [12:30:09.512] --host=x86_64-w64-mingw32 \ [12:30:09.512] --enable-cassert \ [12:30:09.512] --without-icu \ [12:30:09.512] CC="ccache x86_64-w64-mingw32-gcc" \ [12:30:09.512] CXX="ccache x86_64-w64-mingw32-g++" [12:30:09.629] checking build system type... x86_64-pc-linux-gnu [12:30:09.796] checking host system type... x86_64-w64-mingw32 [12:30:09.801] checking which template to use... win32 [12:30:09.801] checking whether NLS is wanted... no [12:30:09.801] checking for default port number... 5432 [12:30:09.808] checking for block size... 8kB [12:30:09.810] checking for segment size... 1GB [12:30:09.812] checking for WAL block size... 8kB [12:30:09.813] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:30:09.847] checking whether the C compiler works... yes [12:30:09.980] checking for C compiler default output file name... a.exe [12:30:09.981] checking for suffix of executables... .exe [12:30:10.021] checking whether we are cross compiling... yes [12:30:10.101] checking for suffix of object files... o [12:30:10.108] checking whether we are using the GNU C compiler... yes [12:30:10.114] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:30:10.120] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:30:10.129] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C11... none needed [12:30:10.175] checking whether we are using the GNU C++ compiler... yes [12:30:10.181] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:30:10.217] checking for gawk... no [12:30:10.217] checking for mawk... mawk [12:30:10.219] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:30:10.226] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:30:10.232] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:30:10.273] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:30:10.418] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:30:10.424] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:30:10.430] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:30:10.436] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:30:10.443] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:30:10.449] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:30:10.456] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:30:10.462] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:30:10.469] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:30:10.475] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:30:10.482] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:30:10.488] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:30:10.494] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:30:10.528] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:30:10.534] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:30:10.541] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:30:10.547] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:30:10.554] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:30:10.560] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:30:10.581] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:30:10.588] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:30:10.594] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:30:10.627] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:30:10.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:30:10.668] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:30:10.675] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:30:10.707] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:30:10.714] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:30:10.720] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:30:10.727] checking whether the C compiler still works... yes [12:30:10.788] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:30:10.855] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:30:10.855] checking pkg-config is at least version 0.9.0... yes [12:30:10.870] checking whether to build with ICU support... no [12:30:10.870] checking whether to build with Tcl... no [12:30:10.870] checking whether to build Perl modules... no [12:30:10.870] checking whether to build Python modules... no [12:30:10.870] checking whether to build with GSSAPI support... no [12:30:10.871] checking whether to build with PAM support... no [12:30:10.871] checking whether to build with BSD Authentication support... no [12:30:10.871] checking whether to build with LDAP support... no [12:30:10.871] checking whether to build with Bonjour support... no [12:30:10.871] checking whether to build with SELinux support... no [12:30:10.872] checking whether to build with systemd support... no [12:30:10.872] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:30:10.872] checking whether to build with liburing support... no [12:30:10.872] checking whether to build with libcurl support... no [12:30:10.872] checking whether to build with libnuma support... no [12:30:10.872] checking whether to build with XML support... no [12:30:10.873] checking whether to build with LZ4 support... no [12:30:10.873] checking whether to build with ZSTD support... no [12:30:10.873] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:30:10.873] checking whether it is possible to strip libraries... yes [12:30:10.880] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:30:10.880] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:30:10.881] checking for a BSD-compatible install... /usr/bin/install -c [12:30:10.889] checking for tar... /usr/bin/tar [12:30:10.889] checking whether ln -s works... yes [12:30:10.889] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:30:10.891] checking for bison... /usr/bin/bison [12:30:10.893] configure: using bison (GNU Bison) 3.8.2 [12:30:10.896] checking for flex... /usr/bin/flex [12:30:10.898] configure: using flex 2.6.4 [12:30:10.898] checking for perl... /usr/bin/perl [12:30:10.900] configure: using perl 5.36.0 [12:30:10.902] checking for zic... /usr/sbin/zic [12:30:10.902] checking for a sed that does not truncate output... /usr/bin/sed [12:30:10.906] checking for grep that handles long lines and -e... /usr/bin/grep [12:30:10.908] checking for egrep... /usr/bin/grep -E [12:30:10.910] checking for ANSI C header files... yes [12:30:10.959] checking for sys/types.h... yes [12:30:10.973] checking for sys/stat.h... yes [12:30:10.987] checking for stdlib.h... yes [12:30:11.000] checking for string.h... yes [12:30:11.013] checking for memory.h... yes [12:30:11.027] checking for strings.h... yes [12:30:11.040] checking for inttypes.h... yes [12:30:11.055] checking for stdint.h... yes [12:30:11.068] checking for unistd.h... yes [12:30:11.082] checking for main in -lm... yes [12:30:11.127] checking for library containing setproctitle... no [12:30:11.210] checking for library containing dlsym... no [12:30:11.290] checking for library containing socket... -lws2_32 [12:30:11.408] checking for library containing getopt_long... none required [12:30:11.455] checking for library containing shm_open... no [12:30:11.537] checking for library containing shm_unlink... no [12:30:11.618] checking for library containing clock_gettime... no [12:30:11.700] checking for library containing shmget... no [12:30:11.783] checking for library containing backtrace_symbols... no [12:30:11.864] checking for library containing pthread_barrier_wait... -lpthread [12:30:11.946] checking for inflate in -lz... yes [12:30:11.991] checking atomic.h usability... no [12:30:12.045] checking atomic.h presence... no [12:30:12.062] checking for atomic.h... no [12:30:12.064] checking copyfile.h usability... no [12:30:12.114] checking copyfile.h presence... no [12:30:12.131] checking for copyfile.h... no [12:30:12.134] checking execinfo.h usability... no [12:30:12.183] checking execinfo.h presence... no [12:30:12.200] checking for execinfo.h... no [12:30:12.203] checking getopt.h usability... yes [12:30:12.210] checking getopt.h presence... yes [12:30:12.223] checking for getopt.h... yes [12:30:12.229] checking ifaddrs.h usability... no [12:30:12.278] checking ifaddrs.h presence... no [12:30:12.295] checking for ifaddrs.h... no [12:30:12.298] checking mbarrier.h usability... no [12:30:12.347] checking mbarrier.h presence... no [12:30:12.364] checking for mbarrier.h... no [12:30:12.367] checking sys/epoll.h usability... no [12:30:12.416] checking sys/epoll.h presence... no [12:30:12.433] checking for sys/epoll.h... no [12:30:12.435] checking sys/event.h usability... no [12:30:12.484] checking sys/event.h presence... no [12:30:12.501] checking for sys/event.h... no [12:30:12.504] checking sys/personality.h usability... no [12:30:12.553] checking sys/personality.h presence... no [12:30:12.570] checking for sys/personality.h... no [12:30:12.573] checking sys/prctl.h usability... no [12:30:12.622] checking sys/prctl.h presence... no [12:30:12.639] checking for sys/prctl.h... no [12:30:12.642] checking sys/procctl.h usability... no [12:30:12.693] checking sys/procctl.h presence... no [12:30:12.710] checking for sys/procctl.h... no [12:30:12.713] checking sys/signalfd.h usability... no [12:30:12.762] checking sys/signalfd.h presence... no [12:30:12.779] checking for sys/signalfd.h... no [12:30:12.782] checking sys/ucred.h usability... no [12:30:12.832] checking sys/ucred.h presence... no [12:30:12.848] checking for sys/ucred.h... no [12:30:12.851] checking termios.h usability... no [12:30:12.901] checking termios.h presence... no [12:30:12.918] checking for termios.h... no [12:30:12.921] checking uchar.h usability... yes [12:30:12.929] checking uchar.h presence... yes [12:30:12.946] checking for uchar.h... yes [12:30:12.952] checking ucred.h usability... no [12:30:13.001] checking ucred.h presence... no [12:30:13.018] checking for ucred.h... no [12:30:13.021] checking xlocale.h usability... no [12:30:13.069] checking xlocale.h presence... no [12:30:13.086] checking for xlocale.h... no [12:30:13.088] checking zlib.h usability... yes [12:30:13.097] checking zlib.h presence... yes [12:30:13.114] checking for zlib.h... yes [12:30:13.114] checking for lz4... /usr/bin/lz4 [12:30:13.114] checking for zstd... /usr/bin/zstd [12:30:13.115] checking for openssl... /usr/bin/openssl [12:30:13.118] configure: using openssl: OpenSSL 3.0.17 1 Jul 2025 (Library: OpenSSL 3.0.17 1 Jul 2025) [12:30:13.119] checking crtdefs.h usability... yes [12:30:13.126] checking crtdefs.h presence... yes [12:30:13.139] checking for crtdefs.h... yes [12:30:13.140] checking whether byte ordering is bigendian... no [12:30:13.205] checking for inline... inline [12:30:13.211] checking for printf format archetype... gnu_printf [12:30:13.218] checking for _Static_assert... yes [12:30:13.257] checking for typeof... typeof [12:30:13.263] checking for __builtin_types_compatible_p... yes [12:30:13.274] checking for __builtin_constant_p... yes [12:30:13.284] checking for __builtin_mul_overflow... yes [12:30:13.329] checking for __builtin_unreachable... yes [12:30:13.368] checking for computed goto support... yes [12:30:13.374] checking for struct tm.tm_zone... no [12:30:13.443] checking for union semun... no [12:30:13.473] checking for socklen_t... yes [12:30:14.548] checking for struct sockaddr.sa_len... no [12:30:16.364] checking for C/C++ restrict keyword... __restrict [12:30:16.375] checking for struct option... yes [12:30:16.414] checking whether assembler supports x86_64 popcntq... yes [12:30:16.421] checking size of off_t... 4 [12:30:16.614] 0 [12:30:16.614] checking for int timezone... yes [12:30:16.667] checking for backtrace_symbols... no [12:30:16.719] checking for copyfile... no [12:30:16.771] checking for copy_file_range... no [12:30:16.819] checking for elf_aux_info... no [12:30:16.868] checking for getauxval... no [12:30:16.919] checking for getifaddrs... no [12:30:16.967] checking for getpeerucred... no [12:30:17.014] checking for inet_pton... yes [12:30:17.062] checking for kqueue... no [12:30:17.108] checking for localeconv_l... no [12:30:17.155] checking for mbstowcs_l... no [12:30:17.202] checking for posix_fallocate... no [12:30:17.248] checking for ppoll... no [12:30:17.296] checking for pthread_is_threaded_np... no [12:30:17.343] checking for setproctitle... no [12:30:17.390] checking for setproctitle_fast... no [12:30:17.437] checking for strsignal... no [12:30:17.484] checking for syncfs... no [12:30:17.531] checking for sync_file_range... no [12:30:17.577] checking for uselocale... no [12:30:17.624] checking for wcstombs_l... no [12:30:17.670] checking for __builtin_bswap16... yes [12:30:17.717] checking for __builtin_bswap32... yes [12:30:17.762] checking for __builtin_bswap64... yes [12:30:17.808] checking for __builtin_clz... yes [12:30:17.855] checking for __builtin_ctz... yes [12:30:17.899] checking for __builtin_popcount... yes [12:30:17.944] checking for __builtin_frame_address... yes [12:30:17.990] checking for _LARGEFILE_SOURCE value needed for large files... no [12:30:18.040] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:30:18.069] checking for posix_fadvise... no [12:30:18.117] checking whether posix_fadvise is declared... no [12:30:18.159] checking whether fdatasync is declared... no [12:30:18.201] checking whether strlcat is declared... no [12:30:18.259] checking whether strlcpy is declared... no [12:30:18.317] checking whether strnlen is declared... yes [12:30:18.330] checking whether strsep is declared... no [12:30:18.389] checking whether timingsafe_bcmp is declared... no [12:30:18.447] checking whether preadv is declared... no [12:30:18.480] checking whether pwritev is declared... no [12:30:18.513] checking whether strchrnul is declared... no [12:30:18.551] checking whether memset_s is declared... no [12:30:18.589] checking whether F_FULLFSYNC is declared... no [12:30:18.626] checking for explicit_bzero... no [12:30:18.671] checking for getopt... yes [12:30:18.713] checking for getpeereid... no [12:30:18.757] checking for inet_aton... no [12:30:18.802] checking for mkdtemp... no [12:30:18.846] checking for strlcat... no [12:30:18.892] checking for strlcpy... no [12:30:18.937] checking for strnlen... yes [12:30:18.982] checking for strsep... no [12:30:19.027] checking for timingsafe_bcmp... no [12:30:19.071] checking for pthread_barrier_wait... yes [12:30:19.113] configure: On mingw32 we will use our strtof wrapper. [12:30:19.113] checking for getopt_long... yes [12:30:19.154] checking for syslog... no [12:30:19.199] checking for opterr... yes [12:30:19.244] checking for optreset... no [12:30:19.293] checking test program... cross-compiling [12:30:19.293] checking size of void *... 8 [12:30:19.536] checking size of size_t... 8 [12:30:19.783] checking size of long... 4 [12:30:19.972] checking size of long long... 8 [12:30:20.219] checking alignment of short... 2 [12:30:20.343] checking alignment of int... 4 [12:30:20.531] checking alignment of long... 4 [12:30:20.728] checking alignment of int64_t... 8 [12:30:20.976] checking alignment of double... 8 [12:30:21.223] checking for __int128... yes [12:30:21.270] checking for __int128 alignment bug... assuming ok [12:30:21.270] checking alignment of PG_INT128_TYPE... 16 [12:30:21.570] checking for builtin __sync char locking functions... yes [12:30:21.610] checking for builtin __sync int32 locking functions... yes [12:30:21.649] checking for builtin __sync int32 atomic operations... yes [12:30:21.688] checking for builtin __sync int64 atomic operations... yes [12:30:21.729] checking for builtin __atomic int32 atomic operations... yes [12:30:21.769] checking for builtin __atomic int64 atomic operations... yes [12:30:21.811] checking for __get_cpuid... yes [12:30:21.855] checking for __get_cpuid_count... yes [12:30:21.898] checking for _xgetbv... yes [12:30:22.291] checking for _mm512_popcnt_epi64... yes [12:30:22.667] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [12:30:22.761] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:30:22.782] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [12:30:22.799] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:30:22.816] 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 [12:30:22.867] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:30:22.868] checking for _mm512_clmulepi64_epi128... yes [12:30:23.242] checking for vectorized CRC-32C... AVX-512 with runtime check [12:30:23.242] checking which random number source to use... Windows native [12:30:23.244] checking for xmllint... /usr/bin/xmllint [12:30:23.244] checking for xsltproc... /usr/bin/xsltproc [12:30:23.244] checking for fop... /usr/bin/fop [12:30:23.244] checking for dbtoepub... no [12:30:23.245] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:30:23.245] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:30:23.245] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:30:23.254] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:30:23.254] 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 [12:30:23.254] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [12:30:23.255] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:30:23.339] configure: creating ./config.status [12:30:23.419] config.status: creating GNUmakefile [12:30:23.431] config.status: creating src/Makefile.global [12:30:23.445] config.status: creating src/include/pg_config.h [12:30:23.457] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:30:23.471] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:30:23.477] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:30:23.484] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:30:23.491] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:30:23.494] config.status: executing check_win32_symlinks commands [12:30:23.525] [12:30:23.525] real 0m14.012s [12:30:23.525] user 0m9.314s [12:30:23.525] sys 0m4.394s [12:30:23.525] make -s -j${BUILD_JOBS} clean [12:30:24.040] time make -s -j${BUILD_JOBS} world-bin [12:30:32.735] pg_createsubscriber.c: In function ‘cleanup_objects_atexit’: [12:30:32.735] pg_createsubscriber.c:213:36: error: implicit declaration of function ‘truncate’; did you mean ‘ftruncate’? [-Werror=implicit-function-declaration] [12:30:32.735] 213 | if ((err = truncate(filename, recovery_conf_size)) != 0) [12:30:32.735] | ^~~~~~~~ [12:30:32.735] | ftruncate [12:30:32.735] cc1: all warnings being treated as errors [12:30:32.736] make[3]: *** [: pg_createsubscriber.o] Error 1 [12:30:32.736] make[2]: *** [Makefile:45: all-pg_basebackup-recurse] Error 2 [12:30:32.736] make[2]: *** Waiting for unfinished jobs.... [12:30:33.629] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [12:30:33.630] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:30:33.630] [12:30:33.630] real 0m9.590s [12:30:33.630] user 0m14.395s [12:30:33.630] sys 0m9.361s [12:30:33.630] [12:30:33.630] Exit status: 2