[21:50:44.649] time ./configure \ [21:50:44.649] --host=x86_64-w64-mingw32 \ [21:50:44.649] --enable-cassert \ [21:50:44.649] --without-icu \ [21:50:44.649] CC="ccache x86_64-w64-mingw32-gcc" \ [21:50:44.649] CXX="ccache x86_64-w64-mingw32-g++" [21:50:44.765] checking build system type... x86_64-pc-linux-gnu [21:50:44.955] checking host system type... x86_64-w64-mingw32 [21:50:44.961] checking which template to use... win32 [21:50:44.961] checking whether NLS is wanted... no [21:50:44.961] checking for default port number... 5432 [21:50:44.968] checking for block size... 8kB [21:50:44.969] checking for segment size... 1GB [21:50:44.971] checking for WAL block size... 8kB [21:50:44.972] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:50:45.008] checking whether the C compiler works... yes [21:50:45.145] checking for C compiler default output file name... a.exe [21:50:45.146] checking for suffix of executables... .exe [21:50:45.188] checking whether we are cross compiling... yes [21:50:45.263] checking for suffix of object files... o [21:50:45.271] checking whether we are using the GNU C compiler... yes [21:50:45.277] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:50:45.284] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:50:45.294] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:50:45.349] checking whether we are using the GNU C++ compiler... yes [21:50:45.360] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:50:45.426] checking for gawk... no [21:50:45.426] checking for mawk... mawk [21:50:45.428] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:50:45.434] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:50:45.441] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:50:45.485] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:50:45.653] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:50:45.659] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:50:45.666] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:50:45.673] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:50:45.679] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:50:45.686] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:50:45.692] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:50:45.699] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:50:45.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:50:45.712] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:50:45.718] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:50:45.724] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:50:45.731] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:50:45.766] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:50:45.773] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:50:45.780] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:50:45.786] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:50:45.792] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:50:45.799] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:50:45.821] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:50:45.827] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:50:45.834] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:50:45.870] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:50:45.908] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:50:45.915] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:50:45.921] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:50:45.955] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:50:45.962] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:50:45.969] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:50:45.977] checking whether the C compiler still works... yes [21:50:46.039] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:50:46.118] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:50:46.118] checking pkg-config is at least version 0.9.0... yes [21:50:46.134] checking whether to build with ICU support... no [21:50:46.134] checking whether to build with Tcl... no [21:50:46.134] checking whether to build Perl modules... no [21:50:46.135] checking whether to build Python modules... no [21:50:46.135] checking whether to build with GSSAPI support... no [21:50:46.136] checking whether to build with PAM support... no [21:50:46.136] checking whether to build with BSD Authentication support... no [21:50:46.136] checking whether to build with LDAP support... no [21:50:46.136] checking whether to build with Bonjour support... no [21:50:46.136] checking whether to build with SELinux support... no [21:50:46.136] checking whether to build with systemd support... no [21:50:46.136] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:50:46.136] checking whether to build with XML support... no [21:50:46.137] checking whether to build with LZ4 support... no [21:50:46.137] checking whether to build with ZSTD support... no [21:50:46.137] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:50:46.137] checking whether it is possible to strip libraries... yes [21:50:46.145] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:50:46.145] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:50:46.145] checking for a BSD-compatible install... /usr/bin/install -c [21:50:46.154] checking for tar... /usr/bin/tar [21:50:46.154] checking whether ln -s works... yes [21:50:46.154] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:50:46.157] checking for bison... /usr/bin/bison [21:50:46.159] configure: using bison (GNU Bison) 3.8.2 [21:50:46.162] checking for flex... /usr/bin/flex [21:50:46.175] configure: using flex 2.6.4 [21:50:46.175] checking for perl... /usr/bin/perl [21:50:46.178] configure: using perl 5.36.0 [21:50:46.181] checking for zic... /usr/sbin/zic [21:50:46.181] checking for a sed that does not truncate output... /usr/bin/sed [21:50:46.186] checking for grep that handles long lines and -e... /usr/bin/grep [21:50:46.188] checking for egrep... /usr/bin/grep -E [21:50:46.190] checking for ANSI C header files... yes [21:50:46.236] checking for sys/types.h... yes [21:50:46.251] checking for sys/stat.h... yes [21:50:46.266] checking for stdlib.h... yes [21:50:46.280] checking for string.h... yes [21:50:46.294] checking for memory.h... yes [21:50:46.308] checking for strings.h... yes [21:50:46.322] checking for inttypes.h... yes [21:50:46.337] checking for stdint.h... yes [21:50:46.350] checking for unistd.h... yes [21:50:46.365] checking for main in -lm... yes [21:50:46.412] checking for library containing setproctitle... no [21:50:46.502] checking for library containing dlsym... no [21:50:46.589] checking for library containing socket... -lws2_32 [21:50:46.717] checking for library containing getopt_long... none required [21:50:46.763] checking for library containing shm_open... no [21:50:46.851] checking for library containing shm_unlink... no [21:50:46.940] checking for library containing clock_gettime... no [21:50:47.028] checking for library containing shmget... no [21:50:47.114] checking for library containing backtrace_symbols... no [21:50:47.199] checking for library containing pthread_barrier_wait... -lpthread [21:50:47.285] checking for inflate in -lz... yes [21:50:47.329] checking for stdbool.h that conforms to C99... yes [21:50:47.340] checking for _Bool... yes [21:50:47.412] checking atomic.h usability... no [21:50:47.468] checking atomic.h presence... no [21:50:47.487] checking for atomic.h... no [21:50:47.491] checking copyfile.h usability... no [21:50:47.543] checking copyfile.h presence... no [21:50:47.563] checking for copyfile.h... no [21:50:47.566] checking execinfo.h usability... no [21:50:47.620] checking execinfo.h presence... no [21:50:47.638] checking for execinfo.h... no [21:50:47.642] checking getopt.h usability... yes [21:50:47.649] checking getopt.h presence... yes [21:50:47.664] checking for getopt.h... yes [21:50:47.671] checking ifaddrs.h usability... no [21:50:47.727] checking ifaddrs.h presence... no [21:50:47.748] checking for ifaddrs.h... no [21:50:47.751] checking mbarrier.h usability... no [21:50:47.809] checking mbarrier.h presence... no [21:50:47.829] checking for mbarrier.h... no [21:50:47.832] checking sys/epoll.h usability... no [21:50:47.887] checking sys/epoll.h presence... no [21:50:47.907] checking for sys/epoll.h... no [21:50:47.910] checking sys/event.h usability... no [21:50:47.965] checking sys/event.h presence... no [21:50:47.983] checking for sys/event.h... no [21:50:47.986] checking sys/personality.h usability... no [21:50:48.039] checking sys/personality.h presence... no [21:50:48.058] checking for sys/personality.h... no [21:50:48.061] checking sys/prctl.h usability... no [21:50:48.114] checking sys/prctl.h presence... no [21:50:48.132] checking for sys/prctl.h... no [21:50:48.136] checking sys/procctl.h usability... no [21:50:48.190] checking sys/procctl.h presence... no [21:50:48.209] checking for sys/procctl.h... no [21:50:48.212] checking sys/signalfd.h usability... no [21:50:48.266] checking sys/signalfd.h presence... no [21:50:48.284] checking for sys/signalfd.h... no [21:50:48.287] checking sys/ucred.h usability... no [21:50:48.341] checking sys/ucred.h presence... no [21:50:48.359] checking for sys/ucred.h... no [21:50:48.363] checking termios.h usability... no [21:50:48.417] checking termios.h presence... no [21:50:48.436] checking for termios.h... no [21:50:48.439] checking ucred.h usability... no [21:50:48.493] checking ucred.h presence... no [21:50:48.511] checking for ucred.h... no [21:50:48.514] checking zlib.h usability... yes [21:50:48.525] checking zlib.h presence... yes [21:50:48.543] checking for zlib.h... yes [21:50:48.543] checking for lz4... /usr/bin/lz4 [21:50:48.544] checking for zstd... /usr/bin/zstd [21:50:48.544] checking for openssl... /usr/bin/openssl [21:50:48.548] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [21:50:48.549] checking crtdefs.h usability... yes [21:50:48.556] checking crtdefs.h presence... yes [21:50:48.570] checking for crtdefs.h... yes [21:50:48.572] checking whether byte ordering is bigendian... no [21:50:48.642] checking for inline... inline [21:50:48.649] checking for printf format archetype... gnu_printf [21:50:48.657] checking for _Static_assert... yes [21:50:48.699] checking for typeof... typeof [21:50:48.706] checking for __builtin_types_compatible_p... yes [21:50:48.717] checking for __builtin_constant_p... yes [21:50:48.728] checking for __builtin_unreachable... yes [21:50:48.769] checking for computed goto support... yes [21:50:48.776] checking for struct tm.tm_zone... no [21:50:48.850] checking for union semun... no [21:50:48.883] checking for socklen_t... yes [21:50:50.044] checking for struct sockaddr.sa_len... no [21:50:52.096] checking for locale_t... no [21:50:52.159] checking for C/C++ restrict keyword... __restrict [21:50:52.172] checking for struct option... yes [21:50:52.214] checking whether assembler supports x86_64 popcntq... yes [21:50:52.222] checking size of off_t... 4 [21:50:52.436] 0 [21:50:52.436] checking size of bool... 1 [21:50:52.484] checking for int timezone... yes [21:50:52.534] checking for wcstombs_l declaration... no [21:50:52.622] checking for backtrace_symbols... no [21:50:52.673] checking for copyfile... no [21:50:52.724] checking for copy_file_range... no [21:50:52.774] checking for getifaddrs... no [21:50:52.825] checking for getpeerucred... no [21:50:52.876] checking for inet_pton... yes [21:50:52.929] checking for kqueue... no [21:50:52.981] checking for mbstowcs_l... no [21:50:53.032] checking for memset_s... no [21:50:53.082] checking for posix_fallocate... no [21:50:53.132] checking for ppoll... no [21:50:53.182] checking for pthread_is_threaded_np... no [21:50:53.231] checking for setproctitle... no [21:50:53.281] checking for setproctitle_fast... no [21:50:53.332] checking for strchrnul... no [21:50:53.381] checking for strsignal... no [21:50:53.433] checking for syncfs... no [21:50:53.484] checking for sync_file_range... no [21:50:53.534] checking for uselocale... no [21:50:53.584] checking for wcstombs_l... no [21:50:53.632] checking for __builtin_bswap16... yes [21:50:53.680] checking for __builtin_bswap32... yes [21:50:53.728] checking for __builtin_bswap64... yes [21:50:53.774] checking for __builtin_clz... yes [21:50:53.820] checking for __builtin_ctz... yes [21:50:53.865] checking for __builtin_popcount... yes [21:50:53.911] checking for __builtin_frame_address... yes [21:50:53.956] checking for _LARGEFILE_SOURCE value needed for large files... no [21:50:54.009] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:50:54.038] checking for posix_fadvise... no [21:50:54.088] checking whether posix_fadvise is declared... no [21:50:54.131] checking whether fdatasync is declared... no [21:50:54.179] checking whether strlcat is declared... no [21:50:54.243] checking whether strlcpy is declared... no [21:50:54.311] checking whether strnlen is declared... yes [21:50:54.324] checking whether strsep is declared... no [21:50:54.388] checking whether preadv is declared... no [21:50:54.425] checking whether pwritev is declared... no [21:50:54.463] checking whether F_FULLFSYNC is declared... no [21:50:54.504] checking for explicit_bzero... no [21:50:54.553] checking for getopt... yes [21:50:54.599] checking for getpeereid... no [21:50:54.647] checking for inet_aton... no [21:50:54.696] checking for mkdtemp... no [21:50:54.746] checking for strlcat... no [21:50:54.794] checking for strlcpy... no [21:50:54.842] checking for strnlen... yes [21:50:54.889] checking for strsep... no [21:50:54.937] checking for pthread_barrier_wait... yes [21:50:54.982] configure: On mingw32 we will use our strtof wrapper. [21:50:54.982] checking for getopt_long... yes [21:50:55.027] checking for _configthreadlocale... yes [21:50:55.072] checking for syslog... no [21:50:55.122] checking for opterr... yes [21:50:55.172] checking for optreset... no [21:50:55.224] checking test program... cross-compiling [21:50:55.224] checking whether long int is 64 bits... no [21:50:55.257] checking whether long long int is 64 bits... yes [21:50:55.268] checking for __builtin_mul_overflow... yes [21:50:55.315] checking size of void *... 8 [21:50:55.583] checking size of size_t... 8 [21:50:55.848] checking size of long... 4 [21:50:56.056] checking alignment of short... 2 [21:50:56.198] checking alignment of int... 4 [21:50:56.403] checking alignment of long... 4 [21:50:56.607] checking alignment of long long int... 8 [21:50:56.868] checking alignment of double... 8 [21:50:57.129] checking for int8... no [21:50:57.170] checking for uint8... no [21:50:57.212] checking for int64... no [21:50:57.254] checking for uint64... no [21:50:57.297] checking for __int128... yes [21:50:57.346] checking for __int128 alignment bug... assuming ok [21:50:57.346] checking alignment of PG_INT128_TYPE... 16 [21:50:57.674] checking for builtin __sync char locking functions... yes [21:50:57.717] checking for builtin __sync int32 locking functions... yes [21:50:57.759] checking for builtin __sync int32 atomic operations... yes [21:50:57.801] checking for builtin __sync int64 atomic operations... yes [21:50:57.843] checking for builtin __atomic int32 atomic operations... yes [21:50:57.885] checking for builtin __atomic int64 atomic operations... yes [21:50:57.926] checking for __get_cpuid... yes [21:50:57.970] checking for __get_cpuid_count... yes [21:50:58.015] checking for __cpuid... no [21:50:58.415] checking for __cpuidex... no [21:50:58.835] checking for _xgetbv with CFLAGS=... no [21:50:59.215] checking for _xgetbv with CFLAGS=-mxsave... yes [21:50:59.613] checking for _mm512_popcnt_epi64 with CFLAGS=... no [21:50:59.996] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [21:51:00.333] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [21:51:00.378] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [21:51:00.466] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:51:00.488] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:51:00.506] 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 [21:51:00.561] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:51:00.561] checking which random number source to use... Windows native [21:51:00.563] checking for xmllint... /usr/bin/xmllint [21:51:00.563] checking for xsltproc... /usr/bin/xsltproc [21:51:00.563] checking for fop... /usr/bin/fop [21:51:00.563] checking for dbtoepub... no [21:51:00.564] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:51:00.564] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:51:00.564] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:51:00.575] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:51:00.575] 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 [21:51:00.575] configure: using CPPFLAGS= -I./src/include/port/win32 [21:51:00.575] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:51:00.658] configure: creating ./config.status [21:51:00.743] config.status: creating GNUmakefile [21:51:00.754] config.status: creating src/Makefile.global [21:51:00.769] config.status: creating src/include/pg_config.h [21:51:00.780] config.status: creating src/include/pg_config_ext.h [21:51:00.791] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:51:00.805] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:51:00.812] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:51:00.819] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:51:00.825] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:51:00.832] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:51:00.835] config.status: executing check_win32_symlinks commands [21:51:00.867] [21:51:00.867] real 0m16.219s [21:51:00.867] user 0m10.901s [21:51:00.867] sys 0m4.983s [21:51:00.867] make -s -j${BUILD_JOBS} clean [21:51:01.365] time make -s -j${BUILD_JOBS} world-bin [21:51:33.855] In file included from ../../../../src/include/postgres.h:47, [21:51:33.855] from xlogrecovery.c:25: [21:51:33.855] In function ‘MemoryContextSwitchTo’, [21:51:33.855] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [21:51:33.855] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [21:51:33.855] 128 | CurrentMemoryContext = context; [21:51:33.855] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [21:51:33.855] xlogrecovery.c: In function ‘PerformWalRecovery’: [21:51:33.855] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [21:51:33.855] 1732 | MemoryContext oldCtx; [21:51:33.855] | ^~~~~~ [21:51:33.855] cc1: all warnings being treated as errors [21:51:33.855] make[4]: *** [: xlogrecovery.o] Error 1 [21:51:33.855] make[4]: *** Waiting for unfinished jobs.... [21:51:34.320] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [21:51:34.320] make[2]: *** [common.mk:37: access-recursive] Error 2 [21:51:34.320] make[2]: *** Waiting for unfinished jobs.... [21:51:36.974] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:51:36.975] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:51:36.975] [21:51:36.975] real 0m35.610s [21:51:36.975] user 1m38.480s [21:51:36.975] sys 0m30.530s [21:51:36.975] [21:51:36.975] Exit status: 2