[03:07:04.879] time ./configure \ [03:07:04.879] --host=x86_64-w64-mingw32 \ [03:07:04.879] --enable-cassert \ [03:07:04.879] --without-icu \ [03:07:04.879] CC="ccache x86_64-w64-mingw32-gcc" \ [03:07:04.879] CXX="ccache x86_64-w64-mingw32-g++" [03:07:05.020] checking build system type... x86_64-pc-linux-gnu [03:07:05.244] checking host system type... x86_64-w64-mingw32 [03:07:05.250] checking which template to use... win32 [03:07:05.250] checking whether NLS is wanted... no [03:07:05.251] checking for default port number... 5432 [03:07:05.259] checking for block size... 8kB [03:07:05.261] checking for segment size... 1GB [03:07:05.264] checking for WAL block size... 8kB [03:07:05.266] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [03:07:05.306] checking whether the C compiler works... yes [03:07:05.468] checking for C compiler default output file name... a.exe [03:07:05.469] checking for suffix of executables... .exe [03:07:05.515] checking whether we are cross compiling... yes [03:07:05.604] checking for suffix of object files... o [03:07:05.614] checking whether we are using the GNU C compiler... yes [03:07:05.623] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [03:07:05.631] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [03:07:05.645] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [03:07:05.719] checking whether we are using the GNU C++ compiler... yes [03:07:05.727] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [03:07:05.811] checking for gawk... no [03:07:05.811] checking for mawk... mawk [03:07:05.814] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [03:07:05.823] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [03:07:05.842] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [03:07:05.893] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [03:07:06.086] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [03:07:06.095] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [03:07:06.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [03:07:06.113] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [03:07:06.122] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [03:07:06.131] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [03:07:06.140] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [03:07:06.149] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [03:07:06.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [03:07:06.177] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [03:07:06.185] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [03:07:06.194] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [03:07:06.203] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [03:07:06.243] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [03:07:06.251] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [03:07:06.259] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [03:07:06.267] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [03:07:06.304] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [03:07:06.313] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [03:07:06.342] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [03:07:06.350] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [03:07:06.358] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [03:07:06.402] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [03:07:06.445] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [03:07:06.454] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [03:07:06.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [03:07:06.500] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [03:07:06.509] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [03:07:06.517] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [03:07:06.527] checking whether the C compiler still works... yes [03:07:06.602] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [03:07:06.690] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [03:07:06.690] checking pkg-config is at least version 0.9.0... yes [03:07:06.708] checking whether to build with ICU support... no [03:07:06.709] checking whether to build with Tcl... no [03:07:06.709] checking whether to build Perl modules... no [03:07:06.709] checking whether to build Python modules... no [03:07:06.709] checking whether to build with GSSAPI support... no [03:07:06.711] checking whether to build with PAM support... no [03:07:06.711] checking whether to build with BSD Authentication support... no [03:07:06.711] checking whether to build with LDAP support... no [03:07:06.711] checking whether to build with Bonjour support... no [03:07:06.711] checking whether to build with SELinux support... no [03:07:06.711] checking whether to build with systemd support... no [03:07:06.711] configure: WARNING: *** Readline does not work on MinGW --- disabling [03:07:06.711] checking whether to build with XML support... no [03:07:06.712] checking whether to build with LZ4 support... no [03:07:06.712] checking whether to build with ZSTD support... no [03:07:06.712] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [03:07:06.713] checking whether it is possible to strip libraries... yes [03:07:06.724] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [03:07:06.724] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [03:07:06.724] checking for a BSD-compatible install... /usr/bin/install -c [03:07:06.736] checking for tar... /usr/bin/tar [03:07:06.736] checking whether ln -s works... yes [03:07:06.736] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [03:07:06.739] checking for bison... /usr/bin/bison [03:07:06.742] configure: using bison (GNU Bison) 3.8.2 [03:07:06.745] checking for flex... /usr/bin/flex [03:07:06.762] configure: using flex 2.6.4 [03:07:06.762] checking for perl... /usr/bin/perl [03:07:06.765] configure: using perl 5.36.0 [03:07:06.768] checking for zic... /usr/sbin/zic [03:07:06.769] checking for a sed that does not truncate output... /usr/bin/sed [03:07:06.775] checking for grep that handles long lines and -e... /usr/bin/grep [03:07:06.778] checking for egrep... /usr/bin/grep -E [03:07:06.780] checking for ANSI C header files... yes [03:07:06.836] checking for sys/types.h... yes [03:07:06.857] checking for sys/stat.h... yes [03:07:06.877] checking for stdlib.h... yes [03:07:06.895] checking for string.h... yes [03:07:06.912] checking for memory.h... yes [03:07:06.930] checking for strings.h... yes [03:07:06.949] checking for inttypes.h... yes [03:07:06.970] checking for stdint.h... yes [03:07:06.988] checking for unistd.h... yes [03:07:07.008] checking for main in -lm... yes [03:07:07.062] checking for library containing setproctitle... no [03:07:07.164] checking for library containing dlsym... no [03:07:07.275] checking for library containing socket... -lws2_32 [03:07:07.420] checking for library containing getopt_long... none required [03:07:07.474] checking for library containing shm_open... no [03:07:07.574] checking for library containing shm_unlink... no [03:07:07.673] checking for library containing clock_gettime... no [03:07:07.775] checking for library containing shmget... no [03:07:07.876] checking for library containing backtrace_symbols... no [03:07:07.976] checking for library containing pthread_barrier_wait... -lpthread [03:07:08.078] checking for inflate in -lz... yes [03:07:08.130] checking for stdbool.h that conforms to C99... yes [03:07:08.143] checking for _Bool... yes [03:07:08.229] checking atomic.h usability... no [03:07:08.288] checking atomic.h presence... no [03:07:08.310] checking for atomic.h... no [03:07:08.314] checking copyfile.h usability... no [03:07:08.376] checking copyfile.h presence... no [03:07:08.398] checking for copyfile.h... no [03:07:08.402] checking execinfo.h usability... no [03:07:08.464] checking execinfo.h presence... no [03:07:08.486] checking for execinfo.h... no [03:07:08.490] checking getopt.h usability... yes [03:07:08.499] checking getopt.h presence... yes [03:07:08.516] checking for getopt.h... yes [03:07:08.526] checking ifaddrs.h usability... no [03:07:08.589] checking ifaddrs.h presence... no [03:07:08.611] checking for ifaddrs.h... no [03:07:08.614] checking mbarrier.h usability... no [03:07:08.677] checking mbarrier.h presence... no [03:07:08.700] checking for mbarrier.h... no [03:07:08.704] checking sys/epoll.h usability... no [03:07:08.769] checking sys/epoll.h presence... no [03:07:08.793] checking for sys/epoll.h... no [03:07:08.797] checking sys/event.h usability... no [03:07:08.859] checking sys/event.h presence... no [03:07:08.882] checking for sys/event.h... no [03:07:08.886] checking sys/personality.h usability... no [03:07:08.949] checking sys/personality.h presence... no [03:07:08.971] checking for sys/personality.h... no [03:07:08.975] checking sys/prctl.h usability... no [03:07:09.037] checking sys/prctl.h presence... no [03:07:09.059] checking for sys/prctl.h... no [03:07:09.062] checking sys/procctl.h usability... no [03:07:09.121] checking sys/procctl.h presence... no [03:07:09.143] checking for sys/procctl.h... no [03:07:09.146] checking sys/signalfd.h usability... no [03:07:09.210] checking sys/signalfd.h presence... no [03:07:09.234] checking for sys/signalfd.h... no [03:07:09.239] checking sys/ucred.h usability... no [03:07:09.303] checking sys/ucred.h presence... no [03:07:09.326] checking for sys/ucred.h... no [03:07:09.329] checking termios.h usability... no [03:07:09.390] checking termios.h presence... no [03:07:09.414] checking for termios.h... no [03:07:09.418] checking ucred.h usability... no [03:07:09.479] checking ucred.h presence... no [03:07:09.501] checking for ucred.h... no [03:07:09.505] checking zlib.h usability... yes [03:07:09.574] checking zlib.h presence... yes [03:07:09.596] checking for zlib.h... yes [03:07:09.597] checking for lz4... /usr/bin/lz4 [03:07:09.597] checking for zstd... /usr/bin/zstd [03:07:09.598] checking for openssl... /usr/bin/openssl [03:07:09.603] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [03:07:09.603] checking crtdefs.h usability... yes [03:07:09.612] checking crtdefs.h presence... yes [03:07:09.630] checking for crtdefs.h... yes [03:07:09.631] checking whether byte ordering is bigendian... no [03:07:09.723] checking for inline... inline [03:07:09.731] checking for printf format archetype... gnu_printf [03:07:09.743] checking for _Static_assert... yes [03:07:09.790] checking for typeof... typeof [03:07:09.799] checking for __builtin_types_compatible_p... yes [03:07:09.813] checking for __builtin_constant_p... yes [03:07:09.827] checking for __builtin_unreachable... yes [03:07:09.874] checking for computed goto support... yes [03:07:09.883] checking for struct tm.tm_zone... no [03:07:09.973] checking for union semun... no [03:07:10.013] checking for socklen_t... yes [03:07:11.782] checking for struct sockaddr.sa_len... no [03:07:14.054] checking for locale_t... no [03:07:14.142] checking for C/C++ restrict keyword... __restrict [03:07:14.158] checking for struct option... yes [03:07:14.209] checking whether assembler supports x86_64 popcntq... yes [03:07:14.218] checking size of off_t... 4 [03:07:14.445] 0 [03:07:14.446] checking size of bool... 1 [03:07:14.526] checking for int timezone... yes [03:07:14.580] checking for wcstombs_l declaration... no [03:07:14.679] checking for backtrace_symbols... no [03:07:14.736] checking for copyfile... no [03:07:14.791] checking for copy_file_range... no [03:07:14.845] checking for getifaddrs... no [03:07:14.900] checking for getpeerucred... no [03:07:14.957] checking for inet_pton... yes [03:07:15.014] checking for kqueue... no [03:07:15.074] checking for mbstowcs_l... no [03:07:15.133] checking for memset_s... no [03:07:15.191] checking for posix_fallocate... no [03:07:15.249] checking for ppoll... no [03:07:15.308] checking for pthread_is_threaded_np... no [03:07:15.365] checking for setproctitle... no [03:07:15.424] checking for setproctitle_fast... no [03:07:15.483] checking for strchrnul... no [03:07:15.540] checking for strsignal... no [03:07:15.599] checking for syncfs... no [03:07:15.657] checking for sync_file_range... no [03:07:15.715] checking for uselocale... no [03:07:15.771] checking for wcstombs_l... no [03:07:15.824] checking for __builtin_bswap16... yes [03:07:15.876] checking for __builtin_bswap32... yes [03:07:15.927] checking for __builtin_bswap64... yes [03:07:15.981] checking for __builtin_clz... yes [03:07:16.036] checking for __builtin_ctz... yes [03:07:16.087] checking for __builtin_popcount... yes [03:07:16.141] checking for __builtin_frame_address... yes [03:07:16.194] checking for _LARGEFILE_SOURCE value needed for large files... no [03:07:16.252] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [03:07:16.289] checking for posix_fadvise... no [03:07:16.349] checking whether posix_fadvise is declared... no [03:07:16.401] checking whether fdatasync is declared... no [03:07:16.454] checking whether strlcat is declared... no [03:07:16.528] checking whether strlcpy is declared... no [03:07:16.602] checking whether strnlen is declared... yes [03:07:16.618] checking whether strsep is declared... no [03:07:16.690] checking whether preadv is declared... no [03:07:16.735] checking whether pwritev is declared... no [03:07:16.780] checking whether F_FULLFSYNC is declared... no [03:07:16.825] checking for explicit_bzero... no [03:07:16.884] checking for getopt... yes [03:07:16.936] checking for getpeereid... no [03:07:16.987] checking for inet_aton... no [03:07:17.041] checking for mkdtemp... no [03:07:17.096] checking for strlcat... no [03:07:17.148] checking for strlcpy... no [03:07:17.205] checking for strnlen... yes [03:07:17.258] checking for strsep... no [03:07:17.313] checking for pthread_barrier_wait... yes [03:07:17.363] configure: On mingw32 we will use our strtof wrapper. [03:07:17.363] checking for getopt_long... yes [03:07:17.414] checking for _configthreadlocale... yes [03:07:17.463] checking for syslog... no [03:07:17.515] checking for opterr... yes [03:07:17.568] checking for optreset... no [03:07:17.625] checking test program... cross-compiling [03:07:17.626] checking whether long int is 64 bits... no [03:07:17.663] checking whether long long int is 64 bits... yes [03:07:17.674] checking for __builtin_mul_overflow... yes [03:07:17.723] checking size of void *... 8 [03:07:18.031] checking size of size_t... 8 [03:07:18.334] checking size of long... 4 [03:07:18.571] checking alignment of short... 2 [03:07:18.729] checking alignment of int... 4 [03:07:19.018] checking alignment of long... 4 [03:07:19.252] checking alignment of long long int... 8 [03:07:19.575] checking alignment of double... 8 [03:07:19.880] checking for int8... no [03:07:19.929] checking for uint8... no [03:07:19.975] checking for int64... no [03:07:20.022] checking for uint64... no [03:07:20.067] checking for __int128... yes [03:07:20.122] checking for __int128 alignment bug... assuming ok [03:07:20.123] checking alignment of PG_INT128_TYPE... 16 [03:07:20.490] checking for builtin __sync char locking functions... yes [03:07:20.536] checking for builtin __sync int32 locking functions... yes [03:07:20.582] checking for builtin __sync int32 atomic operations... yes [03:07:20.628] checking for builtin __sync int64 atomic operations... yes [03:07:20.675] checking for builtin __atomic int32 atomic operations... yes [03:07:20.723] checking for builtin __atomic int64 atomic operations... yes [03:07:20.770] checking for __get_cpuid... yes [03:07:20.824] checking for __get_cpuid_count... yes [03:07:20.873] checking for __cpuid... no [03:07:21.289] checking for __cpuidex... no [03:07:21.728] checking for _xgetbv with CFLAGS=... no [03:07:22.124] checking for _xgetbv with CFLAGS=-mxsave... yes [03:07:22.546] checking for _mm512_popcnt_epi64 with CFLAGS=... no [03:07:22.951] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [03:07:23.310] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [03:07:23.363] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [03:07:23.463] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [03:07:23.489] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [03:07:23.512] 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 [03:07:23.571] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [03:07:23.571] checking which random number source to use... Windows native [03:07:23.573] checking for xmllint... /usr/bin/xmllint [03:07:23.573] checking for xsltproc... /usr/bin/xsltproc [03:07:23.573] checking for fop... /usr/bin/fop [03:07:23.574] checking for dbtoepub... no [03:07:23.574] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [03:07:23.574] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [03:07:23.574] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [03:07:23.587] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [03:07:23.587] 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 [03:07:23.587] configure: using CPPFLAGS= -I./src/include/port/win32 [03:07:23.587] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [03:07:23.687] configure: creating ./config.status [03:07:23.792] config.status: creating GNUmakefile [03:07:23.807] config.status: creating src/Makefile.global [03:07:23.826] config.status: creating src/include/pg_config.h [03:07:23.843] config.status: creating src/include/pg_config_ext.h [03:07:23.858] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [03:07:23.877] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [03:07:23.886] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [03:07:23.895] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [03:07:23.904] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [03:07:23.913] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [03:07:23.917] config.status: executing check_win32_symlinks commands [03:07:23.955] [03:07:23.955] real 0m19.076s [03:07:23.955] user 0m12.620s [03:07:23.955] sys 0m5.985s [03:07:23.955] make -s -j${BUILD_JOBS} clean [03:07:24.529] time make -s -j${BUILD_JOBS} world-bin [03:08:10.442] In file included from ../../../../src/include/postgres.h:47, [03:08:10.442] from xlogrecovery.c:25: [03:08:10.442] In function ‘MemoryContextSwitchTo’, [03:08:10.442] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [03:08:10.442] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [03:08:10.442] 128 | CurrentMemoryContext = context; [03:08:10.442] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [03:08:10.442] xlogrecovery.c: In function ‘PerformWalRecovery’: [03:08:10.442] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [03:08:10.442] 1732 | MemoryContext oldCtx; [03:08:10.442] | ^~~~~~ [03:08:10.442] cc1: all warnings being treated as errors [03:08:10.444] make[4]: *** [: xlogrecovery.o] Error 1 [03:08:10.444] make[4]: *** Waiting for unfinished jobs.... [03:08:10.807] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [03:08:10.807] make[2]: *** [common.mk:37: access-recursive] Error 2 [03:08:10.807] make[2]: *** Waiting for unfinished jobs.... [03:08:11.695] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [03:08:11.695] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [03:08:11.696] [03:08:11.696] real 0m47.168s [03:08:11.696] user 2m15.070s [03:08:11.696] sys 0m37.838s [03:08:11.696] [03:08:11.696] Exit status: 2