[07:34:47.785] time ./configure \ [07:34:47.785] --host=x86_64-w64-mingw32 \ [07:34:47.785] --enable-cassert \ [07:34:47.785] --without-icu \ [07:34:47.785] CC="ccache x86_64-w64-mingw32-gcc" \ [07:34:47.785] CXX="ccache x86_64-w64-mingw32-g++" [07:34:47.891] checking build system type... x86_64-pc-linux-gnu [07:34:48.086] checking host system type... x86_64-w64-mingw32 [07:34:48.091] checking which template to use... win32 [07:34:48.091] checking whether NLS is wanted... no [07:34:48.091] checking for default port number... 5432 [07:34:48.098] checking for block size... 8kB [07:34:48.099] checking for segment size... 1GB [07:34:48.101] checking for WAL block size... 8kB [07:34:48.102] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:34:48.133] checking whether the C compiler works... yes [07:34:48.276] checking for C compiler default output file name... a.exe [07:34:48.277] checking for suffix of executables... .exe [07:34:48.316] checking whether we are cross compiling... yes [07:34:48.391] checking for suffix of object files... o [07:34:48.399] checking whether we are using the GNU C compiler... yes [07:34:48.405] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:34:48.411] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:34:48.437] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:34:48.495] checking whether we are using the GNU C++ compiler... yes [07:34:48.502] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:34:48.562] checking for gawk... no [07:34:48.562] checking for mawk... mawk [07:34:48.564] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:34:48.570] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:34:48.577] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:34:48.619] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:34:48.799] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:34:48.805] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:34:48.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:34:48.889] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:34:48.895] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:34:48.901] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:34:48.907] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:34:48.914] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:34:48.920] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:34:48.926] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:34:48.932] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:34:48.938] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:34:48.944] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:34:48.979] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:34:48.986] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:34:48.992] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:34:48.998] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:34:49.004] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:34:49.011] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:34:49.032] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:34:49.039] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:34:49.045] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:34:49.081] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:34:49.117] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:34:49.123] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:34:49.130] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:34:49.168] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:34:49.175] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:34:49.181] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:34:49.188] checking whether the C compiler still works... yes [07:34:49.252] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:34:49.315] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:34:49.316] checking pkg-config is at least version 0.9.0... yes [07:34:49.332] checking whether to build with ICU support... no [07:34:49.332] checking whether to build with Tcl... no [07:34:49.332] checking whether to build Perl modules... no [07:34:49.332] checking whether to build Python modules... no [07:34:49.332] checking whether to build with GSSAPI support... no [07:34:49.333] checking whether to build with PAM support... no [07:34:49.333] checking whether to build with BSD Authentication support... no [07:34:49.333] checking whether to build with LDAP support... no [07:34:49.334] checking whether to build with Bonjour support... no [07:34:49.334] checking whether to build with SELinux support... no [07:34:49.334] checking whether to build with systemd support... no [07:34:49.334] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:34:49.334] checking whether to build with XML support... no [07:34:49.334] checking whether to build with LZ4 support... no [07:34:49.334] checking whether to build with ZSTD support... no [07:34:49.335] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:34:49.335] checking whether it is possible to strip libraries... yes [07:34:49.341] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:34:49.341] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:34:49.341] checking for a BSD-compatible install... /usr/bin/install -c [07:34:49.349] checking for tar... /usr/bin/tar [07:34:49.350] checking whether ln -s works... yes [07:34:49.350] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:34:49.352] checking for bison... /usr/bin/bison [07:34:49.354] configure: using bison (GNU Bison) 3.8.2 [07:34:49.356] checking for flex... /usr/bin/flex [07:34:49.367] configure: using flex 2.6.4 [07:34:49.367] checking for perl... /usr/bin/perl [07:34:49.370] configure: using perl 5.36.0 [07:34:49.372] checking for zic... /usr/sbin/zic [07:34:49.372] checking for a sed that does not truncate output... /usr/bin/sed [07:34:49.376] checking for grep that handles long lines and -e... /usr/bin/grep [07:34:49.378] checking for egrep... /usr/bin/grep -E [07:34:49.380] checking for ANSI C header files... yes [07:34:49.424] checking for sys/types.h... yes [07:34:49.441] checking for sys/stat.h... yes [07:34:49.455] checking for stdlib.h... yes [07:34:49.468] checking for string.h... yes [07:34:49.481] checking for memory.h... yes [07:34:49.494] checking for strings.h... yes [07:34:49.507] checking for inttypes.h... yes [07:34:49.522] checking for stdint.h... yes [07:34:49.535] checking for unistd.h... yes [07:34:49.550] checking for main in -lm... yes [07:34:49.593] checking for library containing setproctitle... no [07:34:49.676] checking for library containing dlsym... no [07:34:49.757] checking for library containing socket... -lws2_32 [07:34:49.878] checking for library containing getopt_long... none required [07:34:49.922] checking for library containing shm_open... no [07:34:50.004] checking for library containing shm_unlink... no [07:34:50.086] checking for library containing clock_gettime... no [07:34:50.170] checking for library containing shmget... no [07:34:50.253] checking for library containing backtrace_symbols... no [07:34:50.336] checking for library containing pthread_barrier_wait... -lpthread [07:34:50.419] checking for inflate in -lz... yes [07:34:50.462] checking for stdbool.h that conforms to C99... yes [07:34:50.509] checking for _Bool... yes [07:34:50.577] checking atomic.h usability... no [07:34:50.629] checking atomic.h presence... no [07:34:50.646] checking for atomic.h... no [07:34:50.649] checking copyfile.h usability... no [07:34:50.701] checking copyfile.h presence... no [07:34:50.718] checking for copyfile.h... no [07:34:50.720] checking execinfo.h usability... no [07:34:50.774] checking execinfo.h presence... no [07:34:50.793] checking for execinfo.h... no [07:34:50.796] checking getopt.h usability... yes [07:34:50.803] checking getopt.h presence... yes [07:34:50.818] checking for getopt.h... yes [07:34:50.825] checking ifaddrs.h usability... no [07:34:50.879] checking ifaddrs.h presence... no [07:34:50.897] checking for ifaddrs.h... no [07:34:50.901] checking mbarrier.h usability... no [07:34:50.954] checking mbarrier.h presence... no [07:34:50.972] checking for mbarrier.h... no [07:34:50.975] checking sys/epoll.h usability... no [07:34:51.029] checking sys/epoll.h presence... no [07:34:51.046] checking for sys/epoll.h... no [07:34:51.050] checking sys/event.h usability... no [07:34:51.103] checking sys/event.h presence... no [07:34:51.121] checking for sys/event.h... no [07:34:51.125] checking sys/personality.h usability... no [07:34:51.178] checking sys/personality.h presence... no [07:34:51.196] checking for sys/personality.h... no [07:34:51.200] checking sys/prctl.h usability... no [07:34:51.254] checking sys/prctl.h presence... no [07:34:51.272] checking for sys/prctl.h... no [07:34:51.275] checking sys/procctl.h usability... no [07:34:51.329] checking sys/procctl.h presence... no [07:34:51.348] checking for sys/procctl.h... no [07:34:51.351] checking sys/signalfd.h usability... no [07:34:51.406] checking sys/signalfd.h presence... no [07:34:51.426] checking for sys/signalfd.h... no [07:34:51.429] checking sys/ucred.h usability... no [07:34:51.484] checking sys/ucred.h presence... no [07:34:51.504] checking for sys/ucred.h... no [07:34:51.507] checking termios.h usability... no [07:34:51.561] checking termios.h presence... no [07:34:51.579] checking for termios.h... no [07:34:51.582] checking ucred.h usability... no [07:34:51.634] checking ucred.h presence... no [07:34:51.652] checking for ucred.h... no [07:34:51.654] checking xlocale.h usability... no [07:34:51.706] checking xlocale.h presence... no [07:34:51.722] checking for xlocale.h... no [07:34:51.725] checking zlib.h usability... yes [07:34:51.755] checking zlib.h presence... yes [07:34:51.772] checking for zlib.h... yes [07:34:51.773] checking for lz4... /usr/bin/lz4 [07:34:51.773] checking for zstd... /usr/bin/zstd [07:34:51.773] checking for openssl... /usr/bin/openssl [07:34:51.777] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [07:34:51.778] checking crtdefs.h usability... yes [07:34:51.784] checking crtdefs.h presence... yes [07:34:51.799] checking for crtdefs.h... yes [07:34:51.800] checking whether byte ordering is bigendian... no [07:34:51.866] checking for inline... inline [07:34:51.873] checking for printf format archetype... gnu_printf [07:34:51.880] checking for _Static_assert... yes [07:34:51.918] checking for typeof... typeof [07:34:51.925] checking for __builtin_types_compatible_p... yes [07:34:51.934] checking for __builtin_constant_p... yes [07:34:51.944] checking for __builtin_unreachable... yes [07:34:51.983] checking for computed goto support... yes [07:34:51.990] checking for struct tm.tm_zone... no [07:34:52.060] checking for union semun... no [07:34:52.091] checking for socklen_t... yes [07:34:53.199] checking for struct sockaddr.sa_len... no [07:34:55.112] checking for C/C++ restrict keyword... __restrict [07:34:55.124] checking for struct option... yes [07:34:55.163] checking whether assembler supports x86_64 popcntq... yes [07:34:55.170] checking size of off_t... 4 [07:34:55.408] 0 [07:34:55.408] checking size of bool... 1 [07:34:55.449] checking for int timezone... yes [07:34:55.497] checking for backtrace_symbols... no [07:34:55.544] checking for copyfile... no [07:34:55.591] checking for copy_file_range... no [07:34:55.638] checking for getifaddrs... no [07:34:55.685] checking for getpeerucred... no [07:34:55.734] checking for inet_pton... yes [07:34:55.782] checking for kqueue... no [07:34:55.829] checking for mbstowcs_l... no [07:34:55.877] checking for memset_s... no [07:34:55.924] checking for posix_fallocate... no [07:34:55.970] checking for ppoll... no [07:34:56.018] checking for pthread_is_threaded_np... no [07:34:56.065] checking for setproctitle... no [07:34:56.113] checking for setproctitle_fast... no [07:34:56.160] checking for strchrnul... no [07:34:56.207] checking for strsignal... no [07:34:56.254] checking for syncfs... no [07:34:56.301] checking for sync_file_range... no [07:34:56.348] checking for uselocale... no [07:34:56.395] checking for wcstombs_l... no [07:34:56.440] checking for __builtin_bswap16... yes [07:34:56.486] checking for __builtin_bswap32... yes [07:34:56.530] checking for __builtin_bswap64... yes [07:34:56.575] checking for __builtin_clz... yes [07:34:56.621] checking for __builtin_ctz... yes [07:34:56.665] checking for __builtin_popcount... yes [07:34:56.710] checking for __builtin_frame_address... yes [07:34:56.754] checking for _LARGEFILE_SOURCE value needed for large files... no [07:34:56.803] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:34:56.831] checking for posix_fadvise... no [07:34:56.879] checking whether posix_fadvise is declared... no [07:34:56.921] checking whether fdatasync is declared... no [07:34:56.963] checking whether strlcat is declared... no [07:34:57.022] checking whether strlcpy is declared... no [07:34:57.082] checking whether strnlen is declared... yes [07:34:57.146] checking whether strsep is declared... no [07:34:57.206] checking whether preadv is declared... no [07:34:57.240] checking whether pwritev is declared... no [07:34:57.273] checking whether F_FULLFSYNC is declared... no [07:34:57.311] checking for explicit_bzero... no [07:34:57.355] checking for getopt... yes [07:34:57.398] checking for getpeereid... no [07:34:57.444] checking for inet_aton... no [07:34:57.490] checking for mkdtemp... no [07:34:57.535] checking for strlcat... no [07:34:57.580] checking for strlcpy... no [07:34:57.625] checking for strnlen... yes [07:34:57.669] checking for strsep... no [07:34:57.714] checking for pthread_barrier_wait... yes [07:34:57.755] configure: On mingw32 we will use our strtof wrapper. [07:34:57.755] checking for getopt_long... yes [07:34:57.797] checking for _configthreadlocale... yes [07:34:57.838] checking for syslog... no [07:34:57.882] checking for opterr... yes [07:34:57.927] checking for optreset... no [07:34:57.977] checking test program... cross-compiling [07:34:57.977] checking whether long int is 64 bits... no [07:34:58.006] checking whether long long int is 64 bits... yes [07:34:58.015] checking for __builtin_mul_overflow... yes [07:34:58.056] checking size of void *... 8 [07:34:58.307] checking size of size_t... 8 [07:34:58.563] checking size of long... 4 [07:34:58.754] checking alignment of short... 2 [07:34:58.882] checking alignment of int... 4 [07:34:59.073] checking alignment of long... 4 [07:34:59.340] checking alignment of long long int... 8 [07:34:59.616] checking alignment of double... 8 [07:34:59.919] checking for __int128... yes [07:34:59.964] checking for __int128 alignment bug... assuming ok [07:34:59.964] checking alignment of PG_INT128_TYPE... 16 [07:35:00.299] checking for builtin __sync char locking functions... yes [07:35:00.339] checking for builtin __sync int32 locking functions... yes [07:35:00.380] checking for builtin __sync int32 atomic operations... yes [07:35:00.420] checking for builtin __sync int64 atomic operations... yes [07:35:00.461] checking for builtin __atomic int32 atomic operations... yes [07:35:00.502] checking for builtin __atomic int64 atomic operations... yes [07:35:00.543] checking for __get_cpuid... yes [07:35:00.588] checking for __get_cpuid_count... yes [07:35:00.633] checking for __cpuid... no [07:35:01.028] checking for __cpuidex... no [07:35:01.442] checking for _xgetbv... yes [07:35:01.838] checking for _mm512_popcnt_epi64... yes [07:35:02.250] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:35:02.294] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:35:02.379] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:35:02.401] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:35:02.419] 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 [07:35:02.473] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:35:02.473] checking which random number source to use... Windows native [07:35:02.475] checking for xmllint... /usr/bin/xmllint [07:35:02.475] checking for xsltproc... /usr/bin/xsltproc [07:35:02.475] checking for fop... /usr/bin/fop [07:35:02.476] checking for dbtoepub... no [07:35:02.476] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:35:02.476] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:35:02.476] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:35:02.486] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:35:02.486] 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 [07:35:02.486] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:35:02.486] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:35:02.565] configure: creating ./config.status [07:35:02.644] config.status: creating GNUmakefile [07:35:02.655] config.status: creating src/Makefile.global [07:35:02.669] config.status: creating src/include/pg_config.h [07:35:02.681] config.status: creating src/include/pg_config_ext.h [07:35:02.692] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:35:02.707] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:35:02.714] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:35:02.720] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:35:02.727] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:35:02.733] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:35:02.736] config.status: executing check_win32_symlinks commands [07:35:02.769] [07:35:02.769] real 0m14.983s [07:35:02.769] user 0m9.979s [07:35:02.769] sys 0m4.549s [07:35:02.769] make -s -j${BUILD_JOBS} clean [07:35:03.275] time make -s -j${BUILD_JOBS} world-bin [07:35:38.857] In file included from ../../../../src/include/postgres.h:47, [07:35:38.857] from xlogrecovery.c:25: [07:35:38.857] In function ‘MemoryContextSwitchTo’, [07:35:38.857] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [07:35:38.857] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [07:35:38.857] 128 | CurrentMemoryContext = context; [07:35:38.857] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [07:35:38.857] xlogrecovery.c: In function ‘PerformWalRecovery’: [07:35:38.857] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [07:35:38.857] 1731 | MemoryContext oldCtx; [07:35:38.857] | ^~~~~~ [07:35:38.857] cc1: all warnings being treated as errors [07:35:38.858] make[4]: *** [: xlogrecovery.o] Error 1 [07:35:38.858] make[4]: *** Waiting for unfinished jobs.... [07:35:39.343] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [07:35:39.344] make[2]: *** [common.mk:37: access-recursive] Error 2 [07:35:39.344] make[2]: *** Waiting for unfinished jobs.... [07:35:40.899] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:35:40.900] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:35:40.900] [07:35:40.900] real 0m37.625s [07:35:40.900] user 1m46.360s [07:35:40.900] sys 0m29.441s [07:35:40.900] [07:35:40.900] Exit status: 2