[19:09:04.591] time ./configure \ [19:09:04.591] --host=x86_64-w64-mingw32 \ [19:09:04.591] --enable-cassert \ [19:09:04.591] --without-icu \ [19:09:04.591] CC="ccache x86_64-w64-mingw32-gcc" \ [19:09:04.591] CXX="ccache x86_64-w64-mingw32-g++" [19:09:04.735] checking build system type... x86_64-pc-linux-gnu [19:09:04.951] checking host system type... x86_64-w64-mingw32 [19:09:04.958] checking which template to use... win32 [19:09:04.958] checking whether NLS is wanted... no [19:09:04.959] checking for default port number... 5432 [19:09:04.967] checking for block size... 8kB [19:09:04.968] checking for segment size... 1GB [19:09:04.971] checking for WAL block size... 8kB [19:09:04.973] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [19:09:05.013] checking whether the C compiler works... yes [19:09:05.168] checking for C compiler default output file name... a.exe [19:09:05.169] checking for suffix of executables... .exe [19:09:05.214] checking whether we are cross compiling... yes [19:09:05.296] checking for suffix of object files... o [19:09:05.304] checking whether we are using the GNU C compiler... yes [19:09:05.312] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [19:09:05.320] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [19:09:05.331] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [19:09:05.395] checking whether we are using the GNU C++ compiler... yes [19:09:05.402] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [19:09:05.484] checking for gawk... no [19:09:05.484] checking for mawk... mawk [19:09:05.487] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [19:09:05.495] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [19:09:05.503] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [19:09:05.553] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [19:09:05.751] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [19:09:05.760] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [19:09:05.768] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [19:09:05.777] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [19:09:05.785] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [19:09:05.793] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [19:09:05.802] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [19:09:05.811] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [19:09:05.819] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [19:09:05.827] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [19:09:05.835] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [19:09:05.843] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [19:09:05.851] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [19:09:05.895] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [19:09:05.904] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [19:09:05.912] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [19:09:05.921] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [19:09:05.930] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [19:09:05.939] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [19:09:05.968] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [19:09:05.977] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [19:09:05.986] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [19:09:06.027] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [19:09:06.071] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [19:09:06.080] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [19:09:06.089] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [19:09:06.128] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [19:09:06.137] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [19:09:06.144] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [19:09:06.153] checking whether the C compiler still works... yes [19:09:06.226] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [19:09:06.312] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [19:09:06.312] checking pkg-config is at least version 0.9.0... yes [19:09:06.331] checking whether to build with ICU support... no [19:09:06.331] checking whether to build with Tcl... no [19:09:06.332] checking whether to build Perl modules... no [19:09:06.332] checking whether to build Python modules... no [19:09:06.332] checking whether to build with GSSAPI support... no [19:09:06.333] checking whether to build with PAM support... no [19:09:06.334] checking whether to build with BSD Authentication support... no [19:09:06.334] checking whether to build with LDAP support... no [19:09:06.334] checking whether to build with Bonjour support... no [19:09:06.334] checking whether to build with SELinux support... no [19:09:06.334] checking whether to build with systemd support... no [19:09:06.334] configure: WARNING: *** Readline does not work on MinGW --- disabling [19:09:06.335] checking whether to build with XML support... no [19:09:06.335] checking whether to build with LZ4 support... no [19:09:06.335] checking whether to build with ZSTD support... no [19:09:06.336] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [19:09:06.336] checking whether it is possible to strip libraries... yes [19:09:06.345] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [19:09:06.345] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [19:09:06.346] checking for a BSD-compatible install... /usr/bin/install -c [19:09:06.356] checking for tar... /usr/bin/tar [19:09:06.357] checking whether ln -s works... yes [19:09:06.357] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [19:09:06.359] checking for bison... /usr/bin/bison [19:09:06.362] configure: using bison (GNU Bison) 3.8.2 [19:09:06.366] checking for flex... /usr/bin/flex [19:09:06.381] configure: using flex 2.6.4 [19:09:06.381] checking for perl... /usr/bin/perl [19:09:06.385] configure: using perl 5.36.0 [19:09:06.387] checking for zic... /usr/sbin/zic [19:09:06.387] checking for a sed that does not truncate output... /usr/bin/sed [19:09:06.393] checking for grep that handles long lines and -e... /usr/bin/grep [19:09:06.396] checking for egrep... /usr/bin/grep -E [19:09:06.398] checking for ANSI C header files... yes [19:09:06.455] checking for sys/types.h... yes [19:09:06.475] checking for sys/stat.h... yes [19:09:06.494] checking for stdlib.h... yes [19:09:06.512] checking for string.h... yes [19:09:06.528] checking for memory.h... yes [19:09:06.545] checking for strings.h... yes [19:09:06.562] checking for inttypes.h... yes [19:09:06.579] checking for stdint.h... yes [19:09:06.596] checking for unistd.h... yes [19:09:06.614] checking for main in -lm... yes [19:09:06.667] checking for library containing setproctitle... no [19:09:06.779] checking for library containing dlsym... no [19:09:06.875] checking for library containing socket... -lws2_32 [19:09:07.024] checking for library containing getopt_long... none required [19:09:07.080] checking for library containing shm_open... no [19:09:07.182] checking for library containing shm_unlink... no [19:09:07.280] checking for library containing clock_gettime... no [19:09:07.376] checking for library containing shmget... no [19:09:07.481] checking for library containing backtrace_symbols... no [19:09:07.588] checking for library containing pthread_barrier_wait... -lpthread [19:09:07.697] checking for inflate in -lz... yes [19:09:07.752] checking for stdbool.h that conforms to C99... yes [19:09:07.765] checking for _Bool... yes [19:09:07.856] checking atomic.h usability... no [19:09:07.923] checking atomic.h presence... no [19:09:07.948] checking for atomic.h... no [19:09:07.952] checking copyfile.h usability... no [19:09:08.017] checking copyfile.h presence... no [19:09:08.042] checking for copyfile.h... no [19:09:08.046] checking execinfo.h usability... no [19:09:08.109] checking execinfo.h presence... no [19:09:08.133] checking for execinfo.h... no [19:09:08.136] checking getopt.h usability... yes [19:09:08.145] checking getopt.h presence... yes [19:09:08.163] checking for getopt.h... yes [19:09:08.172] checking ifaddrs.h usability... no [19:09:08.240] checking ifaddrs.h presence... no [19:09:08.264] checking for ifaddrs.h... no [19:09:08.268] checking mbarrier.h usability... no [19:09:08.336] checking mbarrier.h presence... no [19:09:08.359] checking for mbarrier.h... no [19:09:08.363] checking sys/epoll.h usability... no [19:09:08.428] checking sys/epoll.h presence... no [19:09:08.451] checking for sys/epoll.h... no [19:09:08.455] checking sys/event.h usability... no [19:09:08.521] checking sys/event.h presence... no [19:09:08.544] checking for sys/event.h... no [19:09:08.548] checking sys/personality.h usability... no [19:09:08.610] checking sys/personality.h presence... no [19:09:08.632] checking for sys/personality.h... no [19:09:08.636] checking sys/prctl.h usability... no [19:09:08.699] checking sys/prctl.h presence... no [19:09:08.720] checking for sys/prctl.h... no [19:09:08.725] checking sys/procctl.h usability... no [19:09:08.788] checking sys/procctl.h presence... no [19:09:08.812] checking for sys/procctl.h... no [19:09:08.815] checking sys/signalfd.h usability... no [19:09:08.878] checking sys/signalfd.h presence... no [19:09:08.899] checking for sys/signalfd.h... no [19:09:08.903] checking sys/ucred.h usability... no [19:09:08.967] checking sys/ucred.h presence... no [19:09:08.991] checking for sys/ucred.h... no [19:09:08.995] checking termios.h usability... no [19:09:09.058] checking termios.h presence... no [19:09:09.081] checking for termios.h... no [19:09:09.085] checking ucred.h usability... no [19:09:09.149] checking ucred.h presence... no [19:09:09.172] checking for ucred.h... no [19:09:09.175] checking zlib.h usability... yes [19:09:09.187] checking zlib.h presence... yes [19:09:09.210] checking for zlib.h... yes [19:09:09.210] checking for lz4... /usr/bin/lz4 [19:09:09.211] checking for zstd... /usr/bin/zstd [19:09:09.211] checking for openssl... /usr/bin/openssl [19:09:09.217] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [19:09:09.217] checking crtdefs.h usability... yes [19:09:09.226] checking crtdefs.h presence... yes [19:09:09.245] checking for crtdefs.h... yes [19:09:09.246] checking whether byte ordering is bigendian... no [19:09:09.340] checking for inline... inline [19:09:09.349] checking for printf format archetype... gnu_printf [19:09:09.359] checking for _Static_assert... yes [19:09:09.411] checking for typeof... typeof [19:09:09.420] checking for __builtin_types_compatible_p... yes [19:09:09.433] checking for __builtin_constant_p... yes [19:09:09.447] checking for __builtin_unreachable... yes [19:09:09.496] checking for computed goto support... yes [19:09:09.505] checking for struct tm.tm_zone... no [19:09:09.603] checking for union semun... no [19:09:09.643] checking for socklen_t... yes [19:09:10.987] checking for struct sockaddr.sa_len... no [19:09:13.348] checking for locale_t... no [19:09:13.436] checking for C/C++ restrict keyword... __restrict [19:09:13.453] checking for struct option... yes [19:09:13.504] checking whether assembler supports x86_64 popcntq... yes [19:09:13.513] checking size of off_t... 4 [19:09:13.753] 0 [19:09:13.754] checking size of bool... 1 [19:09:13.807] checking for int timezone... yes [19:09:13.860] checking for wcstombs_l declaration... no [19:09:13.958] checking for backtrace_symbols... no [19:09:14.018] checking for copyfile... no [19:09:14.080] checking for copy_file_range... no [19:09:14.141] checking for getifaddrs... no [19:09:14.198] checking for getpeerucred... no [19:09:14.255] checking for inet_pton... yes [19:09:14.315] checking for kqueue... no [19:09:14.374] checking for mbstowcs_l... no [19:09:14.434] checking for memset_s... no [19:09:14.493] checking for posix_fallocate... no [19:09:14.554] checking for ppoll... no [19:09:14.611] checking for pthread_is_threaded_np... no [19:09:14.669] checking for setproctitle... no [19:09:14.730] checking for setproctitle_fast... no [19:09:14.788] checking for strchrnul... no [19:09:14.847] checking for strsignal... no [19:09:14.906] checking for syncfs... no [19:09:14.965] checking for sync_file_range... no [19:09:15.024] checking for uselocale... no [19:09:15.081] checking for wcstombs_l... no [19:09:15.134] checking for __builtin_bswap16... yes [19:09:15.192] checking for __builtin_bswap32... yes [19:09:15.249] checking for __builtin_bswap64... yes [19:09:15.305] checking for __builtin_clz... yes [19:09:15.364] checking for __builtin_ctz... yes [19:09:15.420] checking for __builtin_popcount... yes [19:09:15.477] checking for __builtin_frame_address... yes [19:09:15.533] checking for _LARGEFILE_SOURCE value needed for large files... no [19:09:15.591] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [19:09:15.629] checking for posix_fadvise... no [19:09:15.685] checking whether posix_fadvise is declared... no [19:09:15.738] checking whether fdatasync is declared... no [19:09:15.795] checking whether strlcat is declared... no [19:09:15.872] checking whether strlcpy is declared... no [19:09:15.949] checking whether strnlen is declared... yes [19:09:15.965] checking whether strsep is declared... no [19:09:16.040] checking whether preadv is declared... no [19:09:16.088] checking whether pwritev is declared... no [19:09:16.133] checking whether F_FULLFSYNC is declared... no [19:09:16.182] checking for explicit_bzero... no [19:09:16.238] checking for getopt... yes [19:09:16.290] checking for getpeereid... no [19:09:16.345] checking for inet_aton... no [19:09:16.399] checking for mkdtemp... no [19:09:16.450] checking for strlcat... no [19:09:16.503] checking for strlcpy... no [19:09:16.556] checking for strnlen... yes [19:09:16.610] checking for strsep... no [19:09:16.663] checking for pthread_barrier_wait... yes [19:09:16.713] configure: On mingw32 we will use our strtof wrapper. [19:09:16.713] checking for getopt_long... yes [19:09:16.766] checking for _configthreadlocale... yes [19:09:16.818] checking for syslog... no [19:09:16.873] checking for opterr... yes [19:09:16.929] checking for optreset... no [19:09:16.989] checking test program... cross-compiling [19:09:16.989] checking whether long int is 64 bits... no [19:09:17.027] checking whether long long int is 64 bits... yes [19:09:17.038] checking for __builtin_mul_overflow... yes [19:09:17.089] checking size of void *... 8 [19:09:17.392] checking size of size_t... 8 [19:09:17.704] checking size of long... 4 [19:09:17.945] checking alignment of short... 2 [19:09:18.106] checking alignment of int... 4 [19:09:18.338] checking alignment of long... 4 [19:09:18.566] checking alignment of long long int... 8 [19:09:18.877] checking alignment of double... 8 [19:09:19.184] checking for int8... no [19:09:19.231] checking for uint8... no [19:09:19.277] checking for int64... no [19:09:19.326] checking for uint64... no [19:09:19.375] checking for __int128... yes [19:09:19.434] checking for __int128 alignment bug... assuming ok [19:09:19.434] checking alignment of PG_INT128_TYPE... 16 [19:09:19.815] checking for builtin __sync char locking functions... yes [19:09:19.863] checking for builtin __sync int32 locking functions... yes [19:09:19.911] checking for builtin __sync int32 atomic operations... yes [19:09:19.959] checking for builtin __sync int64 atomic operations... yes [19:09:20.007] checking for builtin __atomic int32 atomic operations... yes [19:09:20.055] checking for builtin __atomic int64 atomic operations... yes [19:09:20.103] checking for __get_cpuid... yes [19:09:20.156] checking for __get_cpuid_count... yes [19:09:20.205] checking for __cpuid... no [19:09:20.632] checking for __cpuidex... no [19:09:21.086] checking for _xgetbv with CFLAGS=... no [19:09:21.500] checking for _xgetbv with CFLAGS=-mxsave... yes [19:09:21.925] checking for _mm512_popcnt_epi64 with CFLAGS=... no [19:09:22.331] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [19:09:22.692] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [19:09:22.743] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [19:09:22.841] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [19:09:22.867] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [19:09:22.887] 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 [19:09:22.946] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [19:09:22.947] checking which random number source to use... Windows native [19:09:22.949] checking for xmllint... /usr/bin/xmllint [19:09:22.950] checking for xsltproc... /usr/bin/xsltproc [19:09:22.950] checking for fop... /usr/bin/fop [19:09:22.950] checking for dbtoepub... no [19:09:22.951] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [19:09:22.951] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [19:09:22.951] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [19:09:22.962] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [19:09:22.962] 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 [19:09:22.962] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [19:09:22.962] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [19:09:23.054] configure: creating ./config.status [19:09:23.151] config.status: creating GNUmakefile [19:09:23.165] config.status: creating src/Makefile.global [19:09:23.182] config.status: creating src/include/pg_config.h [19:09:23.197] config.status: creating src/include/pg_config_ext.h [19:09:23.211] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [19:09:23.229] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [19:09:23.237] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [19:09:23.245] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [19:09:23.253] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [19:09:23.261] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [19:09:23.265] config.status: executing check_win32_symlinks commands [19:09:23.308] [19:09:23.308] real 0m18.717s [19:09:23.308] user 0m12.434s [19:09:23.308] sys 0m5.869s [19:09:23.308] make -s -j${BUILD_JOBS} clean [19:09:23.877] time make -s -j${BUILD_JOBS} world-bin [19:09:58.038] In file included from ../../../../src/include/postgres.h:47, [19:09:58.038] from xlogrecovery.c:25: [19:09:58.038] In function ‘MemoryContextSwitchTo’, [19:09:58.038] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [19:09:58.038] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [19:09:58.038] 128 | CurrentMemoryContext = context; [19:09:58.038] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [19:09:58.038] xlogrecovery.c: In function ‘PerformWalRecovery’: [19:09:58.038] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [19:09:58.038] 1732 | MemoryContext oldCtx; [19:09:58.038] | ^~~~~~ [19:09:58.038] cc1: all warnings being treated as errors [19:09:58.038] make[4]: *** [: xlogrecovery.o] Error 1 [19:09:58.039] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [19:09:58.039] make[2]: *** [common.mk:37: access-recursive] Error 2 [19:09:58.039] make[2]: *** Waiting for unfinished jobs.... [19:09:58.965] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [19:09:58.966] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [19:09:58.966] [19:09:58.966] real 0m35.089s [19:09:58.966] user 1m38.840s [19:09:58.966] sys 0m30.799s [19:09:58.966] [19:09:58.966] Exit status: 2