[14:09:11.379] time ./configure \ [14:09:11.379] --host=x86_64-w64-mingw32 \ [14:09:11.379] --enable-cassert \ [14:09:11.379] --without-icu \ [14:09:11.379] CC="ccache x86_64-w64-mingw32-gcc" \ [14:09:11.379] CXX="ccache x86_64-w64-mingw32-g++" [14:09:11.498] checking build system type... x86_64-pc-linux-gnu [14:09:11.679] checking host system type... x86_64-w64-mingw32 [14:09:11.684] checking which template to use... win32 [14:09:11.685] checking whether NLS is wanted... no [14:09:11.685] checking for default port number... 5432 [14:09:11.691] checking for block size... 8kB [14:09:11.693] checking for segment size... 1GB [14:09:11.695] checking for WAL block size... 8kB [14:09:11.697] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:09:11.731] checking whether the C compiler works... yes [14:09:11.862] checking for C compiler default output file name... a.exe [14:09:11.864] checking for suffix of executables... .exe [14:09:11.906] checking whether we are cross compiling... yes [14:09:11.977] checking for suffix of object files... o [14:09:11.985] checking whether we are using the GNU C compiler... yes [14:09:11.993] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:09:11.999] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:09:12.009] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C11... none needed [14:09:12.058] checking whether we are using the GNU C++ compiler... yes [14:09:12.065] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:09:12.104] checking for gawk... no [14:09:12.104] checking for mawk... mawk [14:09:12.106] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:09:12.113] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:09:12.120] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:09:12.165] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:09:12.316] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:09:12.323] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:09:12.330] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:09:12.337] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:09:12.344] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:09:12.351] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:09:12.358] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:09:12.365] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:09:12.372] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:09:12.379] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:09:12.386] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:09:12.393] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:09:12.400] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:09:12.437] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:09:12.444] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:09:12.451] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:09:12.457] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:09:12.464] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:09:12.471] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:09:12.494] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:09:12.501] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:09:12.508] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:09:12.546] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:09:12.583] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:09:12.590] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:09:12.597] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:09:12.631] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:09:12.638] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:09:12.646] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:09:12.654] checking whether the C compiler still works... yes [14:09:12.716] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:09:12.790] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:09:12.791] checking pkg-config is at least version 0.9.0... yes [14:09:12.807] checking whether to build with ICU support... no [14:09:12.807] checking whether to build with Tcl... no [14:09:12.807] checking whether to build Perl modules... no [14:09:12.807] checking whether to build Python modules... no [14:09:12.807] checking whether to build with GSSAPI support... no [14:09:12.808] checking whether to build with PAM support... no [14:09:12.808] checking whether to build with BSD Authentication support... no [14:09:12.809] checking whether to build with LDAP support... no [14:09:12.809] checking whether to build with Bonjour support... no [14:09:12.809] checking whether to build with SELinux support... no [14:09:12.809] checking whether to build with systemd support... no [14:09:12.809] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:09:12.809] checking whether to build with liburing support... no [14:09:12.809] checking whether to build with libcurl support... no [14:09:12.809] checking whether to build with libnuma support... no [14:09:12.810] checking whether to build with XML support... no [14:09:12.810] checking whether to build with LZ4 support... no [14:09:12.810] checking whether to build with ZSTD support... no [14:09:12.810] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:09:12.811] checking whether it is possible to strip libraries... yes [14:09:12.822] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:09:12.822] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:09:12.822] checking for a BSD-compatible install... /usr/bin/install -c [14:09:12.831] checking for tar... /usr/bin/tar [14:09:12.831] checking whether ln -s works... yes [14:09:12.831] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:09:12.833] checking for bison... /usr/bin/bison [14:09:12.835] configure: using bison (GNU Bison) 3.8.2 [14:09:12.838] checking for flex... /usr/bin/flex [14:09:12.840] configure: using flex 2.6.4 [14:09:12.840] checking for perl... /usr/bin/perl [14:09:12.843] configure: using perl 5.36.0 [14:09:12.845] checking for zic... /usr/sbin/zic [14:09:12.845] checking for a sed that does not truncate output... /usr/bin/sed [14:09:12.850] checking for grep that handles long lines and -e... /usr/bin/grep [14:09:12.852] checking for egrep... /usr/bin/grep -E [14:09:12.854] checking for ANSI C header files... yes [14:09:12.903] checking for sys/types.h... yes [14:09:12.918] checking for sys/stat.h... yes [14:09:12.933] checking for stdlib.h... yes [14:09:12.946] checking for string.h... yes [14:09:12.960] checking for memory.h... yes [14:09:12.974] checking for strings.h... yes [14:09:12.989] checking for inttypes.h... yes [14:09:13.004] checking for stdint.h... yes [14:09:13.019] checking for unistd.h... yes [14:09:13.035] checking for main in -lm... yes [14:09:13.084] checking for library containing setproctitle... no [14:09:13.173] checking for library containing dlsym... no [14:09:13.264] checking for library containing socket... -lws2_32 [14:09:13.399] checking for library containing getopt_long... none required [14:09:13.445] checking for library containing shm_open... no [14:09:13.533] checking for library containing shm_unlink... no [14:09:13.622] checking for library containing clock_gettime... no [14:09:13.709] checking for library containing shmget... no [14:09:13.798] checking for library containing backtrace_symbols... no [14:09:13.889] checking for library containing pthread_barrier_wait... -lpthread [14:09:13.984] checking for inflate in -lz... yes [14:09:14.035] checking atomic.h usability... no [14:09:14.093] checking atomic.h presence... no [14:09:14.111] checking for atomic.h... no [14:09:14.115] checking copyfile.h usability... no [14:09:14.170] checking copyfile.h presence... no [14:09:14.189] checking for copyfile.h... no [14:09:14.192] checking execinfo.h usability... no [14:09:14.247] checking execinfo.h presence... no [14:09:14.266] checking for execinfo.h... no [14:09:14.270] checking getopt.h usability... yes [14:09:14.277] checking getopt.h presence... yes [14:09:14.292] checking for getopt.h... yes [14:09:14.300] checking ifaddrs.h usability... no [14:09:14.354] checking ifaddrs.h presence... no [14:09:14.372] checking for ifaddrs.h... no [14:09:14.375] checking mbarrier.h usability... no [14:09:14.430] checking mbarrier.h presence... no [14:09:14.448] checking for mbarrier.h... no [14:09:14.451] checking sys/epoll.h usability... no [14:09:14.504] checking sys/epoll.h presence... no [14:09:14.523] checking for sys/epoll.h... no [14:09:14.526] checking sys/event.h usability... no [14:09:14.579] checking sys/event.h presence... no [14:09:14.597] checking for sys/event.h... no [14:09:14.601] checking sys/personality.h usability... no [14:09:14.655] checking sys/personality.h presence... no [14:09:14.674] checking for sys/personality.h... no [14:09:14.677] checking sys/prctl.h usability... no [14:09:14.730] checking sys/prctl.h presence... no [14:09:14.747] checking for sys/prctl.h... no [14:09:14.751] checking sys/procctl.h usability... no [14:09:14.806] checking sys/procctl.h presence... no [14:09:14.825] checking for sys/procctl.h... no [14:09:14.829] checking sys/signalfd.h usability... no [14:09:14.883] checking sys/signalfd.h presence... no [14:09:14.902] checking for sys/signalfd.h... no [14:09:14.906] checking sys/ucred.h usability... no [14:09:14.959] checking sys/ucred.h presence... no [14:09:14.978] checking for sys/ucred.h... no [14:09:14.981] checking termios.h usability... no [14:09:15.035] checking termios.h presence... no [14:09:15.054] checking for termios.h... no [14:09:15.057] checking ucred.h usability... no [14:09:15.112] checking ucred.h presence... no [14:09:15.131] checking for ucred.h... no [14:09:15.135] checking xlocale.h usability... no [14:09:15.190] checking xlocale.h presence... no [14:09:15.209] checking for xlocale.h... no [14:09:15.212] checking zlib.h usability... yes [14:09:15.221] checking zlib.h presence... yes [14:09:15.240] checking for zlib.h... yes [14:09:15.240] checking for lz4... /usr/bin/lz4 [14:09:15.241] checking for zstd... /usr/bin/zstd [14:09:15.241] checking for openssl... /usr/bin/openssl [14:09:15.245] configure: using openssl: OpenSSL 3.0.17 1 Jul 2025 (Library: OpenSSL 3.0.17 1 Jul 2025) [14:09:15.246] checking crtdefs.h usability... yes [14:09:15.253] checking crtdefs.h presence... yes [14:09:15.268] checking for crtdefs.h... yes [14:09:15.269] checking whether byte ordering is bigendian... no [14:09:15.340] checking for inline... inline [14:09:15.348] checking for printf format archetype... gnu_printf [14:09:15.356] checking for _Static_assert... yes [14:09:15.400] checking for typeof... typeof [14:09:15.407] checking for __builtin_types_compatible_p... yes [14:09:15.418] checking for __builtin_constant_p... yes [14:09:15.429] checking for __builtin_mul_overflow... yes [14:09:15.479] checking for __builtin_unreachable... yes [14:09:15.522] checking for computed goto support... yes [14:09:15.529] checking for struct tm.tm_zone... no [14:09:15.606] checking for union semun... no [14:09:15.640] checking for socklen_t... yes [14:09:16.758] checking for struct sockaddr.sa_len... no [14:09:18.749] checking for C/C++ restrict keyword... __restrict [14:09:18.763] checking for struct option... yes [14:09:18.805] checking whether assembler supports x86_64 popcntq... yes [14:09:18.813] checking size of off_t... 4 [14:09:19.010] 0 [14:09:19.010] checking for int timezone... yes [14:09:19.063] checking for backtrace_symbols... no [14:09:19.117] checking for copyfile... no [14:09:19.169] checking for copy_file_range... no [14:09:19.221] checking for elf_aux_info... no [14:09:19.275] checking for getauxval... no [14:09:19.328] checking for getifaddrs... no [14:09:19.380] checking for getpeerucred... no [14:09:19.432] checking for inet_pton... yes [14:09:19.484] checking for kqueue... no [14:09:19.534] checking for localeconv_l... no [14:09:19.587] checking for mbstowcs_l... no [14:09:19.638] checking for posix_fallocate... no [14:09:19.690] checking for ppoll... no [14:09:19.742] checking for pthread_is_threaded_np... no [14:09:19.794] checking for setproctitle... no [14:09:19.846] checking for setproctitle_fast... no [14:09:19.898] checking for strsignal... no [14:09:19.950] checking for syncfs... no [14:09:20.001] checking for sync_file_range... no [14:09:20.052] checking for uselocale... no [14:09:20.104] checking for wcstombs_l... no [14:09:20.153] checking for __builtin_bswap16... yes [14:09:20.203] checking for __builtin_bswap32... yes [14:09:20.252] checking for __builtin_bswap64... yes [14:09:20.302] checking for __builtin_clz... yes [14:09:20.351] checking for __builtin_ctz... yes [14:09:20.402] checking for __builtin_popcount... yes [14:09:20.451] checking for __builtin_frame_address... yes [14:09:20.501] checking for _LARGEFILE_SOURCE value needed for large files... no [14:09:20.556] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:09:20.588] checking for posix_fadvise... no [14:09:20.643] checking whether posix_fadvise is declared... no [14:09:20.691] checking whether fdatasync is declared... no [14:09:20.738] checking whether strlcat is declared... no [14:09:20.802] checking whether strlcpy is declared... no [14:09:20.867] checking whether strnlen is declared... yes [14:09:20.881] checking whether strsep is declared... no [14:09:20.947] checking whether timingsafe_bcmp is declared... no [14:09:21.011] checking whether preadv is declared... no [14:09:21.047] checking whether pwritev is declared... no [14:09:21.085] checking whether strchrnul is declared... no [14:09:21.128] checking whether memset_s is declared... no [14:09:21.170] checking whether F_FULLFSYNC is declared... no [14:09:21.210] checking for explicit_bzero... no [14:09:21.260] checking for getopt... yes [14:09:21.306] checking for getpeereid... no [14:09:21.357] checking for inet_aton... no [14:09:21.407] checking for mkdtemp... no [14:09:21.457] checking for strlcat... no [14:09:21.505] checking for strlcpy... no [14:09:21.554] checking for strnlen... yes [14:09:21.603] checking for strsep... no [14:09:21.652] checking for timingsafe_bcmp... no [14:09:21.700] checking for pthread_barrier_wait... yes [14:09:21.744] configure: On mingw32 we will use our strtof wrapper. [14:09:21.745] checking for getopt_long... yes [14:09:21.791] checking for syslog... no [14:09:21.840] checking for opterr... yes [14:09:21.890] checking for optreset... no [14:09:21.944] checking test program... cross-compiling [14:09:21.944] checking size of void *... 8 [14:09:22.213] checking size of size_t... 8 [14:09:22.485] checking size of long... 4 [14:09:22.691] checking size of long long... 8 [14:09:22.967] checking alignment of short... 2 [14:09:23.104] checking alignment of int... 4 [14:09:23.308] checking alignment of long... 4 [14:09:23.516] checking alignment of int64_t... 8 [14:09:23.786] checking alignment of double... 8 [14:09:24.057] checking for __int128... yes [14:09:24.108] checking for __int128 alignment bug... assuming ok [14:09:24.108] checking alignment of PG_INT128_TYPE... 16 [14:09:24.442] checking for builtin __sync char locking functions... yes [14:09:24.485] checking for builtin __sync int32 locking functions... yes [14:09:24.529] checking for builtin __sync int32 atomic operations... yes [14:09:24.571] checking for builtin __sync int64 atomic operations... yes [14:09:24.617] checking for builtin __atomic int32 atomic operations... yes [14:09:24.661] checking for builtin __atomic int64 atomic operations... yes [14:09:24.707] checking for __get_cpuid... yes [14:09:24.756] checking for __get_cpuid_count... yes [14:09:24.803] checking for _xgetbv... yes [14:09:25.207] checking for _mm512_popcnt_epi64... yes [14:09:25.623] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [14:09:25.727] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:09:25.750] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [14:09:25.770] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:09:25.789] 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 [14:09:25.846] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:09:25.846] checking for _mm512_clmulepi64_epi128... yes [14:09:26.253] checking for vectorized CRC-32C... AVX-512 with runtime check [14:09:26.253] checking which random number source to use... Windows native [14:09:26.255] checking for xmllint... /usr/bin/xmllint [14:09:26.256] checking for xsltproc... /usr/bin/xsltproc [14:09:26.256] checking for fop... /usr/bin/fop [14:09:26.257] checking for dbtoepub... no [14:09:26.257] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:09:26.257] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:09:26.257] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:09:26.268] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:09:26.268] 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 [14:09:26.268] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:09:26.269] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:09:26.362] configure: creating ./config.status [14:09:26.448] config.status: creating GNUmakefile [14:09:26.460] config.status: creating src/Makefile.global [14:09:26.476] config.status: creating src/include/pg_config.h [14:09:26.489] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:09:26.503] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:09:26.511] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:09:26.518] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:09:26.525] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:09:26.529] config.status: executing check_win32_symlinks commands [14:09:26.563] [14:09:26.563] real 0m15.184s [14:09:26.563] user 0m10.242s [14:09:26.563] sys 0m4.678s [14:09:26.563] make -s -j${BUILD_JOBS} clean [14:09:27.116] time make -s -j${BUILD_JOBS} world-bin [14:09:31.605] gistdesc.c: In function ‘out_gistxlogPageSplit’: [14:09:31.605] gistdesc.c:70:102: error: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘GistNSN’ {aka ‘long long unsigned int’} [-Werror=format=] [14:09:31.605] 70 | appendStringInfo(buf, "page_split: splits to %d pages, origrlink %d, origleaf %c, orignsn: %ld, markfollowright: %c", [14:09:31.605] | ~~^ [14:09:31.605] | | [14:09:31.605] | long int [14:09:31.605] | %lld [14:09:31.605] 71 | xlrec->npage, xlrec->origrlink, [14:09:31.605] 72 | xlrec->origleaf ? 'T' : 'F', xlrec->orignsn, [14:09:31.605] | ~~~~~~~~~~~~~~ [14:09:31.605] | | [14:09:31.605] | GistNSN {aka long long unsigned int} [14:09:31.605] cc1: all warnings being treated as errors [14:09:31.606] make[4]: *** [: gistdesc.o] Error 1 [14:09:31.606] make[3]: *** [../../../src/backend/common.mk:37: rmgrdesc-recursive] Error 2 [14:09:31.606] make[2]: *** [common.mk:37: access-recursive] Error 2 [14:09:31.606] make[2]: *** Waiting for unfinished jobs.... [14:09:31.751] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [14:09:31.751] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:09:31.751] [14:09:31.751] real 0m4.635s [14:09:31.751] user 0m8.177s [14:09:31.751] sys 0m5.237s [14:09:31.752] [14:09:31.752] Exit status: 2