[07:27:59.525] time ./configure \ [07:27:59.525] --host=x86_64-w64-mingw32 \ [07:27:59.525] --enable-cassert \ [07:27:59.525] --without-icu \ [07:27:59.525] CC="ccache x86_64-w64-mingw32-gcc" \ [07:27:59.525] CXX="ccache x86_64-w64-mingw32-g++" [07:27:59.648] checking build system type... x86_64-pc-linux-gnu [07:27:59.848] checking host system type... x86_64-w64-mingw32 [07:27:59.854] checking which template to use... win32 [07:27:59.854] checking whether NLS is wanted... no [07:27:59.854] checking for default port number... 5432 [07:27:59.862] checking for block size... 8kB [07:27:59.863] checking for segment size... 1GB [07:27:59.865] checking for WAL block size... 8kB [07:27:59.866] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:27:59.904] checking whether the C compiler works... yes [07:28:00.057] checking for C compiler default output file name... a.exe [07:28:00.059] checking for suffix of executables... .exe [07:28:00.103] checking whether we are cross compiling... yes [07:28:00.181] checking for suffix of object files... o [07:28:00.201] checking whether we are using the GNU C compiler... yes [07:28:00.209] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:28:00.216] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:28:00.247] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:28:00.415] checking whether we are using the GNU C++ compiler... yes [07:28:00.566] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:28:00.651] checking for gawk... no [07:28:00.651] checking for mawk... mawk [07:28:00.654] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:28:00.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:28:00.671] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:28:00.722] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:28:00.770] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:28:00.779] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:28:00.852] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:28:00.871] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:28:00.879] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:28:00.887] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:28:00.895] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:28:00.934] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:28:00.942] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:28:00.950] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:28:00.990] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:28:01.029] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:28:01.037] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:28:01.078] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:28:01.086] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:28:01.105] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:28:01.113] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:28:01.134] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:28:01.143] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:28:01.171] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:28:01.179] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:28:01.187] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:28:01.229] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:28:01.271] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:28:01.289] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:28:01.297] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:28:01.334] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:28:01.344] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:28:01.352] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:28:01.362] checking whether the C compiler still works... yes [07:28:01.450] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:28:01.534] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:28:01.535] checking pkg-config is at least version 0.9.0... yes [07:28:01.554] checking whether to build with ICU support... no [07:28:01.554] checking whether to build with Tcl... no [07:28:01.554] checking whether to build Perl modules... no [07:28:01.554] checking whether to build Python modules... no [07:28:01.554] checking whether to build with GSSAPI support... no [07:28:01.556] checking whether to build with PAM support... no [07:28:01.556] checking whether to build with BSD Authentication support... no [07:28:01.556] checking whether to build with LDAP support... no [07:28:01.556] checking whether to build with Bonjour support... no [07:28:01.556] checking whether to build with SELinux support... no [07:28:01.556] checking whether to build with systemd support... no [07:28:01.556] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:28:01.557] checking whether to build with XML support... no [07:28:01.557] checking whether to build with LZ4 support... no [07:28:01.557] checking whether to build with ZSTD support... no [07:28:01.558] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:28:01.558] checking whether it is possible to strip libraries... yes [07:28:01.566] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:28:01.566] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:28:01.567] checking for a BSD-compatible install... /usr/bin/install -c [07:28:01.577] checking for tar... /usr/bin/tar [07:28:01.577] checking whether ln -s works... yes [07:28:01.577] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:28:01.580] checking for bison... /usr/bin/bison [07:28:01.583] configure: using bison (GNU Bison) 3.8.2 [07:28:01.586] checking for flex... /usr/bin/flex [07:28:01.601] configure: using flex 2.6.4 [07:28:01.601] checking for perl... /usr/bin/perl [07:28:01.604] configure: using perl 5.36.0 [07:28:01.607] checking for zic... /usr/sbin/zic [07:28:01.607] checking for a sed that does not truncate output... /usr/bin/sed [07:28:01.613] checking for grep that handles long lines and -e... /usr/bin/grep [07:28:01.616] checking for egrep... /usr/bin/grep -E [07:28:01.618] checking for ANSI C header files... yes [07:28:01.671] checking for sys/types.h... yes [07:28:01.733] checking for sys/stat.h... yes [07:28:01.751] checking for stdlib.h... yes [07:28:01.791] checking for string.h... yes [07:28:01.830] checking for memory.h... yes [07:28:01.892] checking for strings.h... yes [07:28:01.908] checking for inttypes.h... yes [07:28:01.979] checking for stdint.h... yes [07:28:01.994] checking for unistd.h... yes [07:28:02.009] checking for main in -lm... yes [07:28:02.060] checking for library containing setproctitle... no [07:28:02.158] checking for library containing dlsym... no [07:28:02.257] checking for library containing socket... -lws2_32 [07:28:02.403] checking for library containing getopt_long... none required [07:28:02.454] checking for library containing shm_open... no [07:28:02.550] checking for library containing shm_unlink... no [07:28:02.647] checking for library containing clock_gettime... no [07:28:02.742] checking for library containing shmget... no [07:28:02.840] checking for library containing backtrace_symbols... no [07:28:02.940] checking for library containing pthread_barrier_wait... -lpthread [07:28:03.039] checking for inflate in -lz... yes [07:28:03.090] checking for stdbool.h that conforms to C99... yes [07:28:03.142] checking for _Bool... yes [07:28:03.219] checking atomic.h usability... no [07:28:03.278] checking atomic.h presence... no [07:28:03.300] checking for atomic.h... no [07:28:03.304] checking copyfile.h usability... no [07:28:03.365] checking copyfile.h presence... no [07:28:03.387] checking for copyfile.h... no [07:28:03.391] checking execinfo.h usability... no [07:28:03.451] checking execinfo.h presence... no [07:28:03.471] checking for execinfo.h... no [07:28:03.475] checking getopt.h usability... yes [07:28:03.484] checking getopt.h presence... yes [07:28:03.502] checking for getopt.h... yes [07:28:03.510] checking ifaddrs.h usability... no [07:28:03.571] checking ifaddrs.h presence... no [07:28:03.594] checking for ifaddrs.h... no [07:28:03.598] checking mbarrier.h usability... no [07:28:03.657] checking mbarrier.h presence... no [07:28:03.679] checking for mbarrier.h... no [07:28:03.683] checking sys/epoll.h usability... no [07:28:03.743] checking sys/epoll.h presence... no [07:28:03.763] checking for sys/epoll.h... no [07:28:03.767] checking sys/event.h usability... no [07:28:03.828] checking sys/event.h presence... no [07:28:03.850] checking for sys/event.h... no [07:28:03.854] checking sys/personality.h usability... no [07:28:03.918] checking sys/personality.h presence... no [07:28:03.940] checking for sys/personality.h... no [07:28:03.944] checking sys/prctl.h usability... no [07:28:04.005] checking sys/prctl.h presence... no [07:28:04.028] checking for sys/prctl.h... no [07:28:04.033] checking sys/procctl.h usability... no [07:28:04.093] checking sys/procctl.h presence... no [07:28:04.116] checking for sys/procctl.h... no [07:28:04.120] checking sys/signalfd.h usability... no [07:28:04.178] checking sys/signalfd.h presence... no [07:28:04.200] checking for sys/signalfd.h... no [07:28:04.204] checking sys/ucred.h usability... no [07:28:04.262] checking sys/ucred.h presence... no [07:28:04.284] checking for sys/ucred.h... no [07:28:04.288] checking termios.h usability... no [07:28:04.347] checking termios.h presence... no [07:28:04.369] checking for termios.h... no [07:28:04.373] checking ucred.h usability... no [07:28:04.431] checking ucred.h presence... no [07:28:04.451] checking for ucred.h... no [07:28:04.455] checking xlocale.h usability... no [07:28:04.517] checking xlocale.h presence... no [07:28:04.539] checking for xlocale.h... no [07:28:04.542] checking zlib.h usability... yes [07:28:04.579] checking zlib.h presence... yes [07:28:04.600] checking for zlib.h... yes [07:28:04.600] checking for lz4... /usr/bin/lz4 [07:28:04.600] checking for zstd... /usr/bin/zstd [07:28:04.601] checking for openssl... /usr/bin/openssl [07:28:04.606] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [07:28:04.606] checking crtdefs.h usability... yes [07:28:04.615] checking crtdefs.h presence... yes [07:28:04.631] checking for crtdefs.h... yes [07:28:04.633] checking whether byte ordering is bigendian... no [07:28:04.730] checking for inline... inline [07:28:04.738] checking for printf format archetype... gnu_printf [07:28:04.747] checking for _Static_assert... yes [07:28:04.794] checking for typeof... typeof [07:28:04.833] checking for __builtin_types_compatible_p... yes [07:28:04.845] checking for __builtin_constant_p... yes [07:28:04.869] checking for __builtin_unreachable... yes [07:28:04.914] checking for computed goto support... yes [07:28:04.951] checking for struct tm.tm_zone... no [07:28:05.042] checking for union semun... no [07:28:05.082] checking for socklen_t... yes [07:28:06.339] checking for struct sockaddr.sa_len... no [07:28:08.613] checking for C/C++ restrict keyword... __restrict [07:28:08.629] checking for struct option... yes [07:28:08.691] checking whether assembler supports x86_64 popcntq... yes [07:28:08.700] checking size of off_t... 4 [07:28:09.007] 0 [07:28:09.007] checking size of bool... 1 [07:28:09.060] checking for int timezone... yes [07:28:09.119] checking for backtrace_symbols... no [07:28:09.175] checking for copyfile... no [07:28:09.232] checking for copy_file_range... no [07:28:09.287] checking for getifaddrs... no [07:28:09.343] checking for getpeerucred... no [07:28:09.400] checking for inet_pton... yes [07:28:09.455] checking for kqueue... no [07:28:09.513] checking for mbstowcs_l... no [07:28:09.570] checking for memset_s... no [07:28:09.626] checking for posix_fallocate... no [07:28:09.682] checking for ppoll... no [07:28:09.735] checking for pthread_is_threaded_np... no [07:28:09.789] checking for setproctitle... no [07:28:09.846] checking for setproctitle_fast... no [07:28:09.904] checking for strchrnul... no [07:28:09.960] checking for strsignal... no [07:28:10.018] checking for syncfs... no [07:28:10.075] checking for sync_file_range... no [07:28:10.133] checking for uselocale... no [07:28:10.192] checking for wcstombs_l... no [07:28:10.246] checking for __builtin_bswap16... yes [07:28:10.302] checking for __builtin_bswap32... yes [07:28:10.358] checking for __builtin_bswap64... yes [07:28:10.412] checking for __builtin_clz... yes [07:28:10.465] checking for __builtin_ctz... yes [07:28:10.517] checking for __builtin_popcount... yes [07:28:10.570] checking for __builtin_frame_address... yes [07:28:10.621] checking for _LARGEFILE_SOURCE value needed for large files... no [07:28:10.674] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:28:10.710] checking for posix_fadvise... no [07:28:10.769] checking whether posix_fadvise is declared... no [07:28:10.821] checking whether fdatasync is declared... no [07:28:10.877] checking whether strlcat is declared... no [07:28:10.949] checking whether strlcpy is declared... no [07:28:11.022] checking whether strnlen is declared... yes [07:28:11.096] checking whether strsep is declared... no [07:28:11.169] checking whether preadv is declared... no [07:28:11.213] checking whether pwritev is declared... no [07:28:11.258] checking whether F_FULLFSYNC is declared... no [07:28:11.308] checking for explicit_bzero... no [07:28:11.363] checking for getopt... yes [07:28:11.412] checking for getpeereid... no [07:28:11.465] checking for inet_aton... no [07:28:11.518] checking for mkdtemp... no [07:28:11.573] checking for strlcat... no [07:28:11.625] checking for strlcpy... no [07:28:11.678] checking for strnlen... yes [07:28:11.731] checking for strsep... no [07:28:11.785] checking for pthread_barrier_wait... yes [07:28:11.833] configure: On mingw32 we will use our strtof wrapper. [07:28:11.833] checking for getopt_long... yes [07:28:11.882] checking for _configthreadlocale... yes [07:28:11.932] checking for syslog... no [07:28:11.985] checking for opterr... yes [07:28:12.038] checking for optreset... no [07:28:12.092] checking test program... cross-compiling [07:28:12.092] checking whether long int is 64 bits... no [07:28:12.128] checking whether long long int is 64 bits... yes [07:28:12.150] checking for __builtin_mul_overflow... yes [07:28:12.204] checking size of void *... 8 [07:28:12.635] checking size of size_t... 8 [07:28:13.048] checking size of long... 4 [07:28:13.349] checking alignment of short... 2 [07:28:13.495] checking alignment of int... 4 [07:28:13.850] checking alignment of long... 4 [07:28:14.148] checking alignment of long long int... 8 [07:28:14.590] checking alignment of double... 8 [07:28:15.046] checking for __int128... yes [07:28:15.096] checking for __int128 alignment bug... assuming ok [07:28:15.096] checking alignment of PG_INT128_TYPE... 16 [07:28:15.556] checking for builtin __sync char locking functions... yes [07:28:15.602] checking for builtin __sync int32 locking functions... yes [07:28:15.647] checking for builtin __sync int32 atomic operations... yes [07:28:15.693] checking for builtin __sync int64 atomic operations... yes [07:28:15.740] checking for builtin __atomic int32 atomic operations... yes [07:28:15.786] checking for builtin __atomic int64 atomic operations... yes [07:28:15.833] checking for __get_cpuid... yes [07:28:15.882] checking for __get_cpuid_count... yes [07:28:15.933] checking for __cpuid... no [07:28:16.345] checking for __cpuidex... no [07:28:16.787] checking for _xgetbv... yes [07:28:17.203] checking for _mm512_popcnt_epi64... yes [07:28:17.639] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [07:28:17.689] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [07:28:17.784] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:28:17.808] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:28:17.830] 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:28:17.890] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:28:17.890] checking which random number source to use... Windows native [07:28:17.892] checking for xmllint... /usr/bin/xmllint [07:28:17.892] checking for xsltproc... /usr/bin/xsltproc [07:28:17.892] checking for fop... /usr/bin/fop [07:28:17.893] checking for dbtoepub... no [07:28:17.893] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:28:17.893] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:28:17.893] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:28:17.905] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:28:17.905] 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:28:17.905] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:28:17.905] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:28:18.000] configure: creating ./config.status [07:28:18.096] config.status: creating GNUmakefile [07:28:18.109] config.status: creating src/Makefile.global [07:28:18.127] config.status: creating src/include/pg_config.h [07:28:18.141] config.status: creating src/include/pg_config_ext.h [07:28:18.156] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:28:18.173] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:28:18.182] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:28:18.190] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:28:18.198] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:28:18.206] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:28:18.211] config.status: executing check_win32_symlinks commands [07:28:18.248] [07:28:18.248] real 0m18.723s [07:28:18.248] user 0m12.060s [07:28:18.248] sys 0m6.271s [07:28:18.248] make -s -j${BUILD_JOBS} clean [07:28:18.800] time make -s -j${BUILD_JOBS} world-bin [07:30:07.121] In file included from ../../../../src/include/postgres.h:47, [07:30:07.121] from xlogrecovery.c:25: [07:30:07.121] In function ‘MemoryContextSwitchTo’, [07:30:07.121] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1849:3: [07:30:07.121] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [07:30:07.121] 128 | CurrentMemoryContext = context; [07:30:07.121] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [07:30:07.121] xlogrecovery.c: In function ‘PerformWalRecovery’: [07:30:07.121] xlogrecovery.c:1731:31: note: ‘oldCtx’ was declared here [07:30:07.121] 1731 | MemoryContext oldCtx; [07:30:07.121] | ^~~~~~ [07:30:07.121] cc1: all warnings being treated as errors [07:30:07.123] make[4]: *** [: xlogrecovery.o] Error 1 [07:30:07.123] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [07:30:07.123] make[2]: *** [common.mk:37: access-recursive] Error 2 [07:30:07.123] make[2]: *** Waiting for unfinished jobs.... [07:30:15.676] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:30:15.676] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:30:15.677] [07:30:15.677] real 1m56.877s [07:30:15.677] user 6m17.481s [07:30:15.677] sys 1m12.336s [07:30:15.677] [07:30:15.677] Exit status: 2