[07:20:18.667] time ./configure \ [07:20:18.667] --host=x86_64-w64-mingw32 \ [07:20:18.667] --enable-cassert \ [07:20:18.667] --without-icu \ [07:20:18.667] CC="ccache x86_64-w64-mingw32-gcc" \ [07:20:18.667] CXX="ccache x86_64-w64-mingw32-g++" [07:20:18.779] checking build system type... x86_64-pc-linux-gnu [07:20:18.975] checking host system type... x86_64-w64-mingw32 [07:20:18.980] checking which template to use... win32 [07:20:18.980] checking whether NLS is wanted... no [07:20:18.981] checking for default port number... 5432 [07:20:18.987] checking for block size... 8kB [07:20:18.988] checking for segment size... 1GB [07:20:18.990] checking for WAL block size... 8kB [07:20:18.991] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:20:19.023] checking whether the C compiler works... yes [07:20:19.169] checking for C compiler default output file name... a.exe [07:20:19.170] checking for suffix of executables... .exe [07:20:19.211] checking whether we are cross compiling... yes [07:20:19.288] checking for suffix of object files... o [07:20:19.296] checking whether we are using the GNU C compiler... yes [07:20:19.302] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:20:19.309] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:20:19.333] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:20:19.389] checking whether we are using the GNU C++ compiler... yes [07:20:19.395] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:20:19.461] checking for gawk... no [07:20:19.461] checking for mawk... mawk [07:20:19.464] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:20:19.470] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:20:19.477] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:20:19.523] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:20:19.702] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:20:19.709] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:20:19.716] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:20:19.723] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:20:19.729] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:20:19.761] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:20:19.768] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:20:19.775] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:20:19.782] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:20:19.789] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:20:19.795] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:20:19.802] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:20:19.835] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:20:19.872] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:20:19.879] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:20:19.886] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:20:19.893] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:20:19.900] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:20:19.906] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:20:19.930] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:20:19.937] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:20:19.944] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:20:19.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:20:20.019] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:20:20.026] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:20:20.033] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:20:20.067] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:20:20.074] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:20:20.081] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:20:20.150] checking whether the C compiler still works... yes [07:20:20.217] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:20:20.290] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:20:20.290] checking pkg-config is at least version 0.9.0... yes [07:20:20.307] checking whether to build with ICU support... no [07:20:20.307] checking whether to build with Tcl... no [07:20:20.307] checking whether to build Perl modules... no [07:20:20.307] checking whether to build Python modules... no [07:20:20.307] checking whether to build with GSSAPI support... no [07:20:20.308] checking whether to build with PAM support... no [07:20:20.309] checking whether to build with BSD Authentication support... no [07:20:20.309] checking whether to build with LDAP support... no [07:20:20.309] checking whether to build with Bonjour support... no [07:20:20.309] checking whether to build with SELinux support... no [07:20:20.309] checking whether to build with systemd support... no [07:20:20.309] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:20:20.309] checking whether to build with XML support... no [07:20:20.309] checking whether to build with LZ4 support... no [07:20:20.310] checking whether to build with ZSTD support... no [07:20:20.310] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:20:20.310] checking whether it is possible to strip libraries... yes [07:20:20.318] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:20:20.318] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:20:20.318] checking for a BSD-compatible install... /usr/bin/install -c [07:20:20.327] checking for tar... /usr/bin/tar [07:20:20.328] checking whether ln -s works... yes [07:20:20.328] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:20:20.330] checking for bison... /usr/bin/bison [07:20:20.332] configure: using bison (GNU Bison) 3.8.2 [07:20:20.335] checking for flex... /usr/bin/flex [07:20:20.347] configure: using flex 2.6.4 [07:20:20.347] checking for perl... /usr/bin/perl [07:20:20.350] configure: using perl 5.36.0 [07:20:20.352] checking for zic... /usr/sbin/zic [07:20:20.352] checking for a sed that does not truncate output... /usr/bin/sed [07:20:20.357] checking for grep that handles long lines and -e... /usr/bin/grep [07:20:20.359] checking for egrep... /usr/bin/grep -E [07:20:20.361] checking for ANSI C header files... yes [07:20:20.451] checking for sys/types.h... yes [07:20:20.468] checking for sys/stat.h... yes [07:20:20.484] checking for stdlib.h... yes [07:20:20.498] checking for string.h... yes [07:20:20.512] checking for memory.h... yes [07:20:20.527] checking for strings.h... yes [07:20:20.542] checking for inttypes.h... yes [07:20:20.560] checking for stdint.h... yes [07:20:20.575] checking for unistd.h... yes [07:20:20.592] checking for main in -lm... yes [07:20:20.639] checking for library containing setproctitle... no [07:20:20.727] checking for library containing dlsym... no [07:20:20.823] checking for library containing socket... -lws2_32 [07:20:20.954] checking for library containing getopt_long... none required [07:20:21.000] checking for library containing shm_open... no [07:20:21.088] checking for library containing shm_unlink... no [07:20:21.175] checking for library containing clock_gettime... no [07:20:21.263] checking for library containing shmget... no [07:20:21.350] checking for library containing backtrace_symbols... no [07:20:21.437] checking for library containing pthread_barrier_wait... -lpthread [07:20:21.525] checking for inflate in -lz... yes [07:20:21.570] checking for stdbool.h that conforms to C99... yes [07:20:21.591] checking for _Bool... yes [07:20:21.662] checking atomic.h usability... no [07:20:21.716] checking atomic.h presence... no [07:20:21.734] checking for atomic.h... no [07:20:21.737] checking copyfile.h usability... no [07:20:21.792] checking copyfile.h presence... no [07:20:21.817] checking for copyfile.h... no [07:20:21.820] checking execinfo.h usability... no [07:20:21.876] checking execinfo.h presence... no [07:20:21.894] checking for execinfo.h... no [07:20:21.897] checking getopt.h usability... yes [07:20:21.904] checking getopt.h presence... yes [07:20:21.919] checking for getopt.h... yes [07:20:21.925] checking ifaddrs.h usability... no [07:20:21.979] checking ifaddrs.h presence... no [07:20:21.997] checking for ifaddrs.h... no [07:20:22.000] checking mbarrier.h usability... no [07:20:22.054] checking mbarrier.h presence... no [07:20:22.073] checking for mbarrier.h... no [07:20:22.076] checking sys/epoll.h usability... no [07:20:22.130] checking sys/epoll.h presence... no [07:20:22.149] checking for sys/epoll.h... no [07:20:22.151] checking sys/event.h usability... no [07:20:22.206] checking sys/event.h presence... no [07:20:22.225] checking for sys/event.h... no [07:20:22.228] checking sys/personality.h usability... no [07:20:22.284] checking sys/personality.h presence... no [07:20:22.302] checking for sys/personality.h... no [07:20:22.305] checking sys/prctl.h usability... no [07:20:22.359] checking sys/prctl.h presence... no [07:20:22.378] checking for sys/prctl.h... no [07:20:22.381] checking sys/procctl.h usability... no [07:20:22.437] checking sys/procctl.h presence... no [07:20:22.455] checking for sys/procctl.h... no [07:20:22.458] checking sys/signalfd.h usability... no [07:20:22.514] checking sys/signalfd.h presence... no [07:20:22.533] checking for sys/signalfd.h... no [07:20:22.536] checking sys/ucred.h usability... no [07:20:22.590] checking sys/ucred.h presence... no [07:20:22.609] checking for sys/ucred.h... no [07:20:22.612] checking termios.h usability... no [07:20:22.666] checking termios.h presence... no [07:20:22.685] checking for termios.h... no [07:20:22.689] checking ucred.h usability... no [07:20:22.743] checking ucred.h presence... no [07:20:22.761] checking for ucred.h... no [07:20:22.764] checking xlocale.h usability... no [07:20:22.818] checking xlocale.h presence... no [07:20:22.837] checking for xlocale.h... no [07:20:22.840] checking zlib.h usability... yes [07:20:22.849] checking zlib.h presence... yes [07:20:22.868] checking for zlib.h... yes [07:20:22.868] checking for lz4... /usr/bin/lz4 [07:20:22.868] checking for zstd... /usr/bin/zstd [07:20:22.868] checking for openssl... /usr/bin/openssl [07:20:22.872] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [07:20:22.873] checking crtdefs.h usability... yes [07:20:22.880] checking crtdefs.h presence... yes [07:20:22.894] checking for crtdefs.h... yes [07:20:22.896] checking whether byte ordering is bigendian... no [07:20:22.966] checking for inline... inline [07:20:22.973] checking for printf format archetype... gnu_printf [07:20:22.981] checking for _Static_assert... yes [07:20:23.021] checking for typeof... typeof [07:20:23.027] checking for __builtin_types_compatible_p... yes [07:20:23.038] checking for __builtin_constant_p... yes [07:20:23.048] checking for __builtin_unreachable... yes [07:20:23.089] checking for computed goto support... yes [07:20:23.096] checking for struct tm.tm_zone... no [07:20:23.169] checking for union semun... no [07:20:23.202] checking for socklen_t... yes [07:20:24.371] checking for struct sockaddr.sa_len... no [07:20:26.393] checking for C/C++ restrict keyword... __restrict [07:20:26.406] checking for struct option... yes [07:20:26.445] checking whether assembler supports x86_64 popcntq... yes [07:20:26.452] checking size of off_t... 4 [07:20:26.648] 0 [07:20:26.648] checking size of bool... 1 [07:20:26.693] checking for int timezone... yes [07:20:26.747] checking for backtrace_symbols... no [07:20:26.796] checking for copyfile... no [07:20:26.846] checking for copy_file_range... no [07:20:26.895] checking for getifaddrs... no [07:20:26.945] checking for getpeerucred... no [07:20:26.995] checking for inet_pton... yes [07:20:27.044] checking for kqueue... no [07:20:27.092] checking for mbstowcs_l... no [07:20:27.141] checking for memset_s... no [07:20:27.190] checking for posix_fallocate... no [07:20:27.239] checking for ppoll... no [07:20:27.288] checking for pthread_is_threaded_np... no [07:20:27.337] checking for setproctitle... no [07:20:27.386] checking for setproctitle_fast... no [07:20:27.435] checking for strchrnul... no [07:20:27.483] checking for strsignal... no [07:20:27.532] checking for syncfs... no [07:20:27.581] checking for sync_file_range... no [07:20:27.630] checking for uselocale... no [07:20:27.679] checking for wcstombs_l... no [07:20:27.724] checking for __builtin_bswap16... yes [07:20:27.772] checking for __builtin_bswap32... yes [07:20:27.818] checking for __builtin_bswap64... yes [07:20:27.865] checking for __builtin_clz... yes [07:20:27.912] checking for __builtin_ctz... yes [07:20:27.958] checking for __builtin_popcount... yes [07:20:28.004] checking for __builtin_frame_address... yes [07:20:28.051] checking for _LARGEFILE_SOURCE value needed for large files... no [07:20:28.102] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:20:28.133] checking for posix_fadvise... no [07:20:28.182] checking whether posix_fadvise is declared... no [07:20:28.227] checking whether fdatasync is declared... no [07:20:28.273] checking whether strlcat is declared... no [07:20:28.336] checking whether strlcpy is declared... no [07:20:28.398] checking whether strnlen is declared... yes [07:20:28.411] checking whether strsep is declared... no [07:20:28.475] checking whether preadv is declared... no [07:20:28.512] checking whether pwritev is declared... no [07:20:28.548] checking whether F_FULLFSYNC is declared... no [07:20:28.588] checking for explicit_bzero... no [07:20:28.633] checking for getopt... yes [07:20:28.678] checking for getpeereid... no [07:20:28.726] checking for inet_aton... no [07:20:28.774] checking for mkdtemp... no [07:20:28.821] checking for strlcat... no [07:20:28.867] checking for strlcpy... no [07:20:28.913] checking for strnlen... yes [07:20:28.960] checking for strsep... no [07:20:29.008] checking for pthread_barrier_wait... yes [07:20:29.052] configure: On mingw32 we will use our strtof wrapper. [07:20:29.052] checking for getopt_long... yes [07:20:29.096] checking for _configthreadlocale... yes [07:20:29.141] checking for syslog... no [07:20:29.188] checking for opterr... yes [07:20:29.233] checking for optreset... no [07:20:29.285] checking test program... cross-compiling [07:20:29.285] checking whether long int is 64 bits... no [07:20:29.317] checking whether long long int is 64 bits... yes [07:20:29.326] checking for __builtin_mul_overflow... yes [07:20:29.368] checking size of void *... 8 [07:20:29.693] checking size of size_t... 8 [07:20:29.981] checking size of long... 4 [07:20:30.184] checking alignment of short... 2 [07:20:30.343] checking alignment of int... 4 [07:20:30.548] checking alignment of long... 4 [07:20:30.754] checking alignment of long long int... 8 [07:20:31.016] checking alignment of double... 8 [07:20:31.284] checking for int8... no [07:20:31.328] checking for uint8... no [07:20:31.375] checking for int64... no [07:20:31.418] checking for uint64... no [07:20:31.461] checking for __int128... yes [07:20:31.511] checking for __int128 alignment bug... assuming ok [07:20:31.511] checking alignment of PG_INT128_TYPE... 16 [07:20:31.900] checking for builtin __sync char locking functions... yes [07:20:31.942] checking for builtin __sync int32 locking functions... yes [07:20:31.984] checking for builtin __sync int32 atomic operations... yes [07:20:32.028] checking for builtin __sync int64 atomic operations... yes [07:20:32.070] checking for builtin __atomic int32 atomic operations... yes [07:20:32.113] checking for builtin __atomic int64 atomic operations... yes [07:20:32.156] checking for __get_cpuid... yes [07:20:32.203] checking for __get_cpuid_count... yes [07:20:32.248] checking for __cpuid... no [07:20:32.642] checking for __cpuidex... no [07:20:33.065] checking for _xgetbv with CFLAGS=... no [07:20:33.443] checking for _xgetbv with CFLAGS=-mxsave... yes [07:20:33.842] checking for _mm512_popcnt_epi64 with CFLAGS=... no [07:20:34.221] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [07:20:34.559] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:20:34.605] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:20:34.691] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:20:34.712] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:20:34.730] 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 [07:20:34.783] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:20:34.784] checking which random number source to use... Windows native [07:20:34.786] checking for xmllint... /usr/bin/xmllint [07:20:34.786] checking for xsltproc... /usr/bin/xsltproc [07:20:34.786] checking for fop... /usr/bin/fop [07:20:34.786] checking for dbtoepub... no [07:20:34.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:20:34.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:20:34.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:20:34.797] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:20:34.797] 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 [07:20:34.797] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:20:34.797] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:20:34.874] configure: creating ./config.status [07:20:34.953] config.status: creating GNUmakefile [07:20:34.964] config.status: creating src/Makefile.global [07:20:34.978] config.status: creating src/include/pg_config.h [07:20:34.990] config.status: creating src/include/pg_config_ext.h [07:20:35.001] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:20:35.015] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:20:35.021] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:20:35.028] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:20:35.034] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:20:35.041] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:20:35.044] config.status: executing check_win32_symlinks commands [07:20:35.075] [07:20:35.075] real 0m16.409s [07:20:35.075] user 0m10.907s [07:20:35.075] sys 0m5.058s [07:20:35.075] make -s -j${BUILD_JOBS} clean [07:20:35.583] time make -s -j${BUILD_JOBS} world-bin [07:21:18.657] In file included from ../../../../src/include/postgres.h:47, [07:21:18.657] from xlogrecovery.c:25: [07:21:18.657] In function ‘MemoryContextSwitchTo’, [07:21:18.657] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [07:21:18.657] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [07:21:18.657] 128 | CurrentMemoryContext = context; [07:21:18.657] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [07:21:18.657] xlogrecovery.c: In function ‘PerformWalRecovery’: [07:21:18.657] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [07:21:18.657] 1732 | MemoryContext oldCtx; [07:21:18.657] | ^~~~~~ [07:21:18.657] cc1: all warnings being treated as errors [07:21:18.658] make[4]: *** [: xlogrecovery.o] Error 1 [07:21:18.658] make[4]: *** Waiting for unfinished jobs.... [07:21:18.799] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [07:21:18.800] make[2]: *** [common.mk:37: access-recursive] Error 2 [07:21:18.800] make[2]: *** Waiting for unfinished jobs.... [07:21:21.496] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:21:21.496] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:21:21.496] [07:21:21.496] real 0m45.913s [07:21:21.496] user 2m14.221s [07:21:21.496] sys 0m36.240s [07:21:21.496] [07:21:21.496] Exit status: 2