[16:06:03.317] time ./configure \ [16:06:03.317] --host=x86_64-w64-mingw32 \ [16:06:03.317] --enable-cassert \ [16:06:03.317] --without-icu \ [16:06:03.317] CC="ccache x86_64-w64-mingw32-gcc" \ [16:06:03.317] CXX="ccache x86_64-w64-mingw32-g++" [16:06:03.478] checking build system type... x86_64-pc-linux-gnu [16:06:03.735] checking host system type... x86_64-w64-mingw32 [16:06:03.742] checking which template to use... win32 [16:06:03.742] checking whether NLS is wanted... no [16:06:03.743] checking for default port number... 5432 [16:06:03.752] checking for block size... 8kB [16:06:03.754] checking for segment size... 1GB [16:06:03.758] checking for WAL block size... 8kB [16:06:03.760] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:06:03.807] checking whether the C compiler works... yes [16:06:04.011] checking for C compiler default output file name... a.exe [16:06:04.013] checking for suffix of executables... .exe [16:06:04.062] checking whether we are cross compiling... yes [16:06:04.175] checking for suffix of object files... o [16:06:04.197] checking whether we are using the GNU C compiler... yes [16:06:04.207] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:06:04.218] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:06:04.232] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:06:04.323] checking whether we are using the GNU C++ compiler... yes [16:06:04.333] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:06:04.435] checking for gawk... no [16:06:04.435] checking for mawk... mawk [16:06:04.439] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:06:04.451] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:06:04.462] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:06:04.525] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:06:04.784] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:06:04.794] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:06:04.805] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:06:04.815] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:06:04.825] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:06:04.835] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:06:04.846] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:06:04.893] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:06:04.904] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:06:04.914] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:06:04.925] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:06:04.969] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:06:04.979] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:06:05.026] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:06:05.037] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:06:05.047] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:06:05.059] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:06:05.069] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:06:05.079] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:06:05.112] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:06:05.123] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:06:05.133] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:06:05.182] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:06:05.230] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:06:05.253] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:06:05.263] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:06:05.308] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:06:05.320] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:06:05.333] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:06:05.345] checking whether the C compiler still works... yes [16:06:05.436] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:06:05.543] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:06:05.545] checking pkg-config is at least version 0.9.0... yes [16:06:05.566] checking whether to build with ICU support... no [16:06:05.566] checking whether to build with Tcl... no [16:06:05.566] checking whether to build Perl modules... no [16:06:05.567] checking whether to build Python modules... no [16:06:05.567] checking whether to build with GSSAPI support... no [16:06:05.569] checking whether to build with PAM support... no [16:06:05.569] checking whether to build with BSD Authentication support... no [16:06:05.569] checking whether to build with LDAP support... no [16:06:05.569] checking whether to build with Bonjour support... no [16:06:05.569] checking whether to build with SELinux support... no [16:06:05.569] checking whether to build with systemd support... no [16:06:05.569] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:06:05.569] checking whether to build with XML support... no [16:06:05.570] checking whether to build with LZ4 support... no [16:06:05.570] checking whether to build with ZSTD support... no [16:06:05.570] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:06:05.571] checking whether it is possible to strip libraries... yes [16:06:05.582] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:06:05.583] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:06:05.583] checking for a BSD-compatible install... /usr/bin/install -c [16:06:05.597] checking for tar... /usr/bin/tar [16:06:05.597] checking whether ln -s works... yes [16:06:05.598] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:06:05.601] checking for bison... /usr/bin/bison [16:06:05.605] configure: using bison (GNU Bison) 3.8.2 [16:06:05.610] checking for flex... /usr/bin/flex [16:06:05.630] configure: using flex 2.6.4 [16:06:05.630] checking for perl... /usr/bin/perl [16:06:05.636] configure: using perl 5.36.0 [16:06:05.640] checking for zic... /usr/sbin/zic [16:06:05.640] checking for a sed that does not truncate output... /usr/bin/sed [16:06:05.647] checking for grep that handles long lines and -e... /usr/bin/grep [16:06:05.652] checking for egrep... /usr/bin/grep -E [16:06:05.654] checking for ANSI C header files... yes [16:06:05.729] checking for sys/types.h... yes [16:06:05.757] checking for sys/stat.h... yes [16:06:05.782] checking for stdlib.h... yes [16:06:05.806] checking for string.h... yes [16:06:05.830] checking for memory.h... yes [16:06:05.857] checking for strings.h... yes [16:06:05.882] checking for inttypes.h... yes [16:06:05.910] checking for stdint.h... yes [16:06:05.934] checking for unistd.h... yes [16:06:05.963] checking for main in -lm... yes [16:06:06.031] checking for library containing setproctitle... no [16:06:06.164] checking for library containing dlsym... no [16:06:06.289] checking for library containing socket... -lws2_32 [16:06:06.476] checking for library containing getopt_long... none required [16:06:06.536] checking for library containing shm_open... no [16:06:06.651] checking for library containing shm_unlink... no [16:06:06.769] checking for library containing clock_gettime... no [16:06:06.888] checking for library containing shmget... no [16:06:07.003] checking for library containing backtrace_symbols... no [16:06:07.115] checking for library containing pthread_barrier_wait... -lpthread [16:06:07.228] checking for inflate in -lz... yes [16:06:07.292] checking atomic.h usability... no [16:06:07.374] checking atomic.h presence... no [16:06:07.401] checking for atomic.h... no [16:06:07.406] checking copyfile.h usability... no [16:06:07.481] checking copyfile.h presence... no [16:06:07.508] checking for copyfile.h... no [16:06:07.514] checking execinfo.h usability... no [16:06:07.593] checking execinfo.h presence... no [16:06:07.622] checking for execinfo.h... no [16:06:07.627] checking getopt.h usability... yes [16:06:07.639] checking getopt.h presence... yes [16:06:07.660] checking for getopt.h... yes [16:06:07.671] checking ifaddrs.h usability... no [16:06:07.749] checking ifaddrs.h presence... no [16:06:07.779] checking for ifaddrs.h... no [16:06:07.784] checking mbarrier.h usability... no [16:06:07.858] checking mbarrier.h presence... no [16:06:07.885] checking for mbarrier.h... no [16:06:07.890] checking sys/epoll.h usability... no [16:06:07.969] checking sys/epoll.h presence... no [16:06:07.999] checking for sys/epoll.h... no [16:06:08.004] checking sys/event.h usability... no [16:06:08.083] checking sys/event.h presence... no [16:06:08.108] checking for sys/event.h... no [16:06:08.114] checking sys/personality.h usability... no [16:06:08.190] checking sys/personality.h presence... no [16:06:08.219] checking for sys/personality.h... no [16:06:08.224] checking sys/prctl.h usability... no [16:06:08.296] checking sys/prctl.h presence... no [16:06:08.324] checking for sys/prctl.h... no [16:06:08.329] checking sys/procctl.h usability... no [16:06:08.406] checking sys/procctl.h presence... no [16:06:08.437] checking for sys/procctl.h... no [16:06:08.442] checking sys/signalfd.h usability... no [16:06:08.522] checking sys/signalfd.h presence... no [16:06:08.550] checking for sys/signalfd.h... no [16:06:08.555] checking sys/ucred.h usability... no [16:06:08.627] checking sys/ucred.h presence... no [16:06:08.658] checking for sys/ucred.h... no [16:06:08.663] checking termios.h usability... no [16:06:08.740] checking termios.h presence... no [16:06:08.768] checking for termios.h... no [16:06:08.773] checking ucred.h usability... no [16:06:08.850] checking ucred.h presence... no [16:06:08.879] checking for ucred.h... no [16:06:08.884] checking xlocale.h usability... no [16:06:08.958] checking xlocale.h presence... no [16:06:08.986] checking for xlocale.h... no [16:06:08.991] checking zlib.h usability... yes [16:06:09.007] checking zlib.h presence... yes [16:06:09.035] checking for zlib.h... yes [16:06:09.035] checking for lz4... /usr/bin/lz4 [16:06:09.035] checking for zstd... /usr/bin/zstd [16:06:09.036] checking for openssl... /usr/bin/openssl [16:06:09.042] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [16:06:09.043] checking crtdefs.h usability... yes [16:06:09.054] checking crtdefs.h presence... yes [16:06:09.075] checking for crtdefs.h... yes [16:06:09.078] checking whether byte ordering is bigendian... no [16:06:09.182] checking for inline... inline [16:06:09.193] checking for printf format archetype... gnu_printf [16:06:09.204] checking for _Static_assert... yes [16:06:09.257] checking for typeof... typeof [16:06:09.267] checking for __builtin_types_compatible_p... yes [16:06:09.284] checking for __builtin_constant_p... yes [16:06:09.302] checking for __builtin_mul_overflow... yes [16:06:09.369] checking for __builtin_unreachable... yes [16:06:09.424] checking for computed goto support... yes [16:06:09.436] checking for struct tm.tm_zone... no [16:06:09.546] checking for union semun... no [16:06:09.593] checking for socklen_t... yes [16:06:11.448] checking for struct sockaddr.sa_len... no [16:06:14.838] checking for C/C++ restrict keyword... __restrict [16:06:14.861] checking for struct option... yes [16:06:14.928] checking whether assembler supports x86_64 popcntq... yes [16:06:14.941] checking size of off_t... 4 [16:06:15.257] 0 [16:06:15.258] checking for int timezone... yes [16:06:15.338] checking for backtrace_symbols... no [16:06:15.411] checking for copyfile... no [16:06:15.484] checking for copy_file_range... no [16:06:15.555] checking for elf_aux_info... no [16:06:15.624] checking for getauxval... no [16:06:15.699] checking for getifaddrs... no [16:06:15.776] checking for getpeerucred... no [16:06:15.851] checking for inet_pton... yes [16:06:15.924] checking for kqueue... no [16:06:15.996] checking for mbstowcs_l... no [16:06:16.065] checking for memset_s... no [16:06:16.141] checking for posix_fallocate... no [16:06:16.213] checking for ppoll... no [16:06:16.281] checking for pthread_is_threaded_np... no [16:06:16.349] checking for setproctitle... no [16:06:16.421] checking for setproctitle_fast... no [16:06:16.486] checking for strchrnul... no [16:06:16.554] checking for strsignal... no [16:06:16.621] checking for syncfs... no [16:06:16.686] checking for sync_file_range... no [16:06:16.754] checking for uselocale... no [16:06:16.820] checking for wcstombs_l... no [16:06:16.885] checking for __builtin_bswap16... yes [16:06:16.951] checking for __builtin_bswap32... yes [16:06:17.014] checking for __builtin_bswap64... yes [16:06:17.077] checking for __builtin_clz... yes [16:06:17.142] checking for __builtin_ctz... yes [16:06:17.204] checking for __builtin_popcount... yes [16:06:17.265] checking for __builtin_frame_address... yes [16:06:17.326] checking for _LARGEFILE_SOURCE value needed for large files... no [16:06:17.395] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:06:17.438] checking for posix_fadvise... no [16:06:17.506] checking whether posix_fadvise is declared... no [16:06:17.569] checking whether fdatasync is declared... no [16:06:17.636] checking whether strlcat is declared... no [16:06:17.721] checking whether strlcpy is declared... no [16:06:17.803] checking whether strnlen is declared... yes [16:06:17.821] checking whether strsep is declared... no [16:06:17.903] checking whether preadv is declared... no [16:06:17.951] checking whether pwritev is declared... no [16:06:17.999] checking whether F_FULLFSYNC is declared... no [16:06:18.049] checking for explicit_bzero... no [16:06:18.109] checking for getopt... yes [16:06:18.164] checking for getpeereid... no [16:06:18.223] checking for inet_aton... no [16:06:18.281] checking for mkdtemp... no [16:06:18.339] checking for strlcat... no [16:06:18.399] checking for strlcpy... no [16:06:18.458] checking for strnlen... yes [16:06:18.514] checking for strsep... no [16:06:18.572] checking for pthread_barrier_wait... yes [16:06:18.624] configure: On mingw32 we will use our strtof wrapper. [16:06:18.624] checking for getopt_long... yes [16:06:18.679] checking for syslog... no [16:06:18.737] checking for opterr... yes [16:06:18.795] checking for optreset... no [16:06:18.859] checking test program... cross-compiling [16:06:18.859] checking size of void *... 8 [16:06:19.246] checking size of size_t... 8 [16:06:19.572] checking size of long... 4 [16:06:19.817] checking size of long long... 8 [16:06:20.167] checking alignment of short... 2 [16:06:20.336] checking alignment of int... 4 [16:06:20.584] checking alignment of long... 4 [16:06:20.838] checking alignment of int64_t... 8 [16:06:21.172] checking alignment of double... 8 [16:06:21.658] checking for __int128... yes [16:06:21.739] checking for __int128 alignment bug... assuming ok [16:06:21.739] checking alignment of PG_INT128_TYPE... 16 [16:06:22.314] checking for builtin __sync char locking functions... yes [16:06:22.375] checking for builtin __sync int32 locking functions... yes [16:06:22.435] checking for builtin __sync int32 atomic operations... yes [16:06:22.495] checking for builtin __sync int64 atomic operations... yes [16:06:22.557] checking for builtin __atomic int32 atomic operations... yes [16:06:22.616] checking for builtin __atomic int64 atomic operations... yes [16:06:22.678] checking for __get_cpuid... yes [16:06:22.744] checking for __get_cpuid_count... yes [16:06:22.806] checking for __cpuid... no [16:06:23.377] checking for __cpuidex... no [16:06:23.916] checking for _xgetbv... yes [16:06:24.443] checking for _mm512_popcnt_epi64... yes [16:06:25.050] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [16:06:25.196] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:06:25.232] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [16:06:25.259] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:06:25.292] 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 [16:06:25.368] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:06:25.369] checking which random number source to use... Windows native [16:06:25.372] checking for xmllint... /usr/bin/xmllint [16:06:25.372] checking for xsltproc... /usr/bin/xsltproc [16:06:25.372] checking for fop... /usr/bin/fop [16:06:25.373] checking for dbtoepub... no [16:06:25.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:06:25.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:06:25.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:06:25.390] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:06:25.390] 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 [16:06:25.390] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:06:25.390] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:06:25.539] configure: creating ./config.status [16:06:25.679] config.status: creating GNUmakefile [16:06:25.699] config.status: creating src/Makefile.global [16:06:25.723] config.status: creating src/include/pg_config.h [16:06:25.744] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:06:25.772] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:06:25.785] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:06:25.797] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:06:25.808] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:06:25.821] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:06:25.827] config.status: executing check_win32_symlinks commands [16:06:25.877] [16:06:25.877] real 0m22.560s [16:06:25.877] user 0m14.525s [16:06:25.877] sys 0m7.424s [16:06:25.877] make -s -j${BUILD_JOBS} clean [16:06:26.668] time make -s -j${BUILD_JOBS} world-bin [16:07:20.844] In file included from ../../../../src/include/postgres.h:47, [16:07:20.844] from xlogrecovery.c:25: [16:07:20.844] In function ‘MemoryContextSwitchTo’, [16:07:20.844] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [16:07:20.844] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [16:07:20.844] 128 | CurrentMemoryContext = context; [16:07:20.844] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [16:07:20.844] xlogrecovery.c: In function ‘PerformWalRecovery’: [16:07:20.844] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [16:07:20.844] 1731 | MemoryContext oldCtx; [16:07:20.844] | ^~~~~~ [16:07:20.844] cc1: all warnings being treated as errors [16:07:20.845] make[4]: *** [: xlogrecovery.o] Error 1 [16:07:20.845] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [16:07:20.845] make[2]: *** [common.mk:37: access-recursive] Error 2 [16:07:20.845] make[2]: *** Waiting for unfinished jobs.... [16:07:23.741] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:07:23.741] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:07:23.742] [16:07:23.742] real 0m57.074s [16:07:23.742] user 2m46.734s [16:07:23.742] sys 0m46.752s [16:07:23.742] [16:07:23.742] Exit status: 2