[17:06:45.319] time ./configure \ [17:06:45.319] --host=x86_64-w64-mingw32 \ [17:06:45.319] --enable-cassert \ [17:06:45.319] --without-icu \ [17:06:45.319] CC="ccache x86_64-w64-mingw32-gcc" \ [17:06:45.319] CXX="ccache x86_64-w64-mingw32-g++" [17:06:45.447] checking build system type... x86_64-pc-linux-gnu [17:06:45.646] checking host system type... x86_64-w64-mingw32 [17:06:45.652] checking which template to use... win32 [17:06:45.653] checking whether NLS is wanted... no [17:06:45.653] checking for default port number... 5432 [17:06:45.660] checking for block size... 8kB [17:06:45.661] checking for segment size... 1GB [17:06:45.664] checking for WAL block size... 8kB [17:06:45.665] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:06:45.703] checking whether the C compiler works... yes [17:06:45.844] checking for C compiler default output file name... a.exe [17:06:45.845] checking for suffix of executables... .exe [17:06:45.888] checking whether we are cross compiling... yes [17:06:45.964] checking for suffix of object files... o [17:06:45.973] checking whether we are using the GNU C compiler... yes [17:06:45.979] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:06:45.987] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:06:45.997] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:06:46.059] checking whether we are using the GNU C++ compiler... yes [17:06:46.066] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:06:46.136] checking for gawk... no [17:06:46.136] checking for mawk... mawk [17:06:46.139] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:06:46.146] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:06:46.154] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:06:46.202] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:06:46.381] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:06:46.389] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:06:46.396] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:06:46.403] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:06:46.410] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:06:46.417] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:06:46.424] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:06:46.431] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:06:46.438] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:06:46.446] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:06:46.453] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:06:46.460] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:06:46.467] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:06:46.506] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:06:46.513] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:06:46.520] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:06:46.527] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:06:46.535] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:06:46.542] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:06:46.566] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:06:46.574] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:06:46.581] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:06:46.619] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:06:46.659] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:06:46.667] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:06:46.674] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:06:46.711] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:06:46.719] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:06:46.726] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:06:46.735] checking whether the C compiler still works... yes [17:06:46.802] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:06:46.879] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:06:46.879] checking pkg-config is at least version 0.9.0... yes [17:06:46.895] checking whether to build with ICU support... no [17:06:46.896] checking whether to build with Tcl... no [17:06:46.896] checking whether to build Perl modules... no [17:06:46.896] checking whether to build Python modules... no [17:06:46.896] checking whether to build with GSSAPI support... no [17:06:46.897] checking whether to build with PAM support... no [17:06:46.897] checking whether to build with BSD Authentication support... no [17:06:46.897] checking whether to build with LDAP support... no [17:06:46.898] checking whether to build with Bonjour support... no [17:06:46.898] checking whether to build with SELinux support... no [17:06:46.898] checking whether to build with systemd support... no [17:06:46.898] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:06:46.898] checking whether to build with XML support... no [17:06:46.898] checking whether to build with LZ4 support... no [17:06:46.898] checking whether to build with ZSTD support... no [17:06:46.899] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:06:46.899] checking whether it is possible to strip libraries... yes [17:06:46.907] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:06:46.908] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:06:46.908] checking for a BSD-compatible install... /usr/bin/install -c [17:06:46.917] checking for tar... /usr/bin/tar [17:06:46.917] checking whether ln -s works... yes [17:06:46.917] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:06:46.920] checking for bison... /usr/bin/bison [17:06:46.922] configure: using bison (GNU Bison) 3.8.2 [17:06:46.925] checking for flex... /usr/bin/flex [17:06:46.938] configure: using flex 2.6.4 [17:06:46.938] checking for perl... /usr/bin/perl [17:06:46.941] configure: using perl 5.36.0 [17:06:46.943] checking for zic... /usr/sbin/zic [17:06:46.943] checking for a sed that does not truncate output... /usr/bin/sed [17:06:46.948] checking for grep that handles long lines and -e... /usr/bin/grep [17:06:46.951] checking for egrep... /usr/bin/grep -E [17:06:46.952] checking for ANSI C header files... yes [17:06:47.001] checking for sys/types.h... yes [17:06:47.018] checking for sys/stat.h... yes [17:06:47.034] checking for stdlib.h... yes [17:06:47.049] checking for string.h... yes [17:06:47.062] checking for memory.h... yes [17:06:47.077] checking for strings.h... yes [17:06:47.091] checking for inttypes.h... yes [17:06:47.107] checking for stdint.h... yes [17:06:47.121] checking for unistd.h... yes [17:06:47.141] checking for main in -lm... yes [17:06:47.190] checking for library containing setproctitle... no [17:06:47.284] checking for library containing dlsym... no [17:06:47.375] checking for library containing socket... -lws2_32 [17:06:47.515] checking for library containing getopt_long... none required [17:06:47.565] checking for library containing shm_open... no [17:06:47.658] checking for library containing shm_unlink... no [17:06:47.749] checking for library containing clock_gettime... no [17:06:47.837] checking for library containing shmget... no [17:06:47.930] checking for library containing backtrace_symbols... no [17:06:48.027] checking for library containing pthread_barrier_wait... -lpthread [17:06:48.126] checking for inflate in -lz... yes [17:06:48.176] checking for stdbool.h that conforms to C99... yes [17:06:48.189] checking for _Bool... yes [17:06:48.266] checking atomic.h usability... no [17:06:48.324] checking atomic.h presence... no [17:06:48.344] checking for atomic.h... no [17:06:48.347] checking copyfile.h usability... no [17:06:48.406] checking copyfile.h presence... no [17:06:48.426] checking for copyfile.h... no [17:06:48.430] checking execinfo.h usability... no [17:06:48.491] checking execinfo.h presence... no [17:06:48.513] checking for execinfo.h... no [17:06:48.517] checking getopt.h usability... yes [17:06:48.526] checking getopt.h presence... yes [17:06:48.544] checking for getopt.h... yes [17:06:48.553] checking ifaddrs.h usability... no [17:06:48.613] checking ifaddrs.h presence... no [17:06:48.634] checking for ifaddrs.h... no [17:06:48.638] checking mbarrier.h usability... no [17:06:48.700] checking mbarrier.h presence... no [17:06:48.722] checking for mbarrier.h... no [17:06:48.726] checking sys/epoll.h usability... no [17:06:48.787] checking sys/epoll.h presence... no [17:06:48.808] checking for sys/epoll.h... no [17:06:48.811] checking sys/event.h usability... no [17:06:48.870] checking sys/event.h presence... no [17:06:48.889] checking for sys/event.h... no [17:06:48.893] checking sys/personality.h usability... no [17:06:48.949] checking sys/personality.h presence... no [17:06:48.971] checking for sys/personality.h... no [17:06:48.974] checking sys/prctl.h usability... no [17:06:49.033] checking sys/prctl.h presence... no [17:06:49.053] checking for sys/prctl.h... no [17:06:49.056] checking sys/procctl.h usability... no [17:06:49.114] checking sys/procctl.h presence... no [17:06:49.136] checking for sys/procctl.h... no [17:06:49.140] checking sys/signalfd.h usability... no [17:06:49.199] checking sys/signalfd.h presence... no [17:06:49.220] checking for sys/signalfd.h... no [17:06:49.223] checking sys/ucred.h usability... no [17:06:49.281] checking sys/ucred.h presence... no [17:06:49.302] checking for sys/ucred.h... no [17:06:49.306] checking termios.h usability... no [17:06:49.367] checking termios.h presence... no [17:06:49.388] checking for termios.h... no [17:06:49.391] checking ucred.h usability... no [17:06:49.452] checking ucred.h presence... no [17:06:49.473] checking for ucred.h... no [17:06:49.476] checking xlocale.h usability... no [17:06:49.536] checking xlocale.h presence... no [17:06:49.556] checking for xlocale.h... no [17:06:49.559] checking zlib.h usability... yes [17:06:49.569] checking zlib.h presence... yes [17:06:49.588] checking for zlib.h... yes [17:06:49.589] checking for lz4... /usr/bin/lz4 [17:06:49.589] checking for zstd... /usr/bin/zstd [17:06:49.589] checking for openssl... /usr/bin/openssl [17:06:49.594] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [17:06:49.594] checking crtdefs.h usability... yes [17:06:49.602] checking crtdefs.h presence... yes [17:06:49.618] checking for crtdefs.h... yes [17:06:49.619] checking whether byte ordering is bigendian... no [17:06:49.703] checking for inline... inline [17:06:49.711] checking for printf format archetype... gnu_printf [17:06:49.720] checking for _Static_assert... yes [17:06:49.763] checking for typeof... typeof [17:06:49.771] checking for __builtin_types_compatible_p... yes [17:06:49.783] checking for __builtin_constant_p... yes [17:06:49.794] checking for __builtin_unreachable... yes [17:06:49.836] checking for computed goto support... yes [17:06:49.843] checking for struct tm.tm_zone... no [17:06:49.923] checking for union semun... no [17:06:49.957] checking for socklen_t... yes [17:06:51.239] checking for struct sockaddr.sa_len... no [17:06:53.391] checking for C/C++ restrict keyword... __restrict [17:06:53.404] checking for struct option... yes [17:06:53.450] checking whether assembler supports x86_64 popcntq... yes [17:06:53.457] checking size of off_t... 4 [17:06:53.685] 0 [17:06:53.685] checking size of bool... 1 [17:06:53.737] checking for int timezone... yes [17:06:53.795] checking for backtrace_symbols... no [17:06:53.848] checking for copyfile... no [17:06:53.900] checking for copy_file_range... no [17:06:53.954] checking for getifaddrs... no [17:06:54.008] checking for getpeerucred... no [17:06:54.061] checking for inet_pton... yes [17:06:54.115] checking for kqueue... no [17:06:54.168] checking for mbstowcs_l... no [17:06:54.220] checking for memset_s... no [17:06:54.273] checking for posix_fallocate... no [17:06:54.328] checking for ppoll... no [17:06:54.383] checking for pthread_is_threaded_np... no [17:06:54.439] checking for setproctitle... no [17:06:54.493] checking for setproctitle_fast... no [17:06:54.547] checking for strchrnul... no [17:06:54.601] checking for strsignal... no [17:06:54.654] checking for syncfs... no [17:06:54.708] checking for sync_file_range... no [17:06:54.764] checking for uselocale... no [17:06:54.818] checking for wcstombs_l... no [17:06:54.868] checking for __builtin_bswap16... yes [17:06:54.918] checking for __builtin_bswap32... yes [17:06:54.967] checking for __builtin_bswap64... yes [17:06:55.015] checking for __builtin_clz... yes [17:06:55.066] checking for __builtin_ctz... yes [17:06:55.117] checking for __builtin_popcount... yes [17:06:55.168] checking for __builtin_frame_address... yes [17:06:55.218] checking for _LARGEFILE_SOURCE value needed for large files... no [17:06:55.271] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:06:55.305] checking for posix_fadvise... no [17:06:55.360] checking whether posix_fadvise is declared... no [17:06:55.410] checking whether fdatasync is declared... no [17:06:55.461] checking whether strlcat is declared... no [17:06:55.530] checking whether strlcpy is declared... no [17:06:55.598] checking whether strnlen is declared... yes [17:06:55.613] checking whether strsep is declared... no [17:06:55.682] checking whether preadv is declared... no [17:06:55.724] checking whether pwritev is declared... no [17:06:55.767] checking whether F_FULLFSYNC is declared... no [17:06:55.811] checking for explicit_bzero... no [17:06:55.862] checking for getopt... yes [17:06:55.910] checking for getpeereid... no [17:06:55.960] checking for inet_aton... no [17:06:56.009] checking for mkdtemp... no [17:06:56.060] checking for strlcat... no [17:06:56.110] checking for strlcpy... no [17:06:56.161] checking for strnlen... yes [17:06:56.211] checking for strsep... no [17:06:56.260] checking for pthread_barrier_wait... yes [17:06:56.307] configure: On mingw32 we will use our strtof wrapper. [17:06:56.307] checking for getopt_long... yes [17:06:56.356] checking for _configthreadlocale... yes [17:06:56.404] checking for syslog... no [17:06:56.454] checking for opterr... yes [17:06:56.503] checking for optreset... no [17:06:56.556] checking test program... cross-compiling [17:06:56.556] checking whether long int is 64 bits... no [17:06:56.589] checking whether long long int is 64 bits... yes [17:06:56.599] checking for __builtin_mul_overflow... yes [17:06:56.645] checking size of void *... 8 [17:06:56.923] checking size of size_t... 8 [17:06:57.200] checking size of long... 4 [17:06:57.402] checking alignment of short... 2 [17:06:57.538] checking alignment of int... 4 [17:06:57.739] checking alignment of long... 4 [17:06:57.951] checking alignment of long long int... 8 [17:06:58.229] checking alignment of double... 8 [17:06:58.521] checking for int8... no [17:06:58.566] checking for uint8... no [17:06:58.613] checking for int64... no [17:06:58.660] checking for uint64... no [17:06:58.706] checking for __int128... yes [17:06:58.759] checking for __int128 alignment bug... assuming ok [17:06:58.759] checking alignment of PG_INT128_TYPE... 16 [17:06:59.110] checking for builtin __sync char locking functions... yes [17:06:59.155] checking for builtin __sync int32 locking functions... yes [17:06:59.199] checking for builtin __sync int32 atomic operations... yes [17:06:59.243] checking for builtin __sync int64 atomic operations... yes [17:06:59.289] checking for builtin __atomic int32 atomic operations... yes [17:06:59.332] checking for builtin __atomic int64 atomic operations... yes [17:06:59.375] checking for __get_cpuid... yes [17:06:59.425] checking for __get_cpuid_count... yes [17:06:59.470] checking for __cpuid... no [17:06:59.875] checking for __cpuidex... no [17:07:00.302] checking for _xgetbv with CFLAGS=... no [17:07:00.679] checking for _xgetbv with CFLAGS=-mxsave... yes [17:07:01.079] checking for _mm512_popcnt_epi64 with CFLAGS=... no [17:07:01.466] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [17:07:01.809] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:07:01.858] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:07:01.954] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:07:01.979] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:07:02.000] 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 [17:07:02.059] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:07:02.060] checking which random number source to use... Windows native [17:07:02.062] checking for xmllint... /usr/bin/xmllint [17:07:02.062] checking for xsltproc... /usr/bin/xsltproc [17:07:02.062] checking for fop... /usr/bin/fop [17:07:02.062] checking for dbtoepub... no [17:07:02.063] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:07:02.063] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:07:02.063] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:07:02.076] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:07:02.076] 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 [17:07:02.076] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:07:02.076] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:07:02.169] configure: creating ./config.status [17:07:02.261] config.status: creating GNUmakefile [17:07:02.274] config.status: creating src/Makefile.global [17:07:02.291] config.status: creating src/include/pg_config.h [17:07:02.305] config.status: creating src/include/pg_config_ext.h [17:07:02.318] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:07:02.335] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:07:02.343] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:07:02.350] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:07:02.358] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:07:02.366] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:07:02.370] config.status: executing check_win32_symlinks commands [17:07:02.407] [17:07:02.407] real 0m17.088s [17:07:02.407] user 0m11.493s [17:07:02.407] sys 0m5.253s [17:07:02.407] make -s -j${BUILD_JOBS} clean [17:07:02.933] time make -s -j${BUILD_JOBS} world-bin [17:07:37.080] In file included from ../../../../src/include/postgres.h:47, [17:07:37.080] from xlogrecovery.c:25: [17:07:37.080] In function ‘MemoryContextSwitchTo’, [17:07:37.080] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [17:07:37.080] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [17:07:37.080] 128 | CurrentMemoryContext = context; [17:07:37.080] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [17:07:37.080] xlogrecovery.c: In function ‘PerformWalRecovery’: [17:07:37.080] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [17:07:37.080] 1732 | MemoryContext oldCtx; [17:07:37.080] | ^~~~~~ [17:07:37.080] cc1: all warnings being treated as errors [17:07:37.080] make[4]: *** [: xlogrecovery.o] Error 1 [17:07:37.081] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [17:07:37.081] make[2]: *** [common.mk:37: access-recursive] Error 2 [17:07:37.081] make[2]: *** Waiting for unfinished jobs.... [17:07:37.381] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:07:37.381] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:07:37.381] [17:07:37.381] real 0m34.448s [17:07:37.381] user 1m36.090s [17:07:37.381] sys 0m30.401s [17:07:37.381] [17:07:37.381] Exit status: 2