[18:28:50.749] time ./configure \
[18:28:50.749]   --host=x86_64-w64-mingw32 \
[18:28:50.749]   --enable-cassert \
[18:28:50.749]   --without-icu \
[18:28:50.749]   CC="ccache x86_64-w64-mingw32-gcc" \
[18:28:50.749]   CXX="ccache x86_64-w64-mingw32-g++"
[18:28:50.864] checking build system type... x86_64-pc-linux-gnu
[18:28:51.040] checking host system type... x86_64-w64-mingw32
[18:28:51.045] checking which template to use... win32
[18:28:51.046] checking whether NLS is wanted... no
[18:28:51.046] checking for default port number... 5432
[18:28:51.052] checking for block size... 8kB
[18:28:51.053] checking for segment size... 1GB
[18:28:51.056] checking for WAL block size... 8kB
[18:28:51.057] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc
[18:28:51.089] checking whether the C compiler works... yes
[18:28:51.233] checking for C compiler default output file name... a.exe
[18:28:51.235] checking for suffix of executables... .exe
[18:28:51.275] checking whether we are cross compiling... yes
[18:28:51.350] checking for suffix of object files... o
[18:28:51.367] checking whether we are using the GNU C compiler... yes
[18:28:51.373] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes
[18:28:51.379] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
[18:28:51.389] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed
[18:28:51.446] checking whether we are using the GNU C++ compiler... yes
[18:28:51.453] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes
[18:28:51.520] checking for gawk... no
[18:28:51.520] checking for mawk... mawk
[18:28:51.523] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes
[18:28:51.529] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes
[18:28:51.536] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no
[18:28:51.581] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no
[18:28:51.742] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes
[18:28:51.749] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes
[18:28:51.756] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes
[18:28:51.762] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes
[18:28:51.769] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes
[18:28:51.776] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes
[18:28:51.783] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes
[18:28:51.815] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes
[18:28:51.822] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes
[18:28:51.829] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes
[18:28:51.836] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes
[18:28:51.868] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes
[18:28:51.874] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no
[18:28:51.911] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes
[18:28:51.917] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes
[18:28:51.924] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes
[18:28:51.930] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes
[18:28:51.938] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes
[18:28:51.944] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no
[18:28:51.967] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes
[18:28:51.974] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes
[18:28:51.980] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no
[18:28:52.018] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no
[18:28:52.056] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes
[18:28:52.072] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes
[18:28:52.079] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no
[18:28:52.113] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes
[18:28:52.120] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes
[18:28:52.127] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes
[18:28:52.135] checking whether the C compiler still works... yes
[18:28:52.203] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E
[18:28:52.270] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config
[18:28:52.271] checking pkg-config is at least version 0.9.0... yes
[18:28:52.289] checking whether to build with ICU support... no
[18:28:52.289] checking whether to build with Tcl... no
[18:28:52.289] checking whether to build Perl modules... no
[18:28:52.289] checking whether to build Python modules... no
[18:28:52.290] checking whether to build with GSSAPI support... no
[18:28:52.291] checking whether to build with PAM support... no
[18:28:52.291] checking whether to build with BSD Authentication support... no
[18:28:52.291] checking whether to build with LDAP support... no
[18:28:52.291] checking whether to build with Bonjour support... no
[18:28:52.291] checking whether to build with SELinux support... no
[18:28:52.291] checking whether to build with systemd support... no
[18:28:52.291] configure: WARNING: *** Readline does not work on MinGW --- disabling
[18:28:52.292] checking whether to build with XML support... no
[18:28:52.292] checking whether to build with LZ4 support... no
[18:28:52.292] checking whether to build with ZSTD support... no
[18:28:52.292] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
[18:28:52.293] checking whether it is possible to strip libraries... yes
[18:28:52.299] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
[18:28:52.300] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres
[18:28:52.300] checking for a BSD-compatible install... /usr/bin/install -c
[18:28:52.309] checking for tar... /usr/bin/tar
[18:28:52.309] checking whether ln -s works... yes
[18:28:52.309] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
[18:28:52.311] checking for bison... /usr/bin/bison
[18:28:52.313] configure: using bison (GNU Bison) 3.8.2
[18:28:52.316] checking for flex... /usr/bin/flex
[18:28:52.328] configure: using flex 2.6.4
[18:28:52.328] checking for perl... /usr/bin/perl
[18:28:52.331] configure: using perl 5.36.0
[18:28:52.333] checking for zic... /usr/sbin/zic
[18:28:52.333] checking for a sed that does not truncate output... /usr/bin/sed
[18:28:52.338] checking for grep that handles long lines and -e... /usr/bin/grep
[18:28:52.340] checking for egrep... /usr/bin/grep -E
[18:28:52.342] checking for ANSI C header files... yes
[18:28:52.388] checking for sys/types.h... yes
[18:28:52.404] checking for sys/stat.h... yes
[18:28:52.419] checking for stdlib.h... yes
[18:28:52.433] checking for string.h... yes
[18:28:52.447] checking for memory.h... yes
[18:28:52.462] checking for strings.h... yes
[18:28:52.477] checking for inttypes.h... yes
[18:28:52.492] checking for stdint.h... yes
[18:28:52.506] checking for unistd.h... yes
[18:28:52.573] checking for main in -lm... yes
[18:28:52.619] checking for library containing setproctitle... no
[18:28:52.706] checking for library containing dlsym... no
[18:28:52.791] checking for library containing socket... -lws2_32
[18:28:52.922] checking for library containing getopt_long... none required
[18:28:52.967] checking for library containing shm_open... no
[18:28:53.052] checking for library containing shm_unlink... no
[18:28:53.137] checking for library containing clock_gettime... no
[18:28:53.220] checking for library containing shmget... no
[18:28:53.306] checking for library containing backtrace_symbols... no
[18:28:53.394] checking for library containing pthread_barrier_wait... -lpthread
[18:28:53.486] checking for inflate in -lz... yes
[18:28:53.535] checking atomic.h usability... no
[18:28:53.588] checking atomic.h presence... no
[18:28:53.607] checking for atomic.h... no
[18:28:53.610] checking copyfile.h usability... no
[18:28:53.663] checking copyfile.h presence... no
[18:28:53.681] checking for copyfile.h... no
[18:28:53.684] checking execinfo.h usability... no
[18:28:53.742] checking execinfo.h presence... no
[18:28:53.762] checking for execinfo.h... no
[18:28:53.765] checking getopt.h usability... yes
[18:28:53.772] checking getopt.h presence... yes
[18:28:53.787] checking for getopt.h... yes
[18:28:53.795] checking ifaddrs.h usability... no
[18:28:53.853] checking ifaddrs.h presence... no
[18:28:53.871] checking for ifaddrs.h... no
[18:28:53.874] checking mbarrier.h usability... no
[18:28:53.927] checking mbarrier.h presence... no
[18:28:53.945] checking for mbarrier.h... no
[18:28:53.948] checking sys/epoll.h usability... no
[18:28:54.000] checking sys/epoll.h presence... no
[18:28:54.018] checking for sys/epoll.h... no
[18:28:54.021] checking sys/event.h usability... no
[18:28:54.074] checking sys/event.h presence... no
[18:28:54.092] checking for sys/event.h... no
[18:28:54.095] checking sys/personality.h usability... no
[18:28:54.148] checking sys/personality.h presence... no
[18:28:54.166] checking for sys/personality.h... no
[18:28:54.169] checking sys/prctl.h usability... no
[18:28:54.221] checking sys/prctl.h presence... no
[18:28:54.239] checking for sys/prctl.h... no
[18:28:54.242] checking sys/procctl.h usability... no
[18:28:54.294] checking sys/procctl.h presence... no
[18:28:54.312] checking for sys/procctl.h... no
[18:28:54.315] checking sys/signalfd.h usability... no
[18:28:54.368] checking sys/signalfd.h presence... no
[18:28:54.385] checking for sys/signalfd.h... no
[18:28:54.388] checking sys/ucred.h usability... no
[18:28:54.441] checking sys/ucred.h presence... no
[18:28:54.458] checking for sys/ucred.h... no
[18:28:54.461] checking termios.h usability... no
[18:28:54.516] checking termios.h presence... no
[18:28:54.535] checking for termios.h... no
[18:28:54.538] checking ucred.h usability... no
[18:28:54.591] checking ucred.h presence... no
[18:28:54.609] checking for ucred.h... no
[18:28:54.612] checking xlocale.h usability... no
[18:28:54.665] checking xlocale.h presence... no
[18:28:54.683] checking for xlocale.h... no
[18:28:54.686] checking zlib.h usability... yes
[18:28:54.694] checking zlib.h presence... yes
[18:28:54.712] checking for zlib.h... yes
[18:28:54.713] checking for lz4... /usr/bin/lz4
[18:28:54.713] checking for zstd... /usr/bin/zstd
[18:28:54.713] checking for openssl... /usr/bin/openssl
[18:28:54.717] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024)
[18:28:54.718] checking crtdefs.h usability... yes
[18:28:54.746] checking crtdefs.h presence... yes
[18:28:54.760] checking for crtdefs.h... yes
[18:28:54.761] checking whether byte ordering is bigendian... no
[18:28:54.831] checking for inline... inline
[18:28:54.837] checking for printf format archetype... gnu_printf
[18:28:54.846] checking for _Static_assert... yes
[18:28:54.887] checking for typeof... typeof
[18:28:54.894] checking for __builtin_types_compatible_p... yes
[18:28:54.904] checking for __builtin_constant_p... yes
[18:28:54.915] checking for __builtin_mul_overflow... yes
[18:28:54.960] checking for __builtin_unreachable... yes
[18:28:55.000] checking for computed goto support... yes
[18:28:55.007] checking for struct tm.tm_zone... no
[18:28:55.079] checking for union semun... no
[18:28:55.109] checking for socklen_t... yes
[18:28:56.213] checking for struct sockaddr.sa_len... no
[18:28:58.157] checking for C/C++ restrict keyword... __restrict
[18:28:58.170] checking for struct option... yes
[18:28:58.211] checking whether assembler supports x86_64 popcntq... yes
[18:28:58.218] checking size of off_t... 4
[18:28:58.413] 0
[18:28:58.413] checking for int timezone... yes
[18:28:58.466] checking for backtrace_symbols... no
[18:28:58.517] checking for copyfile... no
[18:28:58.567] checking for copy_file_range... no
[18:28:58.616] checking for elf_aux_info... no
[18:28:58.666] checking for getauxval... no
[18:28:58.715] checking for getifaddrs... no
[18:28:58.765] checking for getpeerucred... no
[18:28:58.813] checking for inet_pton... yes
[18:28:58.861] checking for kqueue... no
[18:28:58.908] checking for mbstowcs_l... no
[18:28:58.956] checking for memset_s... no
[18:28:59.003] checking for posix_fallocate... no
[18:28:59.050] checking for ppoll... no
[18:28:59.096] checking for pthread_is_threaded_np... no
[18:28:59.143] checking for setproctitle... no
[18:28:59.190] checking for setproctitle_fast... no
[18:28:59.237] checking for strchrnul... no
[18:28:59.284] checking for strsignal... no
[18:28:59.333] checking for syncfs... no
[18:28:59.383] checking for sync_file_range... no
[18:28:59.433] checking for uselocale... no
[18:28:59.484] checking for wcstombs_l... no
[18:28:59.531] checking for __builtin_bswap16... yes
[18:28:59.578] checking for __builtin_bswap32... yes
[18:28:59.623] checking for __builtin_bswap64... yes
[18:28:59.670] checking for __builtin_clz... yes
[18:28:59.716] checking for __builtin_ctz... yes
[18:28:59.761] checking for __builtin_popcount... yes
[18:28:59.808] checking for __builtin_frame_address... yes
[18:28:59.854] checking for _LARGEFILE_SOURCE value needed for large files... no
[18:28:59.904] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error
[18:28:59.934] checking for posix_fadvise... no
[18:28:59.982] checking whether posix_fadvise is declared... no
[18:29:00.026] checking whether fdatasync is declared... no
[18:29:00.069] checking whether strlcat is declared... no
[18:29:00.130] checking whether strlcpy is declared... no
[18:29:00.190] checking whether strnlen is declared... yes
[18:29:00.203] checking whether strsep is declared... no
[18:29:00.264] checking whether preadv is declared... no
[18:29:00.297] checking whether pwritev is declared... no
[18:29:00.330] checking whether F_FULLFSYNC is declared... no
[18:29:00.367] checking for explicit_bzero... no
[18:29:00.412] checking for getopt... yes
[18:29:00.454] checking for getpeereid... no
[18:29:00.500] checking for inet_aton... no
[18:29:00.547] checking for mkdtemp... no
[18:29:00.592] checking for strlcat... no
[18:29:00.639] checking for strlcpy... no
[18:29:00.688] checking for strnlen... yes
[18:29:00.738] checking for strsep... no
[18:29:00.785] checking for pthread_barrier_wait... yes
[18:29:00.829] configure: On mingw32 we will use our strtof wrapper.
[18:29:00.829] checking for getopt_long... yes
[18:29:00.873] checking for syslog... no
[18:29:00.919] checking for opterr... yes
[18:29:00.966] checking for optreset... no
[18:29:01.016] checking test program... cross-compiling
[18:29:01.016] checking size of void *... 8
[18:29:01.343] checking size of size_t... 8
[18:29:01.650] checking size of long... 4
[18:29:01.841] checking size of long long... 8
[18:29:02.124] checking alignment of short... 2
[18:29:02.260] checking alignment of int... 4
[18:29:02.457] checking alignment of long... 4
[18:29:02.648] checking alignment of int64_t... 8
[18:29:02.902] checking alignment of double... 8
[18:29:03.259] checking for __int128... yes
[18:29:03.307] checking for __int128 alignment bug... assuming ok
[18:29:03.307] checking alignment of PG_INT128_TYPE... 16
[18:29:03.718] checking for builtin __sync char locking functions... yes
[18:29:03.758] checking for builtin __sync int32 locking functions... yes
[18:29:03.798] checking for builtin __sync int32 atomic operations... yes
[18:29:03.839] checking for builtin __sync int64 atomic operations... yes
[18:29:03.881] checking for builtin __atomic int32 atomic operations... yes
[18:29:03.921] checking for builtin __atomic int64 atomic operations... yes
[18:29:03.963] checking for __get_cpuid... yes
[18:29:04.007] checking for __get_cpuid_count... yes
[18:29:04.048] checking for __cpuid... no
[18:29:04.435] checking for __cpuidex... no
[18:29:04.848] checking for _xgetbv... yes
[18:29:05.238] checking for _mm512_popcnt_epi64... yes
[18:29:05.648] checking for _mm_crc32_u8 and _mm_crc32_u32... yes
[18:29:05.742] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no
[18:29:05.763] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no
[18:29:05.779] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no
[18:29:05.796] 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
[18:29:05.847] checking which CRC-32C implementation to use... SSE 4.2 with runtime check
[18:29:05.847] checking which random number source to use... Windows native
[18:29:05.849] checking for xmllint... /usr/bin/xmllint
[18:29:05.849] checking for xsltproc... /usr/bin/xsltproc
[18:29:05.849] checking for fop... /usr/bin/fop
[18:29:05.849] checking for dbtoepub... no
[18:29:05.850] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no
[18:29:05.850] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no
[18:29:05.850] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no
[18:29:05.859] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32
[18:29:05.860] 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
[18:29:05.860] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 
[18:29:05.860] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import 
[18:29:05.937] configure: creating ./config.status
[18:29:06.014] config.status: creating GNUmakefile
[18:29:06.025] config.status: creating src/Makefile.global
[18:29:06.039] config.status: creating src/include/pg_config.h
[18:29:06.050] config.status: creating src/interfaces/ecpg/include/ecpg_config.h
[18:29:06.064] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s
[18:29:06.070] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c
[18:29:06.076] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c
[18:29:06.083] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h
[18:29:06.089] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port
[18:29:06.092] config.status: executing check_win32_symlinks commands
[18:29:06.124] 
[18:29:06.124] real	0m15.375s
[18:29:06.124] user	0m10.309s
[18:29:06.124] sys	0m4.730s
[18:29:06.124] make -s -j${BUILD_JOBS} clean
[18:29:06.617] time make -s -j${BUILD_JOBS} world-bin
[18:29:47.791] In file included from ../../../../src/include/postgres.h:47,
[18:29:47.791]                  from xlogrecovery.c:25:
[18:29:47.791] In function ‘MemoryContextSwitchTo’,
[18:29:47.791]     inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3:
[18:29:47.791] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized]
[18:29:47.791]   128 |         CurrentMemoryContext = context;
[18:29:47.791]       |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
[18:29:47.791] xlogrecovery.c: In function ‘PerformWalRecovery’:
[18:29:47.791] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here
[18:29:47.791]  1731 |                 MemoryContext oldCtx;
[18:29:47.791]       |                               ^~~~~~
[18:29:47.791] cc1: all warnings being treated as errors
[18:29:47.792] make[4]: *** [<builtin>: xlogrecovery.o] Error 1
[18:29:47.792] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2
[18:29:47.792] make[2]: *** [common.mk:37: access-recursive] Error 2
[18:29:47.792] make[2]: *** Waiting for unfinished jobs....
[18:29:52.075] make[1]: *** [Makefile:42: all-backend-recurse] Error 2
[18:29:52.075] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2
[18:29:52.076] 
[18:29:52.076] real	0m45.459s
[18:29:52.076] user	2m16.282s
[18:29:52.076] sys	0m33.190s
[18:29:52.076] 
[18:29:52.076] Exit status: 2��������������������