[16:27:59.075] time ./configure \ [16:27:59.075] --host=x86_64-w64-mingw32 \ [16:27:59.075] --enable-cassert \ [16:27:59.075] --without-icu \ [16:27:59.075] CC="ccache x86_64-w64-mingw32-gcc" \ [16:27:59.075] CXX="ccache x86_64-w64-mingw32-g++" [16:27:59.190] checking build system type... x86_64-pc-linux-gnu [16:27:59.400] checking host system type... x86_64-w64-mingw32 [16:27:59.406] checking which template to use... win32 [16:27:59.406] checking whether NLS is wanted... no [16:27:59.406] checking for default port number... 5432 [16:27:59.413] checking for block size... 8kB [16:27:59.415] checking for segment size... 1GB [16:27:59.417] checking for WAL block size... 8kB [16:27:59.418] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:27:59.451] checking whether the C compiler works... yes [16:27:59.597] checking for C compiler default output file name... a.exe [16:27:59.598] checking for suffix of executables... .exe [16:27:59.638] checking whether we are cross compiling... yes [16:27:59.718] checking for suffix of object files... o [16:27:59.735] checking whether we are using the GNU C compiler... yes [16:27:59.742] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:27:59.748] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:27:59.758] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:27:59.920] checking whether we are using the GNU C++ compiler... yes [16:27:59.927] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:27:59.993] checking for gawk... no [16:27:59.993] checking for mawk... mawk [16:27:59.995] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:28:00.027] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:28:00.034] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:28:00.080] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:28:00.263] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:28:00.270] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:28:00.302] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:28:00.318] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:28:00.325] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:28:00.332] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:28:00.338] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:28:00.371] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:28:00.379] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:28:00.386] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:28:00.392] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:28:00.424] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:28:00.431] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:28:00.469] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:28:00.485] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:28:00.492] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:28:00.499] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:28:00.568] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:28:00.575] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:28:00.599] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:28:00.606] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:28:00.613] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:28:00.650] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:28:00.688] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:28:00.705] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:28:00.725] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:28:00.760] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:28:00.767] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:28:00.773] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:28:00.781] checking whether the C compiler still works... yes [16:28:00.855] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:28:00.926] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:28:00.926] checking pkg-config is at least version 0.9.0... yes [16:28:00.943] checking whether to build with ICU support... no [16:28:00.944] checking whether to build with Tcl... no [16:28:00.944] checking whether to build Perl modules... no [16:28:00.944] checking whether to build Python modules... no [16:28:00.944] checking whether to build with GSSAPI support... no [16:28:00.945] checking whether to build with PAM support... no [16:28:00.945] checking whether to build with BSD Authentication support... no [16:28:00.945] checking whether to build with LDAP support... no [16:28:00.945] checking whether to build with Bonjour support... no [16:28:00.945] checking whether to build with SELinux support... no [16:28:00.945] checking whether to build with systemd support... no [16:28:00.946] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:28:00.946] checking whether to build with XML support... no [16:28:00.946] checking whether to build with LZ4 support... no [16:28:00.946] checking whether to build with ZSTD support... no [16:28:00.946] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:28:00.947] checking whether it is possible to strip libraries... yes [16:28:00.956] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:28:00.956] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:28:00.957] checking for a BSD-compatible install... /usr/bin/install -c [16:28:00.966] checking for tar... /usr/bin/tar [16:28:00.966] checking whether ln -s works... yes [16:28:00.966] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:28:00.968] checking for bison... /usr/bin/bison [16:28:00.970] configure: using bison (GNU Bison) 3.8.2 [16:28:00.973] checking for flex... /usr/bin/flex [16:28:00.985] configure: using flex 2.6.4 [16:28:00.985] checking for perl... /usr/bin/perl [16:28:00.988] configure: using perl 5.36.0 [16:28:00.990] checking for zic... /usr/sbin/zic [16:28:00.990] checking for a sed that does not truncate output... /usr/bin/sed [16:28:00.995] checking for grep that handles long lines and -e... /usr/bin/grep [16:28:00.997] checking for egrep... /usr/bin/grep -E [16:28:00.999] checking for ANSI C header files... yes [16:28:01.044] checking for sys/types.h... yes [16:28:01.059] checking for sys/stat.h... yes [16:28:01.074] checking for stdlib.h... yes [16:28:01.087] checking for string.h... yes [16:28:01.101] checking for memory.h... yes [16:28:01.161] checking for strings.h... yes [16:28:01.175] checking for inttypes.h... yes [16:28:01.190] checking for stdint.h... yes [16:28:01.204] checking for unistd.h... yes [16:28:01.223] checking for main in -lm... yes [16:28:01.268] checking for library containing setproctitle... no [16:28:01.355] checking for library containing dlsym... no [16:28:01.440] checking for library containing socket... -lws2_32 [16:28:01.567] checking for library containing getopt_long... none required [16:28:01.613] checking for library containing shm_open... no [16:28:01.700] checking for library containing shm_unlink... no [16:28:01.788] checking for library containing clock_gettime... no [16:28:01.877] checking for library containing shmget... no [16:28:01.964] checking for library containing backtrace_symbols... no [16:28:02.052] checking for library containing pthread_barrier_wait... -lpthread [16:28:02.143] checking for inflate in -lz... yes [16:28:02.190] checking for stdbool.h that conforms to C99... yes [16:28:02.203] checking for _Bool... yes [16:28:02.277] checking atomic.h usability... no [16:28:02.332] checking atomic.h presence... no [16:28:02.352] checking for atomic.h... no [16:28:02.355] checking copyfile.h usability... no [16:28:02.411] checking copyfile.h presence... no [16:28:02.431] checking for copyfile.h... no [16:28:02.435] checking execinfo.h usability... no [16:28:02.491] checking execinfo.h presence... no [16:28:02.511] checking for execinfo.h... no [16:28:02.514] checking getopt.h usability... yes [16:28:02.522] checking getopt.h presence... yes [16:28:02.538] checking for getopt.h... yes [16:28:02.545] checking ifaddrs.h usability... no [16:28:02.602] checking ifaddrs.h presence... no [16:28:02.621] checking for ifaddrs.h... no [16:28:02.624] checking mbarrier.h usability... no [16:28:02.679] checking mbarrier.h presence... no [16:28:02.700] checking for mbarrier.h... no [16:28:02.703] checking sys/epoll.h usability... no [16:28:02.761] checking sys/epoll.h presence... no [16:28:02.780] checking for sys/epoll.h... no [16:28:02.784] checking sys/event.h usability... no [16:28:02.840] checking sys/event.h presence... no [16:28:02.859] checking for sys/event.h... no [16:28:02.862] checking sys/personality.h usability... no [16:28:02.915] checking sys/personality.h presence... no [16:28:02.934] checking for sys/personality.h... no [16:28:02.937] checking sys/prctl.h usability... no [16:28:02.993] checking sys/prctl.h presence... no [16:28:03.012] checking for sys/prctl.h... no [16:28:03.016] checking sys/procctl.h usability... no [16:28:03.071] checking sys/procctl.h presence... no [16:28:03.091] checking for sys/procctl.h... no [16:28:03.094] checking sys/signalfd.h usability... no [16:28:03.150] checking sys/signalfd.h presence... no [16:28:03.170] checking for sys/signalfd.h... no [16:28:03.174] checking sys/ucred.h usability... no [16:28:03.229] checking sys/ucred.h presence... no [16:28:03.248] checking for sys/ucred.h... no [16:28:03.251] checking termios.h usability... no [16:28:03.306] checking termios.h presence... no [16:28:03.326] checking for termios.h... no [16:28:03.329] checking ucred.h usability... no [16:28:03.384] checking ucred.h presence... no [16:28:03.404] checking for ucred.h... no [16:28:03.408] checking xlocale.h usability... no [16:28:03.465] checking xlocale.h presence... no [16:28:03.485] checking for xlocale.h... no [16:28:03.488] checking zlib.h usability... yes [16:28:03.498] checking zlib.h presence... yes [16:28:03.517] checking for zlib.h... yes [16:28:03.517] checking for lz4... /usr/bin/lz4 [16:28:03.517] checking for zstd... /usr/bin/zstd [16:28:03.517] checking for openssl... /usr/bin/openssl [16:28:03.522] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [16:28:03.522] checking crtdefs.h usability... yes [16:28:03.529] checking crtdefs.h presence... yes [16:28:03.544] checking for crtdefs.h... yes [16:28:03.545] checking whether byte ordering is bigendian... no [16:28:03.617] checking for inline... inline [16:28:03.625] checking for printf format archetype... gnu_printf [16:28:03.634] checking for _Static_assert... yes [16:28:03.676] checking for typeof... typeof [16:28:03.712] checking for __builtin_types_compatible_p... yes [16:28:03.724] checking for __builtin_constant_p... yes [16:28:03.736] checking for __builtin_unreachable... yes [16:28:03.778] checking for computed goto support... yes [16:28:03.813] checking for struct tm.tm_zone... no [16:28:03.896] checking for union semun... no [16:28:03.930] checking for socklen_t... yes [16:28:05.573] checking for struct sockaddr.sa_len... no [16:28:07.678] checking for C/C++ restrict keyword... __restrict [16:28:07.690] checking for struct option... yes [16:28:07.732] checking whether assembler supports x86_64 popcntq... yes [16:28:07.739] checking size of off_t... 4 [16:28:07.966] 0 [16:28:07.966] checking size of bool... 1 [16:28:08.015] checking for int timezone... yes [16:28:08.069] checking for backtrace_symbols... no [16:28:08.120] checking for copyfile... no [16:28:08.171] checking for copy_file_range... no [16:28:08.223] checking for elf_aux_info... no [16:28:08.274] checking for getauxval... no [16:28:08.324] checking for getifaddrs... no [16:28:08.376] checking for getpeerucred... no [16:28:08.427] checking for inet_pton... yes [16:28:08.477] checking for kqueue... no [16:28:08.526] checking for mbstowcs_l... no [16:28:08.576] checking for memset_s... no [16:28:08.625] checking for posix_fallocate... no [16:28:08.676] checking for ppoll... no [16:28:08.728] checking for pthread_is_threaded_np... no [16:28:08.779] checking for setproctitle... no [16:28:08.832] checking for setproctitle_fast... no [16:28:08.884] checking for strchrnul... no [16:28:08.935] checking for strsignal... no [16:28:08.985] checking for syncfs... no [16:28:09.036] checking for sync_file_range... no [16:28:09.087] checking for uselocale... no [16:28:09.140] checking for wcstombs_l... no [16:28:09.189] checking for __builtin_bswap16... yes [16:28:09.239] checking for __builtin_bswap32... yes [16:28:09.287] checking for __builtin_bswap64... yes [16:28:09.336] checking for __builtin_clz... yes [16:28:09.384] checking for __builtin_ctz... yes [16:28:09.432] checking for __builtin_popcount... yes [16:28:09.481] checking for __builtin_frame_address... yes [16:28:09.530] checking for _LARGEFILE_SOURCE value needed for large files... no [16:28:09.582] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:28:09.615] checking for posix_fadvise... no [16:28:09.668] checking whether posix_fadvise is declared... no [16:28:09.715] checking whether fdatasync is declared... no [16:28:09.763] checking whether strlcat is declared... no [16:28:09.828] checking whether strlcpy is declared... no [16:28:09.892] checking whether strnlen is declared... yes [16:28:09.905] checking whether strsep is declared... no [16:28:09.970] checking whether preadv is declared... no [16:28:10.009] checking whether pwritev is declared... no [16:28:10.048] checking whether F_FULLFSYNC is declared... no [16:28:10.089] checking for explicit_bzero... no [16:28:10.137] checking for getopt... yes [16:28:10.182] checking for getpeereid... no [16:28:10.233] checking for inet_aton... no [16:28:10.282] checking for mkdtemp... no [16:28:10.331] checking for strlcat... no [16:28:10.379] checking for strlcpy... no [16:28:10.429] checking for strnlen... yes [16:28:10.477] checking for strsep... no [16:28:10.527] checking for pthread_barrier_wait... yes [16:28:10.572] configure: On mingw32 we will use our strtof wrapper. [16:28:10.572] checking for getopt_long... yes [16:28:10.618] checking for _configthreadlocale... yes [16:28:10.664] checking for syslog... no [16:28:10.713] checking for opterr... yes [16:28:10.765] checking for optreset... no [16:28:10.815] checking test program... cross-compiling [16:28:10.815] checking whether long int is 64 bits... no [16:28:10.845] checking whether long long int is 64 bits... yes [16:28:10.854] checking for __builtin_mul_overflow... yes [16:28:10.896] checking size of void *... 8 [16:28:11.240] checking size of size_t... 8 [16:28:11.624] checking size of long... 4 [16:28:11.850] checking alignment of short... 2 [16:28:12.047] checking alignment of int... 4 [16:28:12.310] checking alignment of long... 4 [16:28:12.543] checking alignment of long long int... 8 [16:28:12.861] checking alignment of double... 8 [16:28:13.178] checking for __int128... yes [16:28:13.226] checking for __int128 alignment bug... assuming ok [16:28:13.226] checking alignment of PG_INT128_TYPE... 16 [16:28:13.672] checking for builtin __sync char locking functions... yes [16:28:13.715] checking for builtin __sync int32 locking functions... yes [16:28:13.758] checking for builtin __sync int32 atomic operations... yes [16:28:13.801] checking for builtin __sync int64 atomic operations... yes [16:28:13.843] checking for builtin __atomic int32 atomic operations... yes [16:28:13.887] checking for builtin __atomic int64 atomic operations... yes [16:28:13.930] checking for __get_cpuid... yes [16:28:13.976] checking for __get_cpuid_count... yes [16:28:14.021] checking for __cpuid... no [16:28:14.423] checking for __cpuidex... no [16:28:14.840] checking for _xgetbv... yes [16:28:15.236] checking for _mm512_popcnt_epi64... yes [16:28:15.672] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [16:28:15.720] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [16:28:15.814] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:28:15.836] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:28:15.856] 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 [16:28:15.912] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:28:15.913] checking which random number source to use... Windows native [16:28:15.915] checking for xmllint... /usr/bin/xmllint [16:28:15.915] checking for xsltproc... /usr/bin/xsltproc [16:28:15.915] checking for fop... /usr/bin/fop [16:28:15.915] checking for dbtoepub... no [16:28:15.916] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:28:15.916] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:28:15.916] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:28:15.927] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:28:15.927] 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 [16:28:15.927] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:28:15.927] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:28:16.011] configure: creating ./config.status [16:28:16.094] config.status: creating GNUmakefile [16:28:16.106] config.status: creating src/Makefile.global [16:28:16.121] config.status: creating src/include/pg_config.h [16:28:16.134] config.status: creating src/include/pg_config_ext.h [16:28:16.145] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:28:16.161] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:28:16.168] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:28:16.176] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:28:16.184] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:28:16.191] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:28:16.194] config.status: executing check_win32_symlinks commands [16:28:16.228] [16:28:16.228] real 0m17.153s [16:28:16.228] user 0m11.275s [16:28:16.228] sys 0m5.407s [16:28:16.228] make -s -j${BUILD_JOBS} clean [16:28:16.758] time make -s -j${BUILD_JOBS} world-bin [16:29:37.912] In file included from ../../../../src/include/postgres.h:47, [16:29:37.912] from xlogrecovery.c:25: [16:29:37.912] In function ‘MemoryContextSwitchTo’, [16:29:37.912] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [16:29:37.912] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [16:29:37.912] 128 | CurrentMemoryContext = context; [16:29:37.912] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [16:29:37.912] xlogrecovery.c: In function ‘PerformWalRecovery’: [16:29:37.912] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [16:29:37.912] 1731 | MemoryContext oldCtx; [16:29:37.912] | ^~~~~~ [16:29:37.912] cc1: all warnings being treated as errors [16:29:37.913] make[4]: *** [: xlogrecovery.o] Error 1 [16:29:37.913] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [16:29:37.913] make[2]: *** [common.mk:37: access-recursive] Error 2 [16:29:37.913] make[2]: *** Waiting for unfinished jobs.... [16:29:41.993] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:29:41.993] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:29:41.993] [16:29:41.993] real 1m25.235s [16:29:41.993] user 4m32.151s [16:29:41.993] sys 0m55.648s [16:29:41.994] [16:29:41.994] Exit status: 2