[17:41:39.003] time ./configure \ [17:41:39.003] --host=x86_64-w64-mingw32 \ [17:41:39.003] --enable-cassert \ [17:41:39.003] --without-icu \ [17:41:39.003] CC="ccache x86_64-w64-mingw32-gcc" \ [17:41:39.003] CXX="ccache x86_64-w64-mingw32-g++" [17:41:39.108] checking build system type... x86_64-pc-linux-gnu [17:41:39.294] checking host system type... x86_64-w64-mingw32 [17:41:39.299] checking which template to use... win32 [17:41:39.300] checking whether NLS is wanted... no [17:41:39.300] checking for default port number... 5432 [17:41:39.306] checking for block size... 8kB [17:41:39.308] checking for segment size... 1GB [17:41:39.310] checking for WAL block size... 8kB [17:41:39.311] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:41:39.343] checking whether the C compiler works... yes [17:41:39.481] checking for C compiler default output file name... a.exe [17:41:39.482] checking for suffix of executables... .exe [17:41:39.521] checking whether we are cross compiling... yes [17:41:39.593] checking for suffix of object files... o [17:41:39.601] checking whether we are using the GNU C compiler... yes [17:41:39.607] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:41:39.614] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:41:39.623] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:41:39.676] checking whether we are using the GNU C++ compiler... yes [17:41:39.683] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:41:39.749] checking for gawk... no [17:41:39.749] checking for mawk... mawk [17:41:39.751] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:41:39.758] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:41:39.764] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:41:39.810] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:41:39.979] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:41:39.986] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:41:39.993] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:41:40.000] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:41:40.007] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:41:40.013] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:41:40.020] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:41:40.027] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:41:40.033] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:41:40.040] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:41:40.047] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:41:40.054] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:41:40.060] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:41:40.098] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:41:40.105] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:41:40.112] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:41:40.119] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:41:40.125] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:41:40.132] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:41:40.155] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:41:40.162] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:41:40.169] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:41:40.207] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:41:40.247] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:41:40.265] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:41:40.272] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:41:40.308] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:41:40.315] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:41:40.322] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:41:40.330] checking whether the C compiler still works... yes [17:41:40.397] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:41:40.473] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:41:40.473] checking pkg-config is at least version 0.9.0... yes [17:41:40.490] checking whether to build with ICU support... no [17:41:40.490] checking whether to build with Tcl... no [17:41:40.490] checking whether to build Perl modules... no [17:41:40.491] checking whether to build Python modules... no [17:41:40.491] checking whether to build with GSSAPI support... no [17:41:40.492] checking whether to build with PAM support... no [17:41:40.492] checking whether to build with BSD Authentication support... no [17:41:40.492] checking whether to build with LDAP support... no [17:41:40.492] checking whether to build with Bonjour support... no [17:41:40.492] checking whether to build with SELinux support... no [17:41:40.492] checking whether to build with systemd support... no [17:41:40.492] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:41:40.492] checking whether to build with XML support... no [17:41:40.493] checking whether to build with LZ4 support... no [17:41:40.493] checking whether to build with ZSTD support... no [17:41:40.493] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:41:40.493] checking whether it is possible to strip libraries... yes [17:41:40.501] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:41:40.502] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:41:40.502] checking for a BSD-compatible install... /usr/bin/install -c [17:41:40.512] checking for tar... /usr/bin/tar [17:41:40.512] checking whether ln -s works... yes [17:41:40.512] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:41:40.514] checking for bison... /usr/bin/bison [17:41:40.517] configure: using bison (GNU Bison) 3.8.2 [17:41:40.520] checking for flex... /usr/bin/flex [17:41:40.533] configure: using flex 2.6.4 [17:41:40.533] checking for perl... /usr/bin/perl [17:41:40.536] configure: using perl 5.36.0 [17:41:40.538] checking for zic... /usr/sbin/zic [17:41:40.538] checking for a sed that does not truncate output... /usr/bin/sed [17:41:40.543] checking for grep that handles long lines and -e... /usr/bin/grep [17:41:40.545] checking for egrep... /usr/bin/grep -E [17:41:40.547] checking for ANSI C header files... yes [17:41:40.596] checking for sys/types.h... yes [17:41:40.612] checking for sys/stat.h... yes [17:41:40.626] checking for stdlib.h... yes [17:41:40.687] checking for string.h... yes [17:41:40.700] checking for memory.h... yes [17:41:40.714] checking for strings.h... yes [17:41:40.728] checking for inttypes.h... yes [17:41:40.742] checking for stdint.h... yes [17:41:40.802] checking for unistd.h... yes [17:41:40.818] checking for main in -lm... yes [17:41:40.863] checking for library containing setproctitle... no [17:41:40.949] checking for library containing dlsym... no [17:41:41.031] checking for library containing socket... -lws2_32 [17:41:41.159] checking for library containing getopt_long... none required [17:41:41.204] checking for library containing shm_open... no [17:41:41.287] checking for library containing shm_unlink... no [17:41:41.371] checking for library containing clock_gettime... no [17:41:41.457] checking for library containing shmget... no [17:41:41.539] checking for library containing backtrace_symbols... no [17:41:41.621] checking for library containing pthread_barrier_wait... -lpthread [17:41:41.706] checking for inflate in -lz... yes [17:41:41.750] checking for stdbool.h that conforms to C99... yes [17:41:41.761] checking for _Bool... yes [17:41:41.832] checking atomic.h usability... no [17:41:41.887] checking atomic.h presence... no [17:41:41.905] checking for atomic.h... no [17:41:41.908] checking copyfile.h usability... no [17:41:41.962] checking copyfile.h presence... no [17:41:41.980] checking for copyfile.h... no [17:41:41.983] checking execinfo.h usability... no [17:41:42.034] checking execinfo.h presence... no [17:41:42.052] checking for execinfo.h... no [17:41:42.055] checking getopt.h usability... yes [17:41:42.062] checking getopt.h presence... yes [17:41:42.076] checking for getopt.h... yes [17:41:42.082] checking ifaddrs.h usability... no [17:41:42.136] checking ifaddrs.h presence... no [17:41:42.155] checking for ifaddrs.h... no [17:41:42.158] checking mbarrier.h usability... no [17:41:42.213] checking mbarrier.h presence... no [17:41:42.232] checking for mbarrier.h... no [17:41:42.236] checking sys/epoll.h usability... no [17:41:42.291] checking sys/epoll.h presence... no [17:41:42.310] checking for sys/epoll.h... no [17:41:42.313] checking sys/event.h usability... no [17:41:42.366] checking sys/event.h presence... no [17:41:42.383] checking for sys/event.h... no [17:41:42.386] checking sys/personality.h usability... no [17:41:42.439] checking sys/personality.h presence... no [17:41:42.457] checking for sys/personality.h... no [17:41:42.460] checking sys/prctl.h usability... no [17:41:42.511] checking sys/prctl.h presence... no [17:41:42.528] checking for sys/prctl.h... no [17:41:42.531] checking sys/procctl.h usability... no [17:41:42.583] checking sys/procctl.h presence... no [17:41:42.600] checking for sys/procctl.h... no [17:41:42.603] checking sys/signalfd.h usability... no [17:41:42.654] checking sys/signalfd.h presence... no [17:41:42.671] checking for sys/signalfd.h... no [17:41:42.674] checking sys/ucred.h usability... no [17:41:42.725] checking sys/ucred.h presence... no [17:41:42.743] checking for sys/ucred.h... no [17:41:42.746] checking termios.h usability... no [17:41:42.799] checking termios.h presence... no [17:41:42.819] checking for termios.h... no [17:41:42.822] checking ucred.h usability... no [17:41:42.879] checking ucred.h presence... no [17:41:42.897] checking for ucred.h... no [17:41:42.900] checking zlib.h usability... yes [17:41:42.911] checking zlib.h presence... yes [17:41:42.930] checking for zlib.h... yes [17:41:42.930] checking for lz4... /usr/bin/lz4 [17:41:42.931] checking for zstd... /usr/bin/zstd [17:41:42.931] checking for openssl... /usr/bin/openssl [17:41:42.935] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [17:41:42.936] checking crtdefs.h usability... yes [17:41:42.944] checking crtdefs.h presence... yes [17:41:42.959] checking for crtdefs.h... yes [17:41:42.961] checking whether byte ordering is bigendian... no [17:41:43.064] checking for inline... inline [17:41:43.071] checking for printf format archetype... gnu_printf [17:41:43.089] checking for _Static_assert... yes [17:41:43.131] checking for typeof... typeof [17:41:43.138] checking for __builtin_types_compatible_p... yes [17:41:43.149] checking for __builtin_constant_p... yes [17:41:43.168] checking for __builtin_unreachable... yes [17:41:43.208] checking for computed goto support... yes [17:41:43.214] checking for struct tm.tm_zone... no [17:41:43.288] checking for union semun... no [17:41:43.319] checking for socklen_t... yes [17:41:44.426] checking for struct sockaddr.sa_len... no [17:41:46.377] checking for locale_t... no [17:41:46.440] checking for C/C++ restrict keyword... __restrict [17:41:46.453] checking for struct option... yes [17:41:46.492] checking whether assembler supports x86_64 popcntq... yes [17:41:46.499] checking size of off_t... 4 [17:41:46.796] 0 [17:41:46.797] checking size of bool... 1 [17:41:46.839] checking for int timezone... yes [17:41:46.886] checking for wcstombs_l declaration... no [17:41:46.968] checking for backtrace_symbols... no [17:41:47.016] checking for copyfile... no [17:41:47.065] checking for copy_file_range... no [17:41:47.115] checking for getifaddrs... no [17:41:47.166] checking for getpeerucred... no [17:41:47.217] checking for inet_pton... yes [17:41:47.267] checking for kqueue... no [17:41:47.316] checking for mbstowcs_l... no [17:41:47.366] checking for memset_s... no [17:41:47.414] checking for posix_fallocate... no [17:41:47.463] checking for ppoll... no [17:41:47.511] checking for pthread_is_threaded_np... no [17:41:47.560] checking for setproctitle... no [17:41:47.608] checking for setproctitle_fast... no [17:41:47.657] checking for strchrnul... no [17:41:47.706] checking for strsignal... no [17:41:47.756] checking for syncfs... no [17:41:47.804] checking for sync_file_range... no [17:41:47.855] checking for uselocale... no [17:41:47.906] checking for wcstombs_l... no [17:41:47.953] checking for __builtin_bswap16... yes [17:41:48.000] checking for __builtin_bswap32... yes [17:41:48.047] checking for __builtin_bswap64... yes [17:41:48.094] checking for __builtin_clz... yes [17:41:48.142] checking for __builtin_ctz... yes [17:41:48.188] checking for __builtin_popcount... yes [17:41:48.236] checking for __builtin_frame_address... yes [17:41:48.282] checking for _LARGEFILE_SOURCE value needed for large files... no [17:41:48.334] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:41:48.363] checking for posix_fadvise... no [17:41:48.413] checking whether posix_fadvise is declared... no [17:41:48.458] checking whether fdatasync is declared... no [17:41:48.504] checking whether strlcat is declared... no [17:41:48.566] checking whether strlcpy is declared... no [17:41:48.628] checking whether strnlen is declared... yes [17:41:48.640] checking whether strsep is declared... no [17:41:48.701] checking whether preadv is declared... no [17:41:48.736] checking whether pwritev is declared... no [17:41:48.770] checking whether F_FULLFSYNC is declared... no [17:41:48.810] checking for explicit_bzero... no [17:41:48.856] checking for getopt... yes [17:41:48.900] checking for getpeereid... no [17:41:48.946] checking for inet_aton... no [17:41:48.992] checking for mkdtemp... no [17:41:49.037] checking for strlcat... no [17:41:49.084] checking for strlcpy... no [17:41:49.131] checking for strnlen... yes [17:41:49.176] checking for strsep... no [17:41:49.223] checking for pthread_barrier_wait... yes [17:41:49.265] configure: On mingw32 we will use our strtof wrapper. [17:41:49.265] checking for getopt_long... yes [17:41:49.309] checking for _configthreadlocale... yes [17:41:49.352] checking for syslog... no [17:41:49.398] checking for opterr... yes [17:41:49.445] checking for optreset... no [17:41:49.494] checking test program... cross-compiling [17:41:49.495] checking whether long int is 64 bits... no [17:41:49.524] checking whether long long int is 64 bits... yes [17:41:49.542] checking for __builtin_mul_overflow... yes [17:41:49.583] checking size of void *... 8 [17:41:49.871] checking size of size_t... 8 [17:41:50.137] checking size of long... 4 [17:41:50.366] checking alignment of short... 2 [17:41:50.504] checking alignment of int... 4 [17:41:50.707] checking alignment of long... 4 [17:41:50.947] checking alignment of long long int... 8 [17:41:51.217] checking alignment of double... 8 [17:41:51.489] checking for int8... no [17:41:51.533] checking for uint8... no [17:41:51.576] checking for int64... no [17:41:51.619] checking for uint64... no [17:41:51.662] checking for __int128... yes [17:41:51.712] checking for __int128 alignment bug... assuming ok [17:41:51.712] checking alignment of PG_INT128_TYPE... 16 [17:41:52.068] checking for builtin __sync char locking functions... yes [17:41:52.112] checking for builtin __sync int32 locking functions... yes [17:41:52.156] checking for builtin __sync int32 atomic operations... yes [17:41:52.200] checking for builtin __sync int64 atomic operations... yes [17:41:52.243] checking for builtin __atomic int32 atomic operations... yes [17:41:52.285] checking for builtin __atomic int64 atomic operations... yes [17:41:52.330] checking for __get_cpuid... yes [17:41:52.378] checking for __get_cpuid_count... yes [17:41:52.423] checking for __cpuid... no [17:41:52.817] checking for __cpuidex... no [17:41:53.247] checking for _xgetbv with CFLAGS=... no [17:41:53.627] checking for _xgetbv with CFLAGS=-mxsave... yes [17:41:54.026] checking for _mm512_popcnt_epi64 with CFLAGS=... no [17:41:54.415] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [17:41:54.754] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:41:54.800] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:41:54.889] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:41:54.911] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:41:54.930] 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:41:54.983] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:41:54.983] checking which random number source to use... Windows native [17:41:54.985] checking for xmllint... /usr/bin/xmllint [17:41:54.985] checking for xsltproc... /usr/bin/xsltproc [17:41:54.986] checking for fop... /usr/bin/fop [17:41:54.986] checking for dbtoepub... no [17:41:54.986] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:41:54.986] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:41:54.986] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:41:54.997] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:41:54.997] 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:41:54.997] configure: using CPPFLAGS= -I./src/include/port/win32 [17:41:54.997] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:41:55.074] configure: creating ./config.status [17:41:55.153] config.status: creating GNUmakefile [17:41:55.164] config.status: creating src/Makefile.global [17:41:55.179] config.status: creating src/include/pg_config.h [17:41:55.190] config.status: creating src/include/pg_config_ext.h [17:41:55.201] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:41:55.215] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:41:55.222] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:41:55.229] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:41:55.236] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:41:55.243] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:41:55.247] config.status: executing check_win32_symlinks commands [17:41:55.281] [17:41:55.281] real 0m16.278s [17:41:55.281] user 0m10.780s [17:41:55.281] sys 0m5.157s [17:41:55.281] make -s -j${BUILD_JOBS} clean [17:41:55.794] time make -s -j${BUILD_JOBS} world-bin [17:42:38.669] In file included from ../../../../src/include/postgres.h:47, [17:42:38.669] from xlogrecovery.c:25: [17:42:38.669] In function ‘MemoryContextSwitchTo’, [17:42:38.669] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [17:42:38.669] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [17:42:38.669] 128 | CurrentMemoryContext = context; [17:42:38.669] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [17:42:38.669] xlogrecovery.c: In function ‘PerformWalRecovery’: [17:42:38.669] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [17:42:38.669] 1732 | MemoryContext oldCtx; [17:42:38.669] | ^~~~~~ [17:42:38.669] cc1: all warnings being treated as errors [17:42:38.670] make[4]: *** [: xlogrecovery.o] Error 1 [17:42:38.670] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [17:42:38.670] make[2]: *** [common.mk:37: access-recursive] Error 2 [17:42:38.670] make[2]: *** Waiting for unfinished jobs.... [17:42:41.649] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:42:41.650] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:42:41.650] [17:42:41.650] real 0m45.856s [17:42:41.650] user 2m11.073s [17:42:41.650] sys 0m36.818s [17:42:41.650] [17:42:41.650] Exit status: 2