[17:30:48.885] time ./configure \ [17:30:48.885] --host=x86_64-w64-mingw32 \ [17:30:48.885] --enable-cassert \ [17:30:48.885] --without-icu \ [17:30:48.885] CC="ccache x86_64-w64-mingw32-gcc" \ [17:30:48.885] CXX="ccache x86_64-w64-mingw32-g++" [17:30:49.013] checking build system type... x86_64-pc-linux-gnu [17:30:49.199] checking host system type... x86_64-w64-mingw32 [17:30:49.205] checking which template to use... win32 [17:30:49.205] checking whether NLS is wanted... no [17:30:49.205] checking for default port number... 5432 [17:30:49.212] checking for block size... 8kB [17:30:49.213] checking for segment size... 1GB [17:30:49.216] checking for WAL block size... 8kB [17:30:49.217] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:30:49.252] checking whether the C compiler works... yes [17:30:49.388] checking for C compiler default output file name... a.exe [17:30:49.389] checking for suffix of executables... .exe [17:30:49.431] checking whether we are cross compiling... yes [17:30:49.514] checking for suffix of object files... o [17:30:49.523] checking whether we are using the GNU C compiler... yes [17:30:49.530] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:30:49.537] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:30:49.548] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:30:49.608] checking whether we are using the GNU C++ compiler... yes [17:30:49.615] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:30:49.682] checking for gawk... no [17:30:49.682] checking for mawk... mawk [17:30:49.684] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:30:49.691] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:30:49.698] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:30:49.743] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:30:49.907] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:30:49.914] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:30:49.922] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:30:49.929] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:30:49.936] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:30:49.943] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:30:49.950] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:30:49.956] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:30:49.964] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:30:49.971] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:30:49.978] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:30:49.985] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:30:49.992] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:30:50.029] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:30:50.036] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:30:50.044] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:30:50.051] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:30:50.058] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:30:50.065] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:30:50.091] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:30:50.098] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:30:50.105] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:30:50.143] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:30:50.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:30:50.188] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:30:50.194] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:30:50.228] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:30:50.236] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:30:50.243] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:30:50.250] checking whether the C compiler still works... yes [17:30:50.314] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:30:50.387] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:30:50.387] checking pkg-config is at least version 0.9.0... yes [17:30:50.403] checking whether to build with ICU support... no [17:30:50.403] checking whether to build with Tcl... no [17:30:50.403] checking whether to build Perl modules... no [17:30:50.403] checking whether to build Python modules... no [17:30:50.404] checking whether to build with GSSAPI support... no [17:30:50.405] checking whether to build with PAM support... no [17:30:50.405] checking whether to build with BSD Authentication support... no [17:30:50.405] checking whether to build with LDAP support... no [17:30:50.405] checking whether to build with Bonjour support... no [17:30:50.405] checking whether to build with SELinux support... no [17:30:50.405] checking whether to build with systemd support... no [17:30:50.406] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:30:50.406] checking whether to build with XML support... no [17:30:50.406] checking whether to build with LZ4 support... no [17:30:50.406] checking whether to build with ZSTD support... no [17:30:50.406] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:30:50.407] checking whether it is possible to strip libraries... yes [17:30:50.414] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:30:50.415] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:30:50.415] checking for a BSD-compatible install... /usr/bin/install -c [17:30:50.425] checking for tar... /usr/bin/tar [17:30:50.425] checking whether ln -s works... yes [17:30:50.425] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:30:50.428] checking for bison... /usr/bin/bison [17:30:50.431] configure: using bison (GNU Bison) 3.8.2 [17:30:50.434] checking for flex... /usr/bin/flex [17:30:50.436] configure: using flex 2.6.4 [17:30:50.436] checking for perl... /usr/bin/perl [17:30:50.440] configure: using perl 5.36.0 [17:30:50.442] checking for zic... /usr/sbin/zic [17:30:50.443] checking for a sed that does not truncate output... /usr/bin/sed [17:30:50.449] checking for grep that handles long lines and -e... /usr/bin/grep [17:30:50.451] checking for egrep... /usr/bin/grep -E [17:30:50.453] checking for ANSI C header files... yes [17:30:50.506] checking for sys/types.h... yes [17:30:50.524] checking for sys/stat.h... yes [17:30:50.542] checking for stdlib.h... yes [17:30:50.559] checking for string.h... yes [17:30:50.575] checking for memory.h... yes [17:30:50.593] checking for strings.h... yes [17:30:50.610] checking for inttypes.h... yes [17:30:50.628] checking for stdint.h... yes [17:30:50.645] checking for unistd.h... yes [17:30:50.663] checking for main in -lm... yes [17:30:50.715] checking for library containing setproctitle... no [17:30:50.813] checking for library containing dlsym... no [17:30:50.907] checking for library containing socket... -lws2_32 [17:30:51.051] checking for library containing getopt_long... none required [17:30:51.105] checking for library containing shm_open... no [17:30:51.199] checking for library containing shm_unlink... no [17:30:51.294] checking for library containing clock_gettime... no [17:30:51.386] checking for library containing shmget... no [17:30:51.479] checking for library containing backtrace_symbols... no [17:30:51.576] checking for library containing pthread_barrier_wait... -lpthread [17:30:51.670] checking for inflate in -lz... yes [17:30:51.719] checking atomic.h usability... no [17:30:51.782] checking atomic.h presence... no [17:30:51.804] checking for atomic.h... no [17:30:51.807] checking copyfile.h usability... no [17:30:51.866] checking copyfile.h presence... no [17:30:51.887] checking for copyfile.h... no [17:30:51.890] checking execinfo.h usability... no [17:30:51.949] checking execinfo.h presence... no [17:30:51.969] checking for execinfo.h... no [17:30:51.973] checking getopt.h usability... yes [17:30:51.981] checking getopt.h presence... yes [17:30:51.996] checking for getopt.h... yes [17:30:52.004] checking ifaddrs.h usability... no [17:30:52.062] checking ifaddrs.h presence... no [17:30:52.082] checking for ifaddrs.h... no [17:30:52.086] checking mbarrier.h usability... no [17:30:52.144] checking mbarrier.h presence... no [17:30:52.165] checking for mbarrier.h... no [17:30:52.169] checking sys/epoll.h usability... no [17:30:52.226] checking sys/epoll.h presence... no [17:30:52.247] checking for sys/epoll.h... no [17:30:52.250] checking sys/event.h usability... no [17:30:52.308] checking sys/event.h presence... no [17:30:52.327] checking for sys/event.h... no [17:30:52.331] checking sys/personality.h usability... no [17:30:52.386] checking sys/personality.h presence... no [17:30:52.404] checking for sys/personality.h... no [17:30:52.407] checking sys/prctl.h usability... no [17:30:52.464] checking sys/prctl.h presence... no [17:30:52.485] checking for sys/prctl.h... no [17:30:52.489] checking sys/procctl.h usability... no [17:30:52.547] checking sys/procctl.h presence... no [17:30:52.567] checking for sys/procctl.h... no [17:30:52.570] checking sys/signalfd.h usability... no [17:30:52.629] checking sys/signalfd.h presence... no [17:30:52.651] checking for sys/signalfd.h... no [17:30:52.654] checking sys/ucred.h usability... no [17:30:52.712] checking sys/ucred.h presence... no [17:30:52.732] checking for sys/ucred.h... no [17:30:52.736] checking termios.h usability... no [17:30:52.796] checking termios.h presence... no [17:30:52.817] checking for termios.h... no [17:30:52.821] checking ucred.h usability... no [17:30:52.877] checking ucred.h presence... no [17:30:52.899] checking for ucred.h... no [17:30:52.902] checking xlocale.h usability... no [17:30:52.959] checking xlocale.h presence... no [17:30:52.981] checking for xlocale.h... no [17:30:52.985] checking zlib.h usability... yes [17:30:52.995] checking zlib.h presence... yes [17:30:53.016] checking for zlib.h... yes [17:30:53.016] checking for lz4... /usr/bin/lz4 [17:30:53.016] checking for zstd... /usr/bin/zstd [17:30:53.017] checking for openssl... /usr/bin/openssl [17:30:53.021] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [17:30:53.022] checking crtdefs.h usability... yes [17:30:53.030] checking crtdefs.h presence... yes [17:30:53.046] checking for crtdefs.h... yes [17:30:53.048] checking whether byte ordering is bigendian... no [17:30:53.127] checking for inline... inline [17:30:53.135] checking for printf format archetype... gnu_printf [17:30:53.144] checking for _Static_assert... yes [17:30:53.186] checking for typeof... typeof [17:30:53.194] checking for __builtin_types_compatible_p... yes [17:30:53.205] checking for __builtin_constant_p... yes [17:30:53.216] checking for __builtin_mul_overflow... yes [17:30:53.265] checking for __builtin_unreachable... yes [17:30:53.309] checking for computed goto support... yes [17:30:53.322] checking for struct tm.tm_zone... no [17:30:53.410] checking for union semun... no [17:30:53.448] checking for socklen_t... yes [17:30:54.636] checking for struct sockaddr.sa_len... no [17:30:56.692] checking for C/C++ restrict keyword... __restrict [17:30:56.706] checking for struct option... yes [17:30:56.752] checking whether assembler supports x86_64 popcntq... yes [17:30:56.760] checking size of off_t... 4 [17:30:56.967] 0 [17:30:56.968] checking for int timezone... yes [17:30:57.018] checking for backtrace_symbols... no [17:30:57.069] checking for copyfile... no [17:30:57.120] checking for copy_file_range... no [17:30:57.171] checking for elf_aux_info... no [17:30:57.222] checking for getauxval... no [17:30:57.273] checking for getifaddrs... no [17:30:57.323] checking for getpeerucred... no [17:30:57.372] checking for inet_pton... yes [17:30:57.423] checking for kqueue... no [17:30:57.472] checking for mbstowcs_l... no [17:30:57.520] checking for memset_s... no [17:30:57.570] checking for posix_fallocate... no [17:30:57.618] checking for ppoll... no [17:30:57.668] checking for pthread_is_threaded_np... no [17:30:57.719] checking for setproctitle... no [17:30:57.772] checking for setproctitle_fast... no [17:30:57.825] checking for strchrnul... no [17:30:57.876] checking for strsignal... no [17:30:57.927] checking for syncfs... no [17:30:57.978] checking for sync_file_range... no [17:30:58.028] checking for uselocale... no [17:30:58.078] checking for wcstombs_l... no [17:30:58.126] checking for __builtin_bswap16... yes [17:30:58.178] checking for __builtin_bswap32... yes [17:30:58.228] checking for __builtin_bswap64... yes [17:30:58.277] checking for __builtin_clz... yes [17:30:58.327] checking for __builtin_ctz... yes [17:30:58.376] checking for __builtin_popcount... yes [17:30:58.424] checking for __builtin_frame_address... yes [17:30:58.472] checking for _LARGEFILE_SOURCE value needed for large files... no [17:30:58.525] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:30:58.558] checking for posix_fadvise... no [17:30:58.610] checking whether posix_fadvise is declared... no [17:30:58.658] checking whether fdatasync is declared... no [17:30:58.710] checking whether strlcat is declared... no [17:30:58.778] checking whether strlcpy is declared... no [17:30:58.844] checking whether strnlen is declared... yes [17:30:58.858] checking whether strsep is declared... no [17:30:58.922] checking whether preadv is declared... no [17:30:58.960] checking whether pwritev is declared... no [17:30:58.998] checking whether F_FULLFSYNC is declared... no [17:30:59.039] checking for explicit_bzero... no [17:30:59.087] checking for getopt... yes [17:30:59.131] checking for getpeereid... no [17:30:59.178] checking for inet_aton... no [17:30:59.225] checking for mkdtemp... no [17:30:59.271] checking for strlcat... no [17:30:59.320] checking for strlcpy... no [17:30:59.368] checking for strnlen... yes [17:30:59.415] checking for strsep... no [17:30:59.461] checking for pthread_barrier_wait... yes [17:30:59.505] configure: On mingw32 we will use our strtof wrapper. [17:30:59.505] checking for getopt_long... yes [17:30:59.549] checking for syslog... no [17:30:59.597] checking for opterr... yes [17:30:59.645] checking for optreset... no [17:30:59.700] checking test program... cross-compiling [17:30:59.700] checking size of void *... 8 [17:30:59.975] checking size of size_t... 8 [17:31:00.239] checking size of long... 4 [17:31:00.445] checking size of long long... 8 [17:31:00.737] checking alignment of short... 2 [17:31:00.884] checking alignment of int... 4 [17:31:01.095] checking alignment of long... 4 [17:31:01.308] checking alignment of int64_t... 8 [17:31:01.578] checking alignment of double... 8 [17:31:01.849] checking for __int128... yes [17:31:01.902] checking for __int128 alignment bug... assuming ok [17:31:01.902] checking alignment of PG_INT128_TYPE... 16 [17:31:02.231] checking for builtin __sync char locking functions... yes [17:31:02.274] checking for builtin __sync int32 locking functions... yes [17:31:02.316] checking for builtin __sync int32 atomic operations... yes [17:31:02.358] checking for builtin __sync int64 atomic operations... yes [17:31:02.403] checking for builtin __atomic int32 atomic operations... yes [17:31:02.446] checking for builtin __atomic int64 atomic operations... yes [17:31:02.489] checking for __get_cpuid... yes [17:31:02.537] checking for __get_cpuid_count... yes [17:31:02.581] checking for __cpuid... no [17:31:02.982] checking for __cpuidex... no [17:31:03.412] checking for _xgetbv... yes [17:31:03.812] checking for _mm512_popcnt_epi64... yes [17:31:04.234] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [17:31:04.335] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:31:04.358] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [17:31:04.377] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:31:04.395] 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 [17:31:04.449] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:31:04.449] checking which random number source to use... Windows native [17:31:04.451] checking for xmllint... /usr/bin/xmllint [17:31:04.451] checking for xsltproc... /usr/bin/xsltproc [17:31:04.451] checking for fop... /usr/bin/fop [17:31:04.452] checking for dbtoepub... no [17:31:04.452] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:31:04.452] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:31:04.452] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:31:04.463] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:31:04.463] 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 [17:31:04.463] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:31:04.463] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:31:04.551] configure: creating ./config.status [17:31:04.636] config.status: creating GNUmakefile [17:31:04.648] config.status: creating src/Makefile.global [17:31:04.663] config.status: creating src/include/pg_config.h [17:31:04.676] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:31:04.691] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:31:04.698] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:31:04.705] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:31:04.712] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:31:04.719] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:31:04.723] config.status: executing check_win32_symlinks commands [17:31:04.756] [17:31:04.756] real 0m15.871s [17:31:04.756] user 0m10.477s [17:31:04.756] sys 0m5.060s [17:31:04.756] make -s -j${BUILD_JOBS} clean [17:31:05.270] time make -s -j${BUILD_JOBS} world-bin [17:31:35.129] In file included from ../../../../src/include/postgres.h:50, [17:31:35.129] from xlogrecovery.c:25: [17:31:35.129] In function ‘MemoryContextSwitchTo’, [17:31:35.129] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [17:31:35.129] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [17:31:35.129] 128 | CurrentMemoryContext = context; [17:31:35.129] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [17:31:35.129] xlogrecovery.c: In function ‘PerformWalRecovery’: [17:31:35.129] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [17:31:35.129] 1731 | MemoryContext oldCtx; [17:31:35.129] | ^~~~~~ [17:31:35.129] cc1: all warnings being treated as errors [17:31:35.129] make[4]: *** [: xlogrecovery.o] Error 1 [17:31:35.129] make[4]: *** Waiting for unfinished jobs.... [17:31:35.588] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [17:31:35.588] make[2]: *** [common.mk:37: access-recursive] Error 2 [17:31:35.588] make[2]: *** Waiting for unfinished jobs.... [17:31:39.218] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:31:39.218] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:31:39.219] [17:31:39.219] real 0m33.949s [17:31:39.219] user 1m37.166s [17:31:39.219] sys 0m26.795s [17:31:39.219] [17:31:39.219] Exit status: 2