[00:51:04.425] time ./configure \ [00:51:04.425] --host=x86_64-w64-mingw32 \ [00:51:04.425] --enable-cassert \ [00:51:04.425] --without-icu \ [00:51:04.425] CC="ccache x86_64-w64-mingw32-gcc" \ [00:51:04.425] CXX="ccache x86_64-w64-mingw32-g++" [00:51:04.576] checking build system type... x86_64-pc-linux-gnu [00:51:04.804] checking host system type... x86_64-w64-mingw32 [00:51:04.811] checking which template to use... win32 [00:51:04.811] checking whether NLS is wanted... no [00:51:04.811] checking for default port number... 5432 [00:51:04.821] checking for block size... 8kB [00:51:04.822] checking for segment size... 1GB [00:51:04.825] checking for WAL block size... 8kB [00:51:04.826] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:51:04.870] checking whether the C compiler works... yes [00:51:05.034] checking for C compiler default output file name... a.exe [00:51:05.035] checking for suffix of executables... .exe [00:51:05.080] checking whether we are cross compiling... yes [00:51:05.176] checking for suffix of object files... o [00:51:05.187] checking whether we are using the GNU C compiler... yes [00:51:05.196] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:51:05.205] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:51:05.218] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:51:05.303] checking whether we are using the GNU C++ compiler... yes [00:51:05.313] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:51:05.403] checking for gawk... no [00:51:05.403] checking for mawk... mawk [00:51:05.406] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:51:05.413] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:51:05.421] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:51:05.472] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:51:05.683] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:51:05.692] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:51:05.701] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:51:05.709] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:51:05.718] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:51:05.727] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:51:05.736] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:51:05.744] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:51:05.753] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:51:05.762] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:51:05.770] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:51:05.779] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:51:05.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:51:05.834] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:51:05.843] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:51:05.883] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:51:05.892] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:51:05.901] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:51:05.911] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:51:05.942] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:51:05.951] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:51:05.960] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:51:06.002] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:51:06.047] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:51:06.055] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:51:06.064] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:51:06.102] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:51:06.111] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:51:06.120] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:51:06.142] checking whether the C compiler still works... yes [00:51:06.225] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:51:06.315] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:51:06.315] checking pkg-config is at least version 0.9.0... yes [00:51:06.335] checking whether to build with ICU support... no [00:51:06.335] checking whether to build with Tcl... no [00:51:06.336] checking whether to build Perl modules... no [00:51:06.336] checking whether to build Python modules... no [00:51:06.336] checking whether to build with GSSAPI support... no [00:51:06.337] checking whether to build with PAM support... no [00:51:06.338] checking whether to build with BSD Authentication support... no [00:51:06.338] checking whether to build with LDAP support... no [00:51:06.338] checking whether to build with Bonjour support... no [00:51:06.338] checking whether to build with SELinux support... no [00:51:06.338] checking whether to build with systemd support... no [00:51:06.338] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:51:06.338] checking whether to build with XML support... no [00:51:06.338] checking whether to build with LZ4 support... no [00:51:06.339] checking whether to build with ZSTD support... no [00:51:06.339] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:51:06.339] checking whether it is possible to strip libraries... yes [00:51:06.350] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:51:06.350] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:51:06.351] checking for a BSD-compatible install... /usr/bin/install -c [00:51:06.362] checking for tar... /usr/bin/tar [00:51:06.362] checking whether ln -s works... yes [00:51:06.362] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:51:06.365] checking for bison... /usr/bin/bison [00:51:06.368] configure: using bison (GNU Bison) 3.8.2 [00:51:06.371] checking for flex... /usr/bin/flex [00:51:06.389] configure: using flex 2.6.4 [00:51:06.389] checking for perl... /usr/bin/perl [00:51:06.393] configure: using perl 5.36.0 [00:51:06.396] checking for zic... /usr/sbin/zic [00:51:06.396] checking for a sed that does not truncate output... /usr/bin/sed [00:51:06.402] checking for grep that handles long lines and -e... /usr/bin/grep [00:51:06.405] checking for egrep... /usr/bin/grep -E [00:51:06.407] checking for ANSI C header files... yes [00:51:06.467] checking for sys/types.h... yes [00:51:06.491] checking for sys/stat.h... yes [00:51:06.510] checking for stdlib.h... yes [00:51:06.528] checking for string.h... yes [00:51:06.548] checking for memory.h... yes [00:51:06.568] checking for strings.h... yes [00:51:06.587] checking for inttypes.h... yes [00:51:06.606] checking for stdint.h... yes [00:51:06.621] checking for unistd.h... yes [00:51:06.639] checking for main in -lm... yes [00:51:06.691] checking for library containing setproctitle... no [00:51:06.793] checking for library containing dlsym... no [00:51:06.893] checking for library containing socket... -lws2_32 [00:51:07.047] checking for library containing getopt_long... none required [00:51:07.099] checking for library containing shm_open... no [00:51:07.208] checking for library containing shm_unlink... no [00:51:07.317] checking for library containing clock_gettime... no [00:51:07.426] checking for library containing shmget... no [00:51:07.534] checking for library containing backtrace_symbols... no [00:51:07.639] checking for library containing pthread_barrier_wait... -lpthread [00:51:07.746] checking for inflate in -lz... yes [00:51:07.799] checking for stdbool.h that conforms to C99... yes [00:51:07.812] checking for _Bool... yes [00:51:07.898] checking atomic.h usability... no [00:51:07.965] checking atomic.h presence... no [00:51:07.989] checking for atomic.h... no [00:51:07.994] checking copyfile.h usability... no [00:51:08.061] checking copyfile.h presence... no [00:51:08.082] checking for copyfile.h... no [00:51:08.086] checking execinfo.h usability... no [00:51:08.150] checking execinfo.h presence... no [00:51:08.172] checking for execinfo.h... no [00:51:08.176] checking getopt.h usability... yes [00:51:08.240] checking getopt.h presence... yes [00:51:08.259] checking for getopt.h... yes [00:51:08.267] checking ifaddrs.h usability... no [00:51:08.332] checking ifaddrs.h presence... no [00:51:08.355] checking for ifaddrs.h... no [00:51:08.360] checking mbarrier.h usability... no [00:51:08.426] checking mbarrier.h presence... no [00:51:08.451] checking for mbarrier.h... no [00:51:08.455] checking sys/epoll.h usability... no [00:51:08.523] checking sys/epoll.h presence... no [00:51:08.548] checking for sys/epoll.h... no [00:51:08.552] checking sys/event.h usability... no [00:51:08.622] checking sys/event.h presence... no [00:51:08.646] checking for sys/event.h... no [00:51:08.650] checking sys/personality.h usability... no [00:51:08.717] checking sys/personality.h presence... no [00:51:08.742] checking for sys/personality.h... no [00:51:08.746] checking sys/prctl.h usability... no [00:51:08.808] checking sys/prctl.h presence... no [00:51:08.831] checking for sys/prctl.h... no [00:51:08.835] checking sys/procctl.h usability... no [00:51:08.900] checking sys/procctl.h presence... no [00:51:08.923] checking for sys/procctl.h... no [00:51:08.927] checking sys/signalfd.h usability... no [00:51:08.993] checking sys/signalfd.h presence... no [00:51:09.014] checking for sys/signalfd.h... no [00:51:09.018] checking sys/ucred.h usability... no [00:51:09.082] checking sys/ucred.h presence... no [00:51:09.106] checking for sys/ucred.h... no [00:51:09.111] checking termios.h usability... no [00:51:09.183] checking termios.h presence... no [00:51:09.205] checking for termios.h... no [00:51:09.209] checking ucred.h usability... no [00:51:09.278] checking ucred.h presence... no [00:51:09.303] checking for ucred.h... no [00:51:09.307] checking xlocale.h usability... no [00:51:09.375] checking xlocale.h presence... no [00:51:09.400] checking for xlocale.h... no [00:51:09.404] checking zlib.h usability... yes [00:51:09.415] checking zlib.h presence... yes [00:51:09.439] checking for zlib.h... yes [00:51:09.439] checking for lz4... /usr/bin/lz4 [00:51:09.439] checking for zstd... /usr/bin/zstd [00:51:09.440] checking for openssl... /usr/bin/openssl [00:51:09.445] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [00:51:09.446] checking crtdefs.h usability... yes [00:51:09.513] checking crtdefs.h presence... yes [00:51:09.532] checking for crtdefs.h... yes [00:51:09.533] checking whether byte ordering is bigendian... no [00:51:09.627] checking for inline... inline [00:51:09.636] checking for printf format archetype... gnu_printf [00:51:09.680] checking for _Static_assert... yes [00:51:09.730] checking for typeof... typeof [00:51:09.740] checking for __builtin_types_compatible_p... yes [00:51:09.765] checking for __builtin_constant_p... yes [00:51:09.779] checking for __builtin_unreachable... yes [00:51:09.827] checking for computed goto support... yes [00:51:09.836] checking for struct tm.tm_zone... no [00:51:09.935] checking for union semun... no [00:51:09.981] checking for socklen_t... yes [00:51:11.364] checking for struct sockaddr.sa_len... no [00:51:13.903] checking for C/C++ restrict keyword... __restrict [00:51:13.922] checking for struct option... yes [00:51:13.977] checking whether assembler supports x86_64 popcntq... yes [00:51:13.986] checking size of off_t... 4 [00:51:14.293] 0 [00:51:14.294] checking size of bool... 1 [00:51:14.346] checking for int timezone... yes [00:51:14.410] checking for backtrace_symbols... no [00:51:14.471] checking for copyfile... no [00:51:14.532] checking for copy_file_range... no [00:51:14.593] checking for getifaddrs... no [00:51:14.655] checking for getpeerucred... no [00:51:14.717] checking for inet_pton... yes [00:51:14.780] checking for kqueue... no [00:51:14.843] checking for mbstowcs_l... no [00:51:14.907] checking for memset_s... no [00:51:14.968] checking for posix_fallocate... no [00:51:15.023] checking for ppoll... no [00:51:15.077] checking for pthread_is_threaded_np... no [00:51:15.133] checking for setproctitle... no [00:51:15.191] checking for setproctitle_fast... no [00:51:15.250] checking for strchrnul... no [00:51:15.313] checking for strsignal... no [00:51:15.376] checking for syncfs... no [00:51:15.434] checking for sync_file_range... no [00:51:15.493] checking for uselocale... no [00:51:15.552] checking for wcstombs_l... no [00:51:15.609] checking for __builtin_bswap16... yes [00:51:15.670] checking for __builtin_bswap32... yes [00:51:15.733] checking for __builtin_bswap64... yes [00:51:15.793] checking for __builtin_clz... yes [00:51:15.852] checking for __builtin_ctz... yes [00:51:15.907] checking for __builtin_popcount... yes [00:51:15.964] checking for __builtin_frame_address... yes [00:51:16.016] checking for _LARGEFILE_SOURCE value needed for large files... no [00:51:16.076] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:51:16.113] checking for posix_fadvise... no [00:51:16.174] checking whether posix_fadvise is declared... no [00:51:16.229] checking whether fdatasync is declared... no [00:51:16.290] checking whether strlcat is declared... no [00:51:16.371] checking whether strlcpy is declared... no [00:51:16.449] checking whether strnlen is declared... yes [00:51:16.466] checking whether strsep is declared... no [00:51:16.546] checking whether preadv is declared... no [00:51:16.595] checking whether pwritev is declared... no [00:51:16.643] checking whether F_FULLFSYNC is declared... no [00:51:16.695] checking for explicit_bzero... no [00:51:16.750] checking for getopt... yes [00:51:16.802] checking for getpeereid... no [00:51:16.860] checking for inet_aton... no [00:51:16.919] checking for mkdtemp... no [00:51:16.977] checking for strlcat... no [00:51:17.033] checking for strlcpy... no [00:51:17.089] checking for strnlen... yes [00:51:17.148] checking for strsep... no [00:51:17.204] checking for pthread_barrier_wait... yes [00:51:17.256] configure: On mingw32 we will use our strtof wrapper. [00:51:17.256] checking for getopt_long... yes [00:51:17.314] checking for _configthreadlocale... yes [00:51:17.368] checking for syslog... no [00:51:17.430] checking for opterr... yes [00:51:17.490] checking for optreset... no [00:51:17.549] checking test program... cross-compiling [00:51:17.549] checking whether long int is 64 bits... no [00:51:17.590] checking whether long long int is 64 bits... yes [00:51:17.601] checking for __builtin_mul_overflow... yes [00:51:17.652] checking size of void *... 8 [00:51:17.987] checking size of size_t... 8 [00:51:18.309] checking size of long... 4 [00:51:18.580] checking alignment of short... 2 [00:51:18.745] checking alignment of int... 4 [00:51:18.982] checking alignment of long... 4 [00:51:19.240] checking alignment of long long int... 8 [00:51:19.601] checking alignment of double... 8 [00:51:19.914] checking for int8... no [00:51:19.963] checking for uint8... no [00:51:20.016] checking for int64... no [00:51:20.065] checking for uint64... no [00:51:20.119] checking for __int128... yes [00:51:20.178] checking for __int128 alignment bug... assuming ok [00:51:20.178] checking alignment of PG_INT128_TYPE... 16 [00:51:20.583] checking for builtin __sync char locking functions... yes [00:51:20.634] checking for builtin __sync int32 locking functions... yes [00:51:20.684] checking for builtin __sync int32 atomic operations... yes [00:51:20.735] checking for builtin __sync int64 atomic operations... yes [00:51:20.785] checking for builtin __atomic int32 atomic operations... yes [00:51:20.836] checking for builtin __atomic int64 atomic operations... yes [00:51:20.886] checking for __get_cpuid... yes [00:51:20.939] checking for __get_cpuid_count... yes [00:51:20.986] checking for __cpuid... no [00:51:21.405] checking for __cpuidex... no [00:51:21.849] checking for _xgetbv with CFLAGS=... no [00:51:22.240] checking for _xgetbv with CFLAGS=-mxsave... yes [00:51:22.661] checking for _mm512_popcnt_epi64 with CFLAGS=... no [00:51:23.059] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [00:51:23.426] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:51:23.478] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:51:23.579] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:51:23.606] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:51:23.629] 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 [00:51:23.692] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:51:23.692] checking which random number source to use... Windows native [00:51:23.695] checking for xmllint... /usr/bin/xmllint [00:51:23.695] checking for xsltproc... /usr/bin/xsltproc [00:51:23.695] checking for fop... /usr/bin/fop [00:51:23.696] checking for dbtoepub... no [00:51:23.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:51:23.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:51:23.696] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:51:23.710] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:51:23.710] 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 [00:51:23.710] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:51:23.710] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:51:23.806] configure: creating ./config.status [00:51:23.898] config.status: creating GNUmakefile [00:51:23.910] config.status: creating src/Makefile.global [00:51:23.927] config.status: creating src/include/pg_config.h [00:51:23.940] config.status: creating src/include/pg_config_ext.h [00:51:23.952] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:51:23.969] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:51:23.977] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:51:23.985] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:51:23.993] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:51:24.001] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:51:24.005] config.status: executing check_win32_symlinks commands [00:51:24.042] [00:51:24.042] real 0m19.617s [00:51:24.042] user 0m12.905s [00:51:24.042] sys 0m6.244s [00:51:24.042] make -s -j${BUILD_JOBS} clean [00:51:24.616] time make -s -j${BUILD_JOBS} world-bin [00:52:05.050] In file included from ../../../../src/include/postgres.h:47, [00:52:05.050] from xlogrecovery.c:25: [00:52:05.050] In function ‘MemoryContextSwitchTo’, [00:52:05.050] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [00:52:05.050] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [00:52:05.050] 128 | CurrentMemoryContext = context; [00:52:05.050] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [00:52:05.050] xlogrecovery.c: In function ‘PerformWalRecovery’: [00:52:05.050] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [00:52:05.050] 1732 | MemoryContext oldCtx; [00:52:05.050] | ^~~~~~ [00:52:05.050] cc1: all warnings being treated as errors [00:52:05.050] make[4]: *** [: xlogrecovery.o] Error 1 [00:52:05.050] make[4]: *** Waiting for unfinished jobs.... [00:52:05.420] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [00:52:05.421] make[2]: *** [common.mk:37: access-recursive] Error 2 [00:52:05.421] make[2]: *** Waiting for unfinished jobs.... [00:52:13.432] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:52:13.433] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:52:13.433] [00:52:13.433] real 0m48.818s [00:52:13.433] user 2m22.761s [00:52:13.433] sys 0m39.568s [00:52:13.434] [00:52:13.434] Exit status: 2