[06:48:21.330] time ./configure \ [06:48:21.330] --host=x86_64-w64-mingw32 \ [06:48:21.330] --enable-cassert \ [06:48:21.330] --without-icu \ [06:48:21.330] CC="ccache x86_64-w64-mingw32-gcc" \ [06:48:21.330] CXX="ccache x86_64-w64-mingw32-g++" [06:48:21.449] checking build system type... x86_64-pc-linux-gnu [06:48:21.657] checking host system type... x86_64-w64-mingw32 [06:48:21.662] checking which template to use... win32 [06:48:21.662] checking whether NLS is wanted... no [06:48:21.662] checking for default port number... 5432 [06:48:21.669] checking for block size... 8kB [06:48:21.670] checking for segment size... 1GB [06:48:21.673] checking for WAL block size... 8kB [06:48:21.674] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [06:48:21.709] checking whether the C compiler works... yes [06:48:21.858] checking for C compiler default output file name... a.exe [06:48:21.860] checking for suffix of executables... .exe [06:48:21.901] checking whether we are cross compiling... yes [06:48:21.983] checking for suffix of object files... o [06:48:21.991] checking whether we are using the GNU C compiler... yes [06:48:21.998] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [06:48:22.004] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [06:48:22.015] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [06:48:22.075] checking whether we are using the GNU C++ compiler... yes [06:48:22.082] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [06:48:22.154] checking for gawk... no [06:48:22.154] checking for mawk... mawk [06:48:22.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [06:48:22.164] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [06:48:22.172] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [06:48:22.219] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [06:48:22.388] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [06:48:22.395] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [06:48:22.403] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [06:48:22.410] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [06:48:22.418] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [06:48:22.425] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [06:48:22.433] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [06:48:22.440] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [06:48:22.447] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [06:48:22.455] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [06:48:22.543] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [06:48:22.550] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [06:48:22.557] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [06:48:22.596] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [06:48:22.603] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [06:48:22.610] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [06:48:22.627] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [06:48:22.634] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [06:48:22.641] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [06:48:22.666] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [06:48:22.673] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [06:48:22.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [06:48:22.719] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [06:48:22.758] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [06:48:22.766] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [06:48:22.773] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [06:48:22.809] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [06:48:22.817] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [06:48:22.825] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [06:48:22.834] checking whether the C compiler still works... yes [06:48:22.903] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [06:48:22.982] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [06:48:22.982] checking pkg-config is at least version 0.9.0... yes [06:48:22.999] checking whether to build with ICU support... no [06:48:22.999] checking whether to build with Tcl... no [06:48:23.000] checking whether to build Perl modules... no [06:48:23.000] checking whether to build Python modules... no [06:48:23.000] checking whether to build with GSSAPI support... no [06:48:23.001] checking whether to build with PAM support... no [06:48:23.001] checking whether to build with BSD Authentication support... no [06:48:23.001] checking whether to build with LDAP support... no [06:48:23.001] checking whether to build with Bonjour support... no [06:48:23.001] checking whether to build with SELinux support... no [06:48:23.001] checking whether to build with systemd support... no [06:48:23.002] configure: WARNING: *** Readline does not work on MinGW --- disabling [06:48:23.002] checking whether to build with XML support... no [06:48:23.002] checking whether to build with LZ4 support... no [06:48:23.002] checking whether to build with ZSTD support... no [06:48:23.002] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [06:48:23.003] checking whether it is possible to strip libraries... yes [06:48:23.011] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [06:48:23.012] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [06:48:23.012] checking for a BSD-compatible install... /usr/bin/install -c [06:48:23.021] checking for tar... /usr/bin/tar [06:48:23.022] checking whether ln -s works... yes [06:48:23.022] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [06:48:23.024] checking for bison... /usr/bin/bison [06:48:23.026] configure: using bison (GNU Bison) 3.8.2 [06:48:23.029] checking for flex... /usr/bin/flex [06:48:23.043] configure: using flex 2.6.4 [06:48:23.043] checking for perl... /usr/bin/perl [06:48:23.046] configure: using perl 5.36.0 [06:48:23.049] checking for zic... /usr/sbin/zic [06:48:23.049] checking for a sed that does not truncate output... /usr/bin/sed [06:48:23.055] checking for grep that handles long lines and -e... /usr/bin/grep [06:48:23.057] checking for egrep... /usr/bin/grep -E [06:48:23.058] checking for ANSI C header files... yes [06:48:23.109] checking for sys/types.h... yes [06:48:23.127] checking for sys/stat.h... yes [06:48:23.144] checking for stdlib.h... yes [06:48:23.209] checking for string.h... yes [06:48:23.224] checking for memory.h... yes [06:48:23.262] checking for strings.h... yes [06:48:23.279] checking for inttypes.h... yes [06:48:23.347] checking for stdint.h... yes [06:48:23.411] checking for unistd.h... yes [06:48:23.428] checking for main in -lm... yes [06:48:23.478] checking for library containing setproctitle... no [06:48:23.572] checking for library containing dlsym... no [06:48:23.664] checking for library containing socket... -lws2_32 [06:48:23.805] checking for library containing getopt_long... none required [06:48:23.856] checking for library containing shm_open... no [06:48:23.953] checking for library containing shm_unlink... no [06:48:24.048] checking for library containing clock_gettime... no [06:48:24.143] checking for library containing shmget... no [06:48:24.239] checking for library containing backtrace_symbols... no [06:48:24.341] checking for library containing pthread_barrier_wait... -lpthread [06:48:24.435] checking for inflate in -lz... yes [06:48:24.482] checking for stdbool.h that conforms to C99... yes [06:48:24.494] checking for _Bool... yes [06:48:24.568] checking atomic.h usability... no [06:48:24.627] checking atomic.h presence... no [06:48:24.648] checking for atomic.h... no [06:48:24.651] checking copyfile.h usability... no [06:48:24.710] checking copyfile.h presence... no [06:48:24.731] checking for copyfile.h... no [06:48:24.734] checking execinfo.h usability... no [06:48:24.792] checking execinfo.h presence... no [06:48:24.812] checking for execinfo.h... no [06:48:24.815] checking getopt.h usability... yes [06:48:24.823] checking getopt.h presence... yes [06:48:24.840] checking for getopt.h... yes [06:48:24.847] checking ifaddrs.h usability... no [06:48:24.905] checking ifaddrs.h presence... no [06:48:24.925] checking for ifaddrs.h... no [06:48:24.928] checking mbarrier.h usability... no [06:48:24.985] checking mbarrier.h presence... no [06:48:25.004] checking for mbarrier.h... no [06:48:25.008] checking sys/epoll.h usability... no [06:48:25.065] checking sys/epoll.h presence... no [06:48:25.084] checking for sys/epoll.h... no [06:48:25.088] checking sys/event.h usability... no [06:48:25.143] checking sys/event.h presence... no [06:48:25.163] checking for sys/event.h... no [06:48:25.166] checking sys/personality.h usability... no [06:48:25.222] checking sys/personality.h presence... no [06:48:25.243] checking for sys/personality.h... no [06:48:25.246] checking sys/prctl.h usability... no [06:48:25.304] checking sys/prctl.h presence... no [06:48:25.324] checking for sys/prctl.h... no [06:48:25.328] checking sys/procctl.h usability... no [06:48:25.384] checking sys/procctl.h presence... no [06:48:25.404] checking for sys/procctl.h... no [06:48:25.408] checking sys/signalfd.h usability... no [06:48:25.466] checking sys/signalfd.h presence... no [06:48:25.487] checking for sys/signalfd.h... no [06:48:25.491] checking sys/ucred.h usability... no [06:48:25.549] checking sys/ucred.h presence... no [06:48:25.568] checking for sys/ucred.h... no [06:48:25.572] checking termios.h usability... no [06:48:25.631] checking termios.h presence... no [06:48:25.650] checking for termios.h... no [06:48:25.653] checking ucred.h usability... no [06:48:25.710] checking ucred.h presence... no [06:48:25.730] checking for ucred.h... no [06:48:25.733] checking zlib.h usability... yes [06:48:25.744] checking zlib.h presence... yes [06:48:25.764] checking for zlib.h... yes [06:48:25.764] checking for lz4... /usr/bin/lz4 [06:48:25.765] checking for zstd... /usr/bin/zstd [06:48:25.765] checking for openssl... /usr/bin/openssl [06:48:25.769] configure: using openssl: OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024) [06:48:25.770] checking crtdefs.h usability... yes [06:48:25.778] checking crtdefs.h presence... yes [06:48:25.794] checking for crtdefs.h... yes [06:48:25.795] checking whether byte ordering is bigendian... no [06:48:25.906] checking for inline... inline [06:48:25.914] checking for printf format archetype... gnu_printf [06:48:25.923] checking for _Static_assert... yes [06:48:25.967] checking for typeof... typeof [06:48:25.975] checking for __builtin_types_compatible_p... yes [06:48:25.986] checking for __builtin_constant_p... yes [06:48:26.007] checking for __builtin_unreachable... yes [06:48:26.050] checking for computed goto support... yes [06:48:26.058] checking for struct tm.tm_zone... no [06:48:26.138] checking for union semun... no [06:48:26.173] checking for socklen_t... yes [06:48:27.424] checking for struct sockaddr.sa_len... no [06:48:29.597] checking for locale_t... no [06:48:29.666] checking for C/C++ restrict keyword... __restrict [06:48:29.679] checking for struct option... yes [06:48:29.734] checking whether assembler supports x86_64 popcntq... yes [06:48:29.742] checking size of off_t... 4 [06:48:29.950] 0 [06:48:29.950] checking size of bool... 1 [06:48:29.998] checking for int timezone... yes [06:48:30.049] checking for wcstombs_l declaration... no [06:48:30.140] checking for backtrace_symbols... no [06:48:30.192] checking for copyfile... no [06:48:30.244] checking for copy_file_range... no [06:48:30.299] checking for getifaddrs... no [06:48:30.352] checking for getpeerucred... no [06:48:30.406] checking for inet_pton... yes [06:48:30.460] checking for kqueue... no [06:48:30.514] checking for mbstowcs_l... no [06:48:30.568] checking for memset_s... no [06:48:30.623] checking for posix_fallocate... no [06:48:30.675] checking for ppoll... no [06:48:30.731] checking for pthread_is_threaded_np... no [06:48:30.784] checking for setproctitle... no [06:48:30.838] checking for setproctitle_fast... no [06:48:30.891] checking for strchrnul... no [06:48:30.945] checking for strsignal... no [06:48:30.999] checking for syncfs... no [06:48:31.053] checking for sync_file_range... no [06:48:31.107] checking for uselocale... no [06:48:31.161] checking for wcstombs_l... no [06:48:31.213] checking for __builtin_bswap16... yes [06:48:31.265] checking for __builtin_bswap32... yes [06:48:31.317] checking for __builtin_bswap64... yes [06:48:31.370] checking for __builtin_clz... yes [06:48:31.423] checking for __builtin_ctz... yes [06:48:31.474] checking for __builtin_popcount... yes [06:48:31.524] checking for __builtin_frame_address... yes [06:48:31.577] checking for _LARGEFILE_SOURCE value needed for large files... no [06:48:31.632] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [06:48:31.667] checking for posix_fadvise... no [06:48:31.724] checking whether posix_fadvise is declared... no [06:48:31.775] checking whether fdatasync is declared... no [06:48:31.824] checking whether strlcat is declared... no [06:48:31.891] checking whether strlcpy is declared... no [06:48:31.958] checking whether strnlen is declared... yes [06:48:31.972] checking whether strsep is declared... no [06:48:32.040] checking whether preadv is declared... no [06:48:32.079] checking whether pwritev is declared... no [06:48:32.118] checking whether F_FULLFSYNC is declared... no [06:48:32.161] checking for explicit_bzero... no [06:48:32.211] checking for getopt... yes [06:48:32.258] checking for getpeereid... no [06:48:32.309] checking for inet_aton... no [06:48:32.360] checking for mkdtemp... no [06:48:32.410] checking for strlcat... no [06:48:32.459] checking for strlcpy... no [06:48:32.508] checking for strnlen... yes [06:48:32.557] checking for strsep... no [06:48:32.606] checking for pthread_barrier_wait... yes [06:48:32.653] configure: On mingw32 we will use our strtof wrapper. [06:48:32.653] checking for getopt_long... yes [06:48:32.701] checking for _configthreadlocale... yes [06:48:32.748] checking for syslog... no [06:48:32.798] checking for opterr... yes [06:48:32.848] checking for optreset... no [06:48:32.902] checking test program... cross-compiling [06:48:32.902] checking whether long int is 64 bits... no [06:48:32.936] checking whether long long int is 64 bits... yes [06:48:32.945] checking for __builtin_mul_overflow... yes [06:48:32.990] checking size of void *... 8 [06:48:33.328] checking size of size_t... 8 [06:48:33.670] checking size of long... 4 [06:48:33.943] checking alignment of short... 2 [06:48:34.145] checking alignment of int... 4 [06:48:34.358] checking alignment of long... 4 [06:48:34.573] checking alignment of long long int... 8 [06:48:34.854] checking alignment of double... 8 [06:48:35.157] checking for int8... no [06:48:35.201] checking for uint8... no [06:48:35.245] checking for int64... no [06:48:35.290] checking for uint64... no [06:48:35.333] checking for __int128... yes [06:48:35.386] checking for __int128 alignment bug... assuming ok [06:48:35.386] checking alignment of PG_INT128_TYPE... 16 [06:48:35.755] checking for builtin __sync char locking functions... yes [06:48:35.800] checking for builtin __sync int32 locking functions... yes [06:48:35.846] checking for builtin __sync int32 atomic operations... yes [06:48:35.890] checking for builtin __sync int64 atomic operations... yes [06:48:35.935] checking for builtin __atomic int32 atomic operations... yes [06:48:35.981] checking for builtin __atomic int64 atomic operations... yes [06:48:36.026] checking for __get_cpuid... yes [06:48:36.077] checking for __get_cpuid_count... yes [06:48:36.123] checking for __cpuid... no [06:48:36.533] checking for __cpuidex... no [06:48:36.966] checking for _xgetbv with CFLAGS=... no [06:48:37.350] checking for _xgetbv with CFLAGS=-mxsave... yes [06:48:37.752] checking for _mm512_popcnt_epi64 with CFLAGS=... no [06:48:38.137] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [06:48:38.484] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [06:48:38.533] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [06:48:38.625] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [06:48:38.648] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [06:48:38.668] 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 [06:48:38.724] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [06:48:38.725] checking which random number source to use... Windows native [06:48:38.727] checking for xmllint... /usr/bin/xmllint [06:48:38.727] checking for xsltproc... /usr/bin/xsltproc [06:48:38.727] checking for fop... /usr/bin/fop [06:48:38.727] checking for dbtoepub... no [06:48:38.727] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [06:48:38.728] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [06:48:38.728] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [06:48:38.738] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [06:48:38.738] 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 [06:48:38.738] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [06:48:38.738] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [06:48:38.825] configure: creating ./config.status [06:48:38.915] config.status: creating GNUmakefile [06:48:38.927] config.status: creating src/Makefile.global [06:48:38.944] config.status: creating src/include/pg_config.h [06:48:38.957] config.status: creating src/include/pg_config_ext.h [06:48:38.970] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [06:48:38.987] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [06:48:38.995] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [06:48:39.003] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [06:48:39.012] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [06:48:39.020] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [06:48:39.024] config.status: executing check_win32_symlinks commands [06:48:39.062] [06:48:39.062] real 0m17.732s [06:48:39.062] user 0m11.614s [06:48:39.062] sys 0m5.694s [06:48:39.062] make -s -j${BUILD_JOBS} clean [06:48:39.603] time make -s -j${BUILD_JOBS} world-bin [06:49:37.848] In file included from ../../../../src/include/postgres.h:47, [06:49:37.848] from xlogrecovery.c:25: [06:49:37.848] In function ‘MemoryContextSwitchTo’, [06:49:37.848] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [06:49:37.848] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [06:49:37.848] 128 | CurrentMemoryContext = context; [06:49:37.848] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [06:49:37.848] xlogrecovery.c: In function ‘PerformWalRecovery’: [06:49:37.848] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [06:49:37.848] 1732 | MemoryContext oldCtx; [06:49:37.848] | ^~~~~~ [06:49:37.848] cc1: all warnings being treated as errors [06:49:37.850] make[4]: *** [: xlogrecovery.o] Error 1 [06:49:37.850] make[4]: *** Waiting for unfinished jobs.... [06:49:38.001] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [06:49:38.001] make[2]: *** [common.mk:37: access-recursive] Error 2 [06:49:38.001] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:49:38.001] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:49:38.002] [06:49:38.002] real 0m58.399s [06:49:38.002] user 2m55.195s [06:49:38.002] sys 0m45.528s [06:49:38.002] [06:49:38.002] Exit status: 2