[22:03:39.623] time ./configure \ [22:03:39.623] --host=x86_64-w64-mingw32 \ [22:03:39.623] --enable-cassert \ [22:03:39.623] --without-icu \ [22:03:39.623] CC="ccache x86_64-w64-mingw32-gcc" \ [22:03:39.623] CXX="ccache x86_64-w64-mingw32-g++" [22:03:39.758] checking build system type... x86_64-pc-linux-gnu [22:03:39.975] checking host system type... x86_64-w64-mingw32 [22:03:39.981] checking which template to use... win32 [22:03:39.981] checking whether NLS is wanted... no [22:03:39.981] checking for default port number... 5432 [22:03:39.988] checking for block size... 8kB [22:03:39.989] checking for segment size... 1GB [22:03:39.992] checking for WAL block size... 8kB [22:03:39.993] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [22:03:40.030] checking whether the C compiler works... yes [22:03:40.182] checking for C compiler default output file name... a.exe [22:03:40.183] checking for suffix of executables... .exe [22:03:40.227] checking whether we are cross compiling... yes [22:03:40.306] checking for suffix of object files... o [22:03:40.314] checking whether we are using the GNU C compiler... yes [22:03:40.321] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [22:03:40.328] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [22:03:40.343] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [22:03:40.416] checking whether we are using the GNU C++ compiler... yes [22:03:40.423] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [22:03:40.719] checking for gawk... no [22:03:40.719] checking for mawk... mawk [22:03:40.722] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [22:03:40.729] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [22:03:40.764] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [22:03:40.814] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [22:03:40.861] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [22:03:40.868] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [22:03:40.876] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [22:03:40.910] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [22:03:40.926] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [22:03:40.933] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [22:03:40.940] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [22:03:40.974] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [22:03:40.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [22:03:40.988] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [22:03:40.996] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [22:03:41.032] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [22:03:41.068] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [22:03:41.109] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [22:03:41.127] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [22:03:41.163] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [22:03:41.171] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [22:03:41.178] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [22:03:41.185] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [22:03:41.209] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [22:03:41.217] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [22:03:41.225] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [22:03:41.265] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [22:03:41.306] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [22:03:41.342] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [22:03:41.351] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [22:03:41.389] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [22:03:41.397] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [22:03:41.405] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [22:03:41.414] checking whether the C compiler still works... yes [22:03:41.490] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [22:03:41.579] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [22:03:41.579] checking pkg-config is at least version 0.9.0... yes [22:03:41.598] checking whether to build with ICU support... no [22:03:41.598] checking whether to build with Tcl... no [22:03:41.598] checking whether to build Perl modules... no [22:03:41.598] checking whether to build Python modules... no [22:03:41.598] checking whether to build with GSSAPI support... no [22:03:41.600] checking whether to build with PAM support... no [22:03:41.600] checking whether to build with BSD Authentication support... no [22:03:41.600] checking whether to build with LDAP support... no [22:03:41.600] checking whether to build with Bonjour support... no [22:03:41.600] checking whether to build with SELinux support... no [22:03:41.600] checking whether to build with systemd support... no [22:03:41.601] configure: WARNING: *** Readline does not work on MinGW --- disabling [22:03:41.601] checking whether to build with XML support... no [22:03:41.601] checking whether to build with LZ4 support... no [22:03:41.602] checking whether to build with ZSTD support... no [22:03:41.602] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [22:03:41.602] checking whether it is possible to strip libraries... yes [22:03:41.612] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [22:03:41.612] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [22:03:41.613] checking for a BSD-compatible install... /usr/bin/install -c [22:03:41.623] checking for tar... /usr/bin/tar [22:03:41.623] checking whether ln -s works... yes [22:03:41.623] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [22:03:41.626] checking for bison... /usr/bin/bison [22:03:41.628] configure: using bison (GNU Bison) 3.8.2 [22:03:41.632] checking for flex... /usr/bin/flex [22:03:41.645] configure: using flex 2.6.4 [22:03:41.645] checking for perl... /usr/bin/perl [22:03:41.649] configure: using perl 5.36.0 [22:03:41.651] checking for zic... /usr/sbin/zic [22:03:41.652] checking for a sed that does not truncate output... /usr/bin/sed [22:03:41.657] checking for grep that handles long lines and -e... /usr/bin/grep [22:03:41.660] checking for egrep... /usr/bin/grep -E [22:03:41.662] checking for ANSI C header files... yes [22:03:41.716] checking for sys/types.h... yes [22:03:41.736] checking for sys/stat.h... yes [22:03:41.754] checking for stdlib.h... yes [22:03:41.771] checking for string.h... yes [22:03:41.786] checking for memory.h... yes [22:03:41.803] checking for strings.h... yes [22:03:41.869] checking for inttypes.h... yes [22:03:41.886] checking for stdint.h... yes [22:03:41.924] checking for unistd.h... yes [22:03:41.963] checking for main in -lm... yes [22:03:42.017] checking for library containing setproctitle... no [22:03:42.116] checking for library containing dlsym... no [22:03:42.213] checking for library containing socket... -lws2_32 [22:03:42.366] checking for library containing getopt_long... none required [22:03:42.421] checking for library containing shm_open... no [22:03:42.522] checking for library containing shm_unlink... no [22:03:42.621] checking for library containing clock_gettime... no [22:03:42.719] checking for library containing shmget... no [22:03:42.820] checking for library containing backtrace_symbols... no [22:03:42.917] checking for library containing pthread_barrier_wait... -lpthread [22:03:43.016] checking for inflate in -lz... yes [22:03:43.070] checking for stdbool.h that conforms to C99... yes [22:03:43.084] checking for _Bool... yes [22:03:43.221] checking atomic.h usability... no [22:03:43.280] checking atomic.h presence... no [22:03:43.301] checking for atomic.h... no [22:03:43.305] checking copyfile.h usability... no [22:03:43.365] checking copyfile.h presence... no [22:03:43.385] checking for copyfile.h... no [22:03:43.389] checking execinfo.h usability... no [22:03:43.449] checking execinfo.h presence... no [22:03:43.470] checking for execinfo.h... no [22:03:43.474] checking getopt.h usability... yes [22:03:43.506] checking getopt.h presence... yes [22:03:43.525] checking for getopt.h... yes [22:03:43.534] checking ifaddrs.h usability... no [22:03:43.597] checking ifaddrs.h presence... no [22:03:43.618] checking for ifaddrs.h... no [22:03:43.622] checking mbarrier.h usability... no [22:03:43.680] checking mbarrier.h presence... no [22:03:43.700] checking for mbarrier.h... no [22:03:43.703] checking sys/epoll.h usability... no [22:03:43.760] checking sys/epoll.h presence... no [22:03:43.780] checking for sys/epoll.h... no [22:03:43.783] checking sys/event.h usability... no [22:03:43.840] checking sys/event.h presence... no [22:03:43.860] checking for sys/event.h... no [22:03:43.864] checking sys/personality.h usability... no [22:03:43.923] checking sys/personality.h presence... no [22:03:43.944] checking for sys/personality.h... no [22:03:43.948] checking sys/prctl.h usability... no [22:03:44.011] checking sys/prctl.h presence... no [22:03:44.033] checking for sys/prctl.h... no [22:03:44.036] checking sys/procctl.h usability... no [22:03:44.096] checking sys/procctl.h presence... no [22:03:44.118] checking for sys/procctl.h... no [22:03:44.122] checking sys/signalfd.h usability... no [22:03:44.185] checking sys/signalfd.h presence... no [22:03:44.206] checking for sys/signalfd.h... no [22:03:44.210] checking sys/ucred.h usability... no [22:03:44.274] checking sys/ucred.h presence... no [22:03:44.296] checking for sys/ucred.h... no [22:03:44.300] checking termios.h usability... no [22:03:44.361] checking termios.h presence... no [22:03:44.382] checking for termios.h... no [22:03:44.386] checking ucred.h usability... no [22:03:44.448] checking ucred.h presence... no [22:03:44.470] checking for ucred.h... no [22:03:44.474] checking xlocale.h usability... no [22:03:44.537] checking xlocale.h presence... no [22:03:44.560] checking for xlocale.h... no [22:03:44.563] checking zlib.h usability... yes [22:03:44.577] checking zlib.h presence... yes [22:03:44.599] checking for zlib.h... yes [22:03:44.600] checking for lz4... /usr/bin/lz4 [22:03:44.600] checking for zstd... /usr/bin/zstd [22:03:44.600] checking for openssl... /usr/bin/openssl [22:03:44.605] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [22:03:44.606] checking crtdefs.h usability... yes [22:03:44.637] checking crtdefs.h presence... yes [22:03:44.653] checking for crtdefs.h... yes [22:03:44.655] checking whether byte ordering is bigendian... no [22:03:44.736] checking for inline... inline [22:03:44.768] checking for printf format archetype... gnu_printf [22:03:44.778] checking for _Static_assert... yes [22:03:44.824] checking for typeof... typeof [22:03:44.860] checking for __builtin_types_compatible_p... yes [22:03:44.874] checking for __builtin_constant_p... yes [22:03:44.886] checking for __builtin_unreachable... yes [22:03:44.932] checking for computed goto support... yes [22:03:44.969] checking for struct tm.tm_zone... no [22:03:45.059] checking for union semun... no [22:03:45.099] checking for socklen_t... yes [22:03:46.353] checking for struct sockaddr.sa_len... no [22:03:48.446] checking for C/C++ restrict keyword... __restrict [22:03:48.460] checking for struct option... yes [22:03:48.508] checking whether assembler supports x86_64 popcntq... yes [22:03:48.517] checking size of off_t... 4 [22:03:48.757] 0 [22:03:48.757] checking size of bool... 1 [22:03:48.851] checking for int timezone... yes [22:03:48.912] checking for backtrace_symbols... no [22:03:48.968] checking for copyfile... no [22:03:49.024] checking for copy_file_range... no [22:03:49.079] checking for getifaddrs... no [22:03:49.135] checking for getpeerucred... no [22:03:49.191] checking for inet_pton... yes [22:03:49.248] checking for kqueue... no [22:03:49.301] checking for mbstowcs_l... no [22:03:49.355] checking for memset_s... no [22:03:49.407] checking for posix_fallocate... no [22:03:49.461] checking for ppoll... no [22:03:49.514] checking for pthread_is_threaded_np... no [22:03:49.569] checking for setproctitle... no [22:03:49.625] checking for setproctitle_fast... no [22:03:49.681] checking for strchrnul... no [22:03:49.737] checking for strsignal... no [22:03:49.793] checking for syncfs... no [22:03:49.847] checking for sync_file_range... no [22:03:49.903] checking for uselocale... no [22:03:49.962] checking for wcstombs_l... no [22:03:50.016] checking for __builtin_bswap16... yes [22:03:50.069] checking for __builtin_bswap32... yes [22:03:50.122] checking for __builtin_bswap64... yes [22:03:50.175] checking for __builtin_clz... yes [22:03:50.230] checking for __builtin_ctz... yes [22:03:50.285] checking for __builtin_popcount... yes [22:03:50.341] checking for __builtin_frame_address... yes [22:03:50.396] checking for _LARGEFILE_SOURCE value needed for large files... no [22:03:50.453] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [22:03:50.487] checking for posix_fadvise... no [22:03:50.543] checking whether posix_fadvise is declared... no [22:03:50.595] checking whether fdatasync is declared... no [22:03:50.647] checking whether strlcat is declared... no [22:03:50.715] checking whether strlcpy is declared... no [22:03:50.787] checking whether strnlen is declared... yes [22:03:50.802] checking whether strsep is declared... no [22:03:50.873] checking whether preadv is declared... no [22:03:50.916] checking whether pwritev is declared... no [22:03:50.960] checking whether F_FULLFSYNC is declared... no [22:03:51.006] checking for explicit_bzero... no [22:03:51.059] checking for getopt... yes [22:03:51.108] checking for getpeereid... no [22:03:51.159] checking for inet_aton... no [22:03:51.212] checking for mkdtemp... no [22:03:51.264] checking for strlcat... no [22:03:51.317] checking for strlcpy... no [22:03:51.371] checking for strnlen... yes [22:03:51.424] checking for strsep... no [22:03:51.475] checking for pthread_barrier_wait... yes [22:03:51.523] configure: On mingw32 we will use our strtof wrapper. [22:03:51.523] checking for getopt_long... yes [22:03:51.572] checking for _configthreadlocale... yes [22:03:51.624] checking for syslog... no [22:03:51.677] checking for opterr... yes [22:03:51.731] checking for optreset... no [22:03:51.786] checking test program... cross-compiling [22:03:51.786] checking whether long int is 64 bits... no [22:03:51.821] checking whether long long int is 64 bits... yes [22:03:51.864] checking for __builtin_mul_overflow... yes [22:03:51.911] checking size of void *... 8 [22:03:52.326] checking size of size_t... 8 [22:03:52.668] checking size of long... 4 [22:03:52.902] checking alignment of short... 2 [22:03:53.118] checking alignment of int... 4 [22:03:53.481] checking alignment of long... 4 [22:03:53.774] checking alignment of long long int... 8 [22:03:54.099] checking alignment of double... 8 [22:03:54.472] checking for __int128... yes [22:03:54.529] checking for __int128 alignment bug... assuming ok [22:03:54.529] checking alignment of PG_INT128_TYPE... 16 [22:03:55.002] checking for builtin __sync char locking functions... yes [22:03:55.048] checking for builtin __sync int32 locking functions... yes [22:03:55.094] checking for builtin __sync int32 atomic operations... yes [22:03:55.141] checking for builtin __sync int64 atomic operations... yes [22:03:55.190] checking for builtin __atomic int32 atomic operations... yes [22:03:55.239] checking for builtin __atomic int64 atomic operations... yes [22:03:55.287] checking for __get_cpuid... yes [22:03:55.339] checking for __get_cpuid_count... yes [22:03:55.390] checking for __cpuid... no [22:03:55.792] checking for __cpuidex... no [22:03:56.227] checking for _xgetbv with CFLAGS=... no [22:03:56.614] checking for _xgetbv with CFLAGS=-mxsave... yes [22:03:57.022] checking for _mm512_popcnt_epi64 with CFLAGS=... no [22:03:57.418] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [22:03:57.768] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [22:03:57.817] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [22:03:57.915] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [22:03:57.941] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [22:03:57.964] 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 [22:03:58.024] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [22:03:58.025] checking which random number source to use... Windows native [22:03:58.027] checking for xmllint... /usr/bin/xmllint [22:03:58.027] checking for xsltproc... /usr/bin/xsltproc [22:03:58.028] checking for fop... /usr/bin/fop [22:03:58.028] checking for dbtoepub... no [22:03:58.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [22:03:58.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [22:03:58.029] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [22:03:58.040] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [22:03:58.040] 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 [22:03:58.040] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [22:03:58.040] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [22:03:58.135] configure: creating ./config.status [22:03:58.229] config.status: creating GNUmakefile [22:03:58.243] config.status: creating src/Makefile.global [22:03:58.259] config.status: creating src/include/pg_config.h [22:03:58.274] config.status: creating src/include/pg_config_ext.h [22:03:58.287] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [22:03:58.305] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [22:03:58.313] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [22:03:58.322] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [22:03:58.331] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [22:03:58.339] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [22:03:58.343] config.status: executing check_win32_symlinks commands [22:03:58.382] [22:03:58.382] real 0m18.759s [22:03:58.382] user 0m12.213s [22:03:58.382] sys 0m6.089s [22:03:58.382] make -s -j${BUILD_JOBS} clean [22:03:58.938] time make -s -j${BUILD_JOBS} world-bin [22:06:31.430] In file included from ../../../../src/include/postgres.h:47, [22:06:31.430] from xlogrecovery.c:25: [22:06:31.430] In function ‘MemoryContextSwitchTo’, [22:06:31.430] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [22:06:31.430] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [22:06:31.430] 128 | CurrentMemoryContext = context; [22:06:31.430] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [22:06:31.430] xlogrecovery.c: In function ‘PerformWalRecovery’: [22:06:31.430] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [22:06:31.430] 1732 | MemoryContext oldCtx; [22:06:31.430] | ^~~~~~ [22:06:31.430] cc1: all warnings being treated as errors [22:06:31.431] make[4]: *** [: xlogrecovery.o] Error 1 [22:06:31.431] make[4]: *** Waiting for unfinished jobs.... [22:06:31.488] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [22:06:31.489] make[2]: *** [common.mk:37: access-recursive] Error 2 [22:06:31.489] make[2]: *** Waiting for unfinished jobs.... [22:07:08.728] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [22:07:08.729] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [22:07:08.729] [22:07:08.729] real 3m9.790s [22:07:08.729] user 10m19.586s [22:07:08.729] sys 2m0.695s [22:07:08.729] [22:07:08.729] Exit status: 2