[08:43:09.075] time ./configure \ [08:43:09.075] --host=x86_64-w64-mingw32 \ [08:43:09.075] --enable-cassert \ [08:43:09.075] --without-icu \ [08:43:09.075] CC="ccache x86_64-w64-mingw32-gcc" \ [08:43:09.075] CXX="ccache x86_64-w64-mingw32-g++" [08:43:09.211] checking build system type... x86_64-pc-linux-gnu [08:43:09.413] checking host system type... x86_64-w64-mingw32 [08:43:09.419] checking which template to use... win32 [08:43:09.420] checking whether NLS is wanted... no [08:43:09.420] checking for default port number... 5432 [08:43:09.427] checking for block size... 8kB [08:43:09.428] checking for segment size... 1GB [08:43:09.431] checking for WAL block size... 8kB [08:43:09.432] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [08:43:09.469] checking whether the C compiler works... yes [08:43:09.611] checking for C compiler default output file name... a.exe [08:43:09.612] checking for suffix of executables... .exe [08:43:09.659] checking whether we are cross compiling... yes [08:43:09.740] checking for suffix of object files... o [08:43:09.749] checking whether we are using the GNU C compiler... yes [08:43:09.757] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [08:43:09.764] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [08:43:09.775] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [08:43:09.941] checking whether we are using the GNU C++ compiler... yes [08:43:09.949] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [08:43:10.020] checking for gawk... no [08:43:10.020] checking for mawk... mawk [08:43:10.024] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [08:43:10.031] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [08:43:10.049] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [08:43:10.098] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [08:43:10.287] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [08:43:10.295] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [08:43:10.326] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [08:43:10.344] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [08:43:10.415] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [08:43:10.433] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [08:43:10.468] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [08:43:10.475] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [08:43:10.510] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [08:43:10.517] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [08:43:10.524] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [08:43:10.533] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [08:43:10.551] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [08:43:10.593] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [08:43:10.601] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [08:43:10.618] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [08:43:10.626] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [08:43:10.633] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [08:43:10.640] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [08:43:10.665] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [08:43:10.672] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [08:43:10.680] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [08:43:10.720] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [08:43:10.765] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [08:43:10.772] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [08:43:10.779] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [08:43:10.818] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [08:43:10.826] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [08:43:10.844] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [08:43:10.853] checking whether the C compiler still works... yes [08:43:10.915] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [08:43:10.989] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [08:43:10.989] checking pkg-config is at least version 0.9.0... yes [08:43:11.006] checking whether to build with ICU support... no [08:43:11.006] checking whether to build with Tcl... no [08:43:11.006] checking whether to build Perl modules... no [08:43:11.007] checking whether to build Python modules... no [08:43:11.007] checking whether to build with GSSAPI support... no [08:43:11.008] checking whether to build with PAM support... no [08:43:11.008] checking whether to build with BSD Authentication support... no [08:43:11.008] checking whether to build with LDAP support... no [08:43:11.008] checking whether to build with Bonjour support... no [08:43:11.008] checking whether to build with SELinux support... no [08:43:11.008] checking whether to build with systemd support... no [08:43:11.009] configure: WARNING: *** Readline does not work on MinGW --- disabling [08:43:11.009] checking whether to build with liburing support... no [08:43:11.009] checking whether to build with libcurl support... no [08:43:11.009] checking whether to build with libnuma support... no [08:43:11.010] checking whether to build with XML support... no [08:43:11.010] checking whether to build with LZ4 support... no [08:43:11.010] checking whether to build with ZSTD support... no [08:43:11.011] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [08:43:11.011] checking whether it is possible to strip libraries... yes [08:43:11.019] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [08:43:11.020] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [08:43:11.020] checking for a BSD-compatible install... /usr/bin/install -c [08:43:11.030] checking for tar... /usr/bin/tar [08:43:11.030] checking whether ln -s works... yes [08:43:11.031] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [08:43:11.033] checking for bison... /usr/bin/bison [08:43:11.036] configure: using bison (GNU Bison) 3.8.2 [08:43:11.039] checking for flex... /usr/bin/flex [08:43:11.041] configure: using flex 2.6.4 [08:43:11.041] checking for perl... /usr/bin/perl [08:43:11.044] configure: using perl 5.36.0 [08:43:11.047] checking for zic... /usr/sbin/zic [08:43:11.047] checking for a sed that does not truncate output... /usr/bin/sed [08:43:11.053] checking for grep that handles long lines and -e... /usr/bin/grep [08:43:11.055] checking for egrep... /usr/bin/grep -E [08:43:11.057] checking for ANSI C header files... yes [08:43:11.108] checking for sys/types.h... yes [08:43:11.126] checking for sys/stat.h... yes [08:43:11.164] checking for stdlib.h... yes [08:43:11.200] checking for string.h... yes [08:43:11.216] checking for memory.h... yes [08:43:11.231] checking for strings.h... yes [08:43:11.293] checking for inttypes.h... yes [08:43:11.310] checking for stdint.h... yes [08:43:11.347] checking for unistd.h... yes [08:43:11.363] checking for main in -lm... yes [08:43:11.415] checking for library containing setproctitle... no [08:43:11.511] checking for library containing dlsym... no [08:43:11.608] checking for library containing socket... -lws2_32 [08:43:11.753] checking for library containing getopt_long... none required [08:43:11.806] checking for library containing shm_open... no [08:43:11.905] checking for library containing shm_unlink... no [08:43:12.004] checking for library containing clock_gettime... no [08:43:12.103] checking for library containing shmget... no [08:43:12.200] checking for library containing backtrace_symbols... no [08:43:12.297] checking for library containing pthread_barrier_wait... -lpthread [08:43:12.401] checking for inflate in -lz... yes [08:43:12.454] checking atomic.h usability... no [08:43:12.515] checking atomic.h presence... no [08:43:12.535] checking for atomic.h... no [08:43:12.539] checking copyfile.h usability... no [08:43:12.597] checking copyfile.h presence... no [08:43:12.617] checking for copyfile.h... no [08:43:12.621] checking execinfo.h usability... no [08:43:12.680] checking execinfo.h presence... no [08:43:12.700] checking for execinfo.h... no [08:43:12.704] checking getopt.h usability... yes [08:43:12.712] checking getopt.h presence... yes [08:43:12.728] checking for getopt.h... yes [08:43:12.735] checking ifaddrs.h usability... no [08:43:12.794] checking ifaddrs.h presence... no [08:43:12.814] checking for ifaddrs.h... no [08:43:12.817] checking mbarrier.h usability... no [08:43:12.875] checking mbarrier.h presence... no [08:43:12.896] checking for mbarrier.h... no [08:43:12.899] checking sys/epoll.h usability... no [08:43:12.957] checking sys/epoll.h presence... no [08:43:12.977] checking for sys/epoll.h... no [08:43:12.980] checking sys/event.h usability... no [08:43:13.041] checking sys/event.h presence... no [08:43:13.061] checking for sys/event.h... no [08:43:13.065] checking sys/personality.h usability... no [08:43:13.128] checking sys/personality.h presence... no [08:43:13.148] checking for sys/personality.h... no [08:43:13.152] checking sys/prctl.h usability... no [08:43:13.210] checking sys/prctl.h presence... no [08:43:13.230] checking for sys/prctl.h... no [08:43:13.233] checking sys/procctl.h usability... no [08:43:13.294] checking sys/procctl.h presence... no [08:43:13.314] checking for sys/procctl.h... no [08:43:13.318] checking sys/signalfd.h usability... no [08:43:13.377] checking sys/signalfd.h presence... no [08:43:13.397] checking for sys/signalfd.h... no [08:43:13.401] checking sys/ucred.h usability... no [08:43:13.459] checking sys/ucred.h presence... no [08:43:13.480] checking for sys/ucred.h... no [08:43:13.483] checking termios.h usability... no [08:43:13.543] checking termios.h presence... no [08:43:13.563] checking for termios.h... no [08:43:13.567] checking ucred.h usability... no [08:43:13.626] checking ucred.h presence... no [08:43:13.647] checking for ucred.h... no [08:43:13.650] checking xlocale.h usability... no [08:43:13.710] checking xlocale.h presence... no [08:43:13.729] checking for xlocale.h... no [08:43:13.733] checking zlib.h usability... yes [08:43:13.744] checking zlib.h presence... yes [08:43:13.764] checking for zlib.h... yes [08:43:13.765] checking for lz4... /usr/bin/lz4 [08:43:13.765] checking for zstd... /usr/bin/zstd [08:43:13.766] checking for openssl... /usr/bin/openssl [08:43:13.771] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [08:43:13.771] checking crtdefs.h usability... yes [08:43:13.779] checking crtdefs.h presence... yes [08:43:13.796] checking for crtdefs.h... yes [08:43:13.797] checking whether byte ordering is bigendian... no [08:43:13.909] checking for inline... inline [08:43:13.916] checking for printf format archetype... gnu_printf [08:43:13.936] checking for _Static_assert... yes [08:43:13.985] checking for typeof... typeof [08:43:13.993] checking for __builtin_types_compatible_p... yes [08:43:14.006] checking for __builtin_constant_p... yes [08:43:14.030] checking for __builtin_mul_overflow... yes [08:43:14.084] checking for __builtin_unreachable... yes [08:43:14.130] checking for computed goto support... yes [08:43:14.138] checking for struct tm.tm_zone... no [08:43:14.230] checking for union semun... no [08:43:14.269] checking for socklen_t... yes [08:43:15.436] checking for struct sockaddr.sa_len... no [08:43:17.483] checking for C/C++ restrict keyword... __restrict [08:43:17.530] checking for struct option... yes [08:43:17.577] checking whether assembler supports x86_64 popcntq... yes [08:43:17.585] checking size of off_t... 4 [08:43:17.804] 0 [08:43:17.804] checking for int timezone... yes [08:43:17.860] checking for backtrace_symbols... no [08:43:17.916] checking for copyfile... no [08:43:17.971] checking for copy_file_range... no [08:43:18.025] checking for elf_aux_info... no [08:43:18.080] checking for getauxval... no [08:43:18.133] checking for getifaddrs... no [08:43:18.187] checking for getpeerucred... no [08:43:18.240] checking for inet_pton... yes [08:43:18.296] checking for kqueue... no [08:43:18.350] checking for localeconv_l... no [08:43:18.407] checking for mbstowcs_l... no [08:43:18.462] checking for posix_fallocate... no [08:43:18.518] checking for ppoll... no [08:43:18.573] checking for pthread_is_threaded_np... no [08:43:18.630] checking for setproctitle... no [08:43:18.688] checking for setproctitle_fast... no [08:43:18.746] checking for strsignal... no [08:43:18.803] checking for syncfs... no [08:43:18.858] checking for sync_file_range... no [08:43:18.914] checking for uselocale... no [08:43:18.968] checking for wcstombs_l... no [08:43:19.018] checking for __builtin_bswap16... yes [08:43:19.072] checking for __builtin_bswap32... yes [08:43:19.123] checking for __builtin_bswap64... yes [08:43:19.175] checking for __builtin_clz... yes [08:43:19.227] checking for __builtin_ctz... yes [08:43:19.278] checking for __builtin_popcount... yes [08:43:19.331] checking for __builtin_frame_address... yes [08:43:19.383] checking for _LARGEFILE_SOURCE value needed for large files... no [08:43:19.437] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [08:43:19.471] checking for posix_fadvise... no [08:43:19.527] checking whether posix_fadvise is declared... no [08:43:19.576] checking whether fdatasync is declared... no [08:43:19.626] checking whether strlcat is declared... no [08:43:19.693] checking whether strlcpy is declared... no [08:43:19.759] checking whether strnlen is declared... yes [08:43:19.799] checking whether strsep is declared... no [08:43:19.867] checking whether timingsafe_bcmp is declared... no [08:43:19.934] checking whether preadv is declared... no [08:43:19.973] checking whether pwritev is declared... no [08:43:20.011] checking whether strchrnul is declared... no [08:43:20.055] checking whether memset_s is declared... no [08:43:20.098] checking whether F_FULLFSYNC is declared... no [08:43:20.139] checking for explicit_bzero... no [08:43:20.192] checking for getopt... yes [08:43:20.242] checking for getpeereid... no [08:43:20.296] checking for inet_aton... no [08:43:20.348] checking for mkdtemp... no [08:43:20.400] checking for strlcat... no [08:43:20.452] checking for strlcpy... no [08:43:20.504] checking for strnlen... yes [08:43:20.556] checking for strsep... no [08:43:20.608] checking for timingsafe_bcmp... no [08:43:20.659] checking for pthread_barrier_wait... yes [08:43:20.706] configure: On mingw32 we will use our strtof wrapper. [08:43:20.706] checking for getopt_long... yes [08:43:20.756] checking for syslog... no [08:43:20.809] checking for opterr... yes [08:43:20.861] checking for optreset... no [08:43:20.916] checking test program... cross-compiling [08:43:20.916] checking size of void *... 8 [08:43:21.258] checking size of size_t... 8 [08:43:21.546] checking size of long... 4 [08:43:21.772] checking size of long long... 8 [08:43:22.116] checking alignment of short... 2 [08:43:22.436] checking alignment of int... 4 [08:43:22.740] checking alignment of long... 4 [08:43:22.959] checking alignment of int64_t... 8 [08:43:23.365] checking alignment of double... 8 [08:43:23.707] checking for __int128... yes [08:43:23.758] checking for __int128 alignment bug... assuming ok [08:43:23.758] checking alignment of PG_INT128_TYPE... 16 [08:43:24.119] checking for builtin __sync char locking functions... yes [08:43:24.166] checking for builtin __sync int32 locking functions... yes [08:43:24.211] checking for builtin __sync int32 atomic operations... yes [08:43:24.258] checking for builtin __sync int64 atomic operations... yes [08:43:24.306] checking for builtin __atomic int32 atomic operations... yes [08:43:24.352] checking for builtin __atomic int64 atomic operations... yes [08:43:24.399] checking for __get_cpuid... yes [08:43:24.451] checking for __get_cpuid_count... yes [08:43:24.501] checking for __cpuid... no [08:43:24.916] checking for __cpuidex... no [08:43:25.357] checking for _xgetbv... yes [08:43:25.775] checking for _mm512_popcnt_epi64... yes [08:43:26.200] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [08:43:26.309] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [08:43:26.333] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [08:43:26.353] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [08:43:26.374] 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 [08:43:26.437] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [08:43:26.438] checking for _mm512_clmulepi64_epi128... yes [08:43:26.861] checking for vectorized CRC-32C... AVX-512 with runtime check [08:43:26.861] checking which random number source to use... Windows native [08:43:26.864] checking for xmllint... /usr/bin/xmllint [08:43:26.864] checking for xsltproc... /usr/bin/xsltproc [08:43:26.864] checking for fop... /usr/bin/fop [08:43:26.865] checking for dbtoepub... no [08:43:26.865] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [08:43:26.865] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [08:43:26.865] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [08:43:26.877] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [08:43:26.877] 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 [08:43:26.877] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [08:43:26.877] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [08:43:26.975] configure: creating ./config.status [08:43:27.067] config.status: creating GNUmakefile [08:43:27.080] config.status: creating src/Makefile.global [08:43:27.096] config.status: creating src/include/pg_config.h [08:43:27.109] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [08:43:27.126] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [08:43:27.134] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [08:43:27.141] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [08:43:27.149] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [08:43:27.157] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [08:43:27.160] config.status: executing check_win32_symlinks commands [08:43:27.199] [08:43:27.199] real 0m18.124s [08:43:27.199] user 0m12.128s [08:43:27.199] sys 0m5.618s [08:43:27.199] make -s -j${BUILD_JOBS} clean [08:43:27.713] time make -s -j${BUILD_JOBS} world-bin [08:45:01.582] xlog.c:734:1: error: ‘XLogGetRecordTotalLen’ defined but not used [-Werror=unused-function] [08:45:01.582] 734 | XLogGetRecordTotalLen(XLogRecord *record) [08:45:01.582] | ^~~~~~~~~~~~~~~~~~~~~ [08:45:01.582] cc1: all warnings being treated as errors [08:45:01.583] make[4]: *** [: xlog.o] Error 1 [08:45:01.583] make[4]: *** Waiting for unfinished jobs.... [08:45:02.139] make[3]: *** [../../../src/backend/common.mk:37: transam-recursive] Error 2 [08:45:02.140] make[2]: *** [common.mk:37: access-recursive] Error 2 [08:45:02.140] make[2]: *** Waiting for unfinished jobs.... [08:45:04.298] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [08:45:04.298] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [08:45:04.299] [08:45:04.299] real 1m36.586s [08:45:04.299] user 5m16.740s [08:45:04.299] sys 0m56.171s [08:45:04.299] [08:45:04.299] Exit status: 2