[03:37:14.212] time ./configure \ [03:37:14.212] --host=x86_64-w64-mingw32 \ [03:37:14.212] --enable-cassert \ [03:37:14.212] --without-icu \ [03:37:14.212] CC="ccache x86_64-w64-mingw32-gcc" \ [03:37:14.212] CXX="ccache x86_64-w64-mingw32-g++" [03:37:14.333] checking build system type... x86_64-pc-linux-gnu [03:37:14.528] checking host system type... x86_64-w64-mingw32 [03:37:14.534] checking which template to use... win32 [03:37:14.534] checking whether NLS is wanted... no [03:37:14.534] checking for default port number... 5432 [03:37:14.542] checking for block size... 8kB [03:37:14.543] checking for segment size... 1GB [03:37:14.546] checking for WAL block size... 8kB [03:37:14.547] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [03:37:14.586] checking whether the C compiler works... yes [03:37:14.730] checking for C compiler default output file name... a.exe [03:37:14.732] checking for suffix of executables... .exe [03:37:14.776] checking whether we are cross compiling... yes [03:37:14.856] checking for suffix of object files... o [03:37:14.865] checking whether we are using the GNU C compiler... yes [03:37:14.900] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [03:37:14.907] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [03:37:14.993] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [03:37:15.059] checking whether we are using the GNU C++ compiler... yes [03:37:15.066] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [03:37:15.139] checking for gawk... no [03:37:15.139] checking for mawk... mawk [03:37:15.142] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [03:37:15.150] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [03:37:15.158] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [03:37:15.207] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [03:37:15.400] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [03:37:15.408] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [03:37:15.416] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [03:37:15.425] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [03:37:15.432] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [03:37:15.440] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [03:37:15.448] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [03:37:15.455] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [03:37:15.463] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [03:37:15.471] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [03:37:15.479] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [03:37:15.486] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [03:37:15.494] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [03:37:15.542] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [03:37:15.551] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [03:37:15.560] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [03:37:15.568] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [03:37:15.576] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [03:37:15.585] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [03:37:15.613] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [03:37:15.632] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [03:37:15.640] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [03:37:15.681] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [03:37:15.722] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [03:37:15.730] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [03:37:15.767] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [03:37:15.804] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [03:37:15.811] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [03:37:15.819] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [03:37:15.828] checking whether the C compiler still works... yes [03:37:15.882] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [03:37:15.966] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [03:37:15.966] checking pkg-config is at least version 0.9.0... yes [03:37:15.985] checking whether to build with ICU support... no [03:37:15.985] checking whether to build with Tcl... no [03:37:15.986] checking whether to build Perl modules... no [03:37:15.986] checking whether to build Python modules... no [03:37:15.986] checking whether to build with GSSAPI support... no [03:37:15.987] checking whether to build with PAM support... no [03:37:15.988] checking whether to build with BSD Authentication support... no [03:37:15.988] checking whether to build with LDAP support... no [03:37:15.988] checking whether to build with Bonjour support... no [03:37:15.988] checking whether to build with SELinux support... no [03:37:15.988] checking whether to build with systemd support... no [03:37:15.988] configure: WARNING: *** Readline does not work on MinGW --- disabling [03:37:15.988] checking whether to build with XML support... no [03:37:15.989] checking whether to build with LZ4 support... no [03:37:15.989] checking whether to build with ZSTD support... no [03:37:15.989] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [03:37:15.990] checking whether it is possible to strip libraries... yes [03:37:15.998] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [03:37:15.998] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [03:37:15.998] checking for a BSD-compatible install... /usr/bin/install -c [03:37:16.009] checking for tar... /usr/bin/tar [03:37:16.010] checking whether ln -s works... yes [03:37:16.010] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [03:37:16.012] checking for bison... /usr/bin/bison [03:37:16.015] configure: using bison (GNU Bison) 3.8.2 [03:37:16.018] checking for flex... /usr/bin/flex [03:37:16.032] configure: using flex 2.6.4 [03:37:16.032] checking for perl... /usr/bin/perl [03:37:16.035] configure: using perl 5.36.0 [03:37:16.038] checking for zic... /usr/sbin/zic [03:37:16.038] checking for a sed that does not truncate output... /usr/bin/sed [03:37:16.044] checking for grep that handles long lines and -e... /usr/bin/grep [03:37:16.047] checking for egrep... /usr/bin/grep -E [03:37:16.049] checking for ANSI C header files... yes [03:37:16.102] checking for sys/types.h... yes [03:37:16.123] checking for sys/stat.h... yes [03:37:16.191] checking for stdlib.h... yes [03:37:16.207] checking for string.h... yes [03:37:16.223] checking for memory.h... yes [03:37:16.241] checking for strings.h... yes [03:37:16.280] checking for inttypes.h... yes [03:37:16.297] checking for stdint.h... yes [03:37:16.313] checking for unistd.h... yes [03:37:16.330] checking for main in -lm... yes [03:37:16.381] checking for library containing setproctitle... no [03:37:16.476] checking for library containing dlsym... no [03:37:16.572] checking for library containing socket... -lws2_32 [03:37:16.716] checking for library containing getopt_long... none required [03:37:16.767] checking for library containing shm_open... no [03:37:16.863] checking for library containing shm_unlink... no [03:37:16.958] checking for library containing clock_gettime... no [03:37:17.048] checking for library containing shmget... no [03:37:17.143] checking for library containing backtrace_symbols... no [03:37:17.238] checking for library containing pthread_barrier_wait... -lpthread [03:37:17.336] checking for inflate in -lz... yes [03:37:17.387] checking for stdbool.h that conforms to C99... yes [03:37:17.400] checking for _Bool... yes [03:37:17.474] checking atomic.h usability... no [03:37:17.535] checking atomic.h presence... no [03:37:17.557] checking for atomic.h... no [03:37:17.561] checking copyfile.h usability... no [03:37:17.621] checking copyfile.h presence... no [03:37:17.643] checking for copyfile.h... no [03:37:17.647] checking execinfo.h usability... no [03:37:17.706] checking execinfo.h presence... no [03:37:17.727] checking for execinfo.h... no [03:37:17.731] checking getopt.h usability... yes [03:37:17.739] checking getopt.h presence... yes [03:37:17.756] checking for getopt.h... yes [03:37:17.763] checking ifaddrs.h usability... no [03:37:17.822] checking ifaddrs.h presence... no [03:37:17.843] checking for ifaddrs.h... no [03:37:17.847] checking mbarrier.h usability... no [03:37:17.908] checking mbarrier.h presence... no [03:37:17.929] checking for mbarrier.h... no [03:37:17.932] checking sys/epoll.h usability... no [03:37:17.991] checking sys/epoll.h presence... no [03:37:18.012] checking for sys/epoll.h... no [03:37:18.016] checking sys/event.h usability... no [03:37:18.074] checking sys/event.h presence... no [03:37:18.096] checking for sys/event.h... no [03:37:18.100] checking sys/personality.h usability... no [03:37:18.159] checking sys/personality.h presence... no [03:37:18.180] checking for sys/personality.h... no [03:37:18.184] checking sys/prctl.h usability... no [03:37:18.246] checking sys/prctl.h presence... no [03:37:18.267] checking for sys/prctl.h... no [03:37:18.271] checking sys/procctl.h usability... no [03:37:18.331] checking sys/procctl.h presence... no [03:37:18.352] checking for sys/procctl.h... no [03:37:18.356] checking sys/signalfd.h usability... no [03:37:18.415] checking sys/signalfd.h presence... no [03:37:18.437] checking for sys/signalfd.h... no [03:37:18.440] checking sys/ucred.h usability... no [03:37:18.499] checking sys/ucred.h presence... no [03:37:18.519] checking for sys/ucred.h... no [03:37:18.523] checking termios.h usability... no [03:37:18.581] checking termios.h presence... no [03:37:18.602] checking for termios.h... no [03:37:18.606] checking ucred.h usability... no [03:37:18.664] checking ucred.h presence... no [03:37:18.685] checking for ucred.h... no [03:37:18.688] checking zlib.h usability... yes [03:37:18.698] checking zlib.h presence... yes [03:37:18.718] checking for zlib.h... yes [03:37:18.718] checking for lz4... /usr/bin/lz4 [03:37:18.718] checking for zstd... /usr/bin/zstd [03:37:18.719] checking for openssl... /usr/bin/openssl [03:37:18.723] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [03:37:18.724] checking crtdefs.h usability... yes [03:37:18.732] checking crtdefs.h presence... yes [03:37:18.747] checking for crtdefs.h... yes [03:37:18.749] checking whether byte ordering is bigendian... no [03:37:18.835] checking for inline... inline [03:37:18.854] checking for printf format archetype... gnu_printf [03:37:18.865] checking for _Static_assert... yes [03:37:18.912] checking for typeof... typeof [03:37:18.920] checking for __builtin_types_compatible_p... yes [03:37:18.933] checking for __builtin_constant_p... yes [03:37:18.947] checking for __builtin_unreachable... yes [03:37:18.993] checking for computed goto support... yes [03:37:19.001] checking for struct tm.tm_zone... no [03:37:19.090] checking for union semun... no [03:37:19.129] checking for socklen_t... yes [03:37:21.545] checking for struct sockaddr.sa_len... no [03:37:23.700] checking for locale_t... no [03:37:23.770] checking for C/C++ restrict keyword... __restrict [03:37:23.784] checking for struct option... yes [03:37:23.830] checking whether assembler supports x86_64 popcntq... yes [03:37:23.838] checking size of off_t... 4 [03:37:24.052] 0 [03:37:24.053] checking size of bool... 1 [03:37:24.102] checking for int timezone... yes [03:37:24.153] checking for wcstombs_l declaration... no [03:37:24.248] checking for backtrace_symbols... no [03:37:24.302] checking for copyfile... no [03:37:24.356] checking for copy_file_range... no [03:37:24.409] checking for getifaddrs... no [03:37:24.462] checking for getpeerucred... no [03:37:24.514] checking for inet_pton... yes [03:37:24.568] checking for kqueue... no [03:37:24.623] checking for mbstowcs_l... no [03:37:24.678] checking for memset_s... no [03:37:24.732] checking for posix_fallocate... no [03:37:24.784] checking for ppoll... no [03:37:24.837] checking for pthread_is_threaded_np... no [03:37:24.891] checking for setproctitle... no [03:37:24.943] checking for setproctitle_fast... no [03:37:24.996] checking for strchrnul... no [03:37:25.049] checking for strsignal... no [03:37:25.103] checking for syncfs... no [03:37:25.156] checking for sync_file_range... no [03:37:25.210] checking for uselocale... no [03:37:25.266] checking for wcstombs_l... no [03:37:25.318] checking for __builtin_bswap16... yes [03:37:25.373] checking for __builtin_bswap32... yes [03:37:25.426] checking for __builtin_bswap64... yes [03:37:25.480] checking for __builtin_clz... yes [03:37:25.536] checking for __builtin_ctz... yes [03:37:25.589] checking for __builtin_popcount... yes [03:37:25.642] checking for __builtin_frame_address... yes [03:37:25.692] checking for _LARGEFILE_SOURCE value needed for large files... no [03:37:25.748] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [03:37:25.784] checking for posix_fadvise... no [03:37:25.839] checking whether posix_fadvise is declared... no [03:37:25.892] checking whether fdatasync is declared... no [03:37:25.944] checking whether strlcat is declared... no [03:37:26.018] checking whether strlcpy is declared... no [03:37:26.089] checking whether strnlen is declared... yes [03:37:26.105] checking whether strsep is declared... no [03:37:26.176] checking whether preadv is declared... no [03:37:26.215] checking whether pwritev is declared... no [03:37:26.259] checking whether F_FULLFSYNC is declared... no [03:37:26.306] checking for explicit_bzero... no [03:37:26.360] checking for getopt... yes [03:37:26.411] checking for getpeereid... no [03:37:26.463] checking for inet_aton... no [03:37:26.513] checking for mkdtemp... no [03:37:26.564] checking for strlcat... no [03:37:26.614] checking for strlcpy... no [03:37:26.667] checking for strnlen... yes [03:37:26.718] checking for strsep... no [03:37:26.770] checking for pthread_barrier_wait... yes [03:37:26.816] configure: On mingw32 we will use our strtof wrapper. [03:37:26.816] checking for getopt_long... yes [03:37:26.863] checking for _configthreadlocale... yes [03:37:26.910] checking for syslog... no [03:37:26.958] checking for opterr... yes [03:37:27.009] checking for optreset... no [03:37:27.062] checking test program... cross-compiling [03:37:27.062] checking whether long int is 64 bits... no [03:37:27.098] checking whether long long int is 64 bits... yes [03:37:27.108] checking for __builtin_mul_overflow... yes [03:37:27.154] checking size of void *... 8 [03:37:27.443] checking size of size_t... 8 [03:37:27.736] checking size of long... 4 [03:37:27.973] checking alignment of short... 2 [03:37:28.121] checking alignment of int... 4 [03:37:28.347] checking alignment of long... 4 [03:37:28.570] checking alignment of long long int... 8 [03:37:28.865] checking alignment of double... 8 [03:37:29.177] checking for int8... no [03:37:29.223] checking for uint8... no [03:37:29.270] checking for int64... no [03:37:29.317] checking for uint64... no [03:37:29.362] checking for __int128... yes [03:37:29.416] checking for __int128 alignment bug... assuming ok [03:37:29.416] checking alignment of PG_INT128_TYPE... 16 [03:37:29.791] checking for builtin __sync char locking functions... yes [03:37:29.838] checking for builtin __sync int32 locking functions... yes [03:37:29.885] checking for builtin __sync int32 atomic operations... yes [03:37:29.931] checking for builtin __sync int64 atomic operations... yes [03:37:29.979] checking for builtin __atomic int32 atomic operations... yes [03:37:30.028] checking for builtin __atomic int64 atomic operations... yes [03:37:30.077] checking for __get_cpuid... yes [03:37:30.129] checking for __get_cpuid_count... yes [03:37:30.178] checking for __cpuid... no [03:37:30.591] checking for __cpuidex... no [03:37:31.021] checking for _xgetbv with CFLAGS=... no [03:37:31.414] checking for _xgetbv with CFLAGS=-mxsave... yes [03:37:31.832] checking for _mm512_popcnt_epi64 with CFLAGS=... no [03:37:32.222] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [03:37:32.579] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [03:37:32.629] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [03:37:32.726] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [03:37:32.753] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [03:37:32.775] 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 [03:37:32.834] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [03:37:32.835] checking which random number source to use... Windows native [03:37:32.837] checking for xmllint... /usr/bin/xmllint [03:37:32.837] checking for xsltproc... /usr/bin/xsltproc [03:37:32.837] checking for fop... /usr/bin/fop [03:37:32.837] checking for dbtoepub... no [03:37:32.838] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [03:37:32.838] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [03:37:32.838] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [03:37:32.850] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [03:37:32.850] 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 [03:37:32.850] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [03:37:32.851] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [03:37:32.948] configure: creating ./config.status [03:37:33.045] config.status: creating GNUmakefile [03:37:33.059] config.status: creating src/Makefile.global [03:37:33.076] config.status: creating src/include/pg_config.h [03:37:33.089] config.status: creating src/include/pg_config_ext.h [03:37:33.102] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [03:37:33.119] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [03:37:33.127] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [03:37:33.136] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [03:37:33.143] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [03:37:33.151] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [03:37:33.155] config.status: executing check_win32_symlinks commands [03:37:33.192] [03:37:33.192] real 0m18.980s [03:37:33.192] user 0m12.769s [03:37:33.192] sys 0m5.828s [03:37:33.192] make -s -j${BUILD_JOBS} clean [03:37:33.722] time make -s -j${BUILD_JOBS} world-bin [03:38:21.744] In file included from ../../../../src/include/postgres.h:47, [03:38:21.744] from xlogrecovery.c:25: [03:38:21.744] In function ‘MemoryContextSwitchTo’, [03:38:21.744] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [03:38:21.744] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [03:38:21.744] 128 | CurrentMemoryContext = context; [03:38:21.744] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [03:38:21.744] xlogrecovery.c: In function ‘PerformWalRecovery’: [03:38:21.744] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [03:38:21.744] 1732 | MemoryContext oldCtx; [03:38:21.744] | ^~~~~~ [03:38:21.744] cc1: all warnings being treated as errors [03:38:21.746] make[4]: *** [: xlogrecovery.o] Error 1 [03:38:21.747] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [03:38:21.747] make[2]: *** [common.mk:37: access-recursive] Error 2 [03:38:21.747] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [03:38:21.747] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [03:38:21.748] [03:38:21.748] real 0m48.026s [03:38:21.748] user 2m20.227s [03:38:21.748] sys 0m38.350s [03:38:21.748] [03:38:21.748] Exit status: 2