[05:35:31.320] time ./configure \ [05:35:31.320] --host=x86_64-w64-mingw32 \ [05:35:31.320] --enable-cassert \ [05:35:31.320] --without-icu \ [05:35:31.320] CC="ccache x86_64-w64-mingw32-gcc" \ [05:35:31.320] CXX="ccache x86_64-w64-mingw32-g++" [05:35:31.448] checking build system type... x86_64-pc-linux-gnu [05:35:31.657] checking host system type... x86_64-w64-mingw32 [05:35:31.663] checking which template to use... win32 [05:35:31.664] checking whether NLS is wanted... no [05:35:31.664] checking for default port number... 5432 [05:35:31.671] checking for block size... 8kB [05:35:31.672] checking for segment size... 1GB [05:35:31.675] checking for WAL block size... 8kB [05:35:31.677] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:35:31.712] checking whether the C compiler works... yes [05:35:31.866] checking for C compiler default output file name... a.exe [05:35:31.868] checking for suffix of executables... .exe [05:35:31.911] checking whether we are cross compiling... yes [05:35:31.998] checking for suffix of object files... o [05:35:32.007] checking whether we are using the GNU C compiler... yes [05:35:32.014] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:35:32.021] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:35:32.034] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:35:32.102] checking whether we are using the GNU C++ compiler... yes [05:35:32.110] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:35:32.187] checking for gawk... no [05:35:32.187] checking for mawk... mawk [05:35:32.190] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:35:32.196] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:35:32.204] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:35:32.256] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:35:32.427] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:35:32.435] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:35:32.443] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:35:32.450] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:35:32.457] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:35:32.464] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:35:32.471] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:35:32.478] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:35:32.486] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:35:32.492] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:35:32.501] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:35:32.509] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:35:32.515] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:35:32.553] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:35:32.561] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:35:32.568] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:35:32.576] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:35:32.584] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:35:32.592] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:35:32.617] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:35:32.625] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:35:32.632] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:35:32.672] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:35:32.713] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:35:32.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:35:32.729] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:35:32.765] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:35:32.772] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:35:32.779] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:35:32.787] checking whether the C compiler still works... yes [05:35:32.857] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:35:32.938] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:35:32.938] checking pkg-config is at least version 0.9.0... yes [05:35:32.955] checking whether to build with ICU support... no [05:35:32.955] checking whether to build with Tcl... no [05:35:32.956] checking whether to build Perl modules... no [05:35:32.956] checking whether to build Python modules... no [05:35:32.956] checking whether to build with GSSAPI support... no [05:35:32.957] checking whether to build with PAM support... no [05:35:32.957] checking whether to build with BSD Authentication support... no [05:35:32.957] checking whether to build with LDAP support... no [05:35:32.957] checking whether to build with Bonjour support... no [05:35:32.957] checking whether to build with SELinux support... no [05:35:32.958] checking whether to build with systemd support... no [05:35:32.958] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:35:32.958] checking whether to build with XML support... no [05:35:32.958] checking whether to build with LZ4 support... no [05:35:32.958] checking whether to build with ZSTD support... no [05:35:32.958] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:35:32.959] checking whether it is possible to strip libraries... yes [05:35:32.972] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:35:32.972] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:35:32.972] checking for a BSD-compatible install... /usr/bin/install -c [05:35:32.983] checking for tar... /usr/bin/tar [05:35:32.983] checking whether ln -s works... yes [05:35:32.983] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:35:32.985] checking for bison... /usr/bin/bison [05:35:32.988] configure: using bison (GNU Bison) 3.8.2 [05:35:32.992] checking for flex... /usr/bin/flex [05:35:33.006] configure: using flex 2.6.4 [05:35:33.006] checking for perl... /usr/bin/perl [05:35:33.010] configure: using perl 5.36.0 [05:35:33.012] checking for zic... /usr/sbin/zic [05:35:33.012] checking for a sed that does not truncate output... /usr/bin/sed [05:35:33.018] checking for grep that handles long lines and -e... /usr/bin/grep [05:35:33.021] checking for egrep... /usr/bin/grep -E [05:35:33.023] checking for ANSI C header files... yes [05:35:33.080] checking for sys/types.h... yes [05:35:33.100] checking for sys/stat.h... yes [05:35:33.117] checking for stdlib.h... yes [05:35:33.135] checking for string.h... yes [05:35:33.152] checking for memory.h... yes [05:35:33.171] checking for strings.h... yes [05:35:33.187] checking for inttypes.h... yes [05:35:33.205] checking for stdint.h... yes [05:35:33.221] checking for unistd.h... yes [05:35:33.242] checking for main in -lm... yes [05:35:33.294] checking for library containing setproctitle... no [05:35:33.390] checking for library containing dlsym... no [05:35:33.484] checking for library containing socket... -lws2_32 [05:35:33.623] checking for library containing getopt_long... none required [05:35:33.677] checking for library containing shm_open... no [05:35:33.775] checking for library containing shm_unlink... no [05:35:33.875] checking for library containing clock_gettime... no [05:35:33.973] checking for library containing shmget... no [05:35:34.066] checking for library containing backtrace_symbols... no [05:35:34.158] checking for library containing pthread_barrier_wait... -lpthread [05:35:34.253] checking for inflate in -lz... yes [05:35:34.301] checking for stdbool.h that conforms to C99... yes [05:35:34.312] checking for _Bool... yes [05:35:34.395] checking atomic.h usability... no [05:35:34.456] checking atomic.h presence... no [05:35:34.475] checking for atomic.h... no [05:35:34.479] checking copyfile.h usability... no [05:35:34.537] checking copyfile.h presence... no [05:35:34.559] checking for copyfile.h... no [05:35:34.563] checking execinfo.h usability... no [05:35:34.622] checking execinfo.h presence... no [05:35:34.642] checking for execinfo.h... no [05:35:34.645] checking getopt.h usability... yes [05:35:34.653] checking getopt.h presence... yes [05:35:34.669] checking for getopt.h... yes [05:35:34.677] checking ifaddrs.h usability... no [05:35:34.734] checking ifaddrs.h presence... no [05:35:34.754] checking for ifaddrs.h... no [05:35:34.757] checking mbarrier.h usability... no [05:35:34.816] checking mbarrier.h presence... no [05:35:34.836] checking for mbarrier.h... no [05:35:34.839] checking sys/epoll.h usability... no [05:35:34.898] checking sys/epoll.h presence... no [05:35:34.919] checking for sys/epoll.h... no [05:35:34.923] checking sys/event.h usability... no [05:35:34.982] checking sys/event.h presence... no [05:35:35.003] checking for sys/event.h... no [05:35:35.007] checking sys/personality.h usability... no [05:35:35.067] checking sys/personality.h presence... no [05:35:35.087] checking for sys/personality.h... no [05:35:35.091] checking sys/prctl.h usability... no [05:35:35.149] checking sys/prctl.h presence... no [05:35:35.171] checking for sys/prctl.h... no [05:35:35.174] checking sys/procctl.h usability... no [05:35:35.230] checking sys/procctl.h presence... no [05:35:35.252] checking for sys/procctl.h... no [05:35:35.256] checking sys/signalfd.h usability... no [05:35:35.316] checking sys/signalfd.h presence... no [05:35:35.335] checking for sys/signalfd.h... no [05:35:35.338] checking sys/ucred.h usability... no [05:35:35.395] checking sys/ucred.h presence... no [05:35:35.416] checking for sys/ucred.h... no [05:35:35.419] checking termios.h usability... no [05:35:35.480] checking termios.h presence... no [05:35:35.500] checking for termios.h... no [05:35:35.503] checking ucred.h usability... no [05:35:35.566] checking ucred.h presence... no [05:35:35.587] checking for ucred.h... no [05:35:35.591] checking xlocale.h usability... no [05:35:35.648] checking xlocale.h presence... no [05:35:35.667] checking for xlocale.h... no [05:35:35.670] checking zlib.h usability... yes [05:35:35.681] checking zlib.h presence... yes [05:35:35.700] checking for zlib.h... yes [05:35:35.701] checking for lz4... /usr/bin/lz4 [05:35:35.701] checking for zstd... /usr/bin/zstd [05:35:35.701] checking for openssl... /usr/bin/openssl [05:35:35.706] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [05:35:35.706] checking crtdefs.h usability... yes [05:35:35.714] checking crtdefs.h presence... yes [05:35:35.729] checking for crtdefs.h... yes [05:35:35.731] checking whether byte ordering is bigendian... no [05:35:35.809] checking for inline... inline [05:35:35.816] checking for printf format archetype... gnu_printf [05:35:35.825] checking for _Static_assert... yes [05:35:35.868] checking for typeof... typeof [05:35:35.875] checking for __builtin_types_compatible_p... yes [05:35:35.887] checking for __builtin_constant_p... yes [05:35:35.899] checking for __builtin_unreachable... yes [05:35:35.941] checking for computed goto support... yes [05:35:35.950] checking for struct tm.tm_zone... no [05:35:36.029] checking for union semun... no [05:35:36.065] checking for socklen_t... yes [05:35:37.217] checking for struct sockaddr.sa_len... no [05:35:39.334] checking for C/C++ restrict keyword... __restrict [05:35:39.347] checking for struct option... yes [05:35:39.391] checking whether assembler supports x86_64 popcntq... yes [05:35:39.399] checking size of off_t... 4 [05:35:39.610] 0 [05:35:39.610] checking size of bool... 1 [05:35:39.658] checking for int timezone... yes [05:35:39.713] checking for backtrace_symbols... no [05:35:39.764] checking for copyfile... no [05:35:39.816] checking for copy_file_range... no [05:35:39.866] checking for getifaddrs... no [05:35:39.918] checking for getpeerucred... no [05:35:39.972] checking for inet_pton... yes [05:35:40.023] checking for kqueue... no [05:35:40.073] checking for mbstowcs_l... no [05:35:40.123] checking for memset_s... no [05:35:40.172] checking for posix_fallocate... no [05:35:40.223] checking for ppoll... no [05:35:40.272] checking for pthread_is_threaded_np... no [05:35:40.322] checking for setproctitle... no [05:35:40.372] checking for setproctitle_fast... no [05:35:40.421] checking for strchrnul... no [05:35:40.471] checking for strsignal... no [05:35:40.521] checking for syncfs... no [05:35:40.571] checking for sync_file_range... no [05:35:40.620] checking for uselocale... no [05:35:40.670] checking for wcstombs_l... no [05:35:40.716] checking for __builtin_bswap16... yes [05:35:40.765] checking for __builtin_bswap32... yes [05:35:40.812] checking for __builtin_bswap64... yes [05:35:40.860] checking for __builtin_clz... yes [05:35:40.909] checking for __builtin_ctz... yes [05:35:40.958] checking for __builtin_popcount... yes [05:35:41.006] checking for __builtin_frame_address... yes [05:35:41.052] checking for _LARGEFILE_SOURCE value needed for large files... no [05:35:41.105] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:35:41.134] checking for posix_fadvise... no [05:35:41.184] checking whether posix_fadvise is declared... no [05:35:41.230] checking whether fdatasync is declared... no [05:35:41.277] checking whether strlcat is declared... no [05:35:41.342] checking whether strlcpy is declared... no [05:35:41.407] checking whether strnlen is declared... yes [05:35:41.421] checking whether strsep is declared... no [05:35:41.488] checking whether preadv is declared... no [05:35:41.527] checking whether pwritev is declared... no [05:35:41.566] checking whether F_FULLFSYNC is declared... no [05:35:41.608] checking for explicit_bzero... no [05:35:41.657] checking for getopt... yes [05:35:41.703] checking for getpeereid... no [05:35:41.751] checking for inet_aton... no [05:35:41.801] checking for mkdtemp... no [05:35:41.850] checking for strlcat... no [05:35:41.897] checking for strlcpy... no [05:35:41.945] checking for strnlen... yes [05:35:41.994] checking for strsep... no [05:35:42.043] checking for pthread_barrier_wait... yes [05:35:42.087] configure: On mingw32 we will use our strtof wrapper. [05:35:42.087] checking for getopt_long... yes [05:35:42.133] checking for _configthreadlocale... yes [05:35:42.181] checking for syslog... no [05:35:42.229] checking for opterr... yes [05:35:42.279] checking for optreset... no [05:35:42.333] checking test program... cross-compiling [05:35:42.333] checking whether long int is 64 bits... no [05:35:42.364] checking whether long long int is 64 bits... yes [05:35:42.374] checking for __builtin_mul_overflow... yes [05:35:42.418] checking size of void *... 8 [05:35:42.688] checking size of size_t... 8 [05:35:42.964] checking size of long... 4 [05:35:43.174] checking alignment of short... 2 [05:35:43.318] checking alignment of int... 4 [05:35:43.528] checking alignment of long... 4 [05:35:43.736] checking alignment of long long int... 8 [05:35:44.007] checking alignment of double... 8 [05:35:44.287] checking for __int128... yes [05:35:44.337] checking for __int128 alignment bug... assuming ok [05:35:44.337] checking alignment of PG_INT128_TYPE... 16 [05:35:44.680] checking for builtin __sync char locking functions... yes [05:35:44.722] checking for builtin __sync int32 locking functions... yes [05:35:44.766] checking for builtin __sync int32 atomic operations... yes [05:35:44.810] checking for builtin __sync int64 atomic operations... yes [05:35:44.856] checking for builtin __atomic int32 atomic operations... yes [05:35:44.904] checking for builtin __atomic int64 atomic operations... yes [05:35:44.951] checking for __get_cpuid... yes [05:35:45.001] checking for __get_cpuid_count... yes [05:35:45.049] checking for __cpuid... no [05:35:45.453] checking for __cpuidex... no [05:35:45.876] checking for _xgetbv... yes [05:35:46.283] checking for _mm512_popcnt_epi64... yes [05:35:46.712] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [05:35:46.762] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [05:35:46.859] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:35:46.885] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:35:46.907] 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 [05:35:46.972] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:35:46.972] checking which random number source to use... Windows native [05:35:46.974] checking for xmllint... /usr/bin/xmllint [05:35:46.975] checking for xsltproc... /usr/bin/xsltproc [05:35:46.975] checking for fop... /usr/bin/fop [05:35:46.975] checking for dbtoepub... no [05:35:46.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:35:46.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:35:46.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:35:46.989] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:35:46.989] 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 [05:35:46.989] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:35:46.989] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:35:47.087] configure: creating ./config.status [05:35:47.185] config.status: creating GNUmakefile [05:35:47.199] config.status: creating src/Makefile.global [05:35:47.217] config.status: creating src/include/pg_config.h [05:35:47.232] config.status: creating src/include/pg_config_ext.h [05:35:47.247] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:35:47.267] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:35:47.276] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:35:47.284] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:35:47.293] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:35:47.301] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:35:47.305] config.status: executing check_win32_symlinks commands [05:35:47.343] [05:35:47.343] real 0m16.023s [05:35:47.343] user 0m10.431s [05:35:47.343] sys 0m5.191s [05:35:47.343] make -s -j${BUILD_JOBS} clean [05:35:47.903] time make -s -j${BUILD_JOBS} world-bin [05:36:37.116] In file included from ../../../../src/include/postgres.h:47, [05:36:37.116] from xlogrecovery.c:25: [05:36:37.116] In function ‘MemoryContextSwitchTo’, [05:36:37.116] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [05:36:37.116] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [05:36:37.116] 128 | CurrentMemoryContext = context; [05:36:37.116] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [05:36:37.116] xlogrecovery.c: In function ‘PerformWalRecovery’: [05:36:37.116] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [05:36:37.116] 1731 | MemoryContext oldCtx; [05:36:37.116] | ^~~~~~ [05:36:37.116] cc1: all warnings being treated as errors [05:36:37.117] make[4]: *** [: xlogrecovery.o] Error 1 [05:36:37.117] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [05:36:37.117] make[2]: *** [common.mk:37: access-recursive] Error 2 [05:36:37.117] make[2]: *** Waiting for unfinished jobs.... [05:36:42.935] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [05:36:42.935] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [05:36:42.936] [05:36:42.936] real 0m55.033s [05:36:42.936] user 2m52.443s [05:36:42.936] sys 0m36.092s [05:36:42.936] [05:36:42.936] Exit status: 2