[21:35:40.481] time ./configure \ [21:35:40.481] --host=x86_64-w64-mingw32 \ [21:35:40.481] --enable-cassert \ [21:35:40.481] --without-icu \ [21:35:40.481] CC="ccache x86_64-w64-mingw32-gcc" \ [21:35:40.481] CXX="ccache x86_64-w64-mingw32-g++" [21:35:40.598] checking build system type... x86_64-pc-linux-gnu [21:35:40.836] checking host system type... x86_64-w64-mingw32 [21:35:40.842] checking which template to use... win32 [21:35:40.842] checking whether NLS is wanted... no [21:35:40.842] checking for default port number... 5432 [21:35:40.849] checking for block size... 8kB [21:35:40.851] checking for segment size... 1GB [21:35:40.853] checking for WAL block size... 8kB [21:35:40.855] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:35:40.891] checking whether the C compiler works... yes [21:35:41.046] checking for C compiler default output file name... a.exe [21:35:41.048] checking for suffix of executables... .exe [21:35:41.091] checking whether we are cross compiling... yes [21:35:41.165] checking for suffix of object files... o [21:35:41.174] checking whether we are using the GNU C compiler... yes [21:35:41.181] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:35:41.188] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:35:41.199] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:35:41.258] checking whether we are using the GNU C++ compiler... yes [21:35:41.265] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:35:41.337] checking for gawk... no [21:35:41.337] checking for mawk... mawk [21:35:41.339] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:35:41.347] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:35:41.354] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:35:41.410] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:35:41.603] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:35:41.611] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:35:41.619] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:35:41.626] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:35:41.635] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:35:41.642] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:35:41.650] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:35:41.658] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:35:41.666] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:35:41.674] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:35:41.682] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:35:41.689] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:35:41.697] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:35:41.737] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:35:41.744] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:35:41.780] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:35:41.788] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:35:41.796] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:35:41.803] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:35:41.828] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:35:41.835] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:35:41.843] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:35:41.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:35:41.922] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:35:41.930] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:35:41.937] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:35:41.974] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:35:41.982] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:35:41.990] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:35:42.009] checking whether the C compiler still works... yes [21:35:42.081] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:35:42.160] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:35:42.160] checking pkg-config is at least version 0.9.0... yes [21:35:42.178] checking whether to build with ICU support... no [21:35:42.178] checking whether to build with Tcl... no [21:35:42.178] checking whether to build Perl modules... no [21:35:42.178] checking whether to build Python modules... no [21:35:42.178] checking whether to build with GSSAPI support... no [21:35:42.180] checking whether to build with PAM support... no [21:35:42.180] checking whether to build with BSD Authentication support... no [21:35:42.180] checking whether to build with LDAP support... no [21:35:42.180] checking whether to build with Bonjour support... no [21:35:42.180] checking whether to build with SELinux support... no [21:35:42.180] checking whether to build with systemd support... no [21:35:42.180] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:35:42.180] checking whether to build with XML support... no [21:35:42.180] checking whether to build with LZ4 support... no [21:35:42.181] checking whether to build with ZSTD support... no [21:35:42.181] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:35:42.181] checking whether it is possible to strip libraries... yes [21:35:42.190] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:35:42.190] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:35:42.190] checking for a BSD-compatible install... /usr/bin/install -c [21:35:42.200] checking for tar... /usr/bin/tar [21:35:42.201] checking whether ln -s works... yes [21:35:42.201] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:35:42.203] checking for bison... /usr/bin/bison [21:35:42.206] configure: using bison (GNU Bison) 3.8.2 [21:35:42.209] checking for flex... /usr/bin/flex [21:35:42.221] configure: using flex 2.6.4 [21:35:42.221] checking for perl... /usr/bin/perl [21:35:42.224] configure: using perl 5.36.0 [21:35:42.226] checking for zic... /usr/sbin/zic [21:35:42.226] checking for a sed that does not truncate output... /usr/bin/sed [21:35:42.231] checking for grep that handles long lines and -e... /usr/bin/grep [21:35:42.233] checking for egrep... /usr/bin/grep -E [21:35:42.235] checking for ANSI C header files... yes [21:35:42.288] checking for sys/types.h... yes [21:35:42.308] checking for sys/stat.h... yes [21:35:42.324] checking for stdlib.h... yes [21:35:42.340] checking for string.h... yes [21:35:42.356] checking for memory.h... yes [21:35:42.374] checking for strings.h... yes [21:35:42.391] checking for inttypes.h... yes [21:35:42.409] checking for stdint.h... yes [21:35:42.425] checking for unistd.h... yes [21:35:42.443] checking for main in -lm... yes [21:35:42.496] checking for library containing setproctitle... no [21:35:42.590] checking for library containing dlsym... no [21:35:42.683] checking for library containing socket... -lws2_32 [21:35:42.824] checking for library containing getopt_long... none required [21:35:42.878] checking for library containing shm_open... no [21:35:42.973] checking for library containing shm_unlink... no [21:35:43.067] checking for library containing clock_gettime... no [21:35:43.160] checking for library containing shmget... no [21:35:43.255] checking for library containing backtrace_symbols... no [21:35:43.350] checking for library containing pthread_barrier_wait... -lpthread [21:35:43.446] checking for inflate in -lz... yes [21:35:43.494] checking for stdbool.h that conforms to C99... yes [21:35:43.506] checking for _Bool... yes [21:35:43.584] checking atomic.h usability... no [21:35:43.641] checking atomic.h presence... no [21:35:43.661] checking for atomic.h... no [21:35:43.664] checking copyfile.h usability... no [21:35:43.722] checking copyfile.h presence... no [21:35:43.742] checking for copyfile.h... no [21:35:43.746] checking execinfo.h usability... no [21:35:43.803] checking execinfo.h presence... no [21:35:43.822] checking for execinfo.h... no [21:35:43.826] checking getopt.h usability... yes [21:35:43.884] checking getopt.h presence... yes [21:35:43.901] checking for getopt.h... yes [21:35:43.909] checking ifaddrs.h usability... no [21:35:43.968] checking ifaddrs.h presence... no [21:35:43.988] checking for ifaddrs.h... no [21:35:43.992] checking mbarrier.h usability... no [21:35:44.051] checking mbarrier.h presence... no [21:35:44.072] checking for mbarrier.h... no [21:35:44.076] checking sys/epoll.h usability... no [21:35:44.135] checking sys/epoll.h presence... no [21:35:44.155] checking for sys/epoll.h... no [21:35:44.159] checking sys/event.h usability... no [21:35:44.216] checking sys/event.h presence... no [21:35:44.237] checking for sys/event.h... no [21:35:44.241] checking sys/personality.h usability... no [21:35:44.300] checking sys/personality.h presence... no [21:35:44.322] checking for sys/personality.h... no [21:35:44.326] checking sys/prctl.h usability... no [21:35:44.385] checking sys/prctl.h presence... no [21:35:44.406] checking for sys/prctl.h... no [21:35:44.409] checking sys/procctl.h usability... no [21:35:44.470] checking sys/procctl.h presence... no [21:35:44.492] checking for sys/procctl.h... no [21:35:44.495] checking sys/signalfd.h usability... no [21:35:44.555] checking sys/signalfd.h presence... no [21:35:44.576] checking for sys/signalfd.h... no [21:35:44.580] checking sys/ucred.h usability... no [21:35:44.638] checking sys/ucred.h presence... no [21:35:44.660] checking for sys/ucred.h... no [21:35:44.664] checking termios.h usability... no [21:35:44.722] checking termios.h presence... no [21:35:44.742] checking for termios.h... no [21:35:44.745] checking ucred.h usability... no [21:35:44.801] checking ucred.h presence... no [21:35:44.822] checking for ucred.h... no [21:35:44.825] checking zlib.h usability... yes [21:35:44.835] checking zlib.h presence... yes [21:35:44.855] checking for zlib.h... yes [21:35:44.856] checking for lz4... /usr/bin/lz4 [21:35:44.856] checking for zstd... /usr/bin/zstd [21:35:44.856] checking for openssl... /usr/bin/openssl [21:35:44.860] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [21:35:44.861] checking crtdefs.h usability... yes [21:35:44.919] checking crtdefs.h presence... yes [21:35:44.935] checking for crtdefs.h... yes [21:35:44.936] checking whether byte ordering is bigendian... no [21:35:45.018] checking for inline... inline [21:35:45.026] checking for printf format archetype... gnu_printf [21:35:45.064] checking for _Static_assert... yes [21:35:45.107] checking for typeof... typeof [21:35:45.114] checking for __builtin_types_compatible_p... yes [21:35:45.135] checking for __builtin_constant_p... yes [21:35:45.146] checking for __builtin_unreachable... yes [21:35:45.188] checking for computed goto support... yes [21:35:45.196] checking for struct tm.tm_zone... no [21:35:45.281] checking for union semun... no [21:35:45.317] checking for socklen_t... yes [21:35:46.589] checking for struct sockaddr.sa_len... no [21:35:48.814] checking for locale_t... no [21:35:48.885] checking for C/C++ restrict keyword... __restrict [21:35:48.900] checking for struct option... yes [21:35:48.948] checking whether assembler supports x86_64 popcntq... yes [21:35:48.956] checking size of off_t... 4 [21:35:49.219] 0 [21:35:49.219] checking size of bool... 1 [21:35:49.270] checking for int timezone... yes [21:35:49.321] checking for wcstombs_l declaration... no [21:35:49.415] checking for backtrace_symbols... no [21:35:49.468] checking for copyfile... no [21:35:49.521] checking for copy_file_range... no [21:35:49.575] checking for getifaddrs... no [21:35:49.629] checking for getpeerucred... no [21:35:49.682] checking for inet_pton... yes [21:35:49.736] checking for kqueue... no [21:35:49.791] checking for mbstowcs_l... no [21:35:49.844] checking for memset_s... no [21:35:49.898] checking for posix_fallocate... no [21:35:49.950] checking for ppoll... no [21:35:50.003] checking for pthread_is_threaded_np... no [21:35:50.057] checking for setproctitle... no [21:35:50.111] checking for setproctitle_fast... no [21:35:50.164] checking for strchrnul... no [21:35:50.217] checking for strsignal... no [21:35:50.270] checking for syncfs... no [21:35:50.325] checking for sync_file_range... no [21:35:50.379] checking for uselocale... no [21:35:50.432] checking for wcstombs_l... no [21:35:50.483] checking for __builtin_bswap16... yes [21:35:50.536] checking for __builtin_bswap32... yes [21:35:50.586] checking for __builtin_bswap64... yes [21:35:50.637] checking for __builtin_clz... yes [21:35:50.689] checking for __builtin_ctz... yes [21:35:50.739] checking for __builtin_popcount... yes [21:35:50.790] checking for __builtin_frame_address... yes [21:35:50.842] checking for _LARGEFILE_SOURCE value needed for large files... no [21:35:50.896] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:35:50.930] checking for posix_fadvise... no [21:35:50.985] checking whether posix_fadvise is declared... no [21:35:51.034] checking whether fdatasync is declared... no [21:35:51.082] checking whether strlcat is declared... no [21:35:51.150] checking whether strlcpy is declared... no [21:35:51.215] checking whether strnlen is declared... yes [21:35:51.229] checking whether strsep is declared... no [21:35:51.294] checking whether preadv is declared... no [21:35:51.332] checking whether pwritev is declared... no [21:35:51.370] checking whether F_FULLFSYNC is declared... no [21:35:51.411] checking for explicit_bzero... no [21:35:51.462] checking for getopt... yes [21:35:51.510] checking for getpeereid... no [21:35:51.561] checking for inet_aton... no [21:35:51.615] checking for mkdtemp... no [21:35:51.665] checking for strlcat... no [21:35:51.716] checking for strlcpy... no [21:35:51.766] checking for strnlen... yes [21:35:51.816] checking for strsep... no [21:35:51.867] checking for pthread_barrier_wait... yes [21:35:51.913] configure: On mingw32 we will use our strtof wrapper. [21:35:51.913] checking for getopt_long... yes [21:35:51.962] checking for _configthreadlocale... yes [21:35:52.010] checking for syslog... no [21:35:52.061] checking for opterr... yes [21:35:52.112] checking for optreset... no [21:35:52.165] checking test program... cross-compiling [21:35:52.166] checking whether long int is 64 bits... no [21:35:52.201] checking whether long long int is 64 bits... yes [21:35:52.211] checking for __builtin_mul_overflow... yes [21:35:52.256] checking size of void *... 8 [21:35:52.537] checking size of size_t... 8 [21:35:52.822] checking size of long... 4 [21:35:53.061] checking alignment of short... 2 [21:35:53.208] checking alignment of int... 4 [21:35:53.429] checking alignment of long... 4 [21:35:53.672] checking alignment of long long int... 8 [21:35:54.017] checking alignment of double... 8 [21:35:54.306] checking for int8... no [21:35:54.351] checking for uint8... no [21:35:54.397] checking for int64... no [21:35:54.444] checking for uint64... no [21:35:54.490] checking for __int128... yes [21:35:54.543] checking for __int128 alignment bug... assuming ok [21:35:54.543] checking alignment of PG_INT128_TYPE... 16 [21:35:54.924] checking for builtin __sync char locking functions... yes [21:35:54.970] checking for builtin __sync int32 locking functions... yes [21:35:55.016] checking for builtin __sync int32 atomic operations... yes [21:35:55.061] checking for builtin __sync int64 atomic operations... yes [21:35:55.105] checking for builtin __atomic int32 atomic operations... yes [21:35:55.149] checking for builtin __atomic int64 atomic operations... yes [21:35:55.193] checking for __get_cpuid... yes [21:35:55.242] checking for __get_cpuid_count... yes [21:35:55.288] checking for __cpuid... no [21:35:55.695] checking for __cpuidex... no [21:35:56.128] checking for _xgetbv with CFLAGS=... no [21:35:56.525] checking for _xgetbv with CFLAGS=-mxsave... yes [21:35:56.941] checking for _mm512_popcnt_epi64 with CFLAGS=... no [21:35:57.317] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [21:35:57.667] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [21:35:57.715] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [21:35:57.810] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:35:57.835] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:35:57.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 [21:35:57.914] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:35:57.914] checking which random number source to use... Windows native [21:35:57.916] checking for xmllint... /usr/bin/xmllint [21:35:57.917] checking for xsltproc... /usr/bin/xsltproc [21:35:57.917] checking for fop... /usr/bin/fop [21:35:57.917] checking for dbtoepub... no [21:35:57.917] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:35:57.918] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:35:57.918] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:35:57.930] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:35:57.930] 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 [21:35:57.930] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:35:57.930] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:35:58.019] configure: creating ./config.status [21:35:58.106] config.status: creating GNUmakefile [21:35:58.119] config.status: creating src/Makefile.global [21:35:58.135] config.status: creating src/include/pg_config.h [21:35:58.149] config.status: creating src/include/pg_config_ext.h [21:35:58.162] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:35:58.179] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:35:58.187] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:35:58.195] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:35:58.203] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:35:58.210] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:35:58.214] config.status: executing check_win32_symlinks commands [21:35:58.253] [21:35:58.253] real 0m17.772s [21:35:58.253] user 0m11.790s [21:35:58.253] sys 0m5.516s [21:35:58.253] make -s -j${BUILD_JOBS} clean [21:35:58.784] time make -s -j${BUILD_JOBS} world-bin [21:36:36.421] In file included from ../../../../src/include/postgres.h:47, [21:36:36.421] from xlogrecovery.c:25: [21:36:36.421] In function ‘MemoryContextSwitchTo’, [21:36:36.421] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [21:36:36.421] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [21:36:36.421] 128 | CurrentMemoryContext = context; [21:36:36.421] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [21:36:36.421] xlogrecovery.c: In function ‘PerformWalRecovery’: [21:36:36.421] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [21:36:36.421] 1732 | MemoryContext oldCtx; [21:36:36.421] | ^~~~~~ [21:36:36.421] cc1: all warnings being treated as errors [21:36:36.422] make[4]: *** [: xlogrecovery.o] Error 1 [21:36:36.422] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [21:36:36.422] make[2]: *** [common.mk:37: access-recursive] Error 2 [21:36:36.422] make[2]: *** Waiting for unfinished jobs.... [21:36:45.951] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:36:45.951] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:36:45.951] [21:36:45.951] real 0m47.167s [21:36:45.951] user 2m18.107s [21:36:45.951] sys 0m37.606s [21:36:45.952] [21:36:45.952] Exit status: 2