[00:52:54.795] time ./configure \ [00:52:54.795] --host=x86_64-w64-mingw32 \ [00:52:54.795] --enable-cassert \ [00:52:54.795] --without-icu \ [00:52:54.795] CC="ccache x86_64-w64-mingw32-gcc" \ [00:52:54.795] CXX="ccache x86_64-w64-mingw32-g++" [00:52:54.916] checking build system type... x86_64-pc-linux-gnu [00:52:55.133] checking host system type... x86_64-w64-mingw32 [00:52:55.139] checking which template to use... win32 [00:52:55.139] checking whether NLS is wanted... no [00:52:55.139] checking for default port number... 5432 [00:52:55.146] checking for block size... 8kB [00:52:55.147] checking for segment size... 1GB [00:52:55.150] checking for WAL block size... 8kB [00:52:55.151] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [00:52:55.187] checking whether the C compiler works... yes [00:52:55.345] checking for C compiler default output file name... a.exe [00:52:55.346] checking for suffix of executables... .exe [00:52:55.389] checking whether we are cross compiling... yes [00:52:55.468] checking for suffix of object files... o [00:52:55.476] checking whether we are using the GNU C compiler... yes [00:52:55.483] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [00:52:55.490] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [00:52:55.502] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [00:52:55.566] checking whether we are using the GNU C++ compiler... yes [00:52:55.573] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [00:52:55.879] checking for gawk... no [00:52:55.879] checking for mawk... mawk [00:52:55.881] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [00:52:55.889] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [00:52:55.906] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [00:52:55.953] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [00:52:55.999] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [00:52:56.007] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [00:52:56.014] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [00:52:56.048] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [00:52:56.065] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [00:52:56.073] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [00:52:56.080] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [00:52:56.097] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [00:52:56.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [00:52:56.111] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [00:52:56.118] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [00:52:56.126] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [00:52:56.134] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [00:52:56.173] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [00:52:56.191] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [00:52:56.226] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [00:52:56.233] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [00:52:56.241] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [00:52:56.248] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [00:52:56.277] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [00:52:56.285] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [00:52:56.292] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [00:52:56.333] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [00:52:56.373] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [00:52:56.381] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [00:52:56.388] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [00:52:56.424] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [00:52:56.431] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [00:52:56.438] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [00:52:56.447] checking whether the C compiler still works... yes [00:52:56.517] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [00:52:56.596] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [00:52:56.596] checking pkg-config is at least version 0.9.0... yes [00:52:56.613] checking whether to build with ICU support... no [00:52:56.614] checking whether to build with Tcl... no [00:52:56.614] checking whether to build Perl modules... no [00:52:56.614] checking whether to build Python modules... no [00:52:56.614] checking whether to build with GSSAPI support... no [00:52:56.615] checking whether to build with PAM support... no [00:52:56.615] checking whether to build with BSD Authentication support... no [00:52:56.615] checking whether to build with LDAP support... no [00:52:56.615] checking whether to build with Bonjour support... no [00:52:56.615] checking whether to build with SELinux support... no [00:52:56.616] checking whether to build with systemd support... no [00:52:56.616] configure: WARNING: *** Readline does not work on MinGW --- disabling [00:52:56.616] checking whether to build with XML support... no [00:52:56.616] checking whether to build with LZ4 support... no [00:52:56.617] checking whether to build with ZSTD support... no [00:52:56.617] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [00:52:56.617] checking whether it is possible to strip libraries... yes [00:52:56.627] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [00:52:56.627] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [00:52:56.627] checking for a BSD-compatible install... /usr/bin/install -c [00:52:56.638] checking for tar... /usr/bin/tar [00:52:56.638] checking whether ln -s works... yes [00:52:56.638] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [00:52:56.641] checking for bison... /usr/bin/bison [00:52:56.643] configure: using bison (GNU Bison) 3.8.2 [00:52:56.646] checking for flex... /usr/bin/flex [00:52:56.660] configure: using flex 2.6.4 [00:52:56.660] checking for perl... /usr/bin/perl [00:52:56.663] configure: using perl 5.36.0 [00:52:56.666] checking for zic... /usr/sbin/zic [00:52:56.666] checking for a sed that does not truncate output... /usr/bin/sed [00:52:56.671] checking for grep that handles long lines and -e... /usr/bin/grep [00:52:56.674] checking for egrep... /usr/bin/grep -E [00:52:56.676] checking for ANSI C header files... yes [00:52:56.729] checking for sys/types.h... yes [00:52:56.748] checking for sys/stat.h... yes [00:52:56.765] checking for stdlib.h... yes [00:52:56.781] checking for string.h... yes [00:52:56.796] checking for memory.h... yes [00:52:56.811] checking for strings.h... yes [00:52:56.827] checking for inttypes.h... yes [00:52:56.844] checking for stdint.h... yes [00:52:56.859] checking for unistd.h... yes [00:52:56.875] checking for main in -lm... yes [00:52:56.925] checking for library containing setproctitle... no [00:52:57.018] checking for library containing dlsym... no [00:52:57.110] checking for library containing socket... -lws2_32 [00:52:57.249] checking for library containing getopt_long... none required [00:52:57.303] checking for library containing shm_open... no [00:52:57.399] checking for library containing shm_unlink... no [00:52:57.495] checking for library containing clock_gettime... no [00:52:57.590] checking for library containing shmget... no [00:52:57.684] checking for library containing backtrace_symbols... no [00:52:57.779] checking for library containing pthread_barrier_wait... -lpthread [00:52:57.875] checking for inflate in -lz... yes [00:52:57.925] checking for stdbool.h that conforms to C99... yes [00:52:57.937] checking for _Bool... yes [00:52:58.039] checking atomic.h usability... no [00:52:58.098] checking atomic.h presence... no [00:52:58.120] checking for atomic.h... no [00:52:58.123] checking copyfile.h usability... no [00:52:58.182] checking copyfile.h presence... no [00:52:58.202] checking for copyfile.h... no [00:52:58.206] checking execinfo.h usability... no [00:52:58.264] checking execinfo.h presence... no [00:52:58.285] checking for execinfo.h... no [00:52:58.288] checking getopt.h usability... yes [00:52:58.296] checking getopt.h presence... yes [00:52:58.312] checking for getopt.h... yes [00:52:58.319] checking ifaddrs.h usability... no [00:52:58.377] checking ifaddrs.h presence... no [00:52:58.396] checking for ifaddrs.h... no [00:52:58.399] checking mbarrier.h usability... no [00:52:58.456] checking mbarrier.h presence... no [00:52:58.476] checking for mbarrier.h... no [00:52:58.480] checking sys/epoll.h usability... no [00:52:58.536] checking sys/epoll.h presence... no [00:52:58.556] checking for sys/epoll.h... no [00:52:58.559] checking sys/event.h usability... no [00:52:58.616] checking sys/event.h presence... no [00:52:58.636] checking for sys/event.h... no [00:52:58.639] checking sys/personality.h usability... no [00:52:58.698] checking sys/personality.h presence... no [00:52:58.719] checking for sys/personality.h... no [00:52:58.723] checking sys/prctl.h usability... no [00:52:58.781] checking sys/prctl.h presence... no [00:52:58.801] checking for sys/prctl.h... no [00:52:58.805] checking sys/procctl.h usability... no [00:52:58.863] checking sys/procctl.h presence... no [00:52:58.884] checking for sys/procctl.h... no [00:52:58.887] checking sys/signalfd.h usability... no [00:52:58.946] checking sys/signalfd.h presence... no [00:52:58.967] checking for sys/signalfd.h... no [00:52:58.971] checking sys/ucred.h usability... no [00:52:59.030] checking sys/ucred.h presence... no [00:52:59.052] checking for sys/ucred.h... no [00:52:59.056] checking termios.h usability... no [00:52:59.119] checking termios.h presence... no [00:52:59.140] checking for termios.h... no [00:52:59.144] checking ucred.h usability... no [00:52:59.205] checking ucred.h presence... no [00:52:59.227] checking for ucred.h... no [00:52:59.230] checking zlib.h usability... yes [00:52:59.241] checking zlib.h presence... yes [00:52:59.261] checking for zlib.h... yes [00:52:59.262] checking for lz4... /usr/bin/lz4 [00:52:59.262] checking for zstd... /usr/bin/zstd [00:52:59.262] checking for openssl... /usr/bin/openssl [00:52:59.267] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [00:52:59.268] checking crtdefs.h usability... yes [00:52:59.276] checking crtdefs.h presence... yes [00:52:59.293] checking for crtdefs.h... yes [00:52:59.295] checking whether byte ordering is bigendian... no [00:52:59.374] checking for inline... inline [00:52:59.382] checking for printf format archetype... gnu_printf [00:52:59.391] checking for _Static_assert... yes [00:52:59.435] checking for typeof... typeof [00:52:59.443] checking for __builtin_types_compatible_p... yes [00:52:59.455] checking for __builtin_constant_p... yes [00:52:59.467] checking for __builtin_unreachable... yes [00:52:59.510] checking for computed goto support... yes [00:52:59.528] checking for struct tm.tm_zone... no [00:52:59.612] checking for union semun... no [00:52:59.649] checking for socklen_t... yes [00:53:00.829] checking for struct sockaddr.sa_len... no [00:53:02.903] checking for locale_t... no [00:53:02.972] checking for C/C++ restrict keyword... __restrict [00:53:02.986] checking for struct option... yes [00:53:03.033] checking whether assembler supports x86_64 popcntq... yes [00:53:03.041] checking size of off_t... 4 [00:53:03.259] 0 [00:53:03.259] checking size of bool... 1 [00:53:03.305] checking for int timezone... yes [00:53:03.355] checking for wcstombs_l declaration... no [00:53:03.442] checking for backtrace_symbols... no [00:53:03.492] checking for copyfile... no [00:53:03.546] checking for copy_file_range... no [00:53:03.598] checking for getifaddrs... no [00:53:03.651] checking for getpeerucred... no [00:53:03.704] checking for inet_pton... yes [00:53:03.755] checking for kqueue... no [00:53:03.807] checking for mbstowcs_l... no [00:53:03.860] checking for memset_s... no [00:53:03.912] checking for posix_fallocate... no [00:53:03.963] checking for ppoll... no [00:53:04.016] checking for pthread_is_threaded_np... no [00:53:04.069] checking for setproctitle... no [00:53:04.122] checking for setproctitle_fast... no [00:53:04.175] checking for strchrnul... no [00:53:04.231] checking for strsignal... no [00:53:04.286] checking for syncfs... no [00:53:04.344] checking for sync_file_range... no [00:53:04.400] checking for uselocale... no [00:53:04.454] checking for wcstombs_l... no [00:53:04.506] checking for __builtin_bswap16... yes [00:53:04.559] checking for __builtin_bswap32... yes [00:53:04.612] checking for __builtin_bswap64... yes [00:53:04.664] checking for __builtin_clz... yes [00:53:04.717] checking for __builtin_ctz... yes [00:53:04.769] checking for __builtin_popcount... yes [00:53:04.821] checking for __builtin_frame_address... yes [00:53:04.872] checking for _LARGEFILE_SOURCE value needed for large files... no [00:53:04.932] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [00:53:04.963] checking for posix_fadvise... no [00:53:05.014] checking whether posix_fadvise is declared... no [00:53:05.059] checking whether fdatasync is declared... no [00:53:05.106] checking whether strlcat is declared... no [00:53:05.168] checking whether strlcpy is declared... no [00:53:05.230] checking whether strnlen is declared... yes [00:53:05.244] checking whether strsep is declared... no [00:53:05.309] checking whether preadv is declared... no [00:53:05.348] checking whether pwritev is declared... no [00:53:05.387] checking whether F_FULLFSYNC is declared... no [00:53:05.431] checking for explicit_bzero... no [00:53:05.481] checking for getopt... yes [00:53:05.529] checking for getpeereid... no [00:53:05.581] checking for inet_aton... no [00:53:05.632] checking for mkdtemp... no [00:53:05.685] checking for strlcat... no [00:53:05.737] checking for strlcpy... no [00:53:05.789] checking for strnlen... yes [00:53:05.841] checking for strsep... no [00:53:05.893] checking for pthread_barrier_wait... yes [00:53:05.940] configure: On mingw32 we will use our strtof wrapper. [00:53:05.941] checking for getopt_long... yes [00:53:05.988] checking for _configthreadlocale... yes [00:53:06.038] checking for syslog... no [00:53:06.089] checking for opterr... yes [00:53:06.140] checking for optreset... no [00:53:06.196] checking test program... cross-compiling [00:53:06.196] checking whether long int is 64 bits... no [00:53:06.229] checking whether long long int is 64 bits... yes [00:53:06.266] checking for __builtin_mul_overflow... yes [00:53:06.312] checking size of void *... 8 [00:53:06.678] checking size of size_t... 8 [00:53:06.960] checking size of long... 4 [00:53:07.182] checking alignment of short... 2 [00:53:07.329] checking alignment of int... 4 [00:53:07.564] checking alignment of long... 4 [00:53:07.775] checking alignment of long long int... 8 [00:53:08.083] checking alignment of double... 8 [00:53:08.438] checking for int8... no [00:53:08.485] checking for uint8... no [00:53:08.533] checking for int64... no [00:53:08.578] checking for uint64... no [00:53:08.623] checking for __int128... yes [00:53:08.675] checking for __int128 alignment bug... assuming ok [00:53:08.675] checking alignment of PG_INT128_TYPE... 16 [00:53:09.009] checking for builtin __sync char locking functions... yes [00:53:09.051] checking for builtin __sync int32 locking functions... yes [00:53:09.096] checking for builtin __sync int32 atomic operations... yes [00:53:09.142] checking for builtin __sync int64 atomic operations... yes [00:53:09.187] checking for builtin __atomic int32 atomic operations... yes [00:53:09.233] checking for builtin __atomic int64 atomic operations... yes [00:53:09.278] checking for __get_cpuid... yes [00:53:09.328] checking for __get_cpuid_count... yes [00:53:09.375] checking for __cpuid... no [00:53:09.775] checking for __cpuidex... no [00:53:10.210] checking for _xgetbv with CFLAGS=... no [00:53:10.593] checking for _xgetbv with CFLAGS=-mxsave... yes [00:53:11.008] checking for _mm512_popcnt_epi64 with CFLAGS=... no [00:53:11.400] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [00:53:11.744] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [00:53:11.790] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [00:53:11.880] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [00:53:11.903] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [00:53:11.923] 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:53:11.978] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [00:53:11.979] checking which random number source to use... Windows native [00:53:11.981] checking for xmllint... /usr/bin/xmllint [00:53:11.981] checking for xsltproc... /usr/bin/xsltproc [00:53:11.981] checking for fop... /usr/bin/fop [00:53:11.981] checking for dbtoepub... no [00:53:11.982] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [00:53:11.982] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [00:53:11.982] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [00:53:11.993] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [00:53:11.993] 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:53:11.993] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [00:53:11.993] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [00:53:12.080] configure: creating ./config.status [00:53:12.169] config.status: creating GNUmakefile [00:53:12.182] config.status: creating src/Makefile.global [00:53:12.197] config.status: creating src/include/pg_config.h [00:53:12.210] config.status: creating src/include/pg_config_ext.h [00:53:12.223] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [00:53:12.239] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [00:53:12.246] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [00:53:12.254] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [00:53:12.261] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [00:53:12.269] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [00:53:12.272] config.status: executing check_win32_symlinks commands [00:53:12.308] [00:53:12.308] real 0m17.513s [00:53:12.308] user 0m11.598s [00:53:12.308] sys 0m5.458s [00:53:12.308] make -s -j${BUILD_JOBS} clean [00:53:12.851] time make -s -j${BUILD_JOBS} world-bin [00:53:48.594] In file included from ../../../../src/include/postgres.h:47, [00:53:48.594] from xlogrecovery.c:25: [00:53:48.594] In function ‘MemoryContextSwitchTo’, [00:53:48.594] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [00:53:48.594] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [00:53:48.594] 128 | CurrentMemoryContext = context; [00:53:48.594] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [00:53:48.594] xlogrecovery.c: In function ‘PerformWalRecovery’: [00:53:48.594] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [00:53:48.594] 1732 | MemoryContext oldCtx; [00:53:48.594] | ^~~~~~ [00:53:48.594] cc1: all warnings being treated as errors [00:53:48.594] make[4]: *** [: xlogrecovery.o] Error 1 [00:53:48.594] make[4]: *** Waiting for unfinished jobs.... [00:53:48.700] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [00:53:48.701] make[2]: *** [common.mk:37: access-recursive] Error 2 [00:53:48.701] make[2]: *** Waiting for unfinished jobs.... [00:53:50.803] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [00:53:50.803] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [00:53:50.803] [00:53:50.803] real 0m37.952s [00:53:50.803] user 1m44.492s [00:53:50.803] sys 0m29.385s [00:53:50.803] [00:53:50.803] Exit status: 2