[05:09:50.889] time ./configure \ [05:09:50.889] --host=x86_64-w64-mingw32 \ [05:09:50.889] --enable-cassert \ [05:09:50.889] --without-icu \ [05:09:50.889] CC="ccache x86_64-w64-mingw32-gcc" \ [05:09:50.889] CXX="ccache x86_64-w64-mingw32-g++" [05:09:51.006] checking build system type... x86_64-pc-linux-gnu [05:09:51.198] checking host system type... x86_64-w64-mingw32 [05:09:51.204] checking which template to use... win32 [05:09:51.204] checking whether NLS is wanted... no [05:09:51.204] checking for default port number... 5432 [05:09:51.210] checking for block size... 8kB [05:09:51.212] checking for segment size... 1GB [05:09:51.214] checking for WAL block size... 8kB [05:09:51.215] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:09:51.248] checking whether the C compiler works... yes [05:09:51.382] checking for C compiler default output file name... a.exe [05:09:51.383] checking for suffix of executables... .exe [05:09:51.425] checking whether we are cross compiling... yes [05:09:51.504] checking for suffix of object files... o [05:09:51.512] checking whether we are using the GNU C compiler... yes [05:09:51.530] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:09:51.537] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:09:51.547] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:09:51.712] checking whether we are using the GNU C++ compiler... yes [05:09:51.877] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:09:51.944] checking for gawk... no [05:09:51.944] checking for mawk... mawk [05:09:51.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:09:51.962] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:09:51.994] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:09:52.043] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:09:52.089] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:09:52.097] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:09:52.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:09:52.174] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:09:52.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:09:52.188] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:09:52.221] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:09:52.252] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:09:52.259] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:09:52.266] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:09:52.282] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:09:52.313] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:09:52.345] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:09:52.383] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:09:52.390] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:09:52.407] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:09:52.440] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:09:52.457] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:09:52.464] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:09:52.488] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:09:52.494] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:09:52.511] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:09:52.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:09:52.587] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:09:52.621] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:09:52.628] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:09:52.662] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:09:52.694] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:09:52.711] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:09:52.728] checking whether the C compiler still works... yes [05:09:52.804] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:09:52.873] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:09:52.873] checking pkg-config is at least version 0.9.0... yes [05:09:52.890] checking whether to build with ICU support... no [05:09:52.890] checking whether to build with Tcl... no [05:09:52.890] checking whether to build Perl modules... no [05:09:52.890] checking whether to build Python modules... no [05:09:52.890] checking whether to build with GSSAPI support... no [05:09:52.892] checking whether to build with PAM support... no [05:09:52.892] checking whether to build with BSD Authentication support... no [05:09:52.892] checking whether to build with LDAP support... no [05:09:52.892] checking whether to build with Bonjour support... no [05:09:52.892] checking whether to build with SELinux support... no [05:09:52.892] checking whether to build with systemd support... no [05:09:52.892] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:09:52.892] checking whether to build with XML support... no [05:09:52.892] checking whether to build with LZ4 support... no [05:09:52.893] checking whether to build with ZSTD support... no [05:09:52.893] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:09:52.893] checking whether it is possible to strip libraries... yes [05:09:52.901] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:09:52.901] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:09:52.901] checking for a BSD-compatible install... /usr/bin/install -c [05:09:52.910] checking for tar... /usr/bin/tar [05:09:52.910] checking whether ln -s works... yes [05:09:52.910] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:09:52.912] checking for bison... /usr/bin/bison [05:09:52.915] configure: using bison (GNU Bison) 3.8.2 [05:09:52.918] checking for flex... /usr/bin/flex [05:09:52.929] configure: using flex 2.6.4 [05:09:52.929] checking for perl... /usr/bin/perl [05:09:52.932] configure: using perl 5.36.0 [05:09:52.934] checking for zic... /usr/sbin/zic [05:09:52.934] checking for a sed that does not truncate output... /usr/bin/sed [05:09:52.939] checking for grep that handles long lines and -e... /usr/bin/grep [05:09:52.941] checking for egrep... /usr/bin/grep -E [05:09:52.943] checking for ANSI C header files... yes [05:09:53.004] checking for sys/types.h... yes [05:09:53.040] checking for sys/stat.h... yes [05:09:53.056] checking for stdlib.h... yes [05:09:53.071] checking for string.h... yes [05:09:53.105] checking for memory.h... yes [05:09:53.166] checking for strings.h... yes [05:09:53.227] checking for inttypes.h... yes [05:09:53.245] checking for stdint.h... yes [05:09:53.281] checking for unistd.h... yes [05:09:53.346] checking for main in -lm... yes [05:09:53.395] checking for library containing setproctitle... no [05:09:53.486] checking for library containing dlsym... no [05:09:53.576] checking for library containing socket... -lws2_32 [05:09:53.709] checking for library containing getopt_long... none required [05:09:53.763] checking for library containing shm_open... no [05:09:53.853] checking for library containing shm_unlink... no [05:09:53.942] checking for library containing clock_gettime... no [05:09:54.030] checking for library containing shmget... no [05:09:54.120] checking for library containing backtrace_symbols... no [05:09:54.221] checking for library containing pthread_barrier_wait... -lpthread [05:09:54.319] checking for inflate in -lz... yes [05:09:54.369] checking for stdbool.h that conforms to C99... yes [05:09:54.425] checking for _Bool... yes [05:09:54.558] checking atomic.h usability... no [05:09:54.614] checking atomic.h presence... no [05:09:54.633] checking for atomic.h... no [05:09:54.637] checking copyfile.h usability... no [05:09:54.693] checking copyfile.h presence... no [05:09:54.713] checking for copyfile.h... no [05:09:54.717] checking execinfo.h usability... no [05:09:54.775] checking execinfo.h presence... no [05:09:54.796] checking for execinfo.h... no [05:09:54.799] checking getopt.h usability... yes [05:09:54.854] checking getopt.h presence... yes [05:09:54.869] checking for getopt.h... yes [05:09:54.876] checking ifaddrs.h usability... no [05:09:54.931] checking ifaddrs.h presence... no [05:09:54.951] checking for ifaddrs.h... no [05:09:54.954] checking mbarrier.h usability... no [05:09:55.010] checking mbarrier.h presence... no [05:09:55.030] checking for mbarrier.h... no [05:09:55.033] checking sys/epoll.h usability... no [05:09:55.090] checking sys/epoll.h presence... no [05:09:55.110] checking for sys/epoll.h... no [05:09:55.113] checking sys/event.h usability... no [05:09:55.172] checking sys/event.h presence... no [05:09:55.192] checking for sys/event.h... no [05:09:55.196] checking sys/personality.h usability... no [05:09:55.254] checking sys/personality.h presence... no [05:09:55.275] checking for sys/personality.h... no [05:09:55.278] checking sys/prctl.h usability... no [05:09:55.336] checking sys/prctl.h presence... no [05:09:55.357] checking for sys/prctl.h... no [05:09:55.360] checking sys/procctl.h usability... no [05:09:55.416] checking sys/procctl.h presence... no [05:09:55.436] checking for sys/procctl.h... no [05:09:55.440] checking sys/signalfd.h usability... no [05:09:55.497] checking sys/signalfd.h presence... no [05:09:55.516] checking for sys/signalfd.h... no [05:09:55.520] checking sys/ucred.h usability... no [05:09:55.576] checking sys/ucred.h presence... no [05:09:55.595] checking for sys/ucred.h... no [05:09:55.598] checking termios.h usability... no [05:09:55.655] checking termios.h presence... no [05:09:55.674] checking for termios.h... no [05:09:55.678] checking ucred.h usability... no [05:09:55.734] checking ucred.h presence... no [05:09:55.753] checking for ucred.h... no [05:09:55.756] checking zlib.h usability... yes [05:09:55.765] checking zlib.h presence... yes [05:09:55.785] checking for zlib.h... yes [05:09:55.785] checking for lz4... /usr/bin/lz4 [05:09:55.786] checking for zstd... /usr/bin/zstd [05:09:55.786] checking for openssl... /usr/bin/openssl [05:09:55.790] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [05:09:55.791] checking crtdefs.h usability... yes [05:09:55.846] checking crtdefs.h presence... yes [05:09:55.860] checking for crtdefs.h... yes [05:09:55.861] checking whether byte ordering is bigendian... no [05:09:55.948] checking for inline... inline [05:09:55.974] checking for printf format archetype... gnu_printf [05:09:56.009] checking for _Static_assert... yes [05:09:56.050] checking for typeof... typeof [05:09:56.084] checking for __builtin_types_compatible_p... yes [05:09:56.125] checking for __builtin_constant_p... yes [05:09:56.158] checking for __builtin_unreachable... yes [05:09:56.200] checking for computed goto support... yes [05:09:56.233] checking for struct tm.tm_zone... no [05:09:56.311] checking for union semun... no [05:09:56.345] checking for socklen_t... yes [05:09:57.512] checking for struct sockaddr.sa_len... no [05:09:59.547] checking for locale_t... no [05:09:59.618] checking for C/C++ restrict keyword... __restrict [05:09:59.633] checking for struct option... yes [05:09:59.708] checking whether assembler supports x86_64 popcntq... yes [05:09:59.716] checking size of off_t... 4 [05:10:00.045] 0 [05:10:00.046] checking size of bool... 1 [05:10:00.126] checking for int timezone... yes [05:10:00.172] checking for wcstombs_l declaration... no [05:10:00.258] checking for backtrace_symbols... no [05:10:00.307] checking for copyfile... no [05:10:00.358] checking for copy_file_range... no [05:10:00.410] checking for getifaddrs... no [05:10:00.460] checking for getpeerucred... no [05:10:00.511] checking for inet_pton... yes [05:10:00.563] checking for kqueue... no [05:10:00.615] checking for mbstowcs_l... no [05:10:00.668] checking for memset_s... no [05:10:00.722] checking for posix_fallocate... no [05:10:00.776] checking for ppoll... no [05:10:00.832] checking for pthread_is_threaded_np... no [05:10:00.894] checking for setproctitle... no [05:10:00.950] checking for setproctitle_fast... no [05:10:01.005] checking for strchrnul... no [05:10:01.063] checking for strsignal... no [05:10:01.120] checking for syncfs... no [05:10:01.176] checking for sync_file_range... no [05:10:01.230] checking for uselocale... no [05:10:01.284] checking for wcstombs_l... no [05:10:01.336] checking for __builtin_bswap16... yes [05:10:01.389] checking for __builtin_bswap32... yes [05:10:01.442] checking for __builtin_bswap64... yes [05:10:01.494] checking for __builtin_clz... yes [05:10:01.545] checking for __builtin_ctz... yes [05:10:01.595] checking for __builtin_popcount... yes [05:10:01.646] checking for __builtin_frame_address... yes [05:10:01.697] checking for _LARGEFILE_SOURCE value needed for large files... no [05:10:01.753] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:10:01.787] checking for posix_fadvise... no [05:10:01.843] checking whether posix_fadvise is declared... no [05:10:01.892] checking whether fdatasync is declared... no [05:10:01.942] checking whether strlcat is declared... no [05:10:02.011] checking whether strlcpy is declared... no [05:10:02.076] checking whether strnlen is declared... yes [05:10:02.145] checking whether strsep is declared... no [05:10:02.213] checking whether preadv is declared... no [05:10:02.252] checking whether pwritev is declared... no [05:10:02.292] checking whether F_FULLFSYNC is declared... no [05:10:02.336] checking for explicit_bzero... no [05:10:02.385] checking for getopt... yes [05:10:02.432] checking for getpeereid... no [05:10:02.481] checking for inet_aton... no [05:10:02.531] checking for mkdtemp... no [05:10:02.581] checking for strlcat... no [05:10:02.630] checking for strlcpy... no [05:10:02.681] checking for strnlen... yes [05:10:02.730] checking for strsep... no [05:10:02.779] checking for pthread_barrier_wait... yes [05:10:02.824] configure: On mingw32 we will use our strtof wrapper. [05:10:02.824] checking for getopt_long... yes [05:10:02.870] checking for _configthreadlocale... yes [05:10:02.915] checking for syslog... no [05:10:02.964] checking for opterr... yes [05:10:03.013] checking for optreset... no [05:10:03.066] checking test program... cross-compiling [05:10:03.066] checking whether long int is 64 bits... no [05:10:03.101] checking whether long long int is 64 bits... yes [05:10:03.111] checking for __builtin_mul_overflow... yes [05:10:03.156] checking size of void *... 8 [05:10:03.527] checking size of size_t... 8 [05:10:03.941] checking size of long... 4 [05:10:04.218] checking alignment of short... 2 [05:10:04.466] checking alignment of int... 4 [05:10:04.780] checking alignment of long... 4 [05:10:05.138] checking alignment of long long int... 8 [05:10:05.510] checking alignment of double... 8 [05:10:05.942] checking for int8... no [05:10:05.986] checking for uint8... no [05:10:06.029] checking for int64... no [05:10:06.073] checking for uint64... no [05:10:06.117] checking for __int128... yes [05:10:06.165] checking for __int128 alignment bug... assuming ok [05:10:06.165] checking alignment of PG_INT128_TYPE... 16 [05:10:06.665] checking for builtin __sync char locking functions... yes [05:10:06.708] checking for builtin __sync int32 locking functions... yes [05:10:06.752] checking for builtin __sync int32 atomic operations... yes [05:10:06.796] checking for builtin __sync int64 atomic operations... yes [05:10:06.840] checking for builtin __atomic int32 atomic operations... yes [05:10:06.883] checking for builtin __atomic int64 atomic operations... yes [05:10:06.926] checking for __get_cpuid... yes [05:10:06.973] checking for __get_cpuid_count... yes [05:10:07.018] checking for __cpuid... no [05:10:07.427] checking for __cpuidex... no [05:10:07.856] checking for _xgetbv with CFLAGS=... no [05:10:08.233] checking for _xgetbv with CFLAGS=-mxsave... yes [05:10:08.636] checking for _mm512_popcnt_epi64 with CFLAGS=... no [05:10:09.030] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [05:10:09.374] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [05:10:09.422] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [05:10:09.513] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:10:09.537] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:10:09.556] 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:10:09.611] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:10:09.611] checking which random number source to use... Windows native [05:10:09.613] checking for xmllint... /usr/bin/xmllint [05:10:09.613] checking for xsltproc... /usr/bin/xsltproc [05:10:09.614] checking for fop... /usr/bin/fop [05:10:09.614] checking for dbtoepub... no [05:10:09.614] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:10:09.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:10:09.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:10:09.625] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:10:09.625] 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:10:09.625] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:10:09.625] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:10:09.704] configure: creating ./config.status [05:10:09.788] config.status: creating GNUmakefile [05:10:09.799] config.status: creating src/Makefile.global [05:10:09.814] config.status: creating src/include/pg_config.h [05:10:09.826] config.status: creating src/include/pg_config_ext.h [05:10:09.837] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:10:09.851] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:10:09.858] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:10:09.864] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:10:09.871] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:10:09.878] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:10:09.881] config.status: executing check_win32_symlinks commands [05:10:09.914] [05:10:09.914] real 0m19.025s [05:10:09.914] user 0m12.579s [05:10:09.914] sys 0m6.025s [05:10:09.914] make -s -j${BUILD_JOBS} clean [05:10:10.426] time make -s -j${BUILD_JOBS} world-bin [05:12:17.679] In file included from ../../../../src/include/postgres.h:47, [05:12:17.679] from xlogrecovery.c:25: [05:12:17.679] In function ‘MemoryContextSwitchTo’, [05:12:17.679] inlined from ‘PerformWalRecovery’ at xlogrecovery.c:1860:3: [05:12:17.679] ../../../../src/include/utils/palloc.h:128:30: error: ‘oldCtx’ may be used uninitialized [-Werror=maybe-uninitialized] [05:12:17.679] 128 | CurrentMemoryContext = context; [05:12:17.679] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [05:12:17.679] xlogrecovery.c: In function ‘PerformWalRecovery’: [05:12:17.679] xlogrecovery.c:1732:31: note: ‘oldCtx’ was declared here [05:12:17.679] 1732 | MemoryContext oldCtx; [05:12:17.679] | ^~~~~~ [05:12:17.679] cc1: all warnings being treated as errors [05:12:17.679] make[4]: *** [: xlogrecovery.o] Error 1 [05:12:17.680] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [05:12:17.680] make[2]: *** [common.mk:37: access-recursive] Error 2 [05:12:17.680] make[2]: *** Waiting for unfinished jobs.... [05:12:59.520] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [05:12:59.520] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [05:12:59.521] [05:12:59.521] real 2m49.095s [05:12:59.521] user 9m14.990s [05:12:59.521] sys 1m44.908s [05:12:59.521] [05:12:59.521] Exit status: 2