[09:50:56.837] time ./configure \ [09:50:56.837] --host=x86_64-w64-mingw32 \ [09:50:56.837] --enable-cassert \ [09:50:56.837] --without-icu \ [09:50:56.837] CC="ccache x86_64-w64-mingw32-gcc" \ [09:50:56.837] CXX="ccache x86_64-w64-mingw32-g++" [09:50:56.959] checking build system type... x86_64-pc-linux-gnu [09:50:57.174] checking host system type... x86_64-w64-mingw32 [09:50:57.180] checking which template to use... win32 [09:50:57.180] checking whether NLS is wanted... no [09:50:57.180] checking for default port number... 5432 [09:50:57.188] checking for block size... 8kB [09:50:57.189] checking for segment size... 1GB [09:50:57.192] checking for WAL block size... 8kB [09:50:57.193] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:50:57.230] checking whether the C compiler works... yes [09:50:57.389] checking for C compiler default output file name... a.exe [09:50:57.391] checking for suffix of executables... .exe [09:50:57.433] checking whether we are cross compiling... yes [09:50:57.511] checking for suffix of object files... o [09:50:57.520] checking whether we are using the GNU C compiler... yes [09:50:57.527] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:50:57.535] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:50:57.545] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:50:57.612] checking whether we are using the GNU C++ compiler... yes [09:50:57.619] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:50:57.693] checking for gawk... no [09:50:57.693] checking for mawk... mawk [09:50:57.695] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:50:57.703] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:50:57.736] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:50:57.784] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:50:57.967] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:50:57.975] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:50:57.982] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:50:57.989] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:50:57.996] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:50:58.003] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:50:58.010] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:50:58.018] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:50:58.025] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:50:58.059] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:50:58.067] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:50:58.075] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:50:58.160] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:50:58.198] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:50:58.206] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:50:58.213] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:50:58.220] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:50:58.228] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:50:58.235] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:50:58.261] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:50:58.269] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:50:58.276] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:50:58.314] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:50:58.353] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:50:58.388] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:50:58.397] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:50:58.433] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:50:58.441] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:50:58.448] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:50:58.457] checking whether the C compiler still works... yes [09:50:58.524] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:50:58.600] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:50:58.600] checking pkg-config is at least version 0.9.0... yes [09:50:58.617] checking whether to build with ICU support... no [09:50:58.617] checking whether to build with Tcl... no [09:50:58.617] checking whether to build Perl modules... no [09:50:58.617] checking whether to build Python modules... no [09:50:58.617] checking whether to build with GSSAPI support... no [09:50:58.619] checking whether to build with PAM support... no [09:50:58.619] checking whether to build with BSD Authentication support... no [09:50:58.619] checking whether to build with LDAP support... no [09:50:58.619] checking whether to build with Bonjour support... no [09:50:58.619] checking whether to build with SELinux support... no [09:50:58.619] checking whether to build with systemd support... no [09:50:58.619] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:50:58.619] checking whether to build with XML support... no [09:50:58.620] checking whether to build with LZ4 support... no [09:50:58.620] checking whether to build with ZSTD support... no [09:50:58.620] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:50:58.620] checking whether it is possible to strip libraries... yes [09:50:58.628] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:50:58.628] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:50:58.628] checking for a BSD-compatible install... /usr/bin/install -c [09:50:58.638] checking for tar... /usr/bin/tar [09:50:58.638] checking whether ln -s works... yes [09:50:58.638] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:50:58.641] checking for bison... /usr/bin/bison [09:50:58.643] configure: using bison (GNU Bison) 3.8.2 [09:50:58.646] checking for flex... /usr/bin/flex [09:50:58.668] configure: using flex 2.6.4 [09:50:58.668] checking for perl... /usr/bin/perl [09:50:58.672] configure: using perl 5.36.0 [09:50:58.674] checking for zic... /usr/sbin/zic [09:50:58.674] checking for a sed that does not truncate output... /usr/bin/sed [09:50:58.680] checking for grep that handles long lines and -e... /usr/bin/grep [09:50:58.682] checking for egrep... /usr/bin/grep -E [09:50:58.684] checking for ANSI C header files... yes [09:50:58.733] checking for sys/types.h... yes [09:50:58.753] checking for sys/stat.h... yes [09:50:58.771] checking for stdlib.h... yes [09:50:58.787] checking for string.h... yes [09:50:58.803] checking for memory.h... yes [09:50:58.820] checking for strings.h... yes [09:50:58.887] checking for inttypes.h... yes [09:50:58.906] checking for stdint.h... yes [09:50:58.944] checking for unistd.h... yes [09:50:58.984] checking for main in -lm... yes [09:50:59.035] checking for library containing setproctitle... no [09:50:59.129] checking for library containing dlsym... no [09:50:59.222] checking for library containing socket... -lws2_32 [09:50:59.363] checking for library containing getopt_long... none required [09:50:59.411] checking for library containing shm_open... no [09:50:59.502] checking for library containing shm_unlink... no [09:50:59.596] checking for library containing clock_gettime... no [09:50:59.685] checking for library containing shmget... no [09:50:59.773] checking for library containing backtrace_symbols... no [09:50:59.860] checking for library containing pthread_barrier_wait... -lpthread [09:50:59.953] checking for inflate in -lz... yes [09:51:00.003] checking for stdbool.h that conforms to C99... yes [09:51:00.015] checking for _Bool... yes [09:51:00.143] checking atomic.h usability... no [09:51:00.201] checking atomic.h presence... no [09:51:00.221] checking for atomic.h... no [09:51:00.225] checking copyfile.h usability... no [09:51:00.282] checking copyfile.h presence... no [09:51:00.303] checking for copyfile.h... no [09:51:00.307] checking execinfo.h usability... no [09:51:00.365] checking execinfo.h presence... no [09:51:00.385] checking for execinfo.h... no [09:51:00.389] checking getopt.h usability... yes [09:51:00.397] checking getopt.h presence... yes [09:51:00.414] checking for getopt.h... yes [09:51:00.422] checking ifaddrs.h usability... no [09:51:00.482] checking ifaddrs.h presence... no [09:51:00.502] checking for ifaddrs.h... no [09:51:00.505] checking mbarrier.h usability... no [09:51:00.562] checking mbarrier.h presence... no [09:51:00.583] checking for mbarrier.h... no [09:51:00.586] checking sys/epoll.h usability... no [09:51:00.644] checking sys/epoll.h presence... no [09:51:00.664] checking for sys/epoll.h... no [09:51:00.668] checking sys/event.h usability... no [09:51:00.725] checking sys/event.h presence... no [09:51:00.745] checking for sys/event.h... no [09:51:00.749] checking sys/personality.h usability... no [09:51:00.806] checking sys/personality.h presence... no [09:51:00.828] checking for sys/personality.h... no [09:51:00.831] checking sys/prctl.h usability... no [09:51:00.891] checking sys/prctl.h presence... no [09:51:00.911] checking for sys/prctl.h... no [09:51:00.915] checking sys/procctl.h usability... no [09:51:00.972] checking sys/procctl.h presence... no [09:51:00.993] checking for sys/procctl.h... no [09:51:00.997] checking sys/signalfd.h usability... no [09:51:01.055] checking sys/signalfd.h presence... no [09:51:01.076] checking for sys/signalfd.h... no [09:51:01.079] checking sys/ucred.h usability... no [09:51:01.138] checking sys/ucred.h presence... no [09:51:01.158] checking for sys/ucred.h... no [09:51:01.162] checking termios.h usability... no [09:51:01.220] checking termios.h presence... no [09:51:01.241] checking for termios.h... no [09:51:01.244] checking ucred.h usability... no [09:51:01.301] checking ucred.h presence... no [09:51:01.321] checking for ucred.h... no [09:51:01.324] checking zlib.h usability... yes [09:51:01.335] checking zlib.h presence... yes [09:51:01.355] checking for zlib.h... yes [09:51:01.355] checking for lz4... /usr/bin/lz4 [09:51:01.355] checking for zstd... /usr/bin/zstd [09:51:01.355] checking for openssl... /usr/bin/openssl [09:51:01.360] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [09:51:01.361] checking crtdefs.h usability... yes [09:51:01.390] checking crtdefs.h presence... yes [09:51:01.406] checking for crtdefs.h... yes [09:51:01.408] checking whether byte ordering is bigendian... no [09:51:01.491] checking for inline... inline [09:51:01.520] checking for printf format archetype... gnu_printf [09:51:01.528] checking for _Static_assert... yes [09:51:01.570] checking for typeof... typeof [09:51:01.578] checking for __builtin_types_compatible_p... yes [09:51:01.589] checking for __builtin_constant_p... yes [09:51:01.601] checking for __builtin_unreachable... yes [09:51:01.643] checking for computed goto support... yes [09:51:01.651] checking for struct tm.tm_zone... no [09:51:01.732] checking for union semun... no [09:51:01.766] checking for socklen_t... yes [09:51:03.000] checking for struct sockaddr.sa_len... no [09:51:05.066] checking for locale_t... no [09:51:05.136] checking for C/C++ restrict keyword... __restrict [09:51:05.150] checking for struct option... yes [09:51:05.195] checking whether assembler supports x86_64 popcntq... yes [09:51:05.204] checking size of off_t... 4 [09:51:05.439] 0 [09:51:05.440] checking size of bool... 1 [09:51:05.518] checking for int timezone... yes [09:51:05.568] checking for wcstombs_l declaration... no [09:51:05.662] checking for backtrace_symbols... no [09:51:05.716] checking for copyfile... no [09:51:05.768] checking for copy_file_range... no [09:51:05.820] checking for getifaddrs... no [09:51:05.874] checking for getpeerucred... no [09:51:05.929] checking for inet_pton... yes [09:51:05.983] checking for kqueue... no [09:51:06.035] checking for mbstowcs_l... no [09:51:06.090] checking for memset_s... no [09:51:06.143] checking for posix_fallocate... no [09:51:06.197] checking for ppoll... no [09:51:06.250] checking for pthread_is_threaded_np... no [09:51:06.303] checking for setproctitle... no [09:51:06.356] checking for setproctitle_fast... no [09:51:06.408] checking for strchrnul... no [09:51:06.461] checking for strsignal... no [09:51:06.515] checking for syncfs... no [09:51:06.569] checking for sync_file_range... no [09:51:06.623] checking for uselocale... no [09:51:06.676] checking for wcstombs_l... no [09:51:06.727] checking for __builtin_bswap16... yes [09:51:06.778] checking for __builtin_bswap32... yes [09:51:06.827] checking for __builtin_bswap64... yes [09:51:06.879] checking for __builtin_clz... yes [09:51:06.931] checking for __builtin_ctz... yes [09:51:06.980] checking for __builtin_popcount... yes [09:51:07.029] checking for __builtin_frame_address... yes [09:51:07.079] checking for _LARGEFILE_SOURCE value needed for large files... no [09:51:07.132] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:51:07.166] checking for posix_fadvise... no [09:51:07.220] checking whether posix_fadvise is declared... no [09:51:07.267] checking whether fdatasync is declared... no [09:51:07.316] checking whether strlcat is declared... no [09:51:07.383] checking whether strlcpy is declared... no [09:51:07.452] checking whether strnlen is declared... yes [09:51:07.467] checking whether strsep is declared... no [09:51:07.537] checking whether preadv is declared... no [09:51:07.578] checking whether pwritev is declared... no [09:51:07.615] checking whether F_FULLFSYNC is declared... no [09:51:07.657] checking for explicit_bzero... no [09:51:07.708] checking for getopt... yes [09:51:07.753] checking for getpeereid... no [09:51:07.803] checking for inet_aton... no [09:51:07.855] checking for mkdtemp... no [09:51:07.905] checking for strlcat... no [09:51:07.954] checking for strlcpy... no [09:51:08.005] checking for strnlen... yes [09:51:08.055] checking for strsep... no [09:51:08.104] checking for pthread_barrier_wait... yes [09:51:08.151] configure: On mingw32 we will use our strtof wrapper. [09:51:08.151] checking for getopt_long... yes [09:51:08.196] checking for _configthreadlocale... yes [09:51:08.243] checking for syslog... no [09:51:08.292] checking for opterr... yes [09:51:08.342] checking for optreset... no [09:51:08.396] checking test program... cross-compiling [09:51:08.396] checking whether long int is 64 bits... no [09:51:08.428] checking whether long long int is 64 bits... yes [09:51:08.438] checking for __builtin_mul_overflow... yes [09:51:08.481] checking size of void *... 8 [09:51:08.778] checking size of size_t... 8 [09:51:09.106] checking size of long... 4 [09:51:09.311] checking alignment of short... 2 [09:51:09.508] checking alignment of int... 4 [09:51:09.779] checking alignment of long... 4 [09:51:10.050] checking alignment of long long int... 8 [09:51:10.331] checking alignment of double... 8 [09:51:10.631] checking for int8... no [09:51:10.674] checking for uint8... no [09:51:10.719] checking for int64... no [09:51:10.763] checking for uint64... no [09:51:10.806] checking for __int128... yes [09:51:10.857] checking for __int128 alignment bug... assuming ok [09:51:10.857] checking alignment of PG_INT128_TYPE... 16 [09:51:11.278] checking for builtin __sync char locking functions... yes [09:51:11.321] checking for builtin __sync int32 locking functions... yes [09:51:11.363] checking for builtin __sync int32 atomic operations... yes [09:51:11.406] checking for builtin __sync int64 atomic operations... yes [09:51:11.450] checking for builtin __atomic int32 atomic operations... yes [09:51:11.495] checking for builtin __atomic int64 atomic operations... yes [09:51:11.539] checking for __get_cpuid... yes [09:51:11.588] checking for __get_cpuid_count... yes [09:51:11.634] checking for __cpuid... no [09:51:12.032] checking for __cpuidex... no [09:51:12.461] checking for _xgetbv with CFLAGS=... no [09:51:12.846] checking for _xgetbv with CFLAGS=-mxsave... yes [09:51:13.252] checking for _mm512_popcnt_epi64 with CFLAGS=... no [09:51:13.636] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [09:51:13.982] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:51:14.034] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:51:14.126] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:51:14.150] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:51:14.170] 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 [09:51:14.227] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:51:14.228] checking which random number source to use... Windows native [09:51:14.230] checking for xmllint... /usr/bin/xmllint [09:51:14.230] checking for xsltproc... /usr/bin/xsltproc [09:51:14.230] checking for fop... /usr/bin/fop [09:51:14.230] checking for dbtoepub... no [09:51:14.231] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:51:14.231] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:51:14.231] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:51:14.244] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:51:14.244] 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 [09:51:14.244] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:51:14.244] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:51:14.336] configure: creating ./config.status [09:51:14.423] config.status: creating GNUmakefile [09:51:14.435] config.status: creating src/Makefile.global [09:51:14.450] config.status: creating src/include/pg_config.h [09:51:14.464] config.status: creating src/include/pg_config_ext.h [09:51:14.477] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:51:14.494] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:51:14.501] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:51:14.508] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:51:14.515] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:51:14.522] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:51:14.525] config.status: executing check_win32_symlinks commands [09:51:14.558] [09:51:14.558] real 0m17.720s [09:51:14.558] user 0m11.583s [09:51:14.558] sys 0m5.664s [09:51:14.558] make -s -j${BUILD_JOBS} clean [09:51:15.074] time make -s -j${BUILD_JOBS} world-bin [09:52:10.056] In file included from ../../../../src/include/postgres.h:47, [09:52:10.056] from xlogrecovery.c:25: [09:52:10.056] In function ‘MemoryContextSwitchTo’, [09:52:10.056] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [09:52:10.056] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [09:52:10.056] 128 | CurrentMemoryContext = context; [09:52:10.056] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [09:52:10.056] xlogrecovery.c: In function ‘PerformWalRecovery’: [09:52:10.056] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [09:52:10.056] 1732 | MemoryContext oldCtx; [09:52:10.056] | ^~~~~~ [09:52:10.056] cc1: all warnings being treated as errors [09:52:10.057] make[4]: *** [: xlogrecovery.o] Error 1 [09:52:10.057] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [09:52:10.057] make[2]: *** [common.mk:37: access-recursive] Error 2 [09:52:10.057] make[2]: *** Waiting for unfinished jobs.... [09:52:13.726] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:52:13.727] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:52:13.727] [09:52:13.727] real 0m58.653s [09:52:13.727] user 2m53.274s [09:52:13.727] sys 0m45.195s [09:52:13.727] [09:52:13.727] Exit status: 2