[01:57:21.006] time ./configure \ [01:57:21.006] --host=x86_64-w64-mingw32 \ [01:57:21.006] --enable-cassert \ [01:57:21.006] --without-icu \ [01:57:21.006] CC="ccache x86_64-w64-mingw32-gcc" \ [01:57:21.006] CXX="ccache x86_64-w64-mingw32-g++" [01:57:21.118] checking build system type... x86_64-pc-linux-gnu [01:57:21.299] checking host system type... x86_64-w64-mingw32 [01:57:21.304] checking which template to use... win32 [01:57:21.304] checking whether NLS is wanted... no [01:57:21.304] checking for default port number... 5432 [01:57:21.310] checking for block size... 8kB [01:57:21.311] checking for segment size... 1GB [01:57:21.314] checking for WAL block size... 8kB [01:57:21.315] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [01:57:21.348] checking whether the C compiler works... yes [01:57:21.488] checking for C compiler default output file name... a.exe [01:57:21.489] checking for suffix of executables... .exe [01:57:21.530] checking whether we are cross compiling... yes [01:57:21.603] checking for suffix of object files... o [01:57:21.611] checking whether we are using the GNU C compiler... yes [01:57:21.618] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [01:57:21.624] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [01:57:21.634] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [01:57:21.697] checking whether we are using the GNU C++ compiler... yes [01:57:21.704] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [01:57:21.769] checking for gawk... no [01:57:21.769] checking for mawk... mawk [01:57:21.772] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [01:57:21.803] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [01:57:21.810] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [01:57:21.854] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [01:57:22.006] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [01:57:22.012] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [01:57:22.041] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [01:57:22.047] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [01:57:22.053] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [01:57:22.060] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [01:57:22.066] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [01:57:22.073] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [01:57:22.079] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [01:57:22.085] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [01:57:22.091] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [01:57:22.098] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [01:57:22.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [01:57:22.140] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [01:57:22.156] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [01:57:22.162] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [01:57:22.169] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [01:57:22.232] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [01:57:22.239] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [01:57:22.262] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [01:57:22.269] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [01:57:22.275] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [01:57:22.312] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [01:57:22.351] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [01:57:22.358] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [01:57:22.374] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [01:57:22.407] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [01:57:22.415] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [01:57:22.421] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [01:57:22.429] checking whether the C compiler still works... yes [01:57:22.493] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [01:57:22.562] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [01:57:22.562] checking pkg-config is at least version 0.9.0... yes [01:57:22.578] checking whether to build with ICU support... no [01:57:22.579] checking whether to build with Tcl... no [01:57:22.579] checking whether to build Perl modules... no [01:57:22.579] checking whether to build Python modules... no [01:57:22.579] checking whether to build with GSSAPI support... no [01:57:22.580] checking whether to build with PAM support... no [01:57:22.580] checking whether to build with BSD Authentication support... no [01:57:22.580] checking whether to build with LDAP support... no [01:57:22.580] checking whether to build with Bonjour support... no [01:57:22.580] checking whether to build with SELinux support... no [01:57:22.580] checking whether to build with systemd support... no [01:57:22.580] configure: WARNING: *** Readline does not work on MinGW --- disabling [01:57:22.581] checking whether to build with XML support... no [01:57:22.581] checking whether to build with LZ4 support... no [01:57:22.581] checking whether to build with ZSTD support... no [01:57:22.581] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [01:57:22.582] checking whether it is possible to strip libraries... yes [01:57:22.588] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [01:57:22.589] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [01:57:22.589] checking for a BSD-compatible install... /usr/bin/install -c [01:57:22.598] checking for tar... /usr/bin/tar [01:57:22.598] checking whether ln -s works... yes [01:57:22.598] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [01:57:22.600] checking for bison... /usr/bin/bison [01:57:22.602] configure: using bison (GNU Bison) 3.8.2 [01:57:22.605] checking for flex... /usr/bin/flex [01:57:22.607] configure: using flex 2.6.4 [01:57:22.607] checking for perl... /usr/bin/perl [01:57:22.610] configure: using perl 5.36.0 [01:57:22.612] checking for zic... /usr/sbin/zic [01:57:22.612] checking for a sed that does not truncate output... /usr/bin/sed [01:57:22.617] checking for grep that handles long lines and -e... /usr/bin/grep [01:57:22.619] checking for egrep... /usr/bin/grep -E [01:57:22.621] checking for ANSI C header files... yes [01:57:22.667] checking for sys/types.h... yes [01:57:22.682] checking for sys/stat.h... yes [01:57:22.698] checking for stdlib.h... yes [01:57:22.713] checking for string.h... yes [01:57:22.727] checking for memory.h... yes [01:57:22.741] checking for strings.h... yes [01:57:22.755] checking for inttypes.h... yes [01:57:22.770] checking for stdint.h... yes [01:57:22.784] checking for unistd.h... yes [01:57:22.798] checking for main in -lm... yes [01:57:22.844] checking for library containing setproctitle... no [01:57:22.929] checking for library containing dlsym... no [01:57:23.012] checking for library containing socket... -lws2_32 [01:57:23.136] checking for library containing getopt_long... none required [01:57:23.182] checking for library containing shm_open... no [01:57:23.266] checking for library containing shm_unlink... no [01:57:23.350] checking for library containing clock_gettime... no [01:57:23.437] checking for library containing shmget... no [01:57:23.525] checking for library containing backtrace_symbols... no [01:57:23.610] checking for library containing pthread_barrier_wait... -lpthread [01:57:23.698] checking for inflate in -lz... yes [01:57:23.747] checking atomic.h usability... no [01:57:23.804] checking atomic.h presence... no [01:57:23.823] checking for atomic.h... no [01:57:23.827] checking copyfile.h usability... no [01:57:23.882] checking copyfile.h presence... no [01:57:23.900] checking for copyfile.h... no [01:57:23.904] checking execinfo.h usability... no [01:57:23.958] checking execinfo.h presence... no [01:57:23.976] checking for execinfo.h... no [01:57:23.979] checking getopt.h usability... yes [01:57:23.987] checking getopt.h presence... yes [01:57:24.002] checking for getopt.h... yes [01:57:24.010] checking ifaddrs.h usability... no [01:57:24.064] checking ifaddrs.h presence... no [01:57:24.083] checking for ifaddrs.h... no [01:57:24.087] checking mbarrier.h usability... no [01:57:24.140] checking mbarrier.h presence... no [01:57:24.158] checking for mbarrier.h... no [01:57:24.161] checking sys/epoll.h usability... no [01:57:24.214] checking sys/epoll.h presence... no [01:57:24.232] checking for sys/epoll.h... no [01:57:24.235] checking sys/event.h usability... no [01:57:24.287] checking sys/event.h presence... no [01:57:24.305] checking for sys/event.h... no [01:57:24.308] checking sys/personality.h usability... no [01:57:24.362] checking sys/personality.h presence... no [01:57:24.380] checking for sys/personality.h... no [01:57:24.383] checking sys/prctl.h usability... no [01:57:24.436] checking sys/prctl.h presence... no [01:57:24.454] checking for sys/prctl.h... no [01:57:24.457] checking sys/procctl.h usability... no [01:57:24.511] checking sys/procctl.h presence... no [01:57:24.530] checking for sys/procctl.h... no [01:57:24.533] checking sys/signalfd.h usability... no [01:57:24.587] checking sys/signalfd.h presence... no [01:57:24.605] checking for sys/signalfd.h... no [01:57:24.608] checking sys/ucred.h usability... no [01:57:24.663] checking sys/ucred.h presence... no [01:57:24.682] checking for sys/ucred.h... no [01:57:24.685] checking termios.h usability... no [01:57:24.739] checking termios.h presence... no [01:57:24.757] checking for termios.h... no [01:57:24.760] checking ucred.h usability... no [01:57:24.816] checking ucred.h presence... no [01:57:24.835] checking for ucred.h... no [01:57:24.838] checking xlocale.h usability... no [01:57:24.892] checking xlocale.h presence... no [01:57:24.910] checking for xlocale.h... no [01:57:24.913] checking zlib.h usability... yes [01:57:24.922] checking zlib.h presence... yes [01:57:24.941] checking for zlib.h... yes [01:57:24.941] checking for lz4... /usr/bin/lz4 [01:57:24.941] checking for zstd... /usr/bin/zstd [01:57:24.942] checking for openssl... /usr/bin/openssl [01:57:24.946] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [01:57:24.946] checking crtdefs.h usability... yes [01:57:24.953] checking crtdefs.h presence... yes [01:57:24.967] checking for crtdefs.h... yes [01:57:24.969] checking whether byte ordering is bigendian... no [01:57:25.049] checking for inline... inline [01:57:25.055] checking for printf format archetype... gnu_printf [01:57:25.063] checking for _Static_assert... yes [01:57:25.103] checking for typeof... typeof [01:57:25.110] checking for __builtin_types_compatible_p... yes [01:57:25.120] checking for __builtin_constant_p... yes [01:57:25.130] checking for __builtin_mul_overflow... yes [01:57:25.177] checking for __builtin_unreachable... yes [01:57:25.219] checking for computed goto support... yes [01:57:25.227] checking for struct tm.tm_zone... no [01:57:25.303] checking for union semun... no [01:57:25.336] checking for socklen_t... yes [01:57:26.431] checking for struct sockaddr.sa_len... no [01:57:28.432] checking for C/C++ restrict keyword... __restrict [01:57:28.444] checking for struct option... yes [01:57:28.483] checking whether assembler supports x86_64 popcntq... yes [01:57:28.490] checking size of off_t... 4 [01:57:28.681] 0 [01:57:28.681] checking for int timezone... yes [01:57:28.733] checking for backtrace_symbols... no [01:57:28.784] checking for copyfile... no [01:57:28.835] checking for copy_file_range... no [01:57:28.885] checking for elf_aux_info... no [01:57:28.933] checking for getauxval... no [01:57:28.982] checking for getifaddrs... no [01:57:29.030] checking for getpeerucred... no [01:57:29.078] checking for inet_pton... yes [01:57:29.125] checking for kqueue... no [01:57:29.173] checking for mbstowcs_l... no [01:57:29.220] checking for memset_s... no [01:57:29.268] checking for posix_fallocate... no [01:57:29.317] checking for ppoll... no [01:57:29.365] checking for pthread_is_threaded_np... no [01:57:29.413] checking for setproctitle... no [01:57:29.461] checking for setproctitle_fast... no [01:57:29.511] checking for strchrnul... no [01:57:29.562] checking for strsignal... no [01:57:29.610] checking for syncfs... no [01:57:29.660] checking for sync_file_range... no [01:57:29.711] checking for uselocale... no [01:57:29.760] checking for wcstombs_l... no [01:57:29.805] checking for __builtin_bswap16... yes [01:57:29.851] checking for __builtin_bswap32... yes [01:57:29.899] checking for __builtin_bswap64... yes [01:57:29.944] checking for __builtin_clz... yes [01:57:29.991] checking for __builtin_ctz... yes [01:57:30.038] checking for __builtin_popcount... yes [01:57:30.085] checking for __builtin_frame_address... yes [01:57:30.132] checking for _LARGEFILE_SOURCE value needed for large files... no [01:57:30.184] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [01:57:30.216] checking for posix_fadvise... no [01:57:30.268] checking whether posix_fadvise is declared... no [01:57:30.312] checking whether fdatasync is declared... no [01:57:30.357] checking whether strlcat is declared... no [01:57:30.421] checking whether strlcpy is declared... no [01:57:30.484] checking whether strnlen is declared... yes [01:57:30.497] checking whether strsep is declared... no [01:57:30.559] checking whether preadv is declared... no [01:57:30.595] checking whether pwritev is declared... no [01:57:30.631] checking whether F_FULLFSYNC is declared... no [01:57:30.668] checking for explicit_bzero... no [01:57:30.714] checking for getopt... yes [01:57:30.756] checking for getpeereid... no [01:57:30.800] checking for inet_aton... no [01:57:30.844] checking for mkdtemp... no [01:57:30.889] checking for strlcat... no [01:57:30.932] checking for strlcpy... no [01:57:30.977] checking for strnlen... yes [01:57:31.022] checking for strsep... no [01:57:31.066] checking for pthread_barrier_wait... yes [01:57:31.106] configure: On mingw32 we will use our strtof wrapper. [01:57:31.106] checking for getopt_long... yes [01:57:31.147] checking for syslog... no [01:57:31.192] checking for opterr... yes [01:57:31.238] checking for optreset... no [01:57:31.287] checking test program... cross-compiling [01:57:31.287] checking size of void *... 8 [01:57:31.560] checking size of size_t... 8 [01:57:31.826] checking size of long... 4 [01:57:32.021] checking size of long long... 8 [01:57:32.287] checking alignment of short... 2 [01:57:32.424] checking alignment of int... 4 [01:57:32.621] checking alignment of long... 4 [01:57:32.871] checking alignment of int64_t... 8 [01:57:33.128] checking alignment of double... 8 [01:57:33.384] checking for __int128... yes [01:57:33.430] checking for __int128 alignment bug... assuming ok [01:57:33.430] checking alignment of PG_INT128_TYPE... 16 [01:57:33.739] checking for builtin __sync char locking functions... yes [01:57:33.779] checking for builtin __sync int32 locking functions... yes [01:57:33.820] checking for builtin __sync int32 atomic operations... yes [01:57:33.860] checking for builtin __sync int64 atomic operations... yes [01:57:33.902] checking for builtin __atomic int32 atomic operations... yes [01:57:33.944] checking for builtin __atomic int64 atomic operations... yes [01:57:33.987] checking for __get_cpuid... yes [01:57:34.031] checking for __get_cpuid_count... yes [01:57:34.074] checking for __cpuid... no [01:57:34.462] checking for __cpuidex... no [01:57:34.872] checking for _xgetbv... yes [01:57:35.259] checking for _mm512_popcnt_epi64... yes [01:57:35.674] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [01:57:35.767] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [01:57:35.788] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [01:57:35.807] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [01:57:35.825] 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 [01:57:35.879] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [01:57:35.879] checking which random number source to use... Windows native [01:57:35.881] checking for xmllint... /usr/bin/xmllint [01:57:35.881] checking for xsltproc... /usr/bin/xsltproc [01:57:35.881] checking for fop... /usr/bin/fop [01:57:35.881] checking for dbtoepub... no [01:57:35.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [01:57:35.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [01:57:35.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [01:57:35.892] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [01:57:35.892] 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 [01:57:35.892] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [01:57:35.892] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [01:57:35.973] configure: creating ./config.status [01:57:36.048] config.status: creating GNUmakefile [01:57:36.059] config.status: creating src/Makefile.global [01:57:36.072] config.status: creating src/include/pg_config.h [01:57:36.083] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [01:57:36.097] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [01:57:36.103] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [01:57:36.109] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [01:57:36.115] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [01:57:36.121] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [01:57:36.124] config.status: executing check_win32_symlinks commands [01:57:36.154] [01:57:36.154] real 0m15.148s [01:57:36.154] user 0m9.835s [01:57:36.154] sys 0m4.957s [01:57:36.154] make -s -j${BUILD_JOBS} clean [01:57:36.654] time make -s -j${BUILD_JOBS} world-bin [01:58:12.833] In file included from ../../../../src/include/postgres.h:50, [01:58:12.833] from xlogrecovery.c:25: [01:58:12.833] In function ‘MemoryContextSwitchTo’, [01:58:12.833] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [01:58:12.833] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [01:58:12.833] 128 | CurrentMemoryContext = context; [01:58:12.833] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [01:58:12.833] xlogrecovery.c: In function ‘PerformWalRecovery’: [01:58:12.833] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [01:58:12.833] 1731 | MemoryContext oldCtx; [01:58:12.833] | ^~~~~~ [01:58:12.833] cc1: all warnings being treated as errors [01:58:12.833] make[4]: *** [: xlogrecovery.o] Error 1 [01:58:12.833] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [01:58:12.833] make[2]: *** [common.mk:37: access-recursive] Error 2 [01:58:12.833] make[2]: *** Waiting for unfinished jobs.... [01:58:22.084] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [01:58:22.085] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [01:58:22.085] [01:58:22.085] real 0m45.430s [01:58:22.085] user 2m13.037s [01:58:22.085] sys 0m36.221s [01:58:22.085] [01:58:22.085] Exit status: 2