[07:57:23.419] time ./configure \ [07:57:23.419] --host=x86_64-w64-mingw32 \ [07:57:23.419] --enable-cassert \ [07:57:23.419] --without-icu \ [07:57:23.419] CC="ccache x86_64-w64-mingw32-gcc" \ [07:57:23.419] CXX="ccache x86_64-w64-mingw32-g++" [07:57:23.524] checking build system type... x86_64-pc-linux-gnu [07:57:23.707] checking host system type... x86_64-w64-mingw32 [07:57:23.712] checking which template to use... win32 [07:57:23.713] checking whether NLS is wanted... no [07:57:23.713] checking for default port number... 5432 [07:57:23.719] checking for block size... 8kB [07:57:23.720] checking for segment size... 1GB [07:57:23.722] checking for WAL block size... 8kB [07:57:23.723] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:57:23.754] checking whether the C compiler works... yes [07:57:23.882] checking for C compiler default output file name... a.exe [07:57:23.883] checking for suffix of executables... .exe [07:57:23.921] checking whether we are cross compiling... yes [07:57:23.995] checking for suffix of object files... o [07:57:24.002] checking whether we are using the GNU C compiler... yes [07:57:24.008] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:57:24.024] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:57:24.097] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:57:24.150] checking whether we are using the GNU C++ compiler... yes [07:57:24.157] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:57:24.351] checking for gawk... no [07:57:24.351] checking for mawk... mawk [07:57:24.354] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:57:24.360] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:57:24.366] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:57:24.408] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:57:24.451] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:57:24.457] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:57:24.463] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:57:24.469] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:57:24.475] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:57:24.481] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:57:24.487] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:57:24.493] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:57:24.499] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:57:24.506] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:57:24.521] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:57:24.527] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:57:24.533] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:57:24.568] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:57:24.574] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:57:24.580] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:57:24.586] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:57:24.593] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:57:24.599] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:57:24.620] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:57:24.626] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:57:24.640] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:57:24.677] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:57:24.713] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:57:24.720] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:57:24.726] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:57:24.758] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:57:24.773] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:57:24.788] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:57:24.795] checking whether the C compiler still works... yes [07:57:24.840] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:57:24.904] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:57:24.906] checking pkg-config is at least version 0.9.0... yes [07:57:24.922] checking whether to build with ICU support... no [07:57:24.923] checking whether to build with Tcl... no [07:57:24.923] checking whether to build Perl modules... no [07:57:24.923] checking whether to build Python modules... no [07:57:24.923] checking whether to build with GSSAPI support... no [07:57:24.924] checking whether to build with PAM support... no [07:57:24.924] checking whether to build with BSD Authentication support... no [07:57:24.924] checking whether to build with LDAP support... no [07:57:24.924] checking whether to build with Bonjour support... no [07:57:24.924] checking whether to build with SELinux support... no [07:57:24.924] checking whether to build with systemd support... no [07:57:24.925] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:57:24.925] checking whether to build with XML support... no [07:57:24.925] checking whether to build with LZ4 support... no [07:57:24.925] checking whether to build with ZSTD support... no [07:57:24.926] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:57:24.926] checking whether it is possible to strip libraries... yes [07:57:24.932] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:57:24.933] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:57:24.933] checking for a BSD-compatible install... /usr/bin/install -c [07:57:24.941] checking for tar... /usr/bin/tar [07:57:24.941] checking whether ln -s works... yes [07:57:24.941] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:57:24.943] checking for bison... /usr/bin/bison [07:57:24.945] configure: using bison (GNU Bison) 3.8.2 [07:57:24.948] checking for flex... /usr/bin/flex [07:57:24.959] configure: using flex 2.6.4 [07:57:24.959] checking for perl... /usr/bin/perl [07:57:24.961] configure: using perl 5.36.0 [07:57:24.963] checking for zic... /usr/sbin/zic [07:57:24.963] checking for a sed that does not truncate output... /usr/bin/sed [07:57:24.968] checking for grep that handles long lines and -e... /usr/bin/grep [07:57:24.970] checking for egrep... /usr/bin/grep -E [07:57:24.971] checking for ANSI C header files... yes [07:57:25.016] checking for sys/types.h... yes [07:57:25.032] checking for sys/stat.h... yes [07:57:25.088] checking for stdlib.h... yes [07:57:25.101] checking for string.h... yes [07:57:25.115] checking for memory.h... yes [07:57:25.128] checking for strings.h... yes [07:57:25.161] checking for inttypes.h... yes [07:57:25.176] checking for stdint.h... yes [07:57:25.208] checking for unistd.h... yes [07:57:25.222] checking for main in -lm... yes [07:57:25.266] checking for library containing setproctitle... no [07:57:25.347] checking for library containing dlsym... no [07:57:25.427] checking for library containing socket... -lws2_32 [07:57:25.547] checking for library containing getopt_long... none required [07:57:25.590] checking for library containing shm_open... no [07:57:25.670] checking for library containing shm_unlink... no [07:57:25.752] checking for library containing clock_gettime... no [07:57:25.831] checking for library containing shmget... no [07:57:25.912] checking for library containing backtrace_symbols... no [07:57:25.994] checking for library containing pthread_barrier_wait... -lpthread [07:57:26.079] checking for inflate in -lz... yes [07:57:26.126] checking atomic.h usability... no [07:57:26.180] checking atomic.h presence... no [07:57:26.197] checking for atomic.h... no [07:57:26.200] checking copyfile.h usability... no [07:57:26.253] checking copyfile.h presence... no [07:57:26.270] checking for copyfile.h... no [07:57:26.273] checking execinfo.h usability... no [07:57:26.324] checking execinfo.h presence... no [07:57:26.341] checking for execinfo.h... no [07:57:26.343] checking getopt.h usability... yes [07:57:26.350] checking getopt.h presence... yes [07:57:26.363] checking for getopt.h... yes [07:57:26.370] checking ifaddrs.h usability... no [07:57:26.422] checking ifaddrs.h presence... no [07:57:26.438] checking for ifaddrs.h... no [07:57:26.441] checking mbarrier.h usability... no [07:57:26.492] checking mbarrier.h presence... no [07:57:26.509] checking for mbarrier.h... no [07:57:26.512] checking sys/epoll.h usability... no [07:57:26.562] checking sys/epoll.h presence... no [07:57:26.579] checking for sys/epoll.h... no [07:57:26.582] checking sys/event.h usability... no [07:57:26.633] checking sys/event.h presence... no [07:57:26.650] checking for sys/event.h... no [07:57:26.652] checking sys/personality.h usability... no [07:57:26.704] checking sys/personality.h presence... no [07:57:26.722] checking for sys/personality.h... no [07:57:26.725] checking sys/prctl.h usability... no [07:57:26.777] checking sys/prctl.h presence... no [07:57:26.794] checking for sys/prctl.h... no [07:57:26.797] checking sys/procctl.h usability... no [07:57:26.849] checking sys/procctl.h presence... no [07:57:26.868] checking for sys/procctl.h... no [07:57:26.871] checking sys/signalfd.h usability... no [07:57:26.924] checking sys/signalfd.h presence... no [07:57:26.942] checking for sys/signalfd.h... no [07:57:26.945] checking sys/ucred.h usability... no [07:57:26.997] checking sys/ucred.h presence... no [07:57:27.015] checking for sys/ucred.h... no [07:57:27.018] checking termios.h usability... no [07:57:27.070] checking termios.h presence... no [07:57:27.088] checking for termios.h... no [07:57:27.092] checking ucred.h usability... no [07:57:27.144] checking ucred.h presence... no [07:57:27.161] checking for ucred.h... no [07:57:27.164] checking xlocale.h usability... no [07:57:27.218] checking xlocale.h presence... no [07:57:27.236] checking for xlocale.h... no [07:57:27.239] checking zlib.h usability... yes [07:57:27.250] checking zlib.h presence... yes [07:57:27.268] checking for zlib.h... yes [07:57:27.268] checking for lz4... /usr/bin/lz4 [07:57:27.269] checking for zstd... /usr/bin/zstd [07:57:27.269] checking for openssl... /usr/bin/openssl [07:57:27.273] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [07:57:27.273] checking crtdefs.h usability... yes [07:57:27.281] checking crtdefs.h presence... yes [07:57:27.295] checking for crtdefs.h... yes [07:57:27.296] checking whether byte ordering is bigendian... no [07:57:27.366] checking for inline... inline [07:57:27.373] checking for printf format archetype... gnu_printf [07:57:27.407] checking for _Static_assert... yes [07:57:27.446] checking for typeof... typeof [07:57:27.454] checking for __builtin_types_compatible_p... yes [07:57:27.465] checking for __builtin_constant_p... yes [07:57:27.475] checking for __builtin_mul_overflow... yes [07:57:27.520] checking for __builtin_unreachable... yes [07:57:27.560] checking for computed goto support... yes [07:57:27.567] checking for struct tm.tm_zone... no [07:57:27.642] checking for union semun... no [07:57:27.674] checking for socklen_t... yes [07:57:28.771] checking for struct sockaddr.sa_len... no [07:57:30.686] checking for C/C++ restrict keyword... __restrict [07:57:30.698] checking for struct option... yes [07:57:30.737] checking whether assembler supports x86_64 popcntq... yes [07:57:30.744] checking size of off_t... 4 [07:57:30.982] 0 [07:57:30.982] checking for int timezone... yes [07:57:31.030] checking for backtrace_symbols... no [07:57:31.076] checking for copyfile... no [07:57:31.122] checking for copy_file_range... no [07:57:31.173] checking for elf_aux_info... no [07:57:31.220] checking for getauxval... no [07:57:31.266] checking for getifaddrs... no [07:57:31.313] checking for getpeerucred... no [07:57:31.359] checking for inet_pton... yes [07:57:31.405] checking for kqueue... no [07:57:31.451] checking for mbstowcs_l... no [07:57:31.498] checking for memset_s... no [07:57:31.545] checking for posix_fallocate... no [07:57:31.591] checking for ppoll... no [07:57:31.637] checking for pthread_is_threaded_np... no [07:57:31.683] checking for setproctitle... no [07:57:31.731] checking for setproctitle_fast... no [07:57:31.777] checking for strchrnul... no [07:57:31.824] checking for strsignal... no [07:57:31.871] checking for syncfs... no [07:57:31.917] checking for sync_file_range... no [07:57:31.963] checking for uselocale... no [07:57:32.009] checking for wcstombs_l... no [07:57:32.054] checking for __builtin_bswap16... yes [07:57:32.098] checking for __builtin_bswap32... yes [07:57:32.142] checking for __builtin_bswap64... yes [07:57:32.186] checking for __builtin_clz... yes [07:57:32.230] checking for __builtin_ctz... yes [07:57:32.274] checking for __builtin_popcount... yes [07:57:32.318] checking for __builtin_frame_address... yes [07:57:32.361] checking for _LARGEFILE_SOURCE value needed for large files... no [07:57:32.410] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:57:32.437] checking for posix_fadvise... no [07:57:32.484] checking whether posix_fadvise is declared... no [07:57:32.525] checking whether fdatasync is declared... no [07:57:32.566] checking whether strlcat is declared... no [07:57:32.625] checking whether strlcpy is declared... no [07:57:32.683] checking whether strnlen is declared... yes [07:57:32.696] checking whether strsep is declared... no [07:57:32.752] checking whether preadv is declared... no [07:57:32.786] checking whether pwritev is declared... no [07:57:32.821] checking whether F_FULLFSYNC is declared... no [07:57:32.859] checking for explicit_bzero... no [07:57:32.904] checking for getopt... yes [07:57:32.946] checking for getpeereid... no [07:57:32.990] checking for inet_aton... no [07:57:33.034] checking for mkdtemp... no [07:57:33.077] checking for strlcat... no [07:57:33.121] checking for strlcpy... no [07:57:33.165] checking for strnlen... yes [07:57:33.208] checking for strsep... no [07:57:33.250] checking for pthread_barrier_wait... yes [07:57:33.289] configure: On mingw32 we will use our strtof wrapper. [07:57:33.289] checking for getopt_long... yes [07:57:33.329] checking for syslog... no [07:57:33.375] checking for opterr... yes [07:57:33.420] checking for optreset... no [07:57:33.469] checking test program... cross-compiling [07:57:33.469] checking size of void *... 8 [07:57:33.744] checking size of size_t... 8 [07:57:34.044] checking size of long... 4 [07:57:34.231] checking size of long long... 8 [07:57:34.499] checking alignment of short... 2 [07:57:34.628] checking alignment of int... 4 [07:57:34.866] checking alignment of long... 4 [07:57:35.122] checking alignment of int64_t... 8 [07:57:35.468] checking alignment of double... 8 [07:57:35.716] checking for __int128... yes [07:57:35.763] checking for __int128 alignment bug... assuming ok [07:57:35.763] checking alignment of PG_INT128_TYPE... 16 [07:57:36.154] checking for builtin __sync char locking functions... yes [07:57:36.195] checking for builtin __sync int32 locking functions... yes [07:57:36.235] checking for builtin __sync int32 atomic operations... yes [07:57:36.274] checking for builtin __sync int64 atomic operations... yes [07:57:36.316] checking for builtin __atomic int32 atomic operations... yes [07:57:36.356] checking for builtin __atomic int64 atomic operations... yes [07:57:36.397] checking for __get_cpuid... yes [07:57:36.443] checking for __get_cpuid_count... yes [07:57:36.485] checking for __cpuid... no [07:57:36.871] checking for __cpuidex... no [07:57:37.282] checking for _xgetbv... yes [07:57:37.676] checking for _mm512_popcnt_epi64... yes [07:57:38.085] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:57:38.180] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:57:38.200] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:57:38.217] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:57:38.234] 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 [07:57:38.285] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:57:38.286] checking which random number source to use... Windows native [07:57:38.287] checking for xmllint... /usr/bin/xmllint [07:57:38.288] checking for xsltproc... /usr/bin/xsltproc [07:57:38.288] checking for fop... /usr/bin/fop [07:57:38.288] checking for dbtoepub... no [07:57:38.289] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:57:38.289] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:57:38.289] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:57:38.298] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:57:38.298] 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 [07:57:38.298] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:57:38.298] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:57:38.375] configure: creating ./config.status [07:57:38.453] config.status: creating GNUmakefile [07:57:38.464] config.status: creating src/Makefile.global [07:57:38.478] config.status: creating src/include/pg_config.h [07:57:38.490] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:57:38.504] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:57:38.510] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:57:38.517] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:57:38.524] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:57:38.530] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:57:38.533] config.status: executing check_win32_symlinks commands [07:57:38.564] [07:57:38.564] real 0m15.146s [07:57:38.564] user 0m10.093s [07:57:38.564] sys 0m4.720s [07:57:38.564] make -s -j${BUILD_JOBS} clean [07:57:39.073] time make -s -j${BUILD_JOBS} world-bin [07:58:27.066] In file included from ../../../../src/include/postgres.h:47, [07:58:27.066] from xlogrecovery.c:25: [07:58:27.066] In function ‘MemoryContextSwitchTo’, [07:58:27.066] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [07:58:27.066] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [07:58:27.066] 128 | CurrentMemoryContext = context; [07:58:27.066] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [07:58:27.066] xlogrecovery.c: In function ‘PerformWalRecovery’: [07:58:27.066] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [07:58:27.066] 1731 | MemoryContext oldCtx; [07:58:27.066] | ^~~~~~ [07:58:27.066] cc1: all warnings being treated as errors [07:58:27.066] make[4]: *** [: xlogrecovery.o] Error 1 [07:58:27.066] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [07:58:27.066] make[2]: *** [common.mk:37: access-recursive] Error 2 [07:58:27.066] make[2]: *** Waiting for unfinished jobs.... [07:58:30.649] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:58:30.649] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:58:30.649] [07:58:30.649] real 0m51.576s [07:58:30.649] user 2m29.595s [07:58:30.649] sys 0m39.541s [07:58:30.649] [07:58:30.649] Exit status: 2