[04:55:44.902] time ./configure \ [04:55:44.902] --host=x86_64-w64-mingw32 \ [04:55:44.902] --enable-cassert \ [04:55:44.902] --without-icu \ [04:55:44.902] CC="ccache x86_64-w64-mingw32-gcc" \ [04:55:44.902] CXX="ccache x86_64-w64-mingw32-g++" [04:55:45.006] checking build system type... x86_64-pc-linux-gnu [04:55:45.187] checking host system type... x86_64-w64-mingw32 [04:55:45.192] checking which template to use... win32 [04:55:45.192] checking whether NLS is wanted... no [04:55:45.192] checking for default port number... 5432 [04:55:45.198] checking for block size... 8kB [04:55:45.200] checking for segment size... 1GB [04:55:45.202] checking for WAL block size... 8kB [04:55:45.203] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [04:55:45.234] checking whether the C compiler works... yes [04:55:45.364] checking for C compiler default output file name... a.exe [04:55:45.365] checking for suffix of executables... .exe [04:55:45.403] checking whether we are cross compiling... yes [04:55:45.476] checking for suffix of object files... o [04:55:45.483] checking whether we are using the GNU C compiler... yes [04:55:45.489] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [04:55:45.495] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [04:55:45.505] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [04:55:45.560] checking whether we are using the GNU C++ compiler... yes [04:55:45.566] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [04:55:45.628] checking for gawk... no [04:55:45.629] checking for mawk... mawk [04:55:45.631] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [04:55:45.637] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [04:55:45.644] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [04:55:45.687] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [04:55:45.843] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [04:55:45.849] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [04:55:45.855] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [04:55:45.862] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [04:55:45.868] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [04:55:45.874] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [04:55:45.880] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [04:55:45.886] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [04:55:45.892] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [04:55:45.898] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [04:55:45.905] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [04:55:45.911] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [04:55:45.917] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [04:55:45.952] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [04:55:45.958] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [04:55:45.965] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [04:55:45.971] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [04:55:45.977] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [04:55:45.983] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [04:55:46.005] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [04:55:46.012] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [04:55:46.018] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [04:55:46.053] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [04:55:46.091] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [04:55:46.097] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [04:55:46.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [04:55:46.137] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [04:55:46.144] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [04:55:46.150] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [04:55:46.157] checking whether the C compiler still works... yes [04:55:46.227] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [04:55:46.292] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [04:55:46.292] checking pkg-config is at least version 0.9.0... yes [04:55:46.309] checking whether to build with ICU support... no [04:55:46.309] checking whether to build with Tcl... no [04:55:46.309] checking whether to build Perl modules... no [04:55:46.309] checking whether to build Python modules... no [04:55:46.309] checking whether to build with GSSAPI support... no [04:55:46.310] checking whether to build with PAM support... no [04:55:46.311] checking whether to build with BSD Authentication support... no [04:55:46.311] checking whether to build with LDAP support... no [04:55:46.311] checking whether to build with Bonjour support... no [04:55:46.311] checking whether to build with SELinux support... no [04:55:46.311] checking whether to build with systemd support... no [04:55:46.311] configure: WARNING: *** Readline does not work on MinGW --- disabling [04:55:46.311] checking whether to build with XML support... no [04:55:46.312] checking whether to build with LZ4 support... no [04:55:46.312] checking whether to build with ZSTD support... no [04:55:46.312] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [04:55:46.312] checking whether it is possible to strip libraries... yes [04:55:46.319] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [04:55:46.320] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [04:55:46.320] checking for a BSD-compatible install... /usr/bin/install -c [04:55:46.328] checking for tar... /usr/bin/tar [04:55:46.328] checking whether ln -s works... yes [04:55:46.328] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [04:55:46.330] checking for bison... /usr/bin/bison [04:55:46.332] configure: using bison (GNU Bison) 3.8.2 [04:55:46.335] checking for flex... /usr/bin/flex [04:55:46.337] configure: using flex 2.6.4 [04:55:46.337] checking for perl... /usr/bin/perl [04:55:46.339] configure: using perl 5.36.0 [04:55:46.341] checking for zic... /usr/sbin/zic [04:55:46.341] checking for a sed that does not truncate output... /usr/bin/sed [04:55:46.346] checking for grep that handles long lines and -e... /usr/bin/grep [04:55:46.348] checking for egrep... /usr/bin/grep -E [04:55:46.349] checking for ANSI C header files... yes [04:55:46.393] checking for sys/types.h... yes [04:55:46.409] checking for sys/stat.h... yes [04:55:46.423] checking for stdlib.h... yes [04:55:46.480] checking for string.h... yes [04:55:46.493] checking for memory.h... yes [04:55:46.506] checking for strings.h... yes [04:55:46.520] checking for inttypes.h... yes [04:55:46.534] checking for stdint.h... yes [04:55:46.590] checking for unistd.h... yes [04:55:46.605] checking for main in -lm... yes [04:55:46.649] checking for library containing setproctitle... no [04:55:46.733] checking for library containing dlsym... no [04:55:46.816] checking for library containing socket... -lws2_32 [04:55:46.937] checking for library containing getopt_long... none required [04:55:46.980] checking for library containing shm_open... no [04:55:47.063] checking for library containing shm_unlink... no [04:55:47.148] checking for library containing clock_gettime... no [04:55:47.231] checking for library containing shmget... no [04:55:47.314] checking for library containing backtrace_symbols... no [04:55:47.397] checking for library containing pthread_barrier_wait... -lpthread [04:55:47.485] checking for inflate in -lz... yes [04:55:47.532] checking atomic.h usability... no [04:55:47.585] checking atomic.h presence... no [04:55:47.602] checking for atomic.h... no [04:55:47.606] checking copyfile.h usability... no [04:55:47.661] checking copyfile.h presence... no [04:55:47.680] checking for copyfile.h... no [04:55:47.684] checking execinfo.h usability... no [04:55:47.739] checking execinfo.h presence... no [04:55:47.758] checking for execinfo.h... no [04:55:47.762] checking getopt.h usability... yes [04:55:47.790] checking getopt.h presence... yes [04:55:47.805] checking for getopt.h... yes [04:55:47.812] checking ifaddrs.h usability... no [04:55:47.864] checking ifaddrs.h presence... no [04:55:47.881] checking for ifaddrs.h... no [04:55:47.884] checking mbarrier.h usability... no [04:55:47.938] checking mbarrier.h presence... no [04:55:47.956] checking for mbarrier.h... no [04:55:47.960] checking sys/epoll.h usability... no [04:55:48.014] checking sys/epoll.h presence... no [04:55:48.033] checking for sys/epoll.h... no [04:55:48.036] checking sys/event.h usability... no [04:55:48.091] checking sys/event.h presence... no [04:55:48.110] checking for sys/event.h... no [04:55:48.114] checking sys/personality.h usability... no [04:55:48.167] checking sys/personality.h presence... no [04:55:48.185] checking for sys/personality.h... no [04:55:48.188] checking sys/prctl.h usability... no [04:55:48.240] checking sys/prctl.h presence... no [04:55:48.257] checking for sys/prctl.h... no [04:55:48.260] checking sys/procctl.h usability... no [04:55:48.312] checking sys/procctl.h presence... no [04:55:48.330] checking for sys/procctl.h... no [04:55:48.333] checking sys/signalfd.h usability... no [04:55:48.384] checking sys/signalfd.h presence... no [04:55:48.402] checking for sys/signalfd.h... no [04:55:48.405] checking sys/ucred.h usability... no [04:55:48.456] checking sys/ucred.h presence... no [04:55:48.474] checking for sys/ucred.h... no [04:55:48.477] checking termios.h usability... no [04:55:48.529] checking termios.h presence... no [04:55:48.547] checking for termios.h... no [04:55:48.550] checking ucred.h usability... no [04:55:48.604] checking ucred.h presence... no [04:55:48.623] checking for ucred.h... no [04:55:48.627] checking xlocale.h usability... no [04:55:48.682] checking xlocale.h presence... no [04:55:48.701] checking for xlocale.h... no [04:55:48.704] checking zlib.h usability... yes [04:55:48.714] checking zlib.h presence... yes [04:55:48.732] checking for zlib.h... yes [04:55:48.733] checking for lz4... /usr/bin/lz4 [04:55:48.733] checking for zstd... /usr/bin/zstd [04:55:48.733] checking for openssl... /usr/bin/openssl [04:55:48.737] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [04:55:48.738] checking crtdefs.h usability... yes [04:55:48.745] checking crtdefs.h presence... yes [04:55:48.759] checking for crtdefs.h... yes [04:55:48.761] checking whether byte ordering is bigendian... no [04:55:48.834] checking for inline... inline [04:55:48.863] checking for printf format archetype... gnu_printf [04:55:48.871] checking for _Static_assert... yes [04:55:48.913] checking for typeof... typeof [04:55:48.921] checking for __builtin_types_compatible_p... yes [04:55:48.932] checking for __builtin_constant_p... yes [04:55:48.943] checking for __builtin_mul_overflow... yes [04:55:48.991] checking for __builtin_unreachable... yes [04:55:49.033] checking for computed goto support... yes [04:55:49.040] checking for struct tm.tm_zone... no [04:55:49.116] checking for union semun... no [04:55:49.149] checking for socklen_t... yes [04:55:50.262] checking for struct sockaddr.sa_len... no [04:55:52.290] checking for C/C++ restrict keyword... __restrict [04:55:52.302] checking for struct option... yes [04:55:52.354] checking whether assembler supports x86_64 popcntq... yes [04:55:52.361] checking size of off_t... 4 [04:55:52.555] 0 [04:55:52.555] checking for int timezone... yes [04:55:52.605] checking for backtrace_symbols... no [04:55:52.653] checking for copyfile... no [04:55:52.701] checking for copy_file_range... no [04:55:52.749] checking for elf_aux_info... no [04:55:52.797] checking for getauxval... no [04:55:52.845] checking for getifaddrs... no [04:55:52.894] checking for getpeerucred... no [04:55:52.942] checking for inet_pton... yes [04:55:52.989] checking for kqueue... no [04:55:53.036] checking for mbstowcs_l... no [04:55:53.084] checking for memset_s... no [04:55:53.132] checking for posix_fallocate... no [04:55:53.179] checking for ppoll... no [04:55:53.227] checking for pthread_is_threaded_np... no [04:55:53.275] checking for setproctitle... no [04:55:53.322] checking for setproctitle_fast... no [04:55:53.370] checking for strchrnul... no [04:55:53.418] checking for strsignal... no [04:55:53.466] checking for syncfs... no [04:55:53.514] checking for sync_file_range... no [04:55:53.562] checking for uselocale... no [04:55:53.609] checking for wcstombs_l... no [04:55:53.654] checking for __builtin_bswap16... yes [04:55:53.700] checking for __builtin_bswap32... yes [04:55:53.748] checking for __builtin_bswap64... yes [04:55:53.796] checking for __builtin_clz... yes [04:55:53.844] checking for __builtin_ctz... yes [04:55:53.889] checking for __builtin_popcount... yes [04:55:53.936] checking for __builtin_frame_address... yes [04:55:53.982] checking for _LARGEFILE_SOURCE value needed for large files... no [04:55:54.033] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [04:55:54.063] checking for posix_fadvise... no [04:55:54.115] checking whether posix_fadvise is declared... no [04:55:54.159] checking whether fdatasync is declared... no [04:55:54.204] checking whether strlcat is declared... no [04:55:54.265] checking whether strlcpy is declared... no [04:55:54.330] checking whether strnlen is declared... yes [04:55:54.343] checking whether strsep is declared... no [04:55:54.404] checking whether preadv is declared... no [04:55:54.438] checking whether pwritev is declared... no [04:55:54.471] checking whether F_FULLFSYNC is declared... no [04:55:54.507] checking for explicit_bzero... no [04:55:54.553] checking for getopt... yes [04:55:54.595] checking for getpeereid... no [04:55:54.640] checking for inet_aton... no [04:55:54.684] checking for mkdtemp... no [04:55:54.729] checking for strlcat... no [04:55:54.775] checking for strlcpy... no [04:55:54.819] checking for strnlen... yes [04:55:54.865] checking for strsep... no [04:55:54.909] checking for pthread_barrier_wait... yes [04:55:54.950] configure: On mingw32 we will use our strtof wrapper. [04:55:54.950] checking for getopt_long... yes [04:55:54.995] checking for syslog... no [04:55:55.042] checking for opterr... yes [04:55:55.088] checking for optreset... no [04:55:55.138] checking test program... cross-compiling [04:55:55.138] checking size of void *... 8 [04:55:55.445] checking size of size_t... 8 [04:55:55.695] checking size of long... 4 [04:55:55.904] checking size of long long... 8 [04:55:56.230] checking alignment of short... 2 [04:55:56.382] checking alignment of int... 4 [04:55:56.597] checking alignment of long... 4 [04:55:56.792] checking alignment of int64_t... 8 [04:55:57.102] checking alignment of double... 8 [04:55:57.364] checking for __int128... yes [04:55:57.413] checking for __int128 alignment bug... assuming ok [04:55:57.413] checking alignment of PG_INT128_TYPE... 16 [04:55:57.755] checking for builtin __sync char locking functions... yes [04:55:57.795] checking for builtin __sync int32 locking functions... yes [04:55:57.835] checking for builtin __sync int32 atomic operations... yes [04:55:57.875] checking for builtin __sync int64 atomic operations... yes [04:55:57.916] checking for builtin __atomic int32 atomic operations... yes [04:55:57.956] checking for builtin __atomic int64 atomic operations... yes [04:55:57.998] checking for __get_cpuid... yes [04:55:58.044] checking for __get_cpuid_count... yes [04:55:58.086] checking for __cpuid... no [04:55:58.475] checking for __cpuidex... no [04:55:58.888] checking for _xgetbv... yes [04:55:59.284] checking for _mm512_popcnt_epi64... yes [04:55:59.692] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [04:55:59.787] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [04:55:59.808] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [04:55:59.825] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [04:55:59.844] 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 [04:55:59.896] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [04:55:59.897] checking which random number source to use... Windows native [04:55:59.898] checking for xmllint... /usr/bin/xmllint [04:55:59.899] checking for xsltproc... /usr/bin/xsltproc [04:55:59.899] checking for fop... /usr/bin/fop [04:55:59.899] checking for dbtoepub... no [04:55:59.899] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [04:55:59.899] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [04:55:59.900] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [04:55:59.909] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [04:55:59.909] 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 [04:55:59.909] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [04:55:59.909] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [04:55:59.988] configure: creating ./config.status [04:56:00.070] config.status: creating GNUmakefile [04:56:00.082] config.status: creating src/Makefile.global [04:56:00.097] config.status: creating src/include/pg_config.h [04:56:00.110] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [04:56:00.125] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [04:56:00.132] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [04:56:00.138] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [04:56:00.146] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [04:56:00.153] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [04:56:00.156] config.status: executing check_win32_symlinks commands [04:56:00.189] [04:56:00.189] real 0m15.287s [04:56:00.189] user 0m10.252s [04:56:00.189] sys 0m4.718s [04:56:00.189] make -s -j${BUILD_JOBS} clean [04:56:00.698] time make -s -j${BUILD_JOBS} world-bin [04:56:42.953] In file included from ../../../../src/include/postgres.h:50, [04:56:42.953] from xlogrecovery.c:25: [04:56:42.953] In function ‘MemoryContextSwitchTo’, [04:56:42.953] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [04:56:42.953] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [04:56:42.953] 128 | CurrentMemoryContext = context; [04:56:42.953] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [04:56:42.953] xlogrecovery.c: In function ‘PerformWalRecovery’: [04:56:42.953] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [04:56:42.953] 1731 | MemoryContext oldCtx; [04:56:42.953] | ^~~~~~ [04:56:42.953] cc1: all warnings being treated as errors [04:56:42.954] make[4]: *** [: xlogrecovery.o] Error 1 [04:56:42.954] make[4]: *** Waiting for unfinished jobs.... [04:56:43.473] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [04:56:43.473] make[2]: *** [common.mk:37: access-recursive] Error 2 [04:56:43.473] make[2]: *** Waiting for unfinished jobs.... [04:56:46.791] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [04:56:46.792] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [04:56:46.792] [04:56:46.792] real 0m46.093s [04:56:46.792] user 2m15.145s [04:56:46.792] sys 0m37.346s [04:56:46.792] [04:56:46.792] Exit status: 2