[05:33:24.187] time ./configure \ [05:33:24.187] --host=x86_64-w64-mingw32 \ [05:33:24.187] --enable-cassert \ [05:33:24.187] --without-icu \ [05:33:24.187] CC="ccache x86_64-w64-mingw32-gcc" \ [05:33:24.187] CXX="ccache x86_64-w64-mingw32-g++" [05:33:24.289] checking build system type... x86_64-pc-linux-gnu [05:33:24.478] checking host system type... x86_64-w64-mingw32 [05:33:24.483] checking which template to use... win32 [05:33:24.483] checking whether NLS is wanted... no [05:33:24.483] checking for default port number... 5432 [05:33:24.489] checking for block size... 8kB [05:33:24.490] checking for segment size... 1GB [05:33:24.492] checking for WAL block size... 8kB [05:33:24.493] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:33:24.522] checking whether the C compiler works... yes [05:33:24.666] checking for C compiler default output file name... a.exe [05:33:24.667] checking for suffix of executables... .exe [05:33:24.706] checking whether we are cross compiling... yes [05:33:24.777] checking for suffix of object files... o [05:33:24.784] checking whether we are using the GNU C compiler... yes [05:33:24.790] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:33:24.796] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:33:24.806] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:33:24.862] checking whether we are using the GNU C++ compiler... yes [05:33:24.868] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:33:24.929] checking for gawk... no [05:33:24.929] checking for mawk... mawk [05:33:24.931] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:33:24.938] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:33:24.944] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:33:24.986] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:33:25.146] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:33:25.152] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:33:25.158] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:33:25.164] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:33:25.170] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:33:25.177] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:33:25.183] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:33:25.189] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:33:25.195] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:33:25.201] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:33:25.207] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:33:25.213] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:33:25.219] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:33:25.254] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:33:25.261] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:33:25.266] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:33:25.272] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:33:25.278] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:33:25.284] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:33:25.305] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:33:25.310] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:33:25.316] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:33:25.350] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:33:25.385] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:33:25.391] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:33:25.396] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:33:25.428] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:33:25.434] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:33:25.440] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:33:25.447] checking whether the C compiler still works... yes [05:33:25.507] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:33:25.568] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:33:25.569] checking pkg-config is at least version 0.9.0... yes [05:33:25.585] checking whether to build with ICU support... no [05:33:25.586] checking whether to build with Tcl... no [05:33:25.586] checking whether to build Perl modules... no [05:33:25.586] checking whether to build Python modules... no [05:33:25.586] checking whether to build with GSSAPI support... no [05:33:25.587] checking whether to build with PAM support... no [05:33:25.587] checking whether to build with BSD Authentication support... no [05:33:25.587] checking whether to build with LDAP support... no [05:33:25.587] checking whether to build with Bonjour support... no [05:33:25.587] checking whether to build with SELinux support... no [05:33:25.587] checking whether to build with systemd support... no [05:33:25.588] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:33:25.588] checking whether to build with XML support... no [05:33:25.588] checking whether to build with LZ4 support... no [05:33:25.588] checking whether to build with ZSTD support... no [05:33:25.588] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:33:25.589] checking whether it is possible to strip libraries... yes [05:33:25.597] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:33:25.597] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:33:25.597] checking for a BSD-compatible install... /usr/bin/install -c [05:33:25.605] checking for tar... /usr/bin/tar [05:33:25.605] checking whether ln -s works... yes [05:33:25.605] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:33:25.607] checking for bison... /usr/bin/bison [05:33:25.609] configure: using bison (GNU Bison) 3.8.2 [05:33:25.611] checking for flex... /usr/bin/flex [05:33:25.622] configure: using flex 2.6.4 [05:33:25.622] checking for perl... /usr/bin/perl [05:33:25.624] configure: using perl 5.36.0 [05:33:25.626] checking for zic... /usr/sbin/zic [05:33:25.626] checking for a sed that does not truncate output... /usr/bin/sed [05:33:25.631] checking for grep that handles long lines and -e... /usr/bin/grep [05:33:25.632] checking for egrep... /usr/bin/grep -E [05:33:25.634] checking for ANSI C header files... yes [05:33:25.676] checking for sys/types.h... yes [05:33:25.690] checking for sys/stat.h... yes [05:33:25.703] checking for stdlib.h... yes [05:33:25.716] checking for string.h... yes [05:33:25.728] checking for memory.h... yes [05:33:25.740] checking for strings.h... yes [05:33:25.753] checking for inttypes.h... yes [05:33:25.769] checking for stdint.h... yes [05:33:25.781] checking for unistd.h... yes [05:33:25.794] checking for main in -lm... yes [05:33:25.836] checking for library containing setproctitle... no [05:33:25.914] checking for library containing dlsym... no [05:33:25.992] checking for library containing socket... -lws2_32 [05:33:26.110] checking for library containing getopt_long... none required [05:33:26.151] checking for library containing shm_open... no [05:33:26.228] checking for library containing shm_unlink... no [05:33:26.305] checking for library containing clock_gettime... no [05:33:26.382] checking for library containing shmget... no [05:33:26.462] checking for library containing backtrace_symbols... no [05:33:26.542] checking for library containing pthread_barrier_wait... -lpthread [05:33:26.619] checking for inflate in -lz... yes [05:33:26.661] checking atomic.h usability... no [05:33:26.717] checking atomic.h presence... no [05:33:26.733] checking for atomic.h... no [05:33:26.735] checking copyfile.h usability... no [05:33:26.785] checking copyfile.h presence... no [05:33:26.801] checking for copyfile.h... no [05:33:26.804] checking execinfo.h usability... no [05:33:26.853] checking execinfo.h presence... no [05:33:26.869] checking for execinfo.h... no [05:33:26.872] checking getopt.h usability... yes [05:33:26.878] checking getopt.h presence... yes [05:33:26.891] checking for getopt.h... yes [05:33:26.897] checking ifaddrs.h usability... no [05:33:26.946] checking ifaddrs.h presence... no [05:33:26.961] checking for ifaddrs.h... no [05:33:26.964] checking mbarrier.h usability... no [05:33:27.012] checking mbarrier.h presence... no [05:33:27.028] checking for mbarrier.h... no [05:33:27.031] checking sys/epoll.h usability... no [05:33:27.081] checking sys/epoll.h presence... no [05:33:27.098] checking for sys/epoll.h... no [05:33:27.100] checking sys/event.h usability... no [05:33:27.148] checking sys/event.h presence... no [05:33:27.164] checking for sys/event.h... no [05:33:27.166] checking sys/personality.h usability... no [05:33:27.215] checking sys/personality.h presence... no [05:33:27.231] checking for sys/personality.h... no [05:33:27.234] checking sys/prctl.h usability... no [05:33:27.284] checking sys/prctl.h presence... no [05:33:27.301] checking for sys/prctl.h... no [05:33:27.304] checking sys/procctl.h usability... no [05:33:27.355] checking sys/procctl.h presence... no [05:33:27.371] checking for sys/procctl.h... no [05:33:27.374] checking sys/signalfd.h usability... no [05:33:27.422] checking sys/signalfd.h presence... no [05:33:27.439] checking for sys/signalfd.h... no [05:33:27.441] checking sys/ucred.h usability... no [05:33:27.491] checking sys/ucred.h presence... no [05:33:27.508] checking for sys/ucred.h... no [05:33:27.510] checking termios.h usability... no [05:33:27.560] checking termios.h presence... no [05:33:27.576] checking for termios.h... no [05:33:27.578] checking ucred.h usability... no [05:33:27.627] checking ucred.h presence... no [05:33:27.643] checking for ucred.h... no [05:33:27.646] checking xlocale.h usability... no [05:33:27.694] checking xlocale.h presence... no [05:33:27.711] checking for xlocale.h... no [05:33:27.713] checking zlib.h usability... yes [05:33:27.723] checking zlib.h presence... yes [05:33:27.740] checking for zlib.h... yes [05:33:27.740] checking for lz4... /usr/bin/lz4 [05:33:27.741] checking for zstd... /usr/bin/zstd [05:33:27.741] checking for openssl... /usr/bin/openssl [05:33:27.745] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [05:33:27.745] checking crtdefs.h usability... yes [05:33:27.751] checking crtdefs.h presence... yes [05:33:27.764] checking for crtdefs.h... yes [05:33:27.765] checking whether byte ordering is bigendian... no [05:33:27.827] checking for inline... inline [05:33:27.833] checking for printf format archetype... gnu_printf [05:33:27.840] checking for _Static_assert... yes [05:33:27.876] checking for typeof... typeof [05:33:27.882] checking for __builtin_types_compatible_p... yes [05:33:27.892] checking for __builtin_constant_p... yes [05:33:27.901] checking for __builtin_mul_overflow... yes [05:33:27.944] checking for __builtin_unreachable... yes [05:33:27.979] checking for computed goto support... yes [05:33:27.986] checking for struct tm.tm_zone... no [05:33:28.054] checking for union semun... no [05:33:28.084] checking for socklen_t... yes [05:33:29.132] checking for struct sockaddr.sa_len... no [05:33:30.962] checking for C/C++ restrict keyword... __restrict [05:33:30.974] checking for struct option... yes [05:33:31.011] checking whether assembler supports x86_64 popcntq... yes [05:33:31.017] checking size of off_t... 4 [05:33:31.196] 0 [05:33:31.196] checking for int timezone... yes [05:33:31.241] checking for backtrace_symbols... no [05:33:31.286] checking for copyfile... no [05:33:31.330] checking for copy_file_range... no [05:33:31.374] checking for elf_aux_info... no [05:33:31.422] checking for getauxval... no [05:33:31.467] checking for getifaddrs... no [05:33:31.514] checking for getpeerucred... no [05:33:31.559] checking for inet_pton... yes [05:33:31.603] checking for kqueue... no [05:33:31.647] checking for mbstowcs_l... no [05:33:31.691] checking for memset_s... no [05:33:31.736] checking for posix_fallocate... no [05:33:31.780] checking for ppoll... no [05:33:31.823] checking for pthread_is_threaded_np... no [05:33:31.867] checking for setproctitle... no [05:33:31.912] checking for setproctitle_fast... no [05:33:31.956] checking for strchrnul... no [05:33:32.001] checking for strsignal... no [05:33:32.046] checking for syncfs... no [05:33:32.092] checking for sync_file_range... no [05:33:32.138] checking for uselocale... no [05:33:32.182] checking for wcstombs_l... no [05:33:32.225] checking for __builtin_bswap16... yes [05:33:32.270] checking for __builtin_bswap32... yes [05:33:32.314] checking for __builtin_bswap64... yes [05:33:32.357] checking for __builtin_clz... yes [05:33:32.401] checking for __builtin_ctz... yes [05:33:32.444] checking for __builtin_popcount... yes [05:33:32.488] checking for __builtin_frame_address... yes [05:33:32.531] checking for _LARGEFILE_SOURCE value needed for large files... no [05:33:32.581] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:33:32.607] checking for posix_fadvise... no [05:33:32.652] checking whether posix_fadvise is declared... no [05:33:32.691] checking whether fdatasync is declared... no [05:33:32.731] checking whether strlcat is declared... no [05:33:32.787] checking whether strlcpy is declared... no [05:33:32.844] checking whether strnlen is declared... yes [05:33:32.856] checking whether strsep is declared... no [05:33:32.913] checking whether preadv is declared... no [05:33:32.944] checking whether pwritev is declared... no [05:33:32.976] checking whether F_FULLFSYNC is declared... no [05:33:33.012] checking for explicit_bzero... no [05:33:33.056] checking for getopt... yes [05:33:33.098] checking for getpeereid... no [05:33:33.141] checking for inet_aton... no [05:33:33.185] checking for mkdtemp... no [05:33:33.228] checking for strlcat... no [05:33:33.272] checking for strlcpy... no [05:33:33.315] checking for strnlen... yes [05:33:33.359] checking for strsep... no [05:33:33.400] checking for pthread_barrier_wait... yes [05:33:33.438] configure: On mingw32 we will use our strtof wrapper. [05:33:33.438] checking for getopt_long... yes [05:33:33.479] checking for syslog... no [05:33:33.521] checking for opterr... yes [05:33:33.563] checking for optreset... no [05:33:33.608] checking test program... cross-compiling [05:33:33.608] checking size of void *... 8 [05:33:33.847] checking size of size_t... 8 [05:33:34.083] checking size of long... 4 [05:33:34.263] checking size of long long... 8 [05:33:34.504] checking alignment of short... 2 [05:33:34.626] checking alignment of int... 4 [05:33:34.808] checking alignment of long... 4 [05:33:34.987] checking alignment of int64_t... 8 [05:33:35.226] checking alignment of double... 8 [05:33:35.464] checking for __int128... yes [05:33:35.513] checking for __int128 alignment bug... assuming ok [05:33:35.513] checking alignment of PG_INT128_TYPE... 16 [05:33:35.815] checking for builtin __sync char locking functions... yes [05:33:35.853] checking for builtin __sync int32 locking functions... yes [05:33:35.891] checking for builtin __sync int32 atomic operations... yes [05:33:35.931] checking for builtin __sync int64 atomic operations... yes [05:33:35.970] checking for builtin __atomic int32 atomic operations... yes [05:33:36.008] checking for builtin __atomic int64 atomic operations... yes [05:33:36.049] checking for __get_cpuid... yes [05:33:36.091] checking for __get_cpuid_count... yes [05:33:36.131] checking for __cpuid... no [05:33:36.504] checking for __cpuidex... no [05:33:36.895] checking for _xgetbv... yes [05:33:37.276] checking for _mm512_popcnt_epi64... yes [05:33:37.666] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [05:33:37.757] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:33:37.776] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [05:33:37.792] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:33:37.808] 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:33:37.856] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:33:37.857] checking which random number source to use... Windows native [05:33:37.858] checking for xmllint... /usr/bin/xmllint [05:33:37.859] checking for xsltproc... /usr/bin/xsltproc [05:33:37.859] checking for fop... /usr/bin/fop [05:33:37.859] checking for dbtoepub... no [05:33:37.859] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:33:37.859] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:33:37.860] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:33:37.869] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:33:37.869] 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:33:37.869] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:33:37.869] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:33:37.942] configure: creating ./config.status [05:33:38.019] config.status: creating GNUmakefile [05:33:38.031] config.status: creating src/Makefile.global [05:33:38.046] config.status: creating src/include/pg_config.h [05:33:38.058] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:33:38.073] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:33:38.080] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:33:38.087] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:33:38.093] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:33:38.100] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:33:38.103] config.status: executing check_win32_symlinks commands [05:33:38.134] [05:33:38.134] real 0m13.947s [05:33:38.134] user 0m9.279s [05:33:38.134] sys 0m4.276s [05:33:38.134] make -s -j${BUILD_JOBS} clean [05:33:38.627] time make -s -j${BUILD_JOBS} world-bin [05:34:09.213] In file included from ../../../../src/include/postgres.h:47, [05:34:09.213] from xlogrecovery.c:25: [05:34:09.213] In function ‘MemoryContextSwitchTo’, [05:34:09.213] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [05:34:09.213] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [05:34:09.213] 128 | CurrentMemoryContext = context; [05:34:09.213] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [05:34:09.213] xlogrecovery.c: In function ‘PerformWalRecovery’: [05:34:09.213] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [05:34:09.213] 1731 | MemoryContext oldCtx; [05:34:09.213] | ^~~~~~ [05:34:09.213] cc1: all warnings being treated as errors [05:34:09.213] make[4]: *** [: xlogrecovery.o] Error 1 [05:34:09.213] make[4]: *** Waiting for unfinished jobs.... [05:34:09.293] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [05:34:09.293] make[2]: *** [common.mk:37: access-recursive] Error 2 [05:34:09.293] make[2]: *** Waiting for unfinished jobs.... [05:34:10.684] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [05:34:10.684] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [05:34:10.684] [05:34:10.684] real 0m32.057s [05:34:10.684] user 1m29.123s [05:34:10.684] sys 0m27.430s [05:34:10.685] [05:34:10.685] Exit status: 2