[17:40:43.162] time ./configure \ [17:40:43.162] --host=x86_64-w64-mingw32 \ [17:40:43.162] --enable-cassert \ [17:40:43.162] --without-icu \ [17:40:43.162] CC="ccache x86_64-w64-mingw32-gcc" \ [17:40:43.162] CXX="ccache x86_64-w64-mingw32-g++" [17:40:43.280] checking build system type... x86_64-pc-linux-gnu [17:40:43.455] checking host system type... x86_64-w64-mingw32 [17:40:43.460] checking which template to use... win32 [17:40:43.460] checking whether NLS is wanted... no [17:40:43.460] checking for default port number... 5432 [17:40:43.466] checking for block size... 8kB [17:40:43.468] checking for segment size... 1GB [17:40:43.470] checking for WAL block size... 8kB [17:40:43.471] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:40:43.503] checking whether the C compiler works... yes [17:40:43.636] checking for C compiler default output file name... a.exe [17:40:43.637] checking for suffix of executables... .exe [17:40:43.677] checking whether we are cross compiling... yes [17:40:43.751] checking for suffix of object files... o [17:40:43.759] checking whether we are using the GNU C compiler... yes [17:40:43.765] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:40:43.772] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:40:43.781] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:40:43.840] checking whether we are using the GNU C++ compiler... yes [17:40:43.847] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:40:43.917] checking for gawk... no [17:40:43.918] checking for mawk... mawk [17:40:43.920] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:40:43.928] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:40:43.935] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:40:43.982] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:40:44.143] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:40:44.150] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:40:44.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:40:44.163] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:40:44.169] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:40:44.176] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:40:44.182] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:40:44.189] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:40:44.196] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:40:44.203] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:40:44.210] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:40:44.217] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:40:44.224] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:40:44.261] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:40:44.267] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:40:44.274] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:40:44.280] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:40:44.287] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:40:44.303] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:40:44.326] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:40:44.333] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:40:44.339] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:40:44.376] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:40:44.414] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:40:44.421] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:40:44.427] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:40:44.461] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:40:44.468] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:40:44.474] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:40:44.482] checking whether the C compiler still works... yes [17:40:44.544] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:40:44.616] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:40:44.616] checking pkg-config is at least version 0.9.0... yes [17:40:44.632] checking whether to build with ICU support... no [17:40:44.632] checking whether to build with Tcl... no [17:40:44.632] checking whether to build Perl modules... no [17:40:44.632] checking whether to build Python modules... no [17:40:44.632] checking whether to build with GSSAPI support... no [17:40:44.634] checking whether to build with PAM support... no [17:40:44.634] checking whether to build with BSD Authentication support... no [17:40:44.634] checking whether to build with LDAP support... no [17:40:44.634] checking whether to build with Bonjour support... no [17:40:44.634] checking whether to build with SELinux support... no [17:40:44.634] checking whether to build with systemd support... no [17:40:44.634] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:40:44.634] checking whether to build with liburing support... no [17:40:44.634] checking whether to build with libcurl support... no [17:40:44.635] checking whether to build with libnuma support... no [17:40:44.635] checking whether to build with XML support... no [17:40:44.635] checking whether to build with LZ4 support... no [17:40:44.635] checking whether to build with ZSTD support... no [17:40:44.636] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:40:44.636] checking whether it is possible to strip libraries... yes [17:40:44.642] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:40:44.643] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:40:44.643] checking for a BSD-compatible install... /usr/bin/install -c [17:40:44.652] checking for tar... /usr/bin/tar [17:40:44.652] checking whether ln -s works... yes [17:40:44.652] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:40:44.654] checking for bison... /usr/bin/bison [17:40:44.656] configure: using bison (GNU Bison) 3.8.2 [17:40:44.659] checking for flex... /usr/bin/flex [17:40:44.661] configure: using flex 2.6.4 [17:40:44.661] checking for perl... /usr/bin/perl [17:40:44.663] configure: using perl 5.36.0 [17:40:44.665] checking for zic... /usr/sbin/zic [17:40:44.666] checking for a sed that does not truncate output... /usr/bin/sed [17:40:44.670] checking for grep that handles long lines and -e... /usr/bin/grep [17:40:44.672] checking for egrep... /usr/bin/grep -E [17:40:44.674] checking for ANSI C header files... yes [17:40:44.760] checking for sys/types.h... yes [17:40:44.778] checking for sys/stat.h... yes [17:40:44.839] checking for stdlib.h... yes [17:40:44.852] checking for string.h... yes [17:40:44.865] checking for memory.h... yes [17:40:44.879] checking for strings.h... yes [17:40:44.893] checking for inttypes.h... yes [17:40:44.909] checking for stdint.h... yes [17:40:44.923] checking for unistd.h... yes [17:40:44.939] checking for main in -lm... yes [17:40:44.984] checking for library containing setproctitle... no [17:40:45.074] checking for library containing dlsym... no [17:40:45.160] checking for library containing socket... -lws2_32 [17:40:45.289] checking for library containing getopt_long... none required [17:40:45.335] checking for library containing shm_open... no [17:40:45.427] checking for library containing shm_unlink... no [17:40:45.514] checking for library containing clock_gettime... no [17:40:45.600] checking for library containing shmget... no [17:40:45.687] checking for library containing backtrace_symbols... no [17:40:45.774] checking for library containing pthread_barrier_wait... -lpthread [17:40:45.865] checking for inflate in -lz... yes [17:40:45.916] checking atomic.h usability... no [17:40:45.973] checking atomic.h presence... no [17:40:45.993] checking for atomic.h... no [17:40:45.996] checking copyfile.h usability... no [17:40:46.052] checking copyfile.h presence... no [17:40:46.072] checking for copyfile.h... no [17:40:46.076] checking execinfo.h usability... no [17:40:46.133] checking execinfo.h presence... no [17:40:46.153] checking for execinfo.h... no [17:40:46.156] checking getopt.h usability... yes [17:40:46.164] checking getopt.h presence... yes [17:40:46.180] checking for getopt.h... yes [17:40:46.187] checking ifaddrs.h usability... no [17:40:46.242] checking ifaddrs.h presence... no [17:40:46.261] checking for ifaddrs.h... no [17:40:46.264] checking mbarrier.h usability... no [17:40:46.316] checking mbarrier.h presence... no [17:40:46.335] checking for mbarrier.h... no [17:40:46.339] checking sys/epoll.h usability... no [17:40:46.395] checking sys/epoll.h presence... no [17:40:46.414] checking for sys/epoll.h... no [17:40:46.417] checking sys/event.h usability... no [17:40:46.473] checking sys/event.h presence... no [17:40:46.493] checking for sys/event.h... no [17:40:46.497] checking sys/personality.h usability... no [17:40:46.554] checking sys/personality.h presence... no [17:40:46.575] checking for sys/personality.h... no [17:40:46.578] checking sys/prctl.h usability... no [17:40:46.634] checking sys/prctl.h presence... no [17:40:46.652] checking for sys/prctl.h... no [17:40:46.655] checking sys/procctl.h usability... no [17:40:46.709] checking sys/procctl.h presence... no [17:40:46.729] checking for sys/procctl.h... no [17:40:46.732] checking sys/signalfd.h usability... no [17:40:46.786] checking sys/signalfd.h presence... no [17:40:46.806] checking for sys/signalfd.h... no [17:40:46.809] checking sys/ucred.h usability... no [17:40:46.868] checking sys/ucred.h presence... no [17:40:46.888] checking for sys/ucred.h... no [17:40:46.891] checking termios.h usability... no [17:40:46.948] checking termios.h presence... no [17:40:46.966] checking for termios.h... no [17:40:46.969] checking ucred.h usability... no [17:40:47.025] checking ucred.h presence... no [17:40:47.044] checking for ucred.h... no [17:40:47.047] checking xlocale.h usability... no [17:40:47.102] checking xlocale.h presence... no [17:40:47.121] checking for xlocale.h... no [17:40:47.123] checking zlib.h usability... yes [17:40:47.132] checking zlib.h presence... yes [17:40:47.150] checking for zlib.h... yes [17:40:47.150] checking for lz4... /usr/bin/lz4 [17:40:47.150] checking for zstd... /usr/bin/zstd [17:40:47.150] checking for openssl... /usr/bin/openssl [17:40:47.155] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [17:40:47.155] checking crtdefs.h usability... yes [17:40:47.163] checking crtdefs.h presence... yes [17:40:47.178] checking for crtdefs.h... yes [17:40:47.179] checking whether byte ordering is bigendian... no [17:40:47.247] checking for inline... inline [17:40:47.273] checking for printf format archetype... gnu_printf [17:40:47.281] checking for _Static_assert... yes [17:40:47.323] checking for typeof... typeof [17:40:47.330] checking for __builtin_types_compatible_p... yes [17:40:47.340] checking for __builtin_constant_p... yes [17:40:47.350] checking for __builtin_mul_overflow... yes [17:40:47.397] checking for __builtin_unreachable... yes [17:40:47.439] checking for computed goto support... yes [17:40:47.446] checking for struct tm.tm_zone... no [17:40:47.517] checking for union semun... no [17:40:47.551] checking for socklen_t... yes [17:40:49.107] checking for struct sockaddr.sa_len... no [17:40:51.162] checking for C/C++ restrict keyword... __restrict [17:40:51.176] checking for struct option... yes [17:40:51.219] checking whether assembler supports x86_64 popcntq... yes [17:40:51.226] checking size of off_t... 4 [17:40:51.430] 0 [17:40:51.430] checking for int timezone... yes [17:40:51.483] checking for backtrace_symbols... no [17:40:51.537] checking for copyfile... no [17:40:51.588] checking for copy_file_range... no [17:40:51.640] checking for elf_aux_info... no [17:40:51.692] checking for getauxval... no [17:40:51.745] checking for getifaddrs... no [17:40:51.800] checking for getpeerucred... no [17:40:51.852] checking for inet_pton... yes [17:40:51.907] checking for kqueue... no [17:40:51.959] checking for localeconv_l... no [17:40:52.010] checking for mbstowcs_l... no [17:40:52.062] checking for posix_fallocate... no [17:40:52.112] checking for ppoll... no [17:40:52.161] checking for pthread_is_threaded_np... no [17:40:52.212] checking for setproctitle... no [17:40:52.262] checking for setproctitle_fast... no [17:40:52.313] checking for strsignal... no [17:40:52.362] checking for syncfs... no [17:40:52.413] checking for sync_file_range... no [17:40:52.462] checking for uselocale... no [17:40:52.512] checking for wcstombs_l... no [17:40:52.560] checking for __builtin_bswap16... yes [17:40:52.611] checking for __builtin_bswap32... yes [17:40:52.658] checking for __builtin_bswap64... yes [17:40:52.705] checking for __builtin_clz... yes [17:40:52.753] checking for __builtin_ctz... yes [17:40:52.801] checking for __builtin_popcount... yes [17:40:52.850] checking for __builtin_frame_address... yes [17:40:52.898] checking for _LARGEFILE_SOURCE value needed for large files... no [17:40:52.951] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:40:52.984] checking for posix_fadvise... no [17:40:53.039] checking whether posix_fadvise is declared... no [17:40:53.089] checking whether fdatasync is declared... no [17:40:53.139] checking whether strlcat is declared... no [17:40:53.206] checking whether strlcpy is declared... no [17:40:53.272] checking whether strnlen is declared... yes [17:40:53.285] checking whether strsep is declared... no [17:40:53.349] checking whether timingsafe_bcmp is declared... no [17:40:53.412] checking whether preadv is declared... no [17:40:53.448] checking whether pwritev is declared... no [17:40:53.484] checking whether strchrnul is declared... no [17:40:53.525] checking whether memset_s is declared... no [17:40:53.568] checking whether F_FULLFSYNC is declared... no [17:40:53.608] checking for explicit_bzero... no [17:40:53.656] checking for getopt... yes [17:40:53.699] checking for getpeereid... no [17:40:53.747] checking for inet_aton... no [17:40:53.795] checking for mkdtemp... no [17:40:53.844] checking for strlcat... no [17:40:53.894] checking for strlcpy... no [17:40:53.945] checking for strnlen... yes [17:40:53.995] checking for strsep... no [17:40:54.045] checking for timingsafe_bcmp... no [17:40:54.094] checking for pthread_barrier_wait... yes [17:40:54.140] configure: On mingw32 we will use our strtof wrapper. [17:40:54.140] checking for getopt_long... yes [17:40:54.187] checking for syslog... no [17:40:54.236] checking for opterr... yes [17:40:54.285] checking for optreset... no [17:40:54.337] checking test program... cross-compiling [17:40:54.337] checking size of void *... 8 [17:40:54.603] checking size of size_t... 8 [17:40:54.870] checking size of long... 4 [17:40:55.075] checking size of long long... 8 [17:40:55.396] checking alignment of short... 2 [17:40:55.536] checking alignment of int... 4 [17:40:55.737] checking alignment of long... 4 [17:40:55.947] checking alignment of int64_t... 8 [17:40:56.231] checking alignment of double... 8 [17:40:56.507] checking for __int128... yes [17:40:56.562] checking for __int128 alignment bug... assuming ok [17:40:56.562] checking alignment of PG_INT128_TYPE... 16 [17:40:56.896] checking for builtin __sync char locking functions... yes [17:40:56.938] checking for builtin __sync int32 locking functions... yes [17:40:56.983] checking for builtin __sync int32 atomic operations... yes [17:40:57.028] checking for builtin __sync int64 atomic operations... yes [17:40:57.075] checking for builtin __atomic int32 atomic operations... yes [17:40:57.122] checking for builtin __atomic int64 atomic operations... yes [17:40:57.169] checking for __get_cpuid... yes [17:40:57.218] checking for __get_cpuid_count... yes [17:40:57.264] checking for __cpuid... no [17:40:57.664] checking for __cpuidex... no [17:40:58.088] checking for _xgetbv... yes [17:40:58.494] checking for _mm512_popcnt_epi64... yes [17:40:58.925] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [17:40:59.032] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:40:59.058] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [17:40:59.078] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:40:59.098] 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 [17:40:59.158] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:40:59.158] checking for _mm512_clmulepi64_epi128... yes [17:40:59.570] checking for vectorized CRC-32C... AVX-512 with runtime check [17:40:59.570] checking which random number source to use... Windows native [17:40:59.572] checking for xmllint... /usr/bin/xmllint [17:40:59.573] checking for xsltproc... /usr/bin/xsltproc [17:40:59.573] checking for fop... /usr/bin/fop [17:40:59.573] checking for dbtoepub... no [17:40:59.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:40:59.574] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:40:59.574] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:40:59.585] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:40:59.586] 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 [17:40:59.586] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:40:59.586] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:40:59.679] configure: creating ./config.status [17:40:59.767] config.status: creating GNUmakefile [17:40:59.780] config.status: creating src/Makefile.global [17:40:59.796] config.status: creating src/include/pg_config.h [17:40:59.809] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:40:59.826] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:40:59.834] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:40:59.842] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:40:59.849] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:40:59.857] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:40:59.861] config.status: executing check_win32_symlinks commands [17:40:59.897] [17:40:59.897] real 0m16.735s [17:40:59.897] user 0m11.122s [17:40:59.897] sys 0m5.318s [17:40:59.897] make -s -j${BUILD_JOBS} clean [17:41:00.414] time make -s -j${BUILD_JOBS} world-bin [17:42:06.597] xlog.c: In function ‘LogCheckpointEnd’: [17:42:06.597] xlog.c:6877:33: error: variable ‘average_msecs’ set but not used [-Werror=unused-but-set-variable] [17:42:06.597] 6877 | average_msecs; [17:42:06.597] | ^~~~~~~~~~~~~ [17:42:06.597] xlog.c:6876:33: error: variable ‘longest_msecs’ set but not used [-Werror=unused-but-set-variable] [17:42:06.597] 6876 | longest_msecs, [17:42:06.597] | ^~~~~~~~~~~~~ [17:42:06.597] xlog.c:6875:33: error: variable ‘total_msecs’ set but not used [-Werror=unused-but-set-variable] [17:42:06.597] 6875 | total_msecs, [17:42:06.597] | ^~~~~~~~~~~ [17:42:06.597] xlog.c: In function ‘CreateCheckPoint’: [17:42:06.597] xlog.c:7090:25: error: variable ‘last_important_lsn’ set but not used [-Werror=unused-but-set-variable] [17:42:06.597] 7090 | XLogRecPtr last_important_lsn; [17:42:06.597] | ^~~~~~~~~~~~~~~~~~ [17:42:06.597] cc1: all warnings being treated as errors [17:42:06.598] make[4]: *** [: xlog.o] Error 1 [17:42:06.598] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [17:42:06.598] make[2]: *** [common.mk:37: access-recursive] Error 2 [17:42:06.598] make[2]: *** Waiting for unfinished jobs.... [17:42:21.682] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:42:21.682] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:42:21.682] [17:42:21.682] real 1m21.268s [17:42:21.682] user 4m24.143s [17:42:21.682] sys 0m48.066s [17:42:21.682] [17:42:21.682] Exit status: 2