[13:19:39.964] time ./configure \ [13:19:39.964] --host=x86_64-w64-mingw32 \ [13:19:39.964] --enable-cassert \ [13:19:39.964] --without-icu \ [13:19:39.964] CC="ccache x86_64-w64-mingw32-gcc" \ [13:19:39.964] CXX="ccache x86_64-w64-mingw32-g++" [13:19:40.111] checking build system type... x86_64-pc-linux-gnu [13:19:40.343] checking host system type... x86_64-w64-mingw32 [13:19:40.349] checking which template to use... win32 [13:19:40.350] checking whether NLS is wanted... no [13:19:40.350] checking for default port number... 5432 [13:19:40.358] checking for block size... 8kB [13:19:40.360] checking for segment size... 1GB [13:19:40.363] checking for WAL block size... 8kB [13:19:40.364] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:19:40.406] checking whether the C compiler works... yes [13:19:40.573] checking for C compiler default output file name... a.exe [13:19:40.575] checking for suffix of executables... .exe [13:19:40.622] checking whether we are cross compiling... yes [13:19:40.711] checking for suffix of object files... o [13:19:40.719] checking whether we are using the GNU C compiler... yes [13:19:40.727] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:19:40.735] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:19:40.748] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:19:40.826] checking whether we are using the GNU C++ compiler... yes [13:19:41.068] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:19:41.150] checking for gawk... no [13:19:41.150] checking for mawk... mawk [13:19:41.152] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:19:41.161] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:19:41.169] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:19:41.219] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:19:41.269] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:19:41.278] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:19:41.287] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:19:41.295] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:19:41.303] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:19:41.311] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:19:41.319] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:19:41.327] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:19:41.345] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:19:41.354] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:19:41.391] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:19:41.400] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:19:41.409] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:19:41.450] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:19:41.459] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:19:41.479] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:19:41.489] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:19:41.497] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:19:41.537] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:19:41.565] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:19:41.574] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:19:41.582] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:19:41.622] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:19:41.664] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:19:41.672] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:19:41.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:19:41.717] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:19:41.725] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:19:41.733] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:19:41.742] checking whether the C compiler still works... yes [13:19:41.814] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:19:41.900] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:19:41.902] checking pkg-config is at least version 0.9.0... yes [13:19:41.920] checking whether to build with ICU support... no [13:19:41.921] checking whether to build with Tcl... no [13:19:41.921] checking whether to build Perl modules... no [13:19:41.921] checking whether to build Python modules... no [13:19:41.921] checking whether to build with GSSAPI support... no [13:19:41.922] checking whether to build with PAM support... no [13:19:41.922] checking whether to build with BSD Authentication support... no [13:19:41.923] checking whether to build with LDAP support... no [13:19:41.923] checking whether to build with Bonjour support... no [13:19:41.923] checking whether to build with SELinux support... no [13:19:41.923] checking whether to build with systemd support... no [13:19:41.923] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:19:41.923] checking whether to build with XML support... no [13:19:41.924] checking whether to build with LZ4 support... no [13:19:41.924] checking whether to build with ZSTD support... no [13:19:41.924] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:19:41.925] checking whether it is possible to strip libraries... yes [13:19:41.932] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:19:41.932] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:19:41.933] checking for a BSD-compatible install... /usr/bin/install -c [13:19:41.943] checking for tar... /usr/bin/tar [13:19:41.944] checking whether ln -s works... yes [13:19:41.944] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:19:41.947] checking for bison... /usr/bin/bison [13:19:41.950] configure: using bison (GNU Bison) 3.8.2 [13:19:41.953] checking for flex... /usr/bin/flex [13:19:41.968] configure: using flex 2.6.4 [13:19:41.968] checking for perl... /usr/bin/perl [13:19:41.971] configure: using perl 5.36.0 [13:19:41.974] checking for zic... /usr/sbin/zic [13:19:41.975] checking for a sed that does not truncate output... /usr/bin/sed [13:19:41.981] checking for grep that handles long lines and -e... /usr/bin/grep [13:19:41.983] checking for egrep... /usr/bin/grep -E [13:19:41.985] checking for ANSI C header files... yes [13:19:42.044] checking for sys/types.h... yes [13:19:42.114] checking for sys/stat.h... yes [13:19:42.161] checking for stdlib.h... yes [13:19:42.202] checking for string.h... yes [13:19:42.220] checking for memory.h... yes [13:19:42.261] checking for strings.h... yes [13:19:42.279] checking for inttypes.h... yes [13:19:42.349] checking for stdint.h... yes [13:19:42.366] checking for unistd.h... yes [13:19:42.386] checking for main in -lm... yes [13:19:42.439] checking for library containing setproctitle... no [13:19:42.543] checking for library containing dlsym... no [13:19:42.642] checking for library containing socket... -lws2_32 [13:19:42.795] checking for library containing getopt_long... none required [13:19:42.853] checking for library containing shm_open... no [13:19:42.953] checking for library containing shm_unlink... no [13:19:43.056] checking for library containing clock_gettime... no [13:19:43.155] checking for library containing shmget... no [13:19:43.260] checking for library containing backtrace_symbols... no [13:19:43.362] checking for library containing pthread_barrier_wait... -lpthread [13:19:43.465] checking for inflate in -lz... yes [13:19:43.517] checking for stdbool.h that conforms to C99... yes [13:19:43.530] checking for _Bool... yes [13:19:43.615] checking atomic.h usability... no [13:19:43.680] checking atomic.h presence... no [13:19:43.703] checking for atomic.h... no [13:19:43.708] checking copyfile.h usability... no [13:19:43.774] checking copyfile.h presence... no [13:19:43.798] checking for copyfile.h... no [13:19:43.802] checking execinfo.h usability... no [13:19:43.864] checking execinfo.h presence... no [13:19:43.887] checking for execinfo.h... no [13:19:43.891] checking getopt.h usability... yes [13:19:43.900] checking getopt.h presence... yes [13:19:43.918] checking for getopt.h... yes [13:19:43.926] checking ifaddrs.h usability... no [13:19:43.988] checking ifaddrs.h presence... no [13:19:44.012] checking for ifaddrs.h... no [13:19:44.016] checking mbarrier.h usability... no [13:19:44.082] checking mbarrier.h presence... no [13:19:44.104] checking for mbarrier.h... no [13:19:44.108] checking sys/epoll.h usability... no [13:19:44.174] checking sys/epoll.h presence... no [13:19:44.199] checking for sys/epoll.h... no [13:19:44.203] checking sys/event.h usability... no [13:19:44.269] checking sys/event.h presence... no [13:19:44.291] checking for sys/event.h... no [13:19:44.295] checking sys/personality.h usability... no [13:19:44.360] checking sys/personality.h presence... no [13:19:44.382] checking for sys/personality.h... no [13:19:44.386] checking sys/prctl.h usability... no [13:19:44.448] checking sys/prctl.h presence... no [13:19:44.470] checking for sys/prctl.h... no [13:19:44.473] checking sys/procctl.h usability... no [13:19:44.535] checking sys/procctl.h presence... no [13:19:44.558] checking for sys/procctl.h... no [13:19:44.561] checking sys/signalfd.h usability... no [13:19:44.619] checking sys/signalfd.h presence... no [13:19:44.640] checking for sys/signalfd.h... no [13:19:44.643] checking sys/ucred.h usability... no [13:19:44.711] checking sys/ucred.h presence... no [13:19:44.735] checking for sys/ucred.h... no [13:19:44.739] checking termios.h usability... no [13:19:44.801] checking termios.h presence... no [13:19:44.826] checking for termios.h... no [13:19:44.830] checking ucred.h usability... no [13:19:44.893] checking ucred.h presence... no [13:19:44.916] checking for ucred.h... no [13:19:44.920] checking xlocale.h usability... no [13:19:44.982] checking xlocale.h presence... no [13:19:45.005] checking for xlocale.h... no [13:19:45.008] checking zlib.h usability... yes [13:19:45.018] checking zlib.h presence... yes [13:19:45.040] checking for zlib.h... yes [13:19:45.041] checking for lz4... /usr/bin/lz4 [13:19:45.041] checking for zstd... /usr/bin/zstd [13:19:45.041] checking for openssl... /usr/bin/openssl [13:19:45.046] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [13:19:45.046] checking crtdefs.h usability... yes [13:19:45.055] checking crtdefs.h presence... yes [13:19:45.073] checking for crtdefs.h... yes [13:19:45.075] checking whether byte ordering is bigendian... no [13:19:45.179] checking for inline... inline [13:19:45.199] checking for printf format archetype... gnu_printf [13:19:45.210] checking for _Static_assert... yes [13:19:45.256] checking for typeof... typeof [13:19:45.265] checking for __builtin_types_compatible_p... yes [13:19:45.277] checking for __builtin_constant_p... yes [13:19:45.289] checking for __builtin_unreachable... yes [13:19:45.338] checking for computed goto support... yes [13:19:45.348] checking for struct tm.tm_zone... no [13:19:45.442] checking for union semun... no [13:19:45.480] checking for socklen_t... yes [13:19:46.820] checking for struct sockaddr.sa_len... no [13:19:49.131] checking for C/C++ restrict keyword... __restrict [13:19:49.158] checking for struct option... yes [13:19:49.222] checking whether assembler supports x86_64 popcntq... yes [13:19:49.231] checking size of off_t... 4 [13:19:49.492] 0 [13:19:49.492] checking size of bool... 1 [13:19:49.548] checking for int timezone... yes [13:19:49.612] checking for backtrace_symbols... no [13:19:49.671] checking for copyfile... no [13:19:49.727] checking for copy_file_range... no [13:19:49.783] checking for getifaddrs... no [13:19:49.843] checking for getpeerucred... no [13:19:49.901] checking for inet_pton... yes [13:19:49.958] checking for kqueue... no [13:19:50.016] checking for mbstowcs_l... no [13:19:50.072] checking for memset_s... no [13:19:50.128] checking for posix_fallocate... no [13:19:50.187] checking for ppoll... no [13:19:50.245] checking for pthread_is_threaded_np... no [13:19:50.300] checking for setproctitle... no [13:19:50.359] checking for setproctitle_fast... no [13:19:50.415] checking for strchrnul... no [13:19:50.473] checking for strsignal... no [13:19:50.533] checking for syncfs... no [13:19:50.592] checking for sync_file_range... no [13:19:50.652] checking for uselocale... no [13:19:50.711] checking for wcstombs_l... no [13:19:50.764] checking for __builtin_bswap16... yes [13:19:50.819] checking for __builtin_bswap32... yes [13:19:50.874] checking for __builtin_bswap64... yes [13:19:50.930] checking for __builtin_clz... yes [13:19:50.985] checking for __builtin_ctz... yes [13:19:51.040] checking for __builtin_popcount... yes [13:19:51.092] checking for __builtin_frame_address... yes [13:19:51.146] checking for _LARGEFILE_SOURCE value needed for large files... no [13:19:51.204] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:19:51.242] checking for posix_fadvise... no [13:19:51.302] checking whether posix_fadvise is declared... no [13:19:51.357] checking whether fdatasync is declared... no [13:19:51.411] checking whether strlcat is declared... no [13:19:51.482] checking whether strlcpy is declared... no [13:19:51.551] checking whether strnlen is declared... yes [13:19:51.567] checking whether strsep is declared... no [13:19:51.640] checking whether preadv is declared... no [13:19:51.688] checking whether pwritev is declared... no [13:19:51.734] checking whether F_FULLFSYNC is declared... no [13:19:51.782] checking for explicit_bzero... no [13:19:51.837] checking for getopt... yes [13:19:51.888] checking for getpeereid... no [13:19:51.940] checking for inet_aton... no [13:19:51.991] checking for mkdtemp... no [13:19:52.045] checking for strlcat... no [13:19:52.100] checking for strlcpy... no [13:19:52.152] checking for strnlen... yes [13:19:52.208] checking for strsep... no [13:19:52.262] checking for pthread_barrier_wait... yes [13:19:52.310] configure: On mingw32 we will use our strtof wrapper. [13:19:52.310] checking for getopt_long... yes [13:19:52.359] checking for _configthreadlocale... yes [13:19:52.409] checking for syslog... no [13:19:52.463] checking for opterr... yes [13:19:52.516] checking for optreset... no [13:19:52.573] checking test program... cross-compiling [13:19:52.573] checking whether long int is 64 bits... no [13:19:52.613] checking whether long long int is 64 bits... yes [13:19:52.624] checking for __builtin_mul_overflow... yes [13:19:52.674] checking size of void *... 8 [13:19:53.086] checking size of size_t... 8 [13:19:53.389] checking size of long... 4 [13:19:53.737] checking alignment of short... 2 [13:19:53.899] checking alignment of int... 4 [13:19:54.218] checking alignment of long... 4 [13:19:54.447] checking alignment of long long int... 8 [13:19:54.758] checking alignment of double... 8 [13:19:55.150] checking for __int128... yes [13:19:55.207] checking for __int128 alignment bug... assuming ok [13:19:55.207] checking alignment of PG_INT128_TYPE... 16 [13:19:55.588] checking for builtin __sync char locking functions... yes [13:19:55.636] checking for builtin __sync int32 locking functions... yes [13:19:55.684] checking for builtin __sync int32 atomic operations... yes [13:19:55.735] checking for builtin __sync int64 atomic operations... yes [13:19:55.784] checking for builtin __atomic int32 atomic operations... yes [13:19:55.835] checking for builtin __atomic int64 atomic operations... yes [13:19:55.883] checking for __get_cpuid... yes [13:19:55.937] checking for __get_cpuid_count... yes [13:19:55.987] checking for __cpuid... no [13:19:56.406] checking for __cpuidex... no [13:19:56.851] checking for _xgetbv... yes [13:19:57.281] checking for _mm512_popcnt_epi64... yes [13:19:57.724] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:19:57.776] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:19:57.875] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:19:57.901] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:19:57.923] 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 [13:19:57.985] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:19:57.986] checking which random number source to use... Windows native [13:19:57.988] checking for xmllint... /usr/bin/xmllint [13:19:57.988] checking for xsltproc... /usr/bin/xsltproc [13:19:57.988] checking for fop... /usr/bin/fop [13:19:57.989] checking for dbtoepub... no [13:19:57.989] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:19:57.989] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:19:57.989] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:19:58.002] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:19:58.002] 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 [13:19:58.002] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:19:58.002] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:19:58.106] configure: creating ./config.status [13:19:58.206] config.status: creating GNUmakefile [13:19:58.220] config.status: creating src/Makefile.global [13:19:58.238] config.status: creating src/include/pg_config.h [13:19:58.255] config.status: creating src/include/pg_config_ext.h [13:19:58.269] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:19:58.285] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:19:58.293] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:19:58.301] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:19:58.309] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:19:58.317] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:19:58.321] config.status: executing check_win32_symlinks commands [13:19:58.358] [13:19:58.358] real 0m18.394s [13:19:58.358] user 0m11.685s [13:19:58.358] sys 0m6.207s [13:19:58.358] make -s -j${BUILD_JOBS} clean [13:19:58.936] time make -s -j${BUILD_JOBS} world-bin [13:21:18.559] In file included from ../../../../src/include/postgres.h:47, [13:21:18.559] from xlogrecovery.c:25: [13:21:18.559] In function ‘MemoryContextSwitchTo’, [13:21:18.559] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [13:21:18.559] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [13:21:18.559] 128 | CurrentMemoryContext = context; [13:21:18.559] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [13:21:18.559] xlogrecovery.c: In function ‘PerformWalRecovery’: [13:21:18.559] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [13:21:18.559] 1731 | MemoryContext oldCtx; [13:21:18.559] | ^~~~~~ [13:21:18.559] cc1: all warnings being treated as errors [13:21:18.560] make[4]: *** [: xlogrecovery.o] Error 1 [13:21:18.561] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [13:21:18.561] make[2]: *** [common.mk:37: access-recursive] Error 2 [13:21:18.561] make[2]: *** Waiting for unfinished jobs.... [13:21:21.732] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:21:21.732] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:21:21.732] [13:21:21.732] real 1m22.796s [13:21:21.732] user 4m25.533s [13:21:21.732] sys 0m53.773s [13:21:21.733] [13:21:21.733] Exit status: 2