[20:40:53.415] time ./configure \ [20:40:53.415] --host=x86_64-w64-mingw32 \ [20:40:53.415] --enable-cassert \ [20:40:53.415] --without-icu \ [20:40:53.415] CC="ccache x86_64-w64-mingw32-gcc" \ [20:40:53.415] CXX="ccache x86_64-w64-mingw32-g++" [20:40:53.516] checking build system type... x86_64-pc-linux-gnu [20:40:53.688] checking host system type... x86_64-w64-mingw32 [20:40:53.693] checking which template to use... win32 [20:40:53.693] checking whether NLS is wanted... no [20:40:53.693] checking for default port number... 5432 [20:40:53.699] checking for block size... 8kB [20:40:53.700] checking for segment size... 1GB [20:40:53.702] checking for WAL block size... 8kB [20:40:53.703] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:40:53.734] checking whether the C compiler works... yes [20:40:53.864] checking for C compiler default output file name... a.exe [20:40:53.865] checking for suffix of executables... .exe [20:40:53.902] checking whether we are cross compiling... yes [20:40:53.967] checking for suffix of object files... o [20:40:53.974] checking whether we are using the GNU C compiler... yes [20:40:53.980] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:40:53.986] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:40:54.008] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:40:54.060] checking whether we are using the GNU C++ compiler... yes [20:40:54.066] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:40:54.124] checking for gawk... no [20:40:54.124] checking for mawk... mawk [20:40:54.126] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:40:54.132] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:40:54.138] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:40:54.177] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:40:54.342] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:40:54.349] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:40:54.356] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:40:54.362] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:40:54.369] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:40:54.398] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:40:54.405] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:40:54.411] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:40:54.417] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:40:54.424] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:40:54.430] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:40:54.438] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:40:54.466] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:40:54.502] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:40:54.509] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:40:54.515] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:40:54.521] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:40:54.528] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:40:54.535] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:40:54.557] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:40:54.564] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:40:54.570] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:40:54.606] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:40:54.643] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:40:54.649] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:40:54.656] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:40:54.688] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:40:54.695] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:40:54.702] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:40:54.764] checking whether the C compiler still works... yes [20:40:54.823] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:40:54.888] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:40:54.888] checking pkg-config is at least version 0.9.0... yes [20:40:54.905] checking whether to build with ICU support... no [20:40:54.906] checking whether to build with Tcl... no [20:40:54.906] checking whether to build Perl modules... no [20:40:54.906] checking whether to build Python modules... no [20:40:54.906] checking whether to build with GSSAPI support... no [20:40:54.907] checking whether to build with PAM support... no [20:40:54.907] checking whether to build with BSD Authentication support... no [20:40:54.907] checking whether to build with LDAP support... no [20:40:54.907] checking whether to build with Bonjour support... no [20:40:54.907] checking whether to build with SELinux support... no [20:40:54.907] checking whether to build with systemd support... no [20:40:54.907] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:40:54.908] checking whether to build with XML support... no [20:40:54.908] checking whether to build with LZ4 support... no [20:40:54.908] checking whether to build with ZSTD support... no [20:40:54.908] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:40:54.909] checking whether it is possible to strip libraries... yes [20:40:54.916] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:40:54.916] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:40:54.916] checking for a BSD-compatible install... /usr/bin/install -c [20:40:54.925] checking for tar... /usr/bin/tar [20:40:54.925] checking whether ln -s works... yes [20:40:54.925] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:40:54.927] checking for bison... /usr/bin/bison [20:40:54.929] configure: using bison (GNU Bison) 3.8.2 [20:40:54.931] checking for flex... /usr/bin/flex [20:40:54.941] configure: using flex 2.6.4 [20:40:54.942] checking for perl... /usr/bin/perl [20:40:54.944] configure: using perl 5.36.0 [20:40:54.946] checking for zic... /usr/sbin/zic [20:40:54.946] checking for a sed that does not truncate output... /usr/bin/sed [20:40:54.950] checking for grep that handles long lines and -e... /usr/bin/grep [20:40:54.952] checking for egrep... /usr/bin/grep -E [20:40:54.953] checking for ANSI C header files... yes [20:40:55.029] checking for sys/types.h... yes [20:40:55.043] checking for sys/stat.h... yes [20:40:55.056] checking for stdlib.h... yes [20:40:55.068] checking for string.h... yes [20:40:55.081] checking for memory.h... yes [20:40:55.094] checking for strings.h... yes [20:40:55.106] checking for inttypes.h... yes [20:40:55.121] checking for stdint.h... yes [20:40:55.135] checking for unistd.h... yes [20:40:55.149] checking for main in -lm... yes [20:40:55.192] checking for library containing setproctitle... no [20:40:55.273] checking for library containing dlsym... no [20:40:55.351] checking for library containing socket... -lws2_32 [20:40:55.466] checking for library containing getopt_long... none required [20:40:55.508] checking for library containing shm_open... no [20:40:55.584] checking for library containing shm_unlink... no [20:40:55.661] checking for library containing clock_gettime... no [20:40:55.741] checking for library containing shmget... no [20:40:55.819] checking for library containing backtrace_symbols... no [20:40:55.897] checking for library containing pthread_barrier_wait... -lpthread [20:40:55.977] checking for inflate in -lz... yes [20:40:56.017] checking for stdbool.h that conforms to C99... yes [20:40:56.035] checking for _Bool... yes [20:40:56.098] checking atomic.h usability... no [20:40:56.147] checking atomic.h presence... no [20:40:56.163] checking for atomic.h... no [20:40:56.166] checking copyfile.h usability... no [20:40:56.216] checking copyfile.h presence... no [20:40:56.232] checking for copyfile.h... no [20:40:56.235] checking execinfo.h usability... no [20:40:56.283] checking execinfo.h presence... no [20:40:56.300] checking for execinfo.h... no [20:40:56.303] checking getopt.h usability... yes [20:40:56.309] checking getopt.h presence... yes [20:40:56.322] checking for getopt.h... yes [20:40:56.328] checking ifaddrs.h usability... no [20:40:56.377] checking ifaddrs.h presence... no [20:40:56.393] checking for ifaddrs.h... no [20:40:56.396] checking mbarrier.h usability... no [20:40:56.444] checking mbarrier.h presence... no [20:40:56.460] checking for mbarrier.h... no [20:40:56.463] checking sys/epoll.h usability... no [20:40:56.512] checking sys/epoll.h presence... no [20:40:56.527] checking for sys/epoll.h... no [20:40:56.530] checking sys/event.h usability... no [20:40:56.578] checking sys/event.h presence... no [20:40:56.594] checking for sys/event.h... no [20:40:56.597] checking sys/personality.h usability... no [20:40:56.645] checking sys/personality.h presence... no [20:40:56.661] checking for sys/personality.h... no [20:40:56.663] checking sys/prctl.h usability... no [20:40:56.711] checking sys/prctl.h presence... no [20:40:56.728] checking for sys/prctl.h... no [20:40:56.731] checking sys/procctl.h usability... no [20:40:56.779] checking sys/procctl.h presence... no [20:40:56.794] checking for sys/procctl.h... no [20:40:56.797] checking sys/signalfd.h usability... no [20:40:56.847] checking sys/signalfd.h presence... no [20:40:56.864] checking for sys/signalfd.h... no [20:40:56.867] checking sys/ucred.h usability... no [20:40:56.915] checking sys/ucred.h presence... no [20:40:56.932] checking for sys/ucred.h... no [20:40:56.935] checking termios.h usability... no [20:40:56.982] checking termios.h presence... no [20:40:56.998] checking for termios.h... no [20:40:57.001] checking ucred.h usability... no [20:40:57.050] checking ucred.h presence... no [20:40:57.066] checking for ucred.h... no [20:40:57.069] checking xlocale.h usability... no [20:40:57.118] checking xlocale.h presence... no [20:40:57.134] checking for xlocale.h... no [20:40:57.137] checking zlib.h usability... yes [20:40:57.145] checking zlib.h presence... yes [20:40:57.161] checking for zlib.h... yes [20:40:57.161] checking for lz4... /usr/bin/lz4 [20:40:57.161] checking for zstd... /usr/bin/zstd [20:40:57.162] checking for openssl... /usr/bin/openssl [20:40:57.165] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [20:40:57.166] checking crtdefs.h usability... yes [20:40:57.172] checking crtdefs.h presence... yes [20:40:57.185] checking for crtdefs.h... yes [20:40:57.186] checking whether byte ordering is bigendian... no [20:40:57.249] checking for inline... inline [20:40:57.255] checking for printf format archetype... gnu_printf [20:40:57.262] checking for _Static_assert... yes [20:40:57.298] checking for typeof... typeof [20:40:57.304] checking for __builtin_types_compatible_p... yes [20:40:57.313] checking for __builtin_constant_p... yes [20:40:57.323] checking for __builtin_unreachable... yes [20:40:57.360] checking for computed goto support... yes [20:40:57.366] checking for struct tm.tm_zone... no [20:40:57.434] checking for union semun... no [20:40:57.464] checking for socklen_t... yes [20:40:58.511] checking for struct sockaddr.sa_len... no [20:41:00.327] checking for C/C++ restrict keyword... __restrict [20:41:00.339] checking for struct option... yes [20:41:00.376] checking whether assembler supports x86_64 popcntq... yes [20:41:00.382] checking size of off_t... 4 [20:41:00.559] 0 [20:41:00.559] checking size of bool... 1 [20:41:00.597] checking for int timezone... yes [20:41:00.645] checking for backtrace_symbols... no [20:41:00.689] checking for copyfile... no [20:41:00.734] checking for copy_file_range... no [20:41:00.778] checking for getifaddrs... no [20:41:00.822] checking for getpeerucred... no [20:41:00.866] checking for inet_pton... yes [20:41:00.910] checking for kqueue... no [20:41:00.954] checking for mbstowcs_l... no [20:41:00.998] checking for memset_s... no [20:41:01.041] checking for posix_fallocate... no [20:41:01.085] checking for ppoll... no [20:41:01.130] checking for pthread_is_threaded_np... no [20:41:01.174] checking for setproctitle... no [20:41:01.217] checking for setproctitle_fast... no [20:41:01.261] checking for strchrnul... no [20:41:01.305] checking for strsignal... no [20:41:01.349] checking for syncfs... no [20:41:01.393] checking for sync_file_range... no [20:41:01.437] checking for uselocale... no [20:41:01.482] checking for wcstombs_l... no [20:41:01.526] checking for __builtin_bswap16... yes [20:41:01.570] checking for __builtin_bswap32... yes [20:41:01.613] checking for __builtin_bswap64... yes [20:41:01.654] checking for __builtin_clz... yes [20:41:01.697] checking for __builtin_ctz... yes [20:41:01.739] checking for __builtin_popcount... yes [20:41:01.781] checking for __builtin_frame_address... yes [20:41:01.823] checking for _LARGEFILE_SOURCE value needed for large files... no [20:41:01.870] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:41:01.897] checking for posix_fadvise... no [20:41:01.942] checking whether posix_fadvise is declared... no [20:41:01.982] checking whether fdatasync is declared... no [20:41:02.022] checking whether strlcat is declared... no [20:41:02.078] checking whether strlcpy is declared... no [20:41:02.133] checking whether strnlen is declared... yes [20:41:02.145] checking whether strsep is declared... no [20:41:02.200] checking whether preadv is declared... no [20:41:02.232] checking whether pwritev is declared... no [20:41:02.265] checking whether F_FULLFSYNC is declared... no [20:41:02.300] checking for explicit_bzero... no [20:41:02.343] checking for getopt... yes [20:41:02.385] checking for getpeereid... no [20:41:02.428] checking for inet_aton... no [20:41:02.469] checking for mkdtemp... no [20:41:02.512] checking for strlcat... no [20:41:02.555] checking for strlcpy... no [20:41:02.597] checking for strnlen... yes [20:41:02.638] checking for strsep... no [20:41:02.679] checking for pthread_barrier_wait... yes [20:41:02.717] configure: On mingw32 we will use our strtof wrapper. [20:41:02.717] checking for getopt_long... yes [20:41:02.755] checking for _configthreadlocale... yes [20:41:02.795] checking for syslog... no [20:41:02.837] checking for opterr... yes [20:41:02.879] checking for optreset... no [20:41:02.925] checking test program... cross-compiling [20:41:02.925] checking whether long int is 64 bits... no [20:41:02.951] checking whether long long int is 64 bits... yes [20:41:02.959] checking for __builtin_mul_overflow... yes [20:41:02.996] checking size of void *... 8 [20:41:03.279] checking size of size_t... 8 [20:41:03.523] checking size of long... 4 [20:41:03.700] checking alignment of short... 2 [20:41:03.840] checking alignment of int... 4 [20:41:04.019] checking alignment of long... 4 [20:41:04.198] checking alignment of long long int... 8 [20:41:04.436] checking alignment of double... 8 [20:41:04.672] checking for int8... no [20:41:04.709] checking for uint8... no [20:41:04.746] checking for int64... no [20:41:04.782] checking for uint64... no [20:41:04.819] checking for __int128... yes [20:41:04.864] checking for __int128 alignment bug... assuming ok [20:41:04.864] checking alignment of PG_INT128_TYPE... 16 [20:41:05.202] checking for builtin __sync char locking functions... yes [20:41:05.239] checking for builtin __sync int32 locking functions... yes [20:41:05.276] checking for builtin __sync int32 atomic operations... yes [20:41:05.313] checking for builtin __sync int64 atomic operations... yes [20:41:05.350] checking for builtin __atomic int32 atomic operations... yes [20:41:05.387] checking for builtin __atomic int64 atomic operations... yes [20:41:05.424] checking for __get_cpuid... yes [20:41:05.466] checking for __get_cpuid_count... yes [20:41:05.504] checking for __cpuid... no [20:41:05.874] checking for __cpuidex... no [20:41:06.272] checking for _xgetbv with CFLAGS=... no [20:41:06.631] checking for _xgetbv with CFLAGS=-mxsave... yes [20:41:07.004] checking for _mm512_popcnt_epi64 with CFLAGS=... no [20:41:07.359] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [20:41:07.678] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [20:41:07.720] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [20:41:07.799] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:41:07.818] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:41:07.834] 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 [20:41:07.882] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:41:07.883] checking which random number source to use... Windows native [20:41:07.884] checking for xmllint... /usr/bin/xmllint [20:41:07.885] checking for xsltproc... /usr/bin/xsltproc [20:41:07.885] checking for fop... /usr/bin/fop [20:41:07.885] checking for dbtoepub... no [20:41:07.885] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:41:07.885] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:41:07.886] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:41:07.895] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:41:07.895] 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 [20:41:07.895] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:41:07.895] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:41:07.968] configure: creating ./config.status [20:41:08.043] config.status: creating GNUmakefile [20:41:08.054] config.status: creating src/Makefile.global [20:41:08.067] config.status: creating src/include/pg_config.h [20:41:08.078] config.status: creating src/include/pg_config_ext.h [20:41:08.089] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:41:08.103] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:41:08.109] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:41:08.115] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:41:08.122] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:41:08.128] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:41:08.131] config.status: executing check_win32_symlinks commands [20:41:08.161] [20:41:08.161] real 0m14.746s [20:41:08.161] user 0m9.943s [20:41:08.161] sys 0m4.431s [20:41:08.161] make -s -j${BUILD_JOBS} clean [20:41:08.650] time make -s -j${BUILD_JOBS} world-bin [20:41:46.622] In file included from ../../../../src/include/postgres.h:47, [20:41:46.622] from xlogrecovery.c:25: [20:41:46.622] In function ‘MemoryContextSwitchTo’, [20:41:46.622] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [20:41:46.622] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [20:41:46.622] 128 | CurrentMemoryContext = context; [20:41:46.622] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [20:41:46.622] xlogrecovery.c: In function ‘PerformWalRecovery’: [20:41:46.622] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [20:41:46.622] 1732 | MemoryContext oldCtx; [20:41:46.622] | ^~~~~~ [20:41:46.622] cc1: all warnings being treated as errors [20:41:46.624] make[4]: *** [: xlogrecovery.o] Error 1 [20:41:46.624] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [20:41:46.625] make[2]: *** [common.mk:37: access-recursive] Error 2 [20:41:46.625] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:41:46.625] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:41:46.625] [20:41:46.625] real 0m37.976s [20:41:46.625] user 1m48.754s [20:41:46.625] sys 0m31.636s [20:41:46.626] [20:41:46.626] Exit status: 2