[11:27:17.019] time ./configure \ [11:27:17.019] --host=x86_64-w64-mingw32 \ [11:27:17.019] --enable-cassert \ [11:27:17.019] --without-icu \ [11:27:17.019] CC="ccache x86_64-w64-mingw32-gcc" \ [11:27:17.019] CXX="ccache x86_64-w64-mingw32-g++" [11:27:17.123] checking build system type... x86_64-pc-linux-gnu [11:27:17.290] checking host system type... x86_64-w64-mingw32 [11:27:17.295] checking which template to use... win32 [11:27:17.295] checking whether NLS is wanted... no [11:27:17.295] checking for default port number... 5432 [11:27:17.301] checking for block size... 8kB [11:27:17.303] checking for segment size... 1GB [11:27:17.305] checking for WAL block size... 8kB [11:27:17.306] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:27:17.336] checking whether the C compiler works... yes [11:27:17.469] checking for C compiler default output file name... a.exe [11:27:17.471] checking for suffix of executables... .exe [11:27:17.508] checking whether we are cross compiling... yes [11:27:17.578] checking for suffix of object files... o [11:27:17.585] checking whether we are using the GNU C compiler... yes [11:27:17.591] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:27:17.598] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:27:17.608] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:27:17.663] checking whether we are using the GNU C++ compiler... yes [11:27:17.669] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:27:17.731] checking for gawk... no [11:27:17.731] checking for mawk... mawk [11:27:17.734] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:27:17.740] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:27:17.746] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:27:17.790] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:27:17.947] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:27:17.954] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:27:17.961] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:27:17.967] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:27:17.974] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:27:17.980] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:27:17.987] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:27:17.994] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:27:18.001] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:27:18.008] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:27:18.015] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:27:18.021] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:27:18.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:27:18.065] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:27:18.072] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:27:18.079] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:27:18.086] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:27:18.093] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:27:18.099] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:27:18.123] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:27:18.130] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:27:18.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:27:18.174] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:27:18.212] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:27:18.218] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:27:18.225] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:27:18.259] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:27:18.267] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:27:18.274] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:27:18.281] checking whether the C compiler still works... yes [11:27:18.344] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:27:18.414] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:27:18.414] checking pkg-config is at least version 0.9.0... yes [11:27:18.432] checking whether to build with ICU support... no [11:27:18.432] checking whether to build with Tcl... no [11:27:18.432] checking whether to build Perl modules... no [11:27:18.433] checking whether to build Python modules... no [11:27:18.433] checking whether to build with GSSAPI support... no [11:27:18.434] checking whether to build with PAM support... no [11:27:18.434] checking whether to build with BSD Authentication support... no [11:27:18.434] checking whether to build with LDAP support... no [11:27:18.434] checking whether to build with Bonjour support... no [11:27:18.434] checking whether to build with SELinux support... no [11:27:18.434] checking whether to build with systemd support... no [11:27:18.434] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:27:18.434] checking whether to build with XML support... no [11:27:18.435] checking whether to build with LZ4 support... no [11:27:18.435] checking whether to build with ZSTD support... no [11:27:18.435] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:27:18.436] checking whether it is possible to strip libraries... yes [11:27:18.443] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:27:18.444] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:27:18.444] checking for a BSD-compatible install... /usr/bin/install -c [11:27:18.453] checking for tar... /usr/bin/tar [11:27:18.453] checking whether ln -s works... yes [11:27:18.453] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:27:18.456] checking for bison... /usr/bin/bison [11:27:18.458] configure: using bison (GNU Bison) 3.8.2 [11:27:18.461] checking for flex... /usr/bin/flex [11:27:18.463] configure: using flex 2.6.4 [11:27:18.464] checking for perl... /usr/bin/perl [11:27:18.466] configure: using perl 5.36.0 [11:27:18.469] checking for zic... /usr/sbin/zic [11:27:18.469] checking for a sed that does not truncate output... /usr/bin/sed [11:27:18.474] checking for grep that handles long lines and -e... /usr/bin/grep [11:27:18.476] checking for egrep... /usr/bin/grep -E [11:27:18.478] checking for ANSI C header files... yes [11:27:18.523] checking for sys/types.h... yes [11:27:18.539] checking for sys/stat.h... yes [11:27:18.556] checking for stdlib.h... yes [11:27:18.570] checking for string.h... yes [11:27:18.584] checking for memory.h... yes [11:27:18.600] checking for strings.h... yes [11:27:18.615] checking for inttypes.h... yes [11:27:18.631] checking for stdint.h... yes [11:27:18.645] checking for unistd.h... yes [11:27:18.661] checking for main in -lm... yes [11:27:18.707] checking for library containing setproctitle... no [11:27:18.793] checking for library containing dlsym... no [11:27:18.879] checking for library containing socket... -lws2_32 [11:27:19.006] checking for library containing getopt_long... none required [11:27:19.052] checking for library containing shm_open... no [11:27:19.138] checking for library containing shm_unlink... no [11:27:19.225] checking for library containing clock_gettime... no [11:27:19.312] checking for library containing shmget... no [11:27:19.397] checking for library containing backtrace_symbols... no [11:27:19.482] checking for library containing pthread_barrier_wait... -lpthread [11:27:19.570] checking for inflate in -lz... yes [11:27:19.619] checking atomic.h usability... no [11:27:19.677] checking atomic.h presence... no [11:27:19.695] checking for atomic.h... no [11:27:19.698] checking copyfile.h usability... no [11:27:19.748] checking copyfile.h presence... no [11:27:19.766] checking for copyfile.h... no [11:27:19.769] checking execinfo.h usability... no [11:27:19.822] checking execinfo.h presence... no [11:27:19.840] checking for execinfo.h... no [11:27:19.844] checking getopt.h usability... yes [11:27:19.851] checking getopt.h presence... yes [11:27:19.865] checking for getopt.h... yes [11:27:19.872] checking ifaddrs.h usability... no [11:27:19.924] checking ifaddrs.h presence... no [11:27:19.942] checking for ifaddrs.h... no [11:27:19.945] checking mbarrier.h usability... no [11:27:19.998] checking mbarrier.h presence... no [11:27:20.017] checking for mbarrier.h... no [11:27:20.020] checking sys/epoll.h usability... no [11:27:20.072] checking sys/epoll.h presence... no [11:27:20.090] checking for sys/epoll.h... no [11:27:20.093] checking sys/event.h usability... no [11:27:20.145] checking sys/event.h presence... no [11:27:20.164] checking for sys/event.h... no [11:27:20.168] checking sys/personality.h usability... no [11:27:20.221] checking sys/personality.h presence... no [11:27:20.238] checking for sys/personality.h... no [11:27:20.242] checking sys/prctl.h usability... no [11:27:20.295] checking sys/prctl.h presence... no [11:27:20.315] checking for sys/prctl.h... no [11:27:20.318] checking sys/procctl.h usability... no [11:27:20.373] checking sys/procctl.h presence... no [11:27:20.392] checking for sys/procctl.h... no [11:27:20.395] checking sys/signalfd.h usability... no [11:27:20.449] checking sys/signalfd.h presence... no [11:27:20.467] checking for sys/signalfd.h... no [11:27:20.471] checking sys/ucred.h usability... no [11:27:20.525] checking sys/ucred.h presence... no [11:27:20.543] checking for sys/ucred.h... no [11:27:20.546] checking termios.h usability... no [11:27:20.601] checking termios.h presence... no [11:27:20.619] checking for termios.h... no [11:27:20.623] checking ucred.h usability... no [11:27:20.675] checking ucred.h presence... no [11:27:20.692] checking for ucred.h... no [11:27:20.695] checking xlocale.h usability... no [11:27:20.748] checking xlocale.h presence... no [11:27:20.766] checking for xlocale.h... no [11:27:20.769] checking zlib.h usability... yes [11:27:20.779] checking zlib.h presence... yes [11:27:20.798] checking for zlib.h... yes [11:27:20.798] checking for lz4... /usr/bin/lz4 [11:27:20.798] checking for zstd... /usr/bin/zstd [11:27:20.799] checking for openssl... /usr/bin/openssl [11:27:20.803] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [11:27:20.803] checking crtdefs.h usability... yes [11:27:20.811] checking crtdefs.h presence... yes [11:27:20.825] checking for crtdefs.h... yes [11:27:20.826] checking whether byte ordering is bigendian... no [11:27:20.897] checking for inline... inline [11:27:20.904] checking for printf format archetype... gnu_printf [11:27:20.912] checking for _Static_assert... yes [11:27:20.951] checking for typeof... typeof [11:27:20.958] checking for __builtin_types_compatible_p... yes [11:27:20.970] checking for __builtin_constant_p... yes [11:27:20.980] checking for __builtin_mul_overflow... yes [11:27:21.028] checking for __builtin_unreachable... yes [11:27:21.069] checking for computed goto support... yes [11:27:21.076] checking for struct tm.tm_zone... no [11:27:21.151] checking for union semun... no [11:27:21.184] checking for socklen_t... yes [11:27:22.294] checking for struct sockaddr.sa_len... no [11:27:24.246] checking for C/C++ restrict keyword... __restrict [11:27:24.259] checking for struct option... yes [11:27:24.301] checking whether assembler supports x86_64 popcntq... yes [11:27:24.308] checking size of off_t... 4 [11:27:24.505] 0 [11:27:24.505] checking for int timezone... yes [11:27:24.555] checking for backtrace_symbols... no [11:27:24.604] checking for copyfile... no [11:27:24.652] checking for copy_file_range... no [11:27:24.703] checking for elf_aux_info... no [11:27:24.753] checking for getauxval... no [11:27:24.802] checking for getifaddrs... no [11:27:24.851] checking for getpeerucred... no [11:27:24.901] checking for inet_pton... yes [11:27:24.950] checking for kqueue... no [11:27:24.998] checking for mbstowcs_l... no [11:27:25.045] checking for memset_s... no [11:27:25.094] checking for posix_fallocate... no [11:27:25.143] checking for ppoll... no [11:27:25.192] checking for pthread_is_threaded_np... no [11:27:25.242] checking for setproctitle... no [11:27:25.292] checking for setproctitle_fast... no [11:27:25.342] checking for strchrnul... no [11:27:25.392] checking for strsignal... no [11:27:25.442] checking for syncfs... no [11:27:25.491] checking for sync_file_range... no [11:27:25.540] checking for uselocale... no [11:27:25.589] checking for wcstombs_l... no [11:27:25.635] checking for __builtin_bswap16... yes [11:27:25.684] checking for __builtin_bswap32... yes [11:27:25.731] checking for __builtin_bswap64... yes [11:27:25.778] checking for __builtin_clz... yes [11:27:25.827] checking for __builtin_ctz... yes [11:27:25.874] checking for __builtin_popcount... yes [11:27:25.921] checking for __builtin_frame_address... yes [11:27:25.968] checking for _LARGEFILE_SOURCE value needed for large files... no [11:27:26.018] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:27:26.048] checking for posix_fadvise... no [11:27:26.099] checking whether posix_fadvise is declared... no [11:27:26.142] checking whether fdatasync is declared... no [11:27:26.186] checking whether strlcat is declared... no [11:27:26.248] checking whether strlcpy is declared... no [11:27:26.312] checking whether strnlen is declared... yes [11:27:26.326] checking whether strsep is declared... no [11:27:26.390] checking whether preadv is declared... no [11:27:26.426] checking whether pwritev is declared... no [11:27:26.461] checking whether F_FULLFSYNC is declared... no [11:27:26.499] checking for explicit_bzero... no [11:27:26.546] checking for getopt... yes [11:27:26.590] checking for getpeereid... no [11:27:26.636] checking for inet_aton... no [11:27:26.682] checking for mkdtemp... no [11:27:26.728] checking for strlcat... no [11:27:26.775] checking for strlcpy... no [11:27:26.822] checking for strnlen... yes [11:27:26.868] checking for strsep... no [11:27:26.914] checking for pthread_barrier_wait... yes [11:27:26.957] configure: On mingw32 we will use our strtof wrapper. [11:27:26.957] checking for getopt_long... yes [11:27:27.000] checking for syslog... no [11:27:27.045] checking for opterr... yes [11:27:27.091] checking for optreset... no [11:27:27.140] checking test program... cross-compiling [11:27:27.141] checking size of void *... 8 [11:27:27.397] checking size of size_t... 8 [11:27:27.649] checking size of long... 4 [11:27:27.845] checking size of long long... 8 [11:27:28.108] checking alignment of short... 2 [11:27:28.243] checking alignment of int... 4 [11:27:28.441] checking alignment of long... 4 [11:27:28.635] checking alignment of int64_t... 8 [11:27:28.898] checking alignment of double... 8 [11:27:29.159] checking for __int128... yes [11:27:29.209] checking for __int128 alignment bug... assuming ok [11:27:29.209] checking alignment of PG_INT128_TYPE... 16 [11:27:29.528] checking for builtin __sync char locking functions... yes [11:27:29.569] checking for builtin __sync int32 locking functions... yes [11:27:29.610] checking for builtin __sync int32 atomic operations... yes [11:27:29.651] checking for builtin __sync int64 atomic operations... yes [11:27:29.694] checking for builtin __atomic int32 atomic operations... yes [11:27:29.734] checking for builtin __atomic int64 atomic operations... yes [11:27:29.777] checking for __get_cpuid... yes [11:27:29.822] checking for __get_cpuid_count... yes [11:27:29.865] checking for __cpuid... no [11:27:30.254] checking for __cpuidex... no [11:27:30.669] checking for _xgetbv... yes [11:27:31.065] checking for _mm512_popcnt_epi64... yes [11:27:31.480] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [11:27:31.577] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:27:31.600] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [11:27:31.618] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:27:31.637] 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 [11:27:31.689] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:27:31.690] checking which random number source to use... Windows native [11:27:31.692] checking for xmllint... /usr/bin/xmllint [11:27:31.692] checking for xsltproc... /usr/bin/xsltproc [11:27:31.692] checking for fop... /usr/bin/fop [11:27:31.693] checking for dbtoepub... no [11:27:31.693] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:27:31.693] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:27:31.693] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:27:31.704] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:27:31.704] 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 [11:27:31.704] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:27:31.704] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:27:31.789] configure: creating ./config.status [11:27:31.873] config.status: creating GNUmakefile [11:27:31.885] config.status: creating src/Makefile.global [11:27:31.901] config.status: creating src/include/pg_config.h [11:27:31.913] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:27:31.929] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:27:31.936] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:27:31.943] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:27:31.950] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:27:31.958] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:27:31.961] config.status: executing check_win32_symlinks commands [11:27:31.994] [11:27:31.994] real 0m14.975s [11:27:31.994] user 0m9.994s [11:27:31.994] sys 0m4.658s [11:27:31.994] make -s -j${BUILD_JOBS} clean [11:27:32.508] time make -s -j${BUILD_JOBS} world-bin [11:28:11.294] In file included from ../../../../src/include/postgres.h:50, [11:28:11.294] from xlogrecovery.c:25: [11:28:11.294] In function ‘MemoryContextSwitchTo’, [11:28:11.294] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [11:28:11.294] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [11:28:11.294] 128 | CurrentMemoryContext = context; [11:28:11.294] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [11:28:11.294] xlogrecovery.c: In function ‘PerformWalRecovery’: [11:28:11.294] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [11:28:11.294] 1731 | MemoryContext oldCtx; [11:28:11.294] | ^~~~~~ [11:28:11.294] cc1: all warnings being treated as errors [11:28:11.294] make[4]: *** [: xlogrecovery.o] Error 1 [11:28:11.294] make[4]: *** Waiting for unfinished jobs.... [11:28:11.364] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [11:28:11.364] make[2]: *** [common.mk:37: access-recursive] Error 2 [11:28:11.364] make[2]: *** Waiting for unfinished jobs.... [11:28:15.158] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [11:28:15.158] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:28:15.159] [11:28:15.159] real 0m42.650s [11:28:15.159] user 2m8.043s [11:28:15.159] sys 0m28.168s [11:28:15.159] [11:28:15.159] Exit status: 2