[05:15:29.434] time ./configure \ [05:15:29.434] --host=x86_64-w64-mingw32 \ [05:15:29.434] --enable-cassert \ [05:15:29.434] --without-icu \ [05:15:29.434] CC="ccache x86_64-w64-mingw32-gcc" \ [05:15:29.434] CXX="ccache x86_64-w64-mingw32-g++" [05:15:29.564] checking build system type... x86_64-pc-linux-gnu [05:15:29.777] checking host system type... x86_64-w64-mingw32 [05:15:29.783] checking which template to use... win32 [05:15:29.783] checking whether NLS is wanted... no [05:15:29.783] checking for default port number... 5432 [05:15:29.790] checking for block size... 8kB [05:15:29.791] checking for segment size... 1GB [05:15:29.794] checking for WAL block size... 8kB [05:15:29.795] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:15:29.831] checking whether the C compiler works... yes [05:15:29.979] checking for C compiler default output file name... a.exe [05:15:29.980] checking for suffix of executables... .exe [05:15:30.023] checking whether we are cross compiling... yes [05:15:30.106] checking for suffix of object files... o [05:15:30.115] checking whether we are using the GNU C compiler... yes [05:15:30.122] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:15:30.129] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:15:30.139] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:15:30.204] checking whether we are using the GNU C++ compiler... yes [05:15:30.210] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:15:30.280] checking for gawk... no [05:15:30.280] checking for mawk... mawk [05:15:30.283] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:15:30.290] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:15:30.298] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:15:30.346] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:15:30.539] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:15:30.546] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:15:30.553] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:15:30.560] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:15:30.568] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:15:30.575] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:15:30.582] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:15:30.589] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:15:30.596] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:15:30.603] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:15:30.610] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:15:30.617] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:15:30.624] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:15:30.663] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:15:30.670] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:15:30.677] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:15:30.684] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:15:30.692] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:15:30.699] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:15:30.725] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:15:30.732] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:15:30.740] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:15:30.780] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:15:30.819] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:15:30.827] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:15:30.834] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:15:30.869] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:15:30.876] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:15:30.883] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:15:30.892] checking whether the C compiler still works... yes [05:15:30.964] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:15:31.038] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:15:31.039] checking pkg-config is at least version 0.9.0... yes [05:15:31.056] checking whether to build with ICU support... no [05:15:31.056] checking whether to build with Tcl... no [05:15:31.056] checking whether to build Perl modules... no [05:15:31.056] checking whether to build Python modules... no [05:15:31.056] checking whether to build with GSSAPI support... no [05:15:31.058] checking whether to build with PAM support... no [05:15:31.058] checking whether to build with BSD Authentication support... no [05:15:31.058] checking whether to build with LDAP support... no [05:15:31.058] checking whether to build with Bonjour support... no [05:15:31.058] checking whether to build with SELinux support... no [05:15:31.058] checking whether to build with systemd support... no [05:15:31.058] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:15:31.058] checking whether to build with XML support... no [05:15:31.059] checking whether to build with LZ4 support... no [05:15:31.059] checking whether to build with ZSTD support... no [05:15:31.059] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:15:31.059] checking whether it is possible to strip libraries... yes [05:15:31.068] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:15:31.069] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:15:31.069] checking for a BSD-compatible install... /usr/bin/install -c [05:15:31.078] checking for tar... /usr/bin/tar [05:15:31.078] checking whether ln -s works... yes [05:15:31.079] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:15:31.081] checking for bison... /usr/bin/bison [05:15:31.083] configure: using bison (GNU Bison) 3.8.2 [05:15:31.086] checking for flex... /usr/bin/flex [05:15:31.098] configure: using flex 2.6.4 [05:15:31.099] checking for perl... /usr/bin/perl [05:15:31.101] configure: using perl 5.36.0 [05:15:31.104] checking for zic... /usr/sbin/zic [05:15:31.104] checking for a sed that does not truncate output... /usr/bin/sed [05:15:31.109] checking for grep that handles long lines and -e... /usr/bin/grep [05:15:31.111] checking for egrep... /usr/bin/grep -E [05:15:31.113] checking for ANSI C header files... yes [05:15:31.162] checking for sys/types.h... yes [05:15:31.183] checking for sys/stat.h... yes [05:15:31.199] checking for stdlib.h... yes [05:15:31.214] checking for string.h... yes [05:15:31.229] checking for memory.h... yes [05:15:31.244] checking for strings.h... yes [05:15:31.259] checking for inttypes.h... yes [05:15:31.275] checking for stdint.h... yes [05:15:31.291] checking for unistd.h... yes [05:15:31.309] checking for main in -lm... yes [05:15:31.358] checking for library containing setproctitle... no [05:15:31.465] checking for library containing dlsym... no [05:15:31.568] checking for library containing socket... -lws2_32 [05:15:31.714] checking for library containing getopt_long... none required [05:15:31.767] checking for library containing shm_open... no [05:15:31.863] checking for library containing shm_unlink... no [05:15:31.955] checking for library containing clock_gettime... no [05:15:32.050] checking for library containing shmget... no [05:15:32.141] checking for library containing backtrace_symbols... no [05:15:32.232] checking for library containing pthread_barrier_wait... -lpthread [05:15:32.330] checking for inflate in -lz... yes [05:15:32.380] checking for stdbool.h that conforms to C99... yes [05:15:32.393] checking for _Bool... yes [05:15:32.473] checking atomic.h usability... no [05:15:32.531] checking atomic.h presence... no [05:15:32.551] checking for atomic.h... no [05:15:32.554] checking copyfile.h usability... no [05:15:32.614] checking copyfile.h presence... no [05:15:32.634] checking for copyfile.h... no [05:15:32.638] checking execinfo.h usability... no [05:15:32.698] checking execinfo.h presence... no [05:15:32.719] checking for execinfo.h... no [05:15:32.722] checking getopt.h usability... yes [05:15:32.730] checking getopt.h presence... yes [05:15:32.748] checking for getopt.h... yes [05:15:32.756] checking ifaddrs.h usability... no [05:15:32.818] checking ifaddrs.h presence... no [05:15:32.839] checking for ifaddrs.h... no [05:15:32.843] checking mbarrier.h usability... no [05:15:32.906] checking mbarrier.h presence... no [05:15:32.928] checking for mbarrier.h... no [05:15:32.932] checking sys/epoll.h usability... no [05:15:32.994] checking sys/epoll.h presence... no [05:15:33.017] checking for sys/epoll.h... no [05:15:33.021] checking sys/event.h usability... no [05:15:33.085] checking sys/event.h presence... no [05:15:33.108] checking for sys/event.h... no [05:15:33.112] checking sys/personality.h usability... no [05:15:33.175] checking sys/personality.h presence... no [05:15:33.197] checking for sys/personality.h... no [05:15:33.201] checking sys/prctl.h usability... no [05:15:33.261] checking sys/prctl.h presence... no [05:15:33.282] checking for sys/prctl.h... no [05:15:33.285] checking sys/procctl.h usability... no [05:15:33.346] checking sys/procctl.h presence... no [05:15:33.367] checking for sys/procctl.h... no [05:15:33.371] checking sys/signalfd.h usability... no [05:15:33.435] checking sys/signalfd.h presence... no [05:15:33.456] checking for sys/signalfd.h... no [05:15:33.460] checking sys/ucred.h usability... no [05:15:33.519] checking sys/ucred.h presence... no [05:15:33.540] checking for sys/ucred.h... no [05:15:33.544] checking termios.h usability... no [05:15:33.603] checking termios.h presence... no [05:15:33.624] checking for termios.h... no [05:15:33.628] checking ucred.h usability... no [05:15:33.689] checking ucred.h presence... no [05:15:33.712] checking for ucred.h... no [05:15:33.716] checking xlocale.h usability... no [05:15:33.776] checking xlocale.h presence... no [05:15:33.798] checking for xlocale.h... no [05:15:33.802] checking zlib.h usability... yes [05:15:33.813] checking zlib.h presence... yes [05:15:33.834] checking for zlib.h... yes [05:15:33.835] checking for lz4... /usr/bin/lz4 [05:15:33.835] checking for zstd... /usr/bin/zstd [05:15:33.835] checking for openssl... /usr/bin/openssl [05:15:33.840] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [05:15:33.840] checking crtdefs.h usability... yes [05:15:33.848] checking crtdefs.h presence... yes [05:15:33.863] checking for crtdefs.h... yes [05:15:33.865] checking whether byte ordering is bigendian... no [05:15:33.938] checking for inline... inline [05:15:33.945] checking for printf format archetype... gnu_printf [05:15:33.954] checking for _Static_assert... yes [05:15:33.998] checking for typeof... typeof [05:15:34.007] checking for __builtin_types_compatible_p... yes [05:15:34.018] checking for __builtin_constant_p... yes [05:15:34.029] checking for __builtin_unreachable... yes [05:15:34.073] checking for computed goto support... yes [05:15:34.081] checking for struct tm.tm_zone... no [05:15:34.167] checking for union semun... no [05:15:34.204] checking for socklen_t... yes [05:15:35.488] checking for struct sockaddr.sa_len... no [05:15:37.594] checking for C/C++ restrict keyword... __restrict [05:15:37.609] checking for struct option... yes [05:15:37.654] checking whether assembler supports x86_64 popcntq... yes [05:15:37.661] checking size of off_t... 4 [05:15:37.876] 0 [05:15:37.877] checking size of bool... 1 [05:15:37.925] checking for int timezone... yes [05:15:37.981] checking for backtrace_symbols... no [05:15:38.034] checking for copyfile... no [05:15:38.087] checking for copy_file_range... no [05:15:38.142] checking for getifaddrs... no [05:15:38.196] checking for getpeerucred... no [05:15:38.251] checking for inet_pton... yes [05:15:38.305] checking for kqueue... no [05:15:38.359] checking for mbstowcs_l... no [05:15:38.412] checking for memset_s... no [05:15:38.463] checking for posix_fallocate... no [05:15:38.516] checking for ppoll... no [05:15:38.569] checking for pthread_is_threaded_np... no [05:15:38.623] checking for setproctitle... no [05:15:38.674] checking for setproctitle_fast... no [05:15:38.727] checking for strchrnul... no [05:15:38.779] checking for strsignal... no [05:15:38.833] checking for syncfs... no [05:15:38.886] checking for sync_file_range... no [05:15:38.939] checking for uselocale... no [05:15:38.993] checking for wcstombs_l... no [05:15:39.044] checking for __builtin_bswap16... yes [05:15:39.098] checking for __builtin_bswap32... yes [05:15:39.150] checking for __builtin_bswap64... yes [05:15:39.201] checking for __builtin_clz... yes [05:15:39.254] checking for __builtin_ctz... yes [05:15:39.306] checking for __builtin_popcount... yes [05:15:39.360] checking for __builtin_frame_address... yes [05:15:39.412] checking for _LARGEFILE_SOURCE value needed for large files... no [05:15:39.469] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:15:39.505] checking for posix_fadvise... no [05:15:39.564] checking whether posix_fadvise is declared... no [05:15:39.614] checking whether fdatasync is declared... no [05:15:39.665] checking whether strlcat is declared... no [05:15:39.738] checking whether strlcpy is declared... no [05:15:39.808] checking whether strnlen is declared... yes [05:15:39.824] checking whether strsep is declared... no [05:15:39.894] checking whether preadv is declared... no [05:15:39.933] checking whether pwritev is declared... no [05:15:39.971] checking whether F_FULLFSYNC is declared... no [05:15:40.015] checking for explicit_bzero... no [05:15:40.068] checking for getopt... yes [05:15:40.116] checking for getpeereid... no [05:15:40.167] checking for inet_aton... no [05:15:40.218] checking for mkdtemp... no [05:15:40.269] checking for strlcat... no [05:15:40.321] checking for strlcpy... no [05:15:40.374] checking for strnlen... yes [05:15:40.425] checking for strsep... no [05:15:40.477] checking for pthread_barrier_wait... yes [05:15:40.523] configure: On mingw32 we will use our strtof wrapper. [05:15:40.523] checking for getopt_long... yes [05:15:40.570] checking for _configthreadlocale... yes [05:15:40.620] checking for syslog... no [05:15:40.671] checking for opterr... yes [05:15:40.724] checking for optreset... no [05:15:40.780] checking test program... cross-compiling [05:15:40.781] checking whether long int is 64 bits... no [05:15:40.817] checking whether long long int is 64 bits... yes [05:15:40.828] checking for __builtin_mul_overflow... yes [05:15:40.876] checking size of void *... 8 [05:15:41.162] checking size of size_t... 8 [05:15:41.450] checking size of long... 4 [05:15:41.678] checking alignment of short... 2 [05:15:41.833] checking alignment of int... 4 [05:15:42.056] checking alignment of long... 4 [05:15:42.277] checking alignment of long long int... 8 [05:15:42.575] checking alignment of double... 8 [05:15:42.867] checking for int8... no [05:15:42.913] checking for uint8... no [05:15:42.958] checking for int64... no [05:15:43.004] checking for uint64... no [05:15:43.051] checking for __int128... yes [05:15:43.106] checking for __int128 alignment bug... assuming ok [05:15:43.106] checking alignment of PG_INT128_TYPE... 16 [05:15:43.476] checking for builtin __sync char locking functions... yes [05:15:43.524] checking for builtin __sync int32 locking functions... yes [05:15:43.573] checking for builtin __sync int32 atomic operations... yes [05:15:43.621] checking for builtin __sync int64 atomic operations... yes [05:15:43.670] checking for builtin __atomic int32 atomic operations... yes [05:15:43.719] checking for builtin __atomic int64 atomic operations... yes [05:15:43.769] checking for __get_cpuid... yes [05:15:43.823] checking for __get_cpuid_count... yes [05:15:43.872] checking for __cpuid... no [05:15:44.284] checking for __cpuidex... no [05:15:44.728] checking for _xgetbv with CFLAGS=... no [05:15:45.118] checking for _xgetbv with CFLAGS=-mxsave... yes [05:15:45.530] checking for _mm512_popcnt_epi64 with CFLAGS=... no [05:15:45.923] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [05:15:46.271] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [05:15:46.320] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [05:15:46.418] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:15:46.442] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:15:46.464] 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 [05:15:46.527] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:15:46.527] checking which random number source to use... Windows native [05:15:46.530] checking for xmllint... /usr/bin/xmllint [05:15:46.530] checking for xsltproc... /usr/bin/xsltproc [05:15:46.530] checking for fop... /usr/bin/fop [05:15:46.530] checking for dbtoepub... no [05:15:46.531] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:15:46.531] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:15:46.531] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:15:46.543] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:15:46.543] 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 [05:15:46.543] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:15:46.543] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:15:46.631] configure: creating ./config.status [05:15:46.727] config.status: creating GNUmakefile [05:15:46.741] config.status: creating src/Makefile.global [05:15:46.759] config.status: creating src/include/pg_config.h [05:15:46.773] config.status: creating src/include/pg_config_ext.h [05:15:46.786] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:15:46.804] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:15:46.812] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:15:46.820] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:15:46.828] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:15:46.835] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:15:46.838] config.status: executing check_win32_symlinks commands [05:15:46.875] [05:15:46.875] real 0m17.440s [05:15:46.875] user 0m11.652s [05:15:46.875] sys 0m5.369s [05:15:46.875] make -s -j${BUILD_JOBS} clean [05:15:47.415] time make -s -j${BUILD_JOBS} world-bin [05:16:15.171] In file included from ../../../../src/include/postgres.h:47, [05:16:15.171] from xlogrecovery.c:25: [05:16:15.171] In function ‘MemoryContextSwitchTo’, [05:16:15.171] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [05:16:15.171] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [05:16:15.171] 128 | CurrentMemoryContext = context; [05:16:15.171] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [05:16:15.171] xlogrecovery.c: In function ‘PerformWalRecovery’: [05:16:15.171] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [05:16:15.171] 1732 | MemoryContext oldCtx; [05:16:15.171] | ^~~~~~ [05:16:15.171] cc1: all warnings being treated as errors [05:16:15.173] make[4]: *** [: xlogrecovery.o] Error 1 [05:16:15.174] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [05:16:15.174] make[2]: *** [common.mk:37: access-recursive] Error 2 [05:16:15.174] make[2]: *** Waiting for unfinished jobs.... [05:16:15.414] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [05:16:15.414] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [05:16:15.415] [05:16:15.415] real 0m27.999s [05:16:15.415] user 1m18.247s [05:16:15.415] sys 0m23.134s [05:16:15.415] [05:16:15.415] Exit status: 2