[22:56:47.043] time ./configure \ [22:56:47.043] --host=x86_64-w64-mingw32 \ [22:56:47.043] --enable-cassert \ [22:56:47.043] --without-icu \ [22:56:47.043] CC="ccache x86_64-w64-mingw32-gcc" \ [22:56:47.043] CXX="ccache x86_64-w64-mingw32-g++" [22:56:47.157] checking build system type... x86_64-pc-linux-gnu [22:56:47.330] checking host system type... x86_64-w64-mingw32 [22:56:47.335] checking which template to use... win32 [22:56:47.335] checking whether NLS is wanted... no [22:56:47.335] checking for default port number... 5432 [22:56:47.341] checking for block size... 8kB [22:56:47.343] checking for segment size... 1GB [22:56:47.345] checking for WAL block size... 8kB [22:56:47.346] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:56:47.377] checking whether the C compiler works... yes [22:56:47.590] checking for C compiler default output file name... a.exe [22:56:47.591] checking for suffix of executables... .exe [22:56:47.629] checking whether we are cross compiling... yes [22:56:47.698] checking for suffix of object files... o [22:56:47.705] checking whether we are using the GNU C compiler... yes [22:56:47.711] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:56:47.717] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:56:47.726] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:56:47.783] checking whether we are using the GNU C++ compiler... yes [22:56:47.789] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:56:47.853] checking for gawk... no [22:56:47.853] checking for mawk... mawk [22:56:47.856] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:56:47.863] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:56:47.869] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:56:47.912] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:56:48.068] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:56:48.075] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:56:48.083] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:56:48.090] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:56:48.096] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:56:48.103] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:56:48.110] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:56:48.117] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:56:48.124] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:56:48.131] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:56:48.138] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:56:48.145] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:56:48.152] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:56:48.190] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:56:48.197] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:56:48.204] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:56:48.211] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:56:48.218] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:56:48.226] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:56:48.250] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:56:48.256] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:56:48.263] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:56:48.301] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:56:48.339] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:56:48.346] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:56:48.353] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:56:48.388] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:56:48.395] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:56:48.403] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:56:48.411] checking whether the C compiler still works... yes [22:56:48.473] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:56:48.542] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:56:48.542] checking pkg-config is at least version 0.9.0... yes [22:56:48.559] checking whether to build with ICU support... no [22:56:48.559] checking whether to build with Tcl... no [22:56:48.559] checking whether to build Perl modules... no [22:56:48.559] checking whether to build Python modules... no [22:56:48.559] checking whether to build with GSSAPI support... no [22:56:48.561] checking whether to build with PAM support... no [22:56:48.561] checking whether to build with BSD Authentication support... no [22:56:48.561] checking whether to build with LDAP support... no [22:56:48.561] checking whether to build with Bonjour support... no [22:56:48.561] checking whether to build with SELinux support... no [22:56:48.561] checking whether to build with systemd support... no [22:56:48.561] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:56:48.561] checking whether to build with liburing support... no [22:56:48.562] checking whether to build with libcurl support... no [22:56:48.562] checking whether to build with libnuma support... no [22:56:48.562] checking whether to build with XML support... no [22:56:48.562] checking whether to build with LZ4 support... no [22:56:48.563] checking whether to build with ZSTD support... no [22:56:48.563] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:56:48.563] checking whether it is possible to strip libraries... yes [22:56:48.572] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:56:48.572] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:56:48.572] checking for a BSD-compatible install... /usr/bin/install -c [22:56:48.581] checking for tar... /usr/bin/tar [22:56:48.581] checking whether ln -s works... yes [22:56:48.581] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:56:48.584] checking for bison... /usr/bin/bison [22:56:48.586] configure: using bison (GNU Bison) 3.8.2 [22:56:48.589] checking for flex... /usr/bin/flex [22:56:48.591] configure: using flex 2.6.4 [22:56:48.591] checking for perl... /usr/bin/perl [22:56:48.593] configure: using perl 5.36.0 [22:56:48.595] checking for zic... /usr/sbin/zic [22:56:48.596] checking for a sed that does not truncate output... /usr/bin/sed [22:56:48.601] checking for grep that handles long lines and -e... /usr/bin/grep [22:56:48.603] checking for egrep... /usr/bin/grep -E [22:56:48.604] checking for ANSI C header files... yes [22:56:48.648] checking for sys/types.h... yes [22:56:48.665] checking for sys/stat.h... yes [22:56:48.681] checking for stdlib.h... yes [22:56:48.695] checking for string.h... yes [22:56:48.710] checking for memory.h... yes [22:56:48.724] checking for strings.h... yes [22:56:48.739] checking for inttypes.h... yes [22:56:48.754] checking for stdint.h... yes [22:56:48.769] checking for unistd.h... yes [22:56:48.785] checking for main in -lm... yes [22:56:48.831] checking for library containing setproctitle... no [22:56:48.919] checking for library containing dlsym... no [22:56:49.002] checking for library containing socket... -lws2_32 [22:56:49.127] checking for library containing getopt_long... none required [22:56:49.172] checking for library containing shm_open... no [22:56:49.256] checking for library containing shm_unlink... no [22:56:49.338] checking for library containing clock_gettime... no [22:56:49.420] checking for library containing shmget... no [22:56:49.503] checking for library containing backtrace_symbols... no [22:56:49.584] checking for library containing pthread_barrier_wait... -lpthread [22:56:49.669] checking for inflate in -lz... yes [22:56:49.718] checking atomic.h usability... no [22:56:49.774] checking atomic.h presence... no [22:56:49.793] checking for atomic.h... no [22:56:49.796] checking copyfile.h usability... no [22:56:49.849] checking copyfile.h presence... no [22:56:49.868] checking for copyfile.h... no [22:56:49.871] checking execinfo.h usability... no [22:56:49.928] checking execinfo.h presence... no [22:56:49.947] checking for execinfo.h... no [22:56:49.950] checking getopt.h usability... yes [22:56:49.958] checking getopt.h presence... yes [22:56:49.972] checking for getopt.h... yes [22:56:49.979] checking ifaddrs.h usability... no [22:56:50.031] checking ifaddrs.h presence... no [22:56:50.050] checking for ifaddrs.h... no [22:56:50.053] checking mbarrier.h usability... no [22:56:50.106] checking mbarrier.h presence... no [22:56:50.125] checking for mbarrier.h... no [22:56:50.128] checking sys/epoll.h usability... no [22:56:50.182] checking sys/epoll.h presence... no [22:56:50.200] checking for sys/epoll.h... no [22:56:50.203] checking sys/event.h usability... no [22:56:50.256] checking sys/event.h presence... no [22:56:50.274] checking for sys/event.h... no [22:56:50.277] checking sys/personality.h usability... no [22:56:50.330] checking sys/personality.h presence... no [22:56:50.348] checking for sys/personality.h... no [22:56:50.351] checking sys/prctl.h usability... no [22:56:50.405] checking sys/prctl.h presence... no [22:56:50.423] checking for sys/prctl.h... no [22:56:50.427] checking sys/procctl.h usability... no [22:56:50.481] checking sys/procctl.h presence... no [22:56:50.499] checking for sys/procctl.h... no [22:56:50.502] checking sys/signalfd.h usability... no [22:56:50.553] checking sys/signalfd.h presence... no [22:56:50.571] checking for sys/signalfd.h... no [22:56:50.574] checking sys/ucred.h usability... no [22:56:50.627] checking sys/ucred.h presence... no [22:56:50.645] checking for sys/ucred.h... no [22:56:50.648] checking termios.h usability... no [22:56:50.700] checking termios.h presence... no [22:56:50.717] checking for termios.h... no [22:56:50.720] checking ucred.h usability... no [22:56:50.772] checking ucred.h presence... no [22:56:50.789] checking for ucred.h... no [22:56:50.792] checking xlocale.h usability... no [22:56:50.845] checking xlocale.h presence... no [22:56:50.863] checking for xlocale.h... no [22:56:50.866] checking zlib.h usability... yes [22:56:50.875] checking zlib.h presence... yes [22:56:50.893] checking for zlib.h... yes [22:56:50.894] checking for lz4... /usr/bin/lz4 [22:56:50.894] checking for zstd... /usr/bin/zstd [22:56:50.894] checking for openssl... /usr/bin/openssl [22:56:50.898] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [22:56:50.899] checking crtdefs.h usability... yes [22:56:50.906] checking crtdefs.h presence... yes [22:56:50.920] checking for crtdefs.h... yes [22:56:50.922] checking whether byte ordering is bigendian... no [22:56:50.990] checking for inline... inline [22:56:50.997] checking for printf format archetype... gnu_printf [22:56:51.005] checking for _Static_assert... yes [22:56:51.045] checking for typeof... typeof [22:56:51.052] checking for __builtin_types_compatible_p... yes [22:56:51.063] checking for __builtin_constant_p... yes [22:56:51.073] checking for __builtin_mul_overflow... yes [22:56:51.119] checking for __builtin_unreachable... yes [22:56:51.159] checking for computed goto support... yes [22:56:51.166] checking for struct tm.tm_zone... no [22:56:51.237] checking for union semun... no [22:56:51.267] checking for socklen_t... yes [22:56:52.389] checking for struct sockaddr.sa_len... no [22:56:54.354] checking for C/C++ restrict keyword... __restrict [22:56:54.367] checking for struct option... yes [22:56:54.408] checking whether assembler supports x86_64 popcntq... yes [22:56:54.415] checking size of off_t... 4 [22:56:54.611] 0 [22:56:54.611] checking for int timezone... yes [22:56:54.661] checking for backtrace_symbols... no [22:56:54.710] checking for copyfile... no [22:56:54.759] checking for copy_file_range... no [22:56:54.809] checking for elf_aux_info... no [22:56:54.859] checking for getauxval... no [22:56:54.909] checking for getifaddrs... no [22:56:54.959] checking for getpeerucred... no [22:56:55.010] checking for inet_pton... yes [22:56:55.059] checking for kqueue... no [22:56:55.109] checking for localeconv_l... no [22:56:55.158] checking for mbstowcs_l... no [22:56:55.208] checking for posix_fallocate... no [22:56:55.258] checking for ppoll... no [22:56:55.308] checking for pthread_is_threaded_np... no [22:56:55.357] checking for setproctitle... no [22:56:55.406] checking for setproctitle_fast... no [22:56:55.455] checking for strsignal... no [22:56:55.504] checking for syncfs... no [22:56:55.553] checking for sync_file_range... no [22:56:55.600] checking for uselocale... no [22:56:55.649] checking for wcstombs_l... no [22:56:55.695] checking for __builtin_bswap16... yes [22:56:55.743] checking for __builtin_bswap32... yes [22:56:55.789] checking for __builtin_bswap64... yes [22:56:55.835] checking for __builtin_clz... yes [22:56:55.882] checking for __builtin_ctz... yes [22:56:55.929] checking for __builtin_popcount... yes [22:56:55.975] checking for __builtin_frame_address... yes [22:56:56.023] checking for _LARGEFILE_SOURCE value needed for large files... no [22:56:56.075] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:56:56.105] checking for posix_fadvise... no [22:56:56.156] checking whether posix_fadvise is declared... no [22:56:56.201] checking whether fdatasync is declared... no [22:56:56.247] checking whether strlcat is declared... no [22:56:56.308] checking whether strlcpy is declared... no [22:56:56.369] checking whether strnlen is declared... yes [22:56:56.383] checking whether strsep is declared... no [22:56:56.445] checking whether timingsafe_bcmp is declared... no [22:56:56.507] checking whether preadv is declared... no [22:56:56.542] checking whether pwritev is declared... no [22:56:56.577] checking whether strchrnul is declared... no [22:56:56.617] checking whether memset_s is declared... no [22:56:56.657] checking whether F_FULLFSYNC is declared... no [22:56:56.696] checking for explicit_bzero... no [22:56:56.743] checking for getopt... yes [22:56:56.786] checking for getpeereid... no [22:56:56.832] checking for inet_aton... no [22:56:56.877] checking for mkdtemp... no [22:56:56.923] checking for strlcat... no [22:56:56.968] checking for strlcpy... no [22:56:57.014] checking for strnlen... yes [22:56:57.059] checking for strsep... no [22:56:57.104] checking for timingsafe_bcmp... no [22:56:57.149] checking for pthread_barrier_wait... yes [22:56:57.191] configure: On mingw32 we will use our strtof wrapper. [22:56:57.191] checking for getopt_long... yes [22:56:57.233] checking for syslog... no [22:56:57.278] checking for opterr... yes [22:56:57.323] checking for optreset... no [22:56:57.374] checking test program... cross-compiling [22:56:57.374] checking size of void *... 8 [22:56:57.633] checking size of size_t... 8 [22:56:57.892] checking size of long... 4 [22:56:58.090] checking size of long long... 8 [22:56:58.351] checking alignment of short... 2 [22:56:58.483] checking alignment of int... 4 [22:56:58.673] checking alignment of long... 4 [22:56:58.870] checking alignment of int64_t... 8 [22:56:59.128] checking alignment of double... 8 [22:56:59.387] checking for __int128... yes [22:56:59.435] checking for __int128 alignment bug... assuming ok [22:56:59.435] checking alignment of PG_INT128_TYPE... 16 [22:56:59.751] checking for builtin __sync char locking functions... yes [22:56:59.792] checking for builtin __sync int32 locking functions... yes [22:56:59.833] checking for builtin __sync int32 atomic operations... yes [22:56:59.874] checking for builtin __sync int64 atomic operations... yes [22:56:59.917] checking for builtin __atomic int32 atomic operations... yes [22:56:59.959] checking for builtin __atomic int64 atomic operations... yes [22:57:00.003] checking for __get_cpuid... yes [22:57:00.049] checking for __get_cpuid_count... yes [22:57:00.093] checking for __cpuid... no [22:57:00.481] checking for __cpuidex... no [22:57:00.895] checking for _xgetbv... yes [22:57:01.291] checking for _mm512_popcnt_epi64... yes [22:57:01.701] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [22:57:01.801] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:57:01.823] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [22:57:01.843] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:57:01.863] 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 [22:57:01.919] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:57:01.919] checking for _mm512_clmulepi64_epi128... yes [22:57:02.320] checking for vectorized CRC-32C... AVX-512 with runtime check [22:57:02.320] checking which random number source to use... Windows native [22:57:02.322] checking for xmllint... /usr/bin/xmllint [22:57:02.322] checking for xsltproc... /usr/bin/xsltproc [22:57:02.322] checking for fop... /usr/bin/fop [22:57:02.323] checking for dbtoepub... no [22:57:02.323] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:57:02.323] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:57:02.323] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:57:02.334] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:57:02.334] 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 [22:57:02.334] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:57:02.334] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:57:02.427] configure: creating ./config.status [22:57:02.517] config.status: creating GNUmakefile [22:57:02.529] config.status: creating src/Makefile.global [22:57:02.545] config.status: creating src/include/pg_config.h [22:57:02.558] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:57:02.573] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:57:02.580] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:57:02.587] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:57:02.595] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:57:02.602] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:57:02.605] config.status: executing check_win32_symlinks commands [22:57:02.640] [22:57:02.640] real 0m15.597s [22:57:02.640] user 0m10.519s [22:57:02.640] sys 0m4.718s [22:57:02.640] make -s -j${BUILD_JOBS} clean [22:57:03.149] time make -s -j${BUILD_JOBS} world-bin [22:57:09.160] xlog.c: In function ‘CreateCheckPoint’: [22:57:09.160] xlog.c:7086:25: error: variable ‘last_important_lsn’ set but not used [-Werror=unused-but-set-variable] [22:57:09.160] 7086 | XLogRecPtr last_important_lsn; [22:57:09.160] | ^~~~~~~~~~~~~~~~~~ [22:57:09.160] cc1: all warnings being treated as errors [22:57:09.160] make[4]: *** [: xlog.o] Error 1 [22:57:09.160] make[4]: *** Waiting for unfinished jobs.... [22:57:10.385] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [22:57:10.386] make[2]: *** [common.mk:37: access-recursive] Error 2 [22:57:10.386] make[2]: *** Waiting for unfinished jobs.... [22:57:10.428] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:57:10.428] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:57:10.429] [22:57:10.429] real 0m7.279s [22:57:10.429] user 0m14.508s [22:57:10.429] sys 0m7.325s [22:57:10.429] [22:57:10.429] Exit status: 2