[17:56:16.321] time ./configure \ [17:56:16.321] --host=x86_64-w64-mingw32 \ [17:56:16.321] --enable-cassert \ [17:56:16.321] --without-icu \ [17:56:16.321] CC="ccache x86_64-w64-mingw32-gcc" \ [17:56:16.321] CXX="ccache x86_64-w64-mingw32-g++" [17:56:16.427] checking build system type... x86_64-pc-linux-gnu [17:56:16.622] checking host system type... x86_64-w64-mingw32 [17:56:16.627] checking which template to use... win32 [17:56:16.627] checking whether NLS is wanted... no [17:56:16.628] checking for default port number... 5432 [17:56:16.634] checking for block size... 8kB [17:56:16.635] checking for segment size... 1GB [17:56:16.637] checking for WAL block size... 8kB [17:56:16.638] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:56:16.669] checking whether the C compiler works... yes [17:56:16.807] checking for C compiler default output file name... a.exe [17:56:16.808] checking for suffix of executables... .exe [17:56:16.848] checking whether we are cross compiling... yes [17:56:16.930] checking for suffix of object files... o [17:56:16.937] checking whether we are using the GNU C compiler... yes [17:56:16.943] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:56:16.949] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:56:16.958] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:56:17.018] checking whether we are using the GNU C++ compiler... yes [17:56:17.024] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:56:17.086] checking for gawk... no [17:56:17.087] checking for mawk... mawk [17:56:17.089] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:56:17.095] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:56:17.101] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:56:17.143] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:56:17.312] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:56:17.319] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:56:17.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:56:17.331] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:56:17.337] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:56:17.343] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:56:17.349] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:56:17.356] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:56:17.362] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:56:17.368] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:56:17.461] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:56:17.468] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:56:17.476] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:56:17.513] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:56:17.519] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:56:17.536] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:56:17.542] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:56:17.549] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:56:17.555] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:56:17.578] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:56:17.585] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:56:17.592] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:56:17.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:56:17.666] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:56:17.673] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:56:17.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:56:17.714] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:56:17.721] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:56:17.728] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:56:17.736] checking whether the C compiler still works... yes [17:56:17.799] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:56:17.870] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:56:17.870] checking pkg-config is at least version 0.9.0... yes [17:56:17.887] checking whether to build with ICU support... no [17:56:17.887] checking whether to build with Tcl... no [17:56:17.887] checking whether to build Perl modules... no [17:56:17.887] checking whether to build Python modules... no [17:56:17.887] checking whether to build with GSSAPI support... no [17:56:17.888] checking whether to build with PAM support... no [17:56:17.889] checking whether to build with BSD Authentication support... no [17:56:17.889] checking whether to build with LDAP support... no [17:56:17.889] checking whether to build with Bonjour support... no [17:56:17.889] checking whether to build with SELinux support... no [17:56:17.889] checking whether to build with systemd support... no [17:56:17.889] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:56:17.889] checking whether to build with XML support... no [17:56:17.889] checking whether to build with LZ4 support... no [17:56:17.890] checking whether to build with ZSTD support... no [17:56:17.890] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:56:17.890] checking whether it is possible to strip libraries... yes [17:56:17.898] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:56:17.898] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:56:17.898] checking for a BSD-compatible install... /usr/bin/install -c [17:56:17.907] checking for tar... /usr/bin/tar [17:56:17.907] checking whether ln -s works... yes [17:56:17.907] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:56:17.910] checking for bison... /usr/bin/bison [17:56:17.912] configure: using bison (GNU Bison) 3.8.2 [17:56:17.915] checking for flex... /usr/bin/flex [17:56:17.927] configure: using flex 2.6.4 [17:56:17.927] checking for perl... /usr/bin/perl [17:56:17.930] configure: using perl 5.36.0 [17:56:17.932] checking for zic... /usr/sbin/zic [17:56:17.932] checking for a sed that does not truncate output... /usr/bin/sed [17:56:17.938] checking for grep that handles long lines and -e... /usr/bin/grep [17:56:17.940] checking for egrep... /usr/bin/grep -E [17:56:17.941] checking for ANSI C header files... yes [17:56:17.996] checking for sys/types.h... yes [17:56:18.012] checking for sys/stat.h... yes [17:56:18.027] checking for stdlib.h... yes [17:56:18.063] checking for string.h... yes [17:56:18.078] checking for memory.h... yes [17:56:18.093] checking for strings.h... yes [17:56:18.109] checking for inttypes.h... yes [17:56:18.126] checking for stdint.h... yes [17:56:18.140] checking for unistd.h... yes [17:56:18.155] checking for main in -lm... yes [17:56:18.202] checking for library containing setproctitle... no [17:56:18.289] checking for library containing dlsym... no [17:56:18.373] checking for library containing socket... -lws2_32 [17:56:18.497] checking for library containing getopt_long... none required [17:56:18.543] checking for library containing shm_open... no [17:56:18.626] checking for library containing shm_unlink... no [17:56:18.710] checking for library containing clock_gettime... no [17:56:18.795] checking for library containing shmget... no [17:56:18.880] checking for library containing backtrace_symbols... no [17:56:18.965] checking for library containing pthread_barrier_wait... -lpthread [17:56:19.051] checking for inflate in -lz... yes [17:56:19.097] checking atomic.h usability... no [17:56:19.156] checking atomic.h presence... no [17:56:19.174] checking for atomic.h... no [17:56:19.177] checking copyfile.h usability... no [17:56:19.230] checking copyfile.h presence... no [17:56:19.247] checking for copyfile.h... no [17:56:19.251] checking execinfo.h usability... no [17:56:19.305] checking execinfo.h presence... no [17:56:19.323] checking for execinfo.h... no [17:56:19.326] checking getopt.h usability... yes [17:56:19.334] checking getopt.h presence... yes [17:56:19.349] checking for getopt.h... yes [17:56:19.356] checking ifaddrs.h usability... no [17:56:19.411] checking ifaddrs.h presence... no [17:56:19.428] checking for ifaddrs.h... no [17:56:19.431] checking mbarrier.h usability... no [17:56:19.483] checking mbarrier.h presence... no [17:56:19.500] checking for mbarrier.h... no [17:56:19.503] checking sys/epoll.h usability... no [17:56:19.555] checking sys/epoll.h presence... no [17:56:19.572] checking for sys/epoll.h... no [17:56:19.575] checking sys/event.h usability... no [17:56:19.627] checking sys/event.h presence... no [17:56:19.644] checking for sys/event.h... no [17:56:19.646] checking sys/personality.h usability... no [17:56:19.700] checking sys/personality.h presence... no [17:56:19.719] checking for sys/personality.h... no [17:56:19.722] checking sys/prctl.h usability... no [17:56:19.777] checking sys/prctl.h presence... no [17:56:19.795] checking for sys/prctl.h... no [17:56:19.798] checking sys/procctl.h usability... no [17:56:19.851] checking sys/procctl.h presence... no [17:56:19.869] checking for sys/procctl.h... no [17:56:19.872] checking sys/signalfd.h usability... no [17:56:19.928] checking sys/signalfd.h presence... no [17:56:19.946] checking for sys/signalfd.h... no [17:56:19.949] checking sys/ucred.h usability... no [17:56:20.001] checking sys/ucred.h presence... no [17:56:20.019] checking for sys/ucred.h... no [17:56:20.023] checking termios.h usability... no [17:56:20.075] checking termios.h presence... no [17:56:20.093] checking for termios.h... no [17:56:20.097] checking ucred.h usability... no [17:56:20.149] checking ucred.h presence... no [17:56:20.167] checking for ucred.h... no [17:56:20.171] checking xlocale.h usability... no [17:56:20.223] checking xlocale.h presence... no [17:56:20.241] checking for xlocale.h... no [17:56:20.244] checking zlib.h usability... yes [17:56:20.253] checking zlib.h presence... yes [17:56:20.271] checking for zlib.h... yes [17:56:20.271] checking for lz4... /usr/bin/lz4 [17:56:20.271] checking for zstd... /usr/bin/zstd [17:56:20.272] checking for openssl... /usr/bin/openssl [17:56:20.276] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [17:56:20.277] checking crtdefs.h usability... yes [17:56:20.285] checking crtdefs.h presence... yes [17:56:20.301] checking for crtdefs.h... yes [17:56:20.302] checking whether byte ordering is bigendian... no [17:56:20.373] checking for inline... inline [17:56:20.381] checking for printf format archetype... gnu_printf [17:56:20.399] checking for _Static_assert... yes [17:56:20.440] checking for typeof... typeof [17:56:20.447] checking for __builtin_types_compatible_p... yes [17:56:20.458] checking for __builtin_constant_p... yes [17:56:20.468] checking for __builtin_unreachable... yes [17:56:20.507] checking for computed goto support... yes [17:56:20.514] checking for struct tm.tm_zone... no [17:56:20.589] checking for union semun... no [17:56:20.622] checking for socklen_t... yes [17:56:21.743] checking for struct sockaddr.sa_len... no [17:56:23.702] checking for C/C++ restrict keyword... __restrict [17:56:23.715] checking for struct option... yes [17:56:23.754] checking whether assembler supports x86_64 popcntq... yes [17:56:23.761] checking size of off_t... 4 [17:56:23.960] 0 [17:56:23.961] checking size of bool... 1 [17:56:24.001] checking for int timezone... yes [17:56:24.052] checking for backtrace_symbols... no [17:56:24.101] checking for copyfile... no [17:56:24.148] checking for copy_file_range... no [17:56:24.196] checking for elf_aux_info... no [17:56:24.242] checking for getauxval... no [17:56:24.289] checking for getifaddrs... no [17:56:24.336] checking for getpeerucred... no [17:56:24.385] checking for inet_pton... yes [17:56:24.433] checking for kqueue... no [17:56:24.480] checking for mbstowcs_l... no [17:56:24.527] checking for memset_s... no [17:56:24.574] checking for posix_fallocate... no [17:56:24.622] checking for ppoll... no [17:56:24.672] checking for pthread_is_threaded_np... no [17:56:24.721] checking for setproctitle... no [17:56:24.770] checking for setproctitle_fast... no [17:56:24.819] checking for strchrnul... no [17:56:24.866] checking for strsignal... no [17:56:24.915] checking for syncfs... no [17:56:24.965] checking for sync_file_range... no [17:56:25.013] checking for uselocale... no [17:56:25.060] checking for wcstombs_l... no [17:56:25.106] checking for __builtin_bswap16... yes [17:56:25.153] checking for __builtin_bswap32... yes [17:56:25.197] checking for __builtin_bswap64... yes [17:56:25.242] checking for __builtin_clz... yes [17:56:25.289] checking for __builtin_ctz... yes [17:56:25.335] checking for __builtin_popcount... yes [17:56:25.381] checking for __builtin_frame_address... yes [17:56:25.427] checking for _LARGEFILE_SOURCE value needed for large files... no [17:56:25.476] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:56:25.507] checking for posix_fadvise... no [17:56:25.556] checking whether posix_fadvise is declared... no [17:56:25.600] checking whether fdatasync is declared... no [17:56:25.646] checking whether strlcat is declared... no [17:56:25.705] checking whether strlcpy is declared... no [17:56:25.767] checking whether strnlen is declared... yes [17:56:25.780] checking whether strsep is declared... no [17:56:25.845] checking whether preadv is declared... no [17:56:25.878] checking whether pwritev is declared... no [17:56:25.911] checking whether F_FULLFSYNC is declared... no [17:56:25.947] checking for explicit_bzero... no [17:56:25.992] checking for getopt... yes [17:56:26.034] checking for getpeereid... no [17:56:26.079] checking for inet_aton... no [17:56:26.124] checking for mkdtemp... no [17:56:26.169] checking for strlcat... no [17:56:26.213] checking for strlcpy... no [17:56:26.258] checking for strnlen... yes [17:56:26.304] checking for strsep... no [17:56:26.350] checking for pthread_barrier_wait... yes [17:56:26.393] configure: On mingw32 we will use our strtof wrapper. [17:56:26.393] checking for getopt_long... yes [17:56:26.435] checking for _configthreadlocale... yes [17:56:26.477] checking for syslog... no [17:56:26.522] checking for opterr... yes [17:56:26.569] checking for optreset... no [17:56:26.618] checking test program... cross-compiling [17:56:26.618] checking whether long int is 64 bits... no [17:56:26.650] checking whether long long int is 64 bits... yes [17:56:26.658] checking for __builtin_mul_overflow... yes [17:56:26.699] checking size of void *... 8 [17:56:26.955] checking size of size_t... 8 [17:56:27.206] checking size of long... 4 [17:56:27.407] checking alignment of short... 2 [17:56:27.592] checking alignment of int... 4 [17:56:27.793] checking alignment of long... 4 [17:56:28.001] checking alignment of long long int... 8 [17:56:28.263] checking alignment of double... 8 [17:56:28.529] checking for __int128... yes [17:56:28.578] checking for __int128 alignment bug... assuming ok [17:56:28.578] checking alignment of PG_INT128_TYPE... 16 [17:56:28.906] checking for builtin __sync char locking functions... yes [17:56:28.946] checking for builtin __sync int32 locking functions... yes [17:56:28.986] checking for builtin __sync int32 atomic operations... yes [17:56:29.026] checking for builtin __sync int64 atomic operations... yes [17:56:29.066] checking for builtin __atomic int32 atomic operations... yes [17:56:29.107] checking for builtin __atomic int64 atomic operations... yes [17:56:29.147] checking for __get_cpuid... yes [17:56:29.193] checking for __get_cpuid_count... yes [17:56:29.236] checking for __cpuid... no [17:56:29.633] checking for __cpuidex... no [17:56:30.051] checking for _xgetbv... yes [17:56:30.453] checking for _mm512_popcnt_epi64... yes [17:56:30.868] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:56:30.914] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:56:31.003] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:56:31.025] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [17:56:31.043] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:56:31.062] 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:56:31.114] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:56:31.115] checking which random number source to use... Windows native [17:56:31.117] checking for xmllint... /usr/bin/xmllint [17:56:31.117] checking for xsltproc... /usr/bin/xsltproc [17:56:31.117] checking for fop... /usr/bin/fop [17:56:31.117] checking for dbtoepub... no [17:56:31.118] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:56:31.118] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:56:31.118] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:56:31.128] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:56:31.128] 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:56:31.128] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:56:31.128] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:56:31.204] configure: creating ./config.status [17:56:31.280] config.status: creating GNUmakefile [17:56:31.293] config.status: creating src/Makefile.global [17:56:31.308] config.status: creating src/include/pg_config.h [17:56:31.320] config.status: creating src/include/pg_config_ext.h [17:56:31.331] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:56:31.345] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:56:31.352] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:56:31.359] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:56:31.366] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:56:31.373] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:56:31.377] config.status: executing check_win32_symlinks commands [17:56:31.410] [17:56:31.410] real 0m15.090s [17:56:31.410] user 0m9.854s [17:56:31.410] sys 0m4.791s [17:56:31.410] make -s -j${BUILD_JOBS} clean [17:56:31.927] time make -s -j${BUILD_JOBS} world-bin [17:57:43.068] In file included from ../../../../src/include/postgres.h:47, [17:57:43.068] from xlogrecovery.c:25: [17:57:43.068] In function ‘MemoryContextSwitchTo’, [17:57:43.068] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [17:57:43.068] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [17:57:43.068] 128 | CurrentMemoryContext = context; [17:57:43.068] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [17:57:43.068] xlogrecovery.c: In function ‘PerformWalRecovery’: [17:57:43.068] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [17:57:43.068] 1731 | MemoryContext oldCtx; [17:57:43.068] | ^~~~~~ [17:57:43.068] cc1: all warnings being treated as errors [17:57:43.069] make[4]: *** [: xlogrecovery.o] Error 1 [17:57:43.069] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [17:57:43.069] make[2]: *** [common.mk:37: access-recursive] Error 2 [17:57:43.069] make[2]: *** Waiting for unfinished jobs.... [17:57:49.685] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:57:49.685] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:57:49.685] [17:57:49.685] real 1m17.759s [17:57:49.685] user 4m9.174s [17:57:49.685] sys 0m50.274s [17:57:49.686] [17:57:49.686] Exit status: 2