[15:39:34.036] time ./configure \ [15:39:34.036] --host=x86_64-w64-mingw32 \ [15:39:34.036] --enable-cassert \ [15:39:34.036] --without-icu \ [15:39:34.036] CC="ccache x86_64-w64-mingw32-gcc" \ [15:39:34.036] CXX="ccache x86_64-w64-mingw32-g++" [15:39:34.144] checking build system type... x86_64-pc-linux-gnu [15:39:34.348] checking host system type... x86_64-w64-mingw32 [15:39:34.354] checking which template to use... win32 [15:39:34.354] checking whether NLS is wanted... no [15:39:34.354] checking for default port number... 5432 [15:39:34.362] checking for block size... 8kB [15:39:34.363] checking for segment size... 1GB [15:39:34.365] checking for WAL block size... 8kB [15:39:34.367] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [15:39:34.399] checking whether the C compiler works... yes [15:39:34.563] checking for C compiler default output file name... a.exe [15:39:34.564] checking for suffix of executables... .exe [15:39:34.605] checking whether we are cross compiling... yes [15:39:34.682] checking for suffix of object files... o [15:39:34.689] checking whether we are using the GNU C compiler... yes [15:39:34.696] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [15:39:34.702] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [15:39:34.711] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [15:39:34.769] checking whether we are using the GNU C++ compiler... yes [15:39:34.775] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [15:39:34.838] checking for gawk... no [15:39:34.838] checking for mawk... mawk [15:39:34.841] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [15:39:34.847] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [15:39:34.853] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [15:39:34.897] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [15:39:35.081] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [15:39:35.088] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [15:39:35.094] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [15:39:35.101] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [15:39:35.108] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [15:39:35.114] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [15:39:35.121] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [15:39:35.128] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [15:39:35.134] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [15:39:35.141] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [15:39:35.147] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [15:39:35.154] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [15:39:35.160] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [15:39:35.197] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [15:39:35.204] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [15:39:35.210] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [15:39:35.228] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [15:39:35.235] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [15:39:35.242] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [15:39:35.266] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [15:39:35.273] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [15:39:35.280] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [15:39:35.317] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [15:39:35.356] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [15:39:35.363] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [15:39:35.371] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [15:39:35.405] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [15:39:35.412] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [15:39:35.419] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [15:39:35.426] checking whether the C compiler still works... yes [15:39:35.492] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [15:39:35.559] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [15:39:35.560] checking pkg-config is at least version 0.9.0... yes [15:39:35.576] checking whether to build with ICU support... no [15:39:35.577] checking whether to build with Tcl... no [15:39:35.577] checking whether to build Perl modules... no [15:39:35.577] checking whether to build Python modules... no [15:39:35.577] checking whether to build with GSSAPI support... no [15:39:35.578] checking whether to build with PAM support... no [15:39:35.578] checking whether to build with BSD Authentication support... no [15:39:35.578] checking whether to build with LDAP support... no [15:39:35.578] checking whether to build with Bonjour support... no [15:39:35.578] checking whether to build with SELinux support... no [15:39:35.578] checking whether to build with systemd support... no [15:39:35.579] configure: WARNING: *** Readline does not work on MinGW --- disabling [15:39:35.579] checking whether to build with XML support... no [15:39:35.579] checking whether to build with LZ4 support... no [15:39:35.579] checking whether to build with ZSTD support... no [15:39:35.580] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [15:39:35.580] checking whether it is possible to strip libraries... yes [15:39:35.587] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [15:39:35.588] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [15:39:35.588] checking for a BSD-compatible install... /usr/bin/install -c [15:39:35.596] checking for tar... /usr/bin/tar [15:39:35.596] checking whether ln -s works... yes [15:39:35.597] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [15:39:35.599] checking for bison... /usr/bin/bison [15:39:35.601] configure: using bison (GNU Bison) 3.8.2 [15:39:35.603] checking for flex... /usr/bin/flex [15:39:35.615] configure: using flex 2.6.4 [15:39:35.615] checking for perl... /usr/bin/perl [15:39:35.618] configure: using perl 5.36.0 [15:39:35.620] checking for zic... /usr/sbin/zic [15:39:35.621] checking for a sed that does not truncate output... /usr/bin/sed [15:39:35.626] checking for grep that handles long lines and -e... /usr/bin/grep [15:39:35.628] checking for egrep... /usr/bin/grep -E [15:39:35.630] checking for ANSI C header files... yes [15:39:35.677] checking for sys/types.h... yes [15:39:35.692] checking for sys/stat.h... yes [15:39:35.707] checking for stdlib.h... yes [15:39:35.720] checking for string.h... yes [15:39:35.733] checking for memory.h... yes [15:39:35.748] checking for strings.h... yes [15:39:35.763] checking for inttypes.h... yes [15:39:35.779] checking for stdint.h... yes [15:39:35.793] checking for unistd.h... yes [15:39:35.809] checking for main in -lm... yes [15:39:35.856] checking for library containing setproctitle... no [15:39:35.946] checking for library containing dlsym... no [15:39:36.031] checking for library containing socket... -lws2_32 [15:39:36.161] checking for library containing getopt_long... none required [15:39:36.208] checking for library containing shm_open... no [15:39:36.297] checking for library containing shm_unlink... no [15:39:36.384] checking for library containing clock_gettime... no [15:39:36.469] checking for library containing shmget... no [15:39:36.556] checking for library containing backtrace_symbols... no [15:39:36.640] checking for library containing pthread_barrier_wait... -lpthread [15:39:36.730] checking for inflate in -lz... yes [15:39:36.774] checking for stdbool.h that conforms to C99... yes [15:39:36.784] checking for _Bool... yes [15:39:36.856] checking atomic.h usability... no [15:39:36.910] checking atomic.h presence... no [15:39:36.928] checking for atomic.h... no [15:39:36.931] checking copyfile.h usability... no [15:39:36.985] checking copyfile.h presence... no [15:39:37.005] checking for copyfile.h... no [15:39:37.009] checking execinfo.h usability... no [15:39:37.062] checking execinfo.h presence... no [15:39:37.080] checking for execinfo.h... no [15:39:37.083] checking getopt.h usability... yes [15:39:37.090] checking getopt.h presence... yes [15:39:37.104] checking for getopt.h... yes [15:39:37.110] checking ifaddrs.h usability... no [15:39:37.161] checking ifaddrs.h presence... no [15:39:37.179] checking for ifaddrs.h... no [15:39:37.182] checking mbarrier.h usability... no [15:39:37.238] checking mbarrier.h presence... no [15:39:37.257] checking for mbarrier.h... no [15:39:37.261] checking sys/epoll.h usability... no [15:39:37.314] checking sys/epoll.h presence... no [15:39:37.333] checking for sys/epoll.h... no [15:39:37.336] checking sys/event.h usability... no [15:39:37.389] checking sys/event.h presence... no [15:39:37.408] checking for sys/event.h... no [15:39:37.411] checking sys/personality.h usability... no [15:39:37.464] checking sys/personality.h presence... no [15:39:37.482] checking for sys/personality.h... no [15:39:37.485] checking sys/prctl.h usability... no [15:39:37.539] checking sys/prctl.h presence... no [15:39:37.558] checking for sys/prctl.h... no [15:39:37.561] checking sys/procctl.h usability... no [15:39:37.617] checking sys/procctl.h presence... no [15:39:37.637] checking for sys/procctl.h... no [15:39:37.640] checking sys/signalfd.h usability... no [15:39:37.694] checking sys/signalfd.h presence... no [15:39:37.714] checking for sys/signalfd.h... no [15:39:37.717] checking sys/ucred.h usability... no [15:39:37.774] checking sys/ucred.h presence... no [15:39:37.793] checking for sys/ucred.h... no [15:39:37.797] checking termios.h usability... no [15:39:37.855] checking termios.h presence... no [15:39:37.875] checking for termios.h... no [15:39:37.878] checking ucred.h usability... no [15:39:37.933] checking ucred.h presence... no [15:39:37.952] checking for ucred.h... no [15:39:37.955] checking zlib.h usability... yes [15:39:37.965] checking zlib.h presence... yes [15:39:37.985] checking for zlib.h... yes [15:39:37.985] checking for lz4... /usr/bin/lz4 [15:39:37.986] checking for zstd... /usr/bin/zstd [15:39:37.986] checking for openssl... /usr/bin/openssl [15:39:37.990] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [15:39:37.991] checking crtdefs.h usability... yes [15:39:37.998] checking crtdefs.h presence... yes [15:39:38.014] checking for crtdefs.h... yes [15:39:38.015] checking whether byte ordering is bigendian... no [15:39:38.090] checking for inline... inline [15:39:38.097] checking for printf format archetype... gnu_printf [15:39:38.106] checking for _Static_assert... yes [15:39:38.146] checking for typeof... typeof [15:39:38.154] checking for __builtin_types_compatible_p... yes [15:39:38.165] checking for __builtin_constant_p... yes [15:39:38.175] checking for __builtin_unreachable... yes [15:39:38.215] checking for computed goto support... yes [15:39:38.222] checking for struct tm.tm_zone... no [15:39:38.297] checking for union semun... no [15:39:38.331] checking for socklen_t... yes [15:39:39.464] checking for struct sockaddr.sa_len... no [15:39:41.464] checking for locale_t... no [15:39:41.526] checking for C/C++ restrict keyword... __restrict [15:39:41.539] checking for struct option... yes [15:39:41.580] checking whether assembler supports x86_64 popcntq... yes [15:39:41.587] checking size of off_t... 4 [15:39:41.783] 0 [15:39:41.784] checking size of bool... 1 [15:39:41.829] checking for int timezone... yes [15:39:41.877] checking for wcstombs_l declaration... no [15:39:41.958] checking for backtrace_symbols... no [15:39:42.007] checking for copyfile... no [15:39:42.058] checking for copy_file_range... no [15:39:42.108] checking for getifaddrs... no [15:39:42.157] checking for getpeerucred... no [15:39:42.208] checking for inet_pton... yes [15:39:42.258] checking for kqueue... no [15:39:42.308] checking for mbstowcs_l... no [15:39:42.358] checking for memset_s... no [15:39:42.407] checking for posix_fallocate... no [15:39:42.456] checking for ppoll... no [15:39:42.506] checking for pthread_is_threaded_np... no [15:39:42.556] checking for setproctitle... no [15:39:42.605] checking for setproctitle_fast... no [15:39:42.656] checking for strchrnul... no [15:39:42.705] checking for strsignal... no [15:39:42.754] checking for syncfs... no [15:39:42.805] checking for sync_file_range... no [15:39:42.854] checking for uselocale... no [15:39:42.901] checking for wcstombs_l... no [15:39:42.946] checking for __builtin_bswap16... yes [15:39:42.994] checking for __builtin_bswap32... yes [15:39:43.041] checking for __builtin_bswap64... yes [15:39:43.087] checking for __builtin_clz... yes [15:39:43.134] checking for __builtin_ctz... yes [15:39:43.179] checking for __builtin_popcount... yes [15:39:43.227] checking for __builtin_frame_address... yes [15:39:43.274] checking for _LARGEFILE_SOURCE value needed for large files... no [15:39:43.327] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [15:39:43.356] checking for posix_fadvise... no [15:39:43.406] checking whether posix_fadvise is declared... no [15:39:43.449] checking whether fdatasync is declared... no [15:39:43.493] checking whether strlcat is declared... no [15:39:43.557] checking whether strlcpy is declared... no [15:39:43.622] checking whether strnlen is declared... yes [15:39:43.635] checking whether strsep is declared... no [15:39:43.697] checking whether preadv is declared... no [15:39:43.733] checking whether pwritev is declared... no [15:39:43.767] checking whether F_FULLFSYNC is declared... no [15:39:43.804] checking for explicit_bzero... no [15:39:43.849] checking for getopt... yes [15:39:43.891] checking for getpeereid... no [15:39:43.936] checking for inet_aton... no [15:39:43.982] checking for mkdtemp... no [15:39:44.028] checking for strlcat... no [15:39:44.076] checking for strlcpy... no [15:39:44.122] checking for strnlen... yes [15:39:44.168] checking for strsep... no [15:39:44.213] checking for pthread_barrier_wait... yes [15:39:44.256] configure: On mingw32 we will use our strtof wrapper. [15:39:44.256] checking for getopt_long... yes [15:39:44.301] checking for _configthreadlocale... yes [15:39:44.346] checking for syslog... no [15:39:44.392] checking for opterr... yes [15:39:44.441] checking for optreset... no [15:39:44.490] checking test program... cross-compiling [15:39:44.490] checking whether long int is 64 bits... no [15:39:44.520] checking whether long long int is 64 bits... yes [15:39:44.528] checking for __builtin_mul_overflow... yes [15:39:44.569] checking size of void *... 8 [15:39:44.828] checking size of size_t... 8 [15:39:45.093] checking size of long... 4 [15:39:45.295] checking alignment of short... 2 [15:39:45.434] checking alignment of int... 4 [15:39:45.632] checking alignment of long... 4 [15:39:45.833] checking alignment of long long int... 8 [15:39:46.101] checking alignment of double... 8 [15:39:46.363] checking for int8... no [15:39:46.403] checking for uint8... no [15:39:46.447] checking for int64... no [15:39:46.489] checking for uint64... no [15:39:46.532] checking for __int128... yes [15:39:46.584] checking for __int128 alignment bug... assuming ok [15:39:46.584] checking alignment of PG_INT128_TYPE... 16 [15:39:46.907] checking for builtin __sync char locking functions... yes [15:39:46.949] checking for builtin __sync int32 locking functions... yes [15:39:46.990] checking for builtin __sync int32 atomic operations... yes [15:39:47.033] checking for builtin __sync int64 atomic operations... yes [15:39:47.076] checking for builtin __atomic int32 atomic operations... yes [15:39:47.118] checking for builtin __atomic int64 atomic operations... yes [15:39:47.161] checking for __get_cpuid... yes [15:39:47.209] checking for __get_cpuid_count... yes [15:39:47.254] checking for __cpuid... no [15:39:47.652] checking for __cpuidex... no [15:39:48.080] checking for _xgetbv with CFLAGS=... no [15:39:48.454] checking for _xgetbv with CFLAGS=-mxsave... yes [15:39:48.847] checking for _mm512_popcnt_epi64 with CFLAGS=... no [15:39:49.236] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [15:39:49.569] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [15:39:49.614] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [15:39:49.701] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [15:39:49.723] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [15:39:49.741] 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 [15:39:49.793] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [15:39:49.794] checking which random number source to use... Windows native [15:39:49.795] checking for xmllint... /usr/bin/xmllint [15:39:49.796] checking for xsltproc... /usr/bin/xsltproc [15:39:49.796] checking for fop... /usr/bin/fop [15:39:49.796] checking for dbtoepub... no [15:39:49.797] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [15:39:49.797] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [15:39:49.797] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [15:39:49.808] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [15:39:49.808] 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 [15:39:49.808] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [15:39:49.808] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [15:39:49.888] configure: creating ./config.status [15:39:49.970] config.status: creating GNUmakefile [15:39:49.982] config.status: creating src/Makefile.global [15:39:49.998] config.status: creating src/include/pg_config.h [15:39:50.012] config.status: creating src/include/pg_config_ext.h [15:39:50.024] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [15:39:50.040] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [15:39:50.048] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [15:39:50.055] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [15:39:50.063] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [15:39:50.070] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [15:39:50.073] config.status: executing check_win32_symlinks commands [15:39:50.107] [15:39:50.107] real 0m16.071s [15:39:50.107] user 0m10.650s [15:39:50.107] sys 0m4.979s [15:39:50.107] make -s -j${BUILD_JOBS} clean [15:39:50.637] time make -s -j${BUILD_JOBS} world-bin [15:40:20.416] In file included from ../../../../src/include/postgres.h:47, [15:40:20.416] from xlogrecovery.c:25: [15:40:20.416] In function ‘MemoryContextSwitchTo’, [15:40:20.416] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [15:40:20.416] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [15:40:20.416] 128 | CurrentMemoryContext = context; [15:40:20.416] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [15:40:20.416] xlogrecovery.c: In function ‘PerformWalRecovery’: [15:40:20.416] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [15:40:20.416] 1732 | MemoryContext oldCtx; [15:40:20.416] | ^~~~~~ [15:40:20.416] cc1: all warnings being treated as errors [15:40:20.416] make[4]: *** [: xlogrecovery.o] Error 1 [15:40:20.417] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [15:40:20.417] make[2]: *** [common.mk:37: access-recursive] Error 2 [15:40:20.417] make[2]: *** Waiting for unfinished jobs.... [15:40:24.495] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [15:40:24.495] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [15:40:24.495] [15:40:24.495] real 0m33.858s [15:40:24.495] user 1m34.327s [15:40:24.495] sys 0m29.516s [15:40:24.495] [15:40:24.495] Exit status: 2