[05:59:17.579] time ./configure \ [05:59:17.579] --host=x86_64-w64-mingw32 \ [05:59:17.579] --enable-cassert \ [05:59:17.579] --without-icu \ [05:59:17.579] CC="ccache x86_64-w64-mingw32-gcc" \ [05:59:17.579] CXX="ccache x86_64-w64-mingw32-g++" [05:59:17.702] checking build system type... x86_64-pc-linux-gnu [05:59:17.922] checking host system type... x86_64-w64-mingw32 [05:59:17.928] checking which template to use... win32 [05:59:17.928] checking whether NLS is wanted... no [05:59:17.929] checking for default port number... 5432 [05:59:17.936] checking for block size... 8kB [05:59:17.937] checking for segment size... 1GB [05:59:17.939] checking for WAL block size... 8kB [05:59:17.941] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:59:17.976] checking whether the C compiler works... yes [05:59:18.136] checking for C compiler default output file name... a.exe [05:59:18.137] checking for suffix of executables... .exe [05:59:18.180] checking whether we are cross compiling... yes [05:59:18.260] checking for suffix of object files... o [05:59:18.297] checking whether we are using the GNU C compiler... yes [05:59:18.305] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:59:18.324] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:59:18.335] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:59:18.399] checking whether we are using the GNU C++ compiler... yes [05:59:18.406] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:59:18.482] checking for gawk... no [05:59:18.482] checking for mawk... mawk [05:59:18.485] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:59:18.492] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:59:18.498] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:59:18.546] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:59:18.726] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:59:18.734] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:59:18.770] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:59:18.778] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:59:18.786] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:59:18.794] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:59:18.802] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:59:18.810] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:59:18.827] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:59:18.845] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:59:18.853] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:59:18.872] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:59:18.880] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:59:18.919] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:59:18.927] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:59:18.946] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:59:18.954] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:59:18.962] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:59:18.999] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:59:19.026] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:59:19.061] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:59:19.070] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:59:19.110] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:59:19.149] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:59:19.156] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:59:19.163] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:59:19.201] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:59:19.219] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:59:19.227] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:59:19.247] checking whether the C compiler still works... yes [05:59:19.318] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:59:19.404] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:59:19.404] checking pkg-config is at least version 0.9.0... yes [05:59:19.421] checking whether to build with ICU support... no [05:59:19.422] checking whether to build with Tcl... no [05:59:19.422] checking whether to build Perl modules... no [05:59:19.422] checking whether to build Python modules... no [05:59:19.422] checking whether to build with GSSAPI support... no [05:59:19.424] checking whether to build with PAM support... no [05:59:19.424] checking whether to build with BSD Authentication support... no [05:59:19.424] checking whether to build with LDAP support... no [05:59:19.424] checking whether to build with Bonjour support... no [05:59:19.424] checking whether to build with SELinux support... no [05:59:19.424] checking whether to build with systemd support... no [05:59:19.424] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:59:19.424] checking whether to build with XML support... no [05:59:19.425] checking whether to build with LZ4 support... no [05:59:19.425] checking whether to build with ZSTD support... no [05:59:19.425] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:59:19.425] checking whether it is possible to strip libraries... yes [05:59:19.434] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:59:19.435] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:59:19.435] checking for a BSD-compatible install... /usr/bin/install -c [05:59:19.445] checking for tar... /usr/bin/tar [05:59:19.445] checking whether ln -s works... yes [05:59:19.445] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:59:19.448] checking for bison... /usr/bin/bison [05:59:19.450] configure: using bison (GNU Bison) 3.8.2 [05:59:19.454] checking for flex... /usr/bin/flex [05:59:19.467] configure: using flex 2.6.4 [05:59:19.467] checking for perl... /usr/bin/perl [05:59:19.471] configure: using perl 5.36.0 [05:59:19.474] checking for zic... /usr/sbin/zic [05:59:19.474] checking for a sed that does not truncate output... /usr/bin/sed [05:59:19.480] checking for grep that handles long lines and -e... /usr/bin/grep [05:59:19.482] checking for egrep... /usr/bin/grep -E [05:59:19.484] checking for ANSI C header files... yes [05:59:19.535] checking for sys/types.h... yes [05:59:19.555] checking for sys/stat.h... yes [05:59:19.572] checking for stdlib.h... yes [05:59:19.608] checking for string.h... yes [05:59:19.623] checking for memory.h... yes [05:59:19.639] checking for strings.h... yes [05:59:19.654] checking for inttypes.h... yes [05:59:19.670] checking for stdint.h... yes [05:59:19.684] checking for unistd.h... yes [05:59:19.701] checking for main in -lm... yes [05:59:19.752] checking for library containing setproctitle... no [05:59:19.848] checking for library containing dlsym... no [05:59:19.942] checking for library containing socket... -lws2_32 [05:59:20.081] checking for library containing getopt_long... none required [05:59:20.130] checking for library containing shm_open... no [05:59:20.224] checking for library containing shm_unlink... no [05:59:20.322] checking for library containing clock_gettime... no [05:59:20.418] checking for library containing shmget... no [05:59:20.510] checking for library containing backtrace_symbols... no [05:59:20.600] checking for library containing pthread_barrier_wait... -lpthread [05:59:20.691] checking for inflate in -lz... yes [05:59:20.738] checking for stdbool.h that conforms to C99... yes [05:59:20.750] checking for _Bool... yes [05:59:20.825] checking atomic.h usability... no [05:59:20.882] checking atomic.h presence... no [05:59:20.903] checking for atomic.h... no [05:59:20.906] checking copyfile.h usability... no [05:59:20.965] checking copyfile.h presence... no [05:59:20.985] checking for copyfile.h... no [05:59:20.989] checking execinfo.h usability... no [05:59:21.046] checking execinfo.h presence... no [05:59:21.067] checking for execinfo.h... no [05:59:21.071] checking getopt.h usability... yes [05:59:21.127] checking getopt.h presence... yes [05:59:21.144] checking for getopt.h... yes [05:59:21.152] checking ifaddrs.h usability... no [05:59:21.212] checking ifaddrs.h presence... no [05:59:21.231] checking for ifaddrs.h... no [05:59:21.235] checking mbarrier.h usability... no [05:59:21.297] checking mbarrier.h presence... no [05:59:21.319] checking for mbarrier.h... no [05:59:21.323] checking sys/epoll.h usability... no [05:59:21.384] checking sys/epoll.h presence... no [05:59:21.405] checking for sys/epoll.h... no [05:59:21.409] checking sys/event.h usability... no [05:59:21.467] checking sys/event.h presence... no [05:59:21.490] checking for sys/event.h... no [05:59:21.494] checking sys/personality.h usability... no [05:59:21.554] checking sys/personality.h presence... no [05:59:21.575] checking for sys/personality.h... no [05:59:21.579] checking sys/prctl.h usability... no [05:59:21.638] checking sys/prctl.h presence... no [05:59:21.659] checking for sys/prctl.h... no [05:59:21.663] checking sys/procctl.h usability... no [05:59:21.731] checking sys/procctl.h presence... no [05:59:21.753] checking for sys/procctl.h... no [05:59:21.757] checking sys/signalfd.h usability... no [05:59:21.818] checking sys/signalfd.h presence... no [05:59:21.839] checking for sys/signalfd.h... no [05:59:21.843] checking sys/ucred.h usability... no [05:59:21.903] checking sys/ucred.h presence... no [05:59:21.924] checking for sys/ucred.h... no [05:59:21.928] checking termios.h usability... no [05:59:21.988] checking termios.h presence... no [05:59:22.009] checking for termios.h... no [05:59:22.013] checking ucred.h usability... no [05:59:22.074] checking ucred.h presence... no [05:59:22.096] checking for ucred.h... no [05:59:22.100] checking zlib.h usability... yes [05:59:22.111] checking zlib.h presence... yes [05:59:22.132] checking for zlib.h... yes [05:59:22.132] checking for lz4... /usr/bin/lz4 [05:59:22.133] checking for zstd... /usr/bin/zstd [05:59:22.133] checking for openssl... /usr/bin/openssl [05:59:22.138] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [05:59:22.138] checking crtdefs.h usability... yes [05:59:22.199] checking crtdefs.h presence... yes [05:59:22.217] checking for crtdefs.h... yes [05:59:22.218] checking whether byte ordering is bigendian... no [05:59:22.301] checking for inline... inline [05:59:22.310] checking for printf format archetype... gnu_printf [05:59:22.350] checking for _Static_assert... yes [05:59:22.393] checking for typeof... typeof [05:59:22.401] checking for __builtin_types_compatible_p... yes [05:59:22.424] checking for __builtin_constant_p... yes [05:59:22.436] checking for __builtin_unreachable... yes [05:59:22.479] checking for computed goto support... yes [05:59:22.487] checking for struct tm.tm_zone... no [05:59:22.572] checking for union semun... no [05:59:22.609] checking for socklen_t... yes [05:59:24.271] checking for struct sockaddr.sa_len... no [05:59:26.581] checking for locale_t... no [05:59:26.647] checking for C/C++ restrict keyword... __restrict [05:59:26.660] checking for struct option... yes [05:59:26.702] checking whether assembler supports x86_64 popcntq... yes [05:59:26.710] checking size of off_t... 4 [05:59:26.986] 0 [05:59:26.986] checking size of bool... 1 [05:59:27.035] checking for int timezone... yes [05:59:27.091] checking for wcstombs_l declaration... no [05:59:27.185] checking for backtrace_symbols... no [05:59:27.240] checking for copyfile... no [05:59:27.293] checking for copy_file_range... no [05:59:27.347] checking for getifaddrs... no [05:59:27.400] checking for getpeerucred... no [05:59:27.455] checking for inet_pton... yes [05:59:27.512] checking for kqueue... no [05:59:27.571] checking for mbstowcs_l... no [05:59:27.624] checking for memset_s... no [05:59:27.679] checking for posix_fallocate... no [05:59:27.734] checking for ppoll... no [05:59:27.789] checking for pthread_is_threaded_np... no [05:59:27.844] checking for setproctitle... no [05:59:27.900] checking for setproctitle_fast... no [05:59:27.955] checking for strchrnul... no [05:59:28.010] checking for strsignal... no [05:59:28.066] checking for syncfs... no [05:59:28.121] checking for sync_file_range... no [05:59:28.175] checking for uselocale... no [05:59:28.228] checking for wcstombs_l... no [05:59:28.278] checking for __builtin_bswap16... yes [05:59:28.331] checking for __builtin_bswap32... yes [05:59:28.382] checking for __builtin_bswap64... yes [05:59:28.433] checking for __builtin_clz... yes [05:59:28.486] checking for __builtin_ctz... yes [05:59:28.537] checking for __builtin_popcount... yes [05:59:28.590] checking for __builtin_frame_address... yes [05:59:28.643] checking for _LARGEFILE_SOURCE value needed for large files... no [05:59:28.701] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:59:28.737] checking for posix_fadvise... no [05:59:28.795] checking whether posix_fadvise is declared... no [05:59:28.845] checking whether fdatasync is declared... no [05:59:28.896] checking whether strlcat is declared... no [05:59:28.967] checking whether strlcpy is declared... no [05:59:29.050] checking whether strnlen is declared... yes [05:59:29.066] checking whether strsep is declared... no [05:59:29.138] checking whether preadv is declared... no [05:59:29.182] checking whether pwritev is declared... no [05:59:29.223] checking whether F_FULLFSYNC is declared... no [05:59:29.270] checking for explicit_bzero... no [05:59:29.323] checking for getopt... yes [05:59:29.376] checking for getpeereid... no [05:59:29.428] checking for inet_aton... no [05:59:29.478] checking for mkdtemp... no [05:59:29.528] checking for strlcat... no [05:59:29.579] checking for strlcpy... no [05:59:29.627] checking for strnlen... yes [05:59:29.677] checking for strsep... no [05:59:29.727] checking for pthread_barrier_wait... yes [05:59:29.772] configure: On mingw32 we will use our strtof wrapper. [05:59:29.772] checking for getopt_long... yes [05:59:29.819] checking for _configthreadlocale... yes [05:59:29.868] checking for syslog... no [05:59:29.919] checking for opterr... yes [05:59:29.970] checking for optreset... no [05:59:30.024] checking test program... cross-compiling [05:59:30.024] checking whether long int is 64 bits... no [05:59:30.059] checking whether long long int is 64 bits... yes [05:59:30.069] checking for __builtin_mul_overflow... yes [05:59:30.115] checking size of void *... 8 [05:59:30.464] checking size of size_t... 8 [05:59:30.745] checking size of long... 4 [05:59:31.030] checking alignment of short... 2 [05:59:31.183] checking alignment of int... 4 [05:59:31.398] checking alignment of long... 4 [05:59:31.659] checking alignment of long long int... 8 [05:59:32.027] checking alignment of double... 8 [05:59:32.371] checking for int8... no [05:59:32.416] checking for uint8... no [05:59:32.463] checking for int64... no [05:59:32.510] checking for uint64... no [05:59:32.557] checking for __int128... yes [05:59:32.611] checking for __int128 alignment bug... assuming ok [05:59:32.612] checking alignment of PG_INT128_TYPE... 16 [05:59:33.022] checking for builtin __sync char locking functions... yes [05:59:33.068] checking for builtin __sync int32 locking functions... yes [05:59:33.115] checking for builtin __sync int32 atomic operations... yes [05:59:33.160] checking for builtin __sync int64 atomic operations... yes [05:59:33.205] checking for builtin __atomic int32 atomic operations... yes [05:59:33.251] checking for builtin __atomic int64 atomic operations... yes [05:59:33.298] checking for __get_cpuid... yes [05:59:33.348] checking for __get_cpuid_count... yes [05:59:33.396] checking for __cpuid... no [05:59:33.799] checking for __cpuidex... no [05:59:34.238] checking for _xgetbv with CFLAGS=... no [05:59:34.636] checking for _xgetbv with CFLAGS=-mxsave... yes [05:59:35.052] checking for _mm512_popcnt_epi64 with CFLAGS=... no [05:59:35.450] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [05:59:35.799] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [05:59:35.849] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [05:59:35.946] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:59:35.972] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:59:35.992] 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:59:36.050] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:59:36.051] checking which random number source to use... Windows native [05:59:36.053] checking for xmllint... /usr/bin/xmllint [05:59:36.053] checking for xsltproc... /usr/bin/xsltproc [05:59:36.054] checking for fop... /usr/bin/fop [05:59:36.054] checking for dbtoepub... no [05:59:36.054] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:59:36.054] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:59:36.054] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:59:36.066] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:59:36.066] 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:59:36.066] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:59:36.066] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:59:36.158] configure: creating ./config.status [05:59:36.251] config.status: creating GNUmakefile [05:59:36.263] config.status: creating src/Makefile.global [05:59:36.278] config.status: creating src/include/pg_config.h [05:59:36.292] config.status: creating src/include/pg_config_ext.h [05:59:36.305] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:59:36.322] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:59:36.330] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:59:36.339] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:59:36.347] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:59:36.355] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:59:36.358] config.status: executing check_win32_symlinks commands [05:59:36.394] [05:59:36.394] real 0m18.815s [05:59:36.394] user 0m12.320s [05:59:36.394] sys 0m6.028s [05:59:36.394] make -s -j${BUILD_JOBS} clean [05:59:36.926] time make -s -j${BUILD_JOBS} world-bin [06:00:19.437] In file included from ../../../../src/include/postgres.h:47, [06:00:19.437] from xlogrecovery.c:25: [06:00:19.437] In function ‘MemoryContextSwitchTo’, [06:00:19.437] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [06:00:19.437] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [06:00:19.437] 128 | CurrentMemoryContext = context; [06:00:19.437] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [06:00:19.437] xlogrecovery.c: In function ‘PerformWalRecovery’: [06:00:19.437] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [06:00:19.437] 1732 | MemoryContext oldCtx; [06:00:19.437] | ^~~~~~ [06:00:19.437] cc1: all warnings being treated as errors [06:00:19.437] make[4]: *** [: xlogrecovery.o] Error 1 [06:00:19.437] make[4]: *** Waiting for unfinished jobs.... [06:00:19.674] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [06:00:19.674] make[2]: *** [common.mk:37: access-recursive] Error 2 [06:00:19.674] make[2]: *** Waiting for unfinished jobs.... [06:00:22.725] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [06:00:22.726] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [06:00:22.726] [06:00:22.726] real 0m45.800s [06:00:22.726] user 2m17.469s [06:00:22.726] sys 0m34.249s [06:00:22.726] [06:00:22.726] Exit status: 2