[19:00:06.790] time ./configure \ [19:00:06.790] --host=x86_64-w64-mingw32 \ [19:00:06.790] --enable-cassert \ [19:00:06.790] --without-icu \ [19:00:06.790] CC="ccache x86_64-w64-mingw32-gcc" \ [19:00:06.790] CXX="ccache x86_64-w64-mingw32-g++" [19:00:06.908] checking build system type... x86_64-pc-linux-gnu [19:00:07.100] checking host system type... x86_64-w64-mingw32 [19:00:07.106] checking which template to use... win32 [19:00:07.106] checking whether NLS is wanted... no [19:00:07.106] checking for default port number... 5432 [19:00:07.113] checking for block size... 8kB [19:00:07.114] checking for segment size... 1GB [19:00:07.117] checking for WAL block size... 8kB [19:00:07.118] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:00:07.153] checking whether the C compiler works... yes [19:00:07.310] checking for C compiler default output file name... a.exe [19:00:07.311] checking for suffix of executables... .exe [19:00:07.353] checking whether we are cross compiling... yes [19:00:07.427] checking for suffix of object files... o [19:00:07.436] checking whether we are using the GNU C compiler... yes [19:00:07.442] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:00:07.449] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:00:07.460] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:00:07.519] checking whether we are using the GNU C++ compiler... yes [19:00:07.526] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:00:07.804] checking for gawk... no [19:00:07.804] checking for mawk... mawk [19:00:07.807] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:00:07.814] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:00:07.830] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:00:07.877] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:00:07.923] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:00:07.930] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:00:07.937] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:00:07.971] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:00:07.988] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:00:07.995] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:00:08.003] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:00:08.019] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:00:08.026] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:00:08.033] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:00:08.040] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:00:08.047] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:00:08.055] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:00:08.092] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:00:08.110] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:00:08.144] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:00:08.151] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:00:08.159] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:00:08.166] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:00:08.190] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:00:08.197] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:00:08.205] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:00:08.243] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:00:08.282] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:00:08.288] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:00:08.295] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:00:08.329] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:00:08.336] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:00:08.343] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:00:08.360] checking whether the C compiler still works... yes [19:00:08.424] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:00:08.496] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:00:08.496] checking pkg-config is at least version 0.9.0... yes [19:00:08.514] checking whether to build with ICU support... no [19:00:08.514] checking whether to build with Tcl... no [19:00:08.514] checking whether to build Perl modules... no [19:00:08.514] checking whether to build Python modules... no [19:00:08.515] checking whether to build with GSSAPI support... no [19:00:08.516] checking whether to build with PAM support... no [19:00:08.516] checking whether to build with BSD Authentication support... no [19:00:08.516] checking whether to build with LDAP support... no [19:00:08.516] checking whether to build with Bonjour support... no [19:00:08.516] checking whether to build with SELinux support... no [19:00:08.516] checking whether to build with systemd support... no [19:00:08.516] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:00:08.516] checking whether to build with XML support... no [19:00:08.517] checking whether to build with LZ4 support... no [19:00:08.517] checking whether to build with ZSTD support... no [19:00:08.517] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:00:08.517] checking whether it is possible to strip libraries... yes [19:00:08.524] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:00:08.524] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:00:08.524] checking for a BSD-compatible install... /usr/bin/install -c [19:00:08.533] checking for tar... /usr/bin/tar [19:00:08.533] checking whether ln -s works... yes [19:00:08.533] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:00:08.535] checking for bison... /usr/bin/bison [19:00:08.537] configure: using bison (GNU Bison) 3.8.2 [19:00:08.540] checking for flex... /usr/bin/flex [19:00:08.551] configure: using flex 2.6.4 [19:00:08.552] checking for perl... /usr/bin/perl [19:00:08.554] configure: using perl 5.36.0 [19:00:08.556] checking for zic... /usr/sbin/zic [19:00:08.556] checking for a sed that does not truncate output... /usr/bin/sed [19:00:08.561] checking for grep that handles long lines and -e... /usr/bin/grep [19:00:08.563] checking for egrep... /usr/bin/grep -E [19:00:08.564] checking for ANSI C header files... yes [19:00:08.613] checking for sys/types.h... yes [19:00:08.630] checking for sys/stat.h... yes [19:00:08.647] checking for stdlib.h... yes [19:00:08.661] checking for string.h... yes [19:00:08.676] checking for memory.h... yes [19:00:08.691] checking for strings.h... yes [19:00:08.706] checking for inttypes.h... yes [19:00:08.723] checking for stdint.h... yes [19:00:08.737] checking for unistd.h... yes [19:00:08.753] checking for main in -lm... yes [19:00:08.800] checking for library containing setproctitle... no [19:00:08.890] checking for library containing dlsym... no [19:00:08.978] checking for library containing socket... -lws2_32 [19:00:09.110] checking for library containing getopt_long... none required [19:00:09.156] checking for library containing shm_open... no [19:00:09.244] checking for library containing shm_unlink... no [19:00:09.331] checking for library containing clock_gettime... no [19:00:09.420] checking for library containing shmget... no [19:00:09.509] checking for library containing backtrace_symbols... no [19:00:09.597] checking for library containing pthread_barrier_wait... -lpthread [19:00:09.682] checking for inflate in -lz... yes [19:00:09.728] checking for stdbool.h that conforms to C99... yes [19:00:09.740] checking for _Bool... yes [19:00:09.837] checking atomic.h usability... no [19:00:09.893] checking atomic.h presence... no [19:00:09.911] checking for atomic.h... no [19:00:09.915] checking copyfile.h usability... no [19:00:09.970] checking copyfile.h presence... no [19:00:09.990] checking for copyfile.h... no [19:00:09.994] checking execinfo.h usability... no [19:00:10.049] checking execinfo.h presence... no [19:00:10.067] checking for execinfo.h... no [19:00:10.070] checking getopt.h usability... yes [19:00:10.123] checking getopt.h presence... yes [19:00:10.138] checking for getopt.h... yes [19:00:10.145] checking ifaddrs.h usability... no [19:00:10.198] checking ifaddrs.h presence... no [19:00:10.217] checking for ifaddrs.h... no [19:00:10.220] checking mbarrier.h usability... no [19:00:10.273] checking mbarrier.h presence... no [19:00:10.291] checking for mbarrier.h... no [19:00:10.294] checking sys/epoll.h usability... no [19:00:10.348] checking sys/epoll.h presence... no [19:00:10.368] checking for sys/epoll.h... no [19:00:10.371] checking sys/event.h usability... no [19:00:10.426] checking sys/event.h presence... no [19:00:10.445] checking for sys/event.h... no [19:00:10.448] checking sys/personality.h usability... no [19:00:10.505] checking sys/personality.h presence... no [19:00:10.525] checking for sys/personality.h... no [19:00:10.528] checking sys/prctl.h usability... no [19:00:10.584] checking sys/prctl.h presence... no [19:00:10.603] checking for sys/prctl.h... no [19:00:10.607] checking sys/procctl.h usability... no [19:00:10.664] checking sys/procctl.h presence... no [19:00:10.685] checking for sys/procctl.h... no [19:00:10.689] checking sys/signalfd.h usability... no [19:00:10.745] checking sys/signalfd.h presence... no [19:00:10.765] checking for sys/signalfd.h... no [19:00:10.768] checking sys/ucred.h usability... no [19:00:10.824] checking sys/ucred.h presence... no [19:00:10.843] checking for sys/ucred.h... no [19:00:10.846] checking termios.h usability... no [19:00:10.904] checking termios.h presence... no [19:00:10.923] checking for termios.h... no [19:00:10.926] checking ucred.h usability... no [19:00:10.981] checking ucred.h presence... no [19:00:11.001] checking for ucred.h... no [19:00:11.004] checking zlib.h usability... yes [19:00:11.014] checking zlib.h presence... yes [19:00:11.033] checking for zlib.h... yes [19:00:11.034] checking for lz4... /usr/bin/lz4 [19:00:11.034] checking for zstd... /usr/bin/zstd [19:00:11.034] checking for openssl... /usr/bin/openssl [19:00:11.038] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [19:00:11.039] checking crtdefs.h usability... yes [19:00:11.095] checking crtdefs.h presence... yes [19:00:11.111] checking for crtdefs.h... yes [19:00:11.112] checking whether byte ordering is bigendian... no [19:00:11.190] checking for inline... inline [19:00:11.198] checking for printf format archetype... gnu_printf [19:00:11.208] checking for _Static_assert... yes [19:00:11.250] checking for typeof... typeof [19:00:11.258] checking for __builtin_types_compatible_p... yes [19:00:11.269] checking for __builtin_constant_p... yes [19:00:11.281] checking for __builtin_unreachable... yes [19:00:11.323] checking for computed goto support... yes [19:00:11.340] checking for struct tm.tm_zone... no [19:00:11.421] checking for union semun... no [19:00:11.457] checking for socklen_t... yes [19:00:12.705] checking for struct sockaddr.sa_len... no [19:00:14.808] checking for locale_t... no [19:00:14.876] checking for C/C++ restrict keyword... __restrict [19:00:14.890] checking for struct option... yes [19:00:14.934] checking whether assembler supports x86_64 popcntq... yes [19:00:14.942] checking size of off_t... 4 [19:00:15.210] 0 [19:00:15.210] checking size of bool... 1 [19:00:15.259] checking for int timezone... yes [19:00:15.310] checking for wcstombs_l declaration... no [19:00:15.399] checking for backtrace_symbols... no [19:00:15.451] checking for copyfile... no [19:00:15.502] checking for copy_file_range... no [19:00:15.554] checking for getifaddrs... no [19:00:15.604] checking for getpeerucred... no [19:00:15.656] checking for inet_pton... yes [19:00:15.707] checking for kqueue... no [19:00:15.761] checking for mbstowcs_l... no [19:00:15.811] checking for memset_s... no [19:00:15.861] checking for posix_fallocate... no [19:00:15.910] checking for ppoll... no [19:00:15.960] checking for pthread_is_threaded_np... no [19:00:16.012] checking for setproctitle... no [19:00:16.065] checking for setproctitle_fast... no [19:00:16.116] checking for strchrnul... no [19:00:16.170] checking for strsignal... no [19:00:16.223] checking for syncfs... no [19:00:16.275] checking for sync_file_range... no [19:00:16.328] checking for uselocale... no [19:00:16.378] checking for wcstombs_l... no [19:00:16.426] checking for __builtin_bswap16... yes [19:00:16.477] checking for __builtin_bswap32... yes [19:00:16.525] checking for __builtin_bswap64... yes [19:00:16.575] checking for __builtin_clz... yes [19:00:16.626] checking for __builtin_ctz... yes [19:00:16.676] checking for __builtin_popcount... yes [19:00:16.726] checking for __builtin_frame_address... yes [19:00:16.776] checking for _LARGEFILE_SOURCE value needed for large files... no [19:00:16.832] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:00:16.865] checking for posix_fadvise... no [19:00:16.917] checking whether posix_fadvise is declared... no [19:00:16.965] checking whether fdatasync is declared... no [19:00:17.014] checking whether strlcat is declared... no [19:00:17.079] checking whether strlcpy is declared... no [19:00:17.145] checking whether strnlen is declared... yes [19:00:17.159] checking whether strsep is declared... no [19:00:17.225] checking whether preadv is declared... no [19:00:17.265] checking whether pwritev is declared... no [19:00:17.304] checking whether F_FULLFSYNC is declared... no [19:00:17.346] checking for explicit_bzero... no [19:00:17.395] checking for getopt... yes [19:00:17.440] checking for getpeereid... no [19:00:17.489] checking for inet_aton... no [19:00:17.538] checking for mkdtemp... no [19:00:17.587] checking for strlcat... no [19:00:17.635] checking for strlcpy... no [19:00:17.684] checking for strnlen... yes [19:00:17.732] checking for strsep... no [19:00:17.781] checking for pthread_barrier_wait... yes [19:00:17.824] configure: On mingw32 we will use our strtof wrapper. [19:00:17.824] checking for getopt_long... yes [19:00:17.869] checking for _configthreadlocale... yes [19:00:17.914] checking for syslog... no [19:00:17.961] checking for opterr... yes [19:00:18.008] checking for optreset... no [19:00:18.058] checking test program... cross-compiling [19:00:18.058] checking whether long int is 64 bits... no [19:00:18.089] checking whether long long int is 64 bits... yes [19:00:18.125] checking for __builtin_mul_overflow... yes [19:00:18.168] checking size of void *... 8 [19:00:18.515] checking size of size_t... 8 [19:00:18.794] checking size of long... 4 [19:00:19.002] checking alignment of short... 2 [19:00:19.139] checking alignment of int... 4 [19:00:19.369] checking alignment of long... 4 [19:00:19.598] checking alignment of long long int... 8 [19:00:19.949] checking alignment of double... 8 [19:00:20.280] checking for int8... no [19:00:20.324] checking for uint8... no [19:00:20.367] checking for int64... no [19:00:20.410] checking for uint64... no [19:00:20.452] checking for __int128... yes [19:00:20.500] checking for __int128 alignment bug... assuming ok [19:00:20.501] checking alignment of PG_INT128_TYPE... 16 [19:00:20.859] checking for builtin __sync char locking functions... yes [19:00:20.902] checking for builtin __sync int32 locking functions... yes [19:00:20.944] checking for builtin __sync int32 atomic operations... yes [19:00:20.988] checking for builtin __sync int64 atomic operations... yes [19:00:21.032] checking for builtin __atomic int32 atomic operations... yes [19:00:21.075] checking for builtin __atomic int64 atomic operations... yes [19:00:21.118] checking for __get_cpuid... yes [19:00:21.165] checking for __get_cpuid_count... yes [19:00:21.209] checking for __cpuid... no [19:00:21.605] checking for __cpuidex... no [19:00:22.029] checking for _xgetbv with CFLAGS=... no [19:00:22.403] checking for _xgetbv with CFLAGS=-mxsave... yes [19:00:22.799] checking for _mm512_popcnt_epi64 with CFLAGS=... no [19:00:23.182] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [19:00:23.518] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:00:23.567] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:00:23.656] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:00:23.679] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:00:23.699] 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 [19:00:23.755] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:00:23.755] checking which random number source to use... Windows native [19:00:23.757] checking for xmllint... /usr/bin/xmllint [19:00:23.757] checking for xsltproc... /usr/bin/xsltproc [19:00:23.758] checking for fop... /usr/bin/fop [19:00:23.758] checking for dbtoepub... no [19:00:23.758] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:00:23.758] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:00:23.758] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:00:23.769] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:00:23.769] 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 [19:00:23.769] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:00:23.769] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:00:23.855] configure: creating ./config.status [19:00:23.938] config.status: creating GNUmakefile [19:00:23.951] config.status: creating src/Makefile.global [19:00:23.967] config.status: creating src/include/pg_config.h [19:00:23.980] config.status: creating src/include/pg_config_ext.h [19:00:23.993] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:00:24.008] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:00:24.015] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:00:24.023] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:00:24.029] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:00:24.036] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:00:24.039] config.status: executing check_win32_symlinks commands [19:00:24.072] [19:00:24.072] real 0m17.282s [19:00:24.072] user 0m11.305s [19:00:24.072] sys 0m5.571s [19:00:24.072] make -s -j${BUILD_JOBS} clean [19:00:24.588] time make -s -j${BUILD_JOBS} world-bin [19:01:14.180] In file included from ../../../../src/include/postgres.h:47, [19:01:14.180] from xlogrecovery.c:25: [19:01:14.180] In function ‘MemoryContextSwitchTo’, [19:01:14.180] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [19:01:14.180] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [19:01:14.180] 128 | CurrentMemoryContext = context; [19:01:14.180] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [19:01:14.180] xlogrecovery.c: In function ‘PerformWalRecovery’: [19:01:14.180] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [19:01:14.180] 1732 | MemoryContext oldCtx; [19:01:14.180] | ^~~~~~ [19:01:14.180] cc1: all warnings being treated as errors [19:01:14.181] make[4]: *** [: xlogrecovery.o] Error 1 [19:01:14.181] make[4]: *** Waiting for unfinished jobs.... [19:01:14.810] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [19:01:14.811] make[2]: *** [common.mk:37: access-recursive] Error 2 [19:01:14.811] make[2]: *** Waiting for unfinished jobs.... [19:01:18.948] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [19:01:18.948] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:01:18.949] [19:01:18.949] real 0m54.360s [19:01:18.949] user 2m40.385s [19:01:18.949] sys 0m41.571s [19:01:18.949] [19:01:18.949] Exit status: 2