[12:18:09.527] time ./configure \ [12:18:09.527] --host=x86_64-w64-mingw32 \ [12:18:09.527] --enable-cassert \ [12:18:09.527] --without-icu \ [12:18:09.527] CC="ccache x86_64-w64-mingw32-gcc" \ [12:18:09.527] CXX="ccache x86_64-w64-mingw32-g++" [12:18:09.635] checking build system type... x86_64-pc-linux-gnu [12:18:09.815] checking host system type... x86_64-w64-mingw32 [12:18:09.820] checking which template to use... win32 [12:18:09.820] checking whether NLS is wanted... no [12:18:09.820] checking for default port number... 5432 [12:18:09.827] checking for block size... 8kB [12:18:09.828] checking for segment size... 1GB [12:18:09.830] checking for WAL block size... 8kB [12:18:09.831] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [12:18:09.864] checking whether the C compiler works... yes [12:18:10.000] checking for C compiler default output file name... a.exe [12:18:10.001] checking for suffix of executables... .exe [12:18:10.042] checking whether we are cross compiling... yes [12:18:10.116] checking for suffix of object files... o [12:18:10.124] checking whether we are using the GNU C compiler... yes [12:18:10.156] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [12:18:10.172] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [12:18:10.250] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [12:18:10.386] checking whether we are using the GNU C++ compiler... yes [12:18:10.570] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [12:18:10.642] checking for gawk... no [12:18:10.642] checking for mawk... mawk [12:18:10.645] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [12:18:10.651] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [12:18:10.684] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [12:18:10.732] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [12:18:10.780] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [12:18:10.798] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [12:18:10.805] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [12:18:10.823] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [12:18:10.842] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [12:18:10.860] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [12:18:10.896] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [12:18:10.904] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [12:18:10.939] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [12:18:10.947] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [12:18:10.954] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [12:18:10.961] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [12:18:10.979] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [12:18:11.017] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [12:18:11.024] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [12:18:11.031] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [12:18:11.068] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [12:18:11.075] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [12:18:11.093] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [12:18:11.116] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [12:18:11.123] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [12:18:11.130] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [12:18:11.169] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [12:18:11.208] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [12:18:11.225] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [12:18:11.232] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [12:18:11.267] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [12:18:11.275] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [12:18:11.282] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [12:18:11.290] checking whether the C compiler still works... yes [12:18:11.351] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [12:18:11.430] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [12:18:11.431] checking pkg-config is at least version 0.9.0... yes [12:18:11.448] checking whether to build with ICU support... no [12:18:11.448] checking whether to build with Tcl... no [12:18:11.448] checking whether to build Perl modules... no [12:18:11.448] checking whether to build Python modules... no [12:18:11.448] checking whether to build with GSSAPI support... no [12:18:11.450] checking whether to build with PAM support... no [12:18:11.450] checking whether to build with BSD Authentication support... no [12:18:11.450] checking whether to build with LDAP support... no [12:18:11.450] checking whether to build with Bonjour support... no [12:18:11.450] checking whether to build with SELinux support... no [12:18:11.450] checking whether to build with systemd support... no [12:18:11.450] configure: WARNING: *** Readline does not work on MinGW --- disabling [12:18:11.450] checking whether to build with liburing support... no [12:18:11.451] checking whether to build with libcurl support... no [12:18:11.451] checking whether to build with libnuma support... no [12:18:11.451] checking whether to build with XML support... no [12:18:11.451] checking whether to build with LZ4 support... no [12:18:11.452] checking whether to build with ZSTD support... no [12:18:11.452] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [12:18:11.452] checking whether it is possible to strip libraries... yes [12:18:11.460] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [12:18:11.461] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [12:18:11.461] checking for a BSD-compatible install... /usr/bin/install -c [12:18:11.471] checking for tar... /usr/bin/tar [12:18:11.471] checking whether ln -s works... yes [12:18:11.471] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [12:18:11.474] checking for bison... /usr/bin/bison [12:18:11.476] configure: using bison (GNU Bison) 3.8.2 [12:18:11.479] checking for flex... /usr/bin/flex [12:18:11.481] configure: using flex 2.6.4 [12:18:11.481] checking for perl... /usr/bin/perl [12:18:11.484] configure: using perl 5.36.0 [12:18:11.486] checking for zic... /usr/sbin/zic [12:18:11.486] checking for a sed that does not truncate output... /usr/bin/sed [12:18:11.492] checking for grep that handles long lines and -e... /usr/bin/grep [12:18:11.494] checking for egrep... /usr/bin/grep -E [12:18:11.495] checking for ANSI C header files... yes [12:18:11.585] checking for sys/types.h... yes [12:18:11.640] checking for sys/stat.h... yes [12:18:11.700] checking for stdlib.h... yes [12:18:11.714] checking for string.h... yes [12:18:11.728] checking for memory.h... yes [12:18:11.742] checking for strings.h... yes [12:18:11.801] checking for inttypes.h... yes [12:18:11.837] checking for stdint.h... yes [12:18:11.871] checking for unistd.h... yes [12:18:11.909] checking for main in -lm... yes [12:18:11.956] checking for library containing setproctitle... no [12:18:12.043] checking for library containing dlsym... no [12:18:12.130] checking for library containing socket... -lws2_32 [12:18:12.258] checking for library containing getopt_long... none required [12:18:12.307] checking for library containing shm_open... no [12:18:12.394] checking for library containing shm_unlink... no [12:18:12.478] checking for library containing clock_gettime... no [12:18:12.566] checking for library containing shmget... no [12:18:12.657] checking for library containing backtrace_symbols... no [12:18:12.753] checking for library containing pthread_barrier_wait... -lpthread [12:18:12.850] checking for inflate in -lz... yes [12:18:12.907] checking atomic.h usability... no [12:18:12.966] checking atomic.h presence... no [12:18:12.986] checking for atomic.h... no [12:18:12.990] checking copyfile.h usability... no [12:18:13.052] checking copyfile.h presence... no [12:18:13.074] checking for copyfile.h... no [12:18:13.077] checking execinfo.h usability... no [12:18:13.137] checking execinfo.h presence... no [12:18:13.157] checking for execinfo.h... no [12:18:13.161] checking getopt.h usability... yes [12:18:13.220] checking getopt.h presence... yes [12:18:13.238] checking for getopt.h... yes [12:18:13.246] checking ifaddrs.h usability... no [12:18:13.304] checking ifaddrs.h presence... no [12:18:13.326] checking for ifaddrs.h... no [12:18:13.329] checking mbarrier.h usability... no [12:18:13.392] checking mbarrier.h presence... no [12:18:13.414] checking for mbarrier.h... no [12:18:13.417] checking sys/epoll.h usability... no [12:18:13.474] checking sys/epoll.h presence... no [12:18:13.493] checking for sys/epoll.h... no [12:18:13.496] checking sys/event.h usability... no [12:18:13.553] checking sys/event.h presence... no [12:18:13.575] checking for sys/event.h... no [12:18:13.579] checking sys/personality.h usability... no [12:18:13.638] checking sys/personality.h presence... no [12:18:13.660] checking for sys/personality.h... no [12:18:13.664] checking sys/prctl.h usability... no [12:18:13.725] checking sys/prctl.h presence... no [12:18:13.746] checking for sys/prctl.h... no [12:18:13.750] checking sys/procctl.h usability... no [12:18:13.813] checking sys/procctl.h presence... no [12:18:13.836] checking for sys/procctl.h... no [12:18:13.840] checking sys/signalfd.h usability... no [12:18:13.901] checking sys/signalfd.h presence... no [12:18:13.922] checking for sys/signalfd.h... no [12:18:13.926] checking sys/ucred.h usability... no [12:18:13.984] checking sys/ucred.h presence... no [12:18:14.004] checking for sys/ucred.h... no [12:18:14.007] checking termios.h usability... no [12:18:14.066] checking termios.h presence... no [12:18:14.086] checking for termios.h... no [12:18:14.090] checking ucred.h usability... no [12:18:14.149] checking ucred.h presence... no [12:18:14.172] checking for ucred.h... no [12:18:14.176] checking xlocale.h usability... no [12:18:14.243] checking xlocale.h presence... no [12:18:14.265] checking for xlocale.h... no [12:18:14.268] checking zlib.h usability... yes [12:18:14.279] checking zlib.h presence... yes [12:18:14.302] checking for zlib.h... yes [12:18:14.302] checking for lz4... /usr/bin/lz4 [12:18:14.302] checking for zstd... /usr/bin/zstd [12:18:14.303] checking for openssl... /usr/bin/openssl [12:18:14.307] configure: using openssl: OpenSSL 3.0.17 1 Jul 2025 (Library: OpenSSL 3.0.17 1 Jul 2025) [12:18:14.308] checking crtdefs.h usability... yes [12:18:14.340] checking crtdefs.h presence... yes [12:18:14.358] checking for crtdefs.h... yes [12:18:14.360] checking whether byte ordering is bigendian... no [12:18:14.484] checking for inline... inline [12:18:14.519] checking for printf format archetype... gnu_printf [12:18:14.542] checking for _Static_assert... yes [12:18:14.590] checking for typeof... typeof [12:18:14.599] checking for __builtin_types_compatible_p... yes [12:18:14.610] checking for __builtin_constant_p... yes [12:18:14.622] checking for __builtin_mul_overflow... yes [12:18:14.670] checking for __builtin_unreachable... yes [12:18:14.717] checking for computed goto support... yes [12:18:14.755] checking for struct tm.tm_zone... no [12:18:14.841] checking for union semun... no [12:18:14.881] checking for socklen_t... yes [12:18:17.345] checking for struct sockaddr.sa_len... no [12:18:19.501] checking for C/C++ restrict keyword... __restrict [12:18:19.523] checking for struct option... yes [12:18:19.594] checking whether assembler supports x86_64 popcntq... yes [12:18:19.602] checking size of off_t... 4 [12:18:19.884] 0 [12:18:19.884] checking for int timezone... yes [12:18:19.936] checking for backtrace_symbols... no [12:18:19.986] checking for copyfile... no [12:18:20.036] checking for copy_file_range... no [12:18:20.087] checking for elf_aux_info... no [12:18:20.137] checking for getauxval... no [12:18:20.188] checking for getifaddrs... no [12:18:20.239] checking for getpeerucred... no [12:18:20.292] checking for inet_pton... yes [12:18:20.347] checking for kqueue... no [12:18:20.403] checking for localeconv_l... no [12:18:20.458] checking for mbstowcs_l... no [12:18:20.513] checking for posix_fallocate... no [12:18:20.568] checking for ppoll... no [12:18:20.623] checking for pthread_is_threaded_np... no [12:18:20.677] checking for setproctitle... no [12:18:20.732] checking for setproctitle_fast... no [12:18:20.786] checking for strsignal... no [12:18:20.841] checking for syncfs... no [12:18:20.896] checking for sync_file_range... no [12:18:20.948] checking for uselocale... no [12:18:21.003] checking for wcstombs_l... no [12:18:21.055] checking for __builtin_bswap16... yes [12:18:21.106] checking for __builtin_bswap32... yes [12:18:21.159] checking for __builtin_bswap64... yes [12:18:21.212] checking for __builtin_clz... yes [12:18:21.263] checking for __builtin_ctz... yes [12:18:21.315] checking for __builtin_popcount... yes [12:18:21.364] checking for __builtin_frame_address... yes [12:18:21.414] checking for _LARGEFILE_SOURCE value needed for large files... no [12:18:21.470] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [12:18:21.503] checking for posix_fadvise... no [12:18:21.559] checking whether posix_fadvise is declared... no [12:18:21.609] checking whether fdatasync is declared... no [12:18:21.661] checking whether strlcat is declared... no [12:18:21.728] checking whether strlcpy is declared... no [12:18:21.798] checking whether strnlen is declared... yes [12:18:21.835] checking whether strsep is declared... no [12:18:21.907] checking whether timingsafe_bcmp is declared... no [12:18:21.980] checking whether preadv is declared... no [12:18:22.021] checking whether pwritev is declared... no [12:18:22.064] checking whether strchrnul is declared... no [12:18:22.113] checking whether memset_s is declared... no [12:18:22.164] checking whether F_FULLFSYNC is declared... no [12:18:22.211] checking for explicit_bzero... no [12:18:22.268] checking for getopt... yes [12:18:22.323] checking for getpeereid... no [12:18:22.383] checking for inet_aton... no [12:18:22.440] checking for mkdtemp... no [12:18:22.498] checking for strlcat... no [12:18:22.556] checking for strlcpy... no [12:18:22.612] checking for strnlen... yes [12:18:22.670] checking for strsep... no [12:18:22.727] checking for timingsafe_bcmp... no [12:18:22.782] checking for pthread_barrier_wait... yes [12:18:22.834] configure: On mingw32 we will use our strtof wrapper. [12:18:22.834] checking for getopt_long... yes [12:18:22.887] checking for syslog... no [12:18:22.945] checking for opterr... yes [12:18:23.002] checking for optreset... no [12:18:23.063] checking test program... cross-compiling [12:18:23.064] checking size of void *... 8 [12:18:23.461] checking size of size_t... 8 [12:18:23.820] checking size of long... 4 [12:18:24.101] checking size of long long... 8 [12:18:24.554] checking alignment of short... 2 [12:18:24.818] checking alignment of int... 4 [12:18:25.093] checking alignment of long... 4 [12:18:25.380] checking alignment of int64_t... 8 [12:18:25.789] checking alignment of double... 8 [12:18:26.191] checking for __int128... yes [12:18:26.246] checking for __int128 alignment bug... assuming ok [12:18:26.246] checking alignment of PG_INT128_TYPE... 16 [12:18:26.624] checking for builtin __sync char locking functions... yes [12:18:26.671] checking for builtin __sync int32 locking functions... yes [12:18:26.720] checking for builtin __sync int32 atomic operations... yes [12:18:26.769] checking for builtin __sync int64 atomic operations... yes [12:18:26.819] checking for builtin __atomic int32 atomic operations... yes [12:18:26.865] checking for builtin __atomic int64 atomic operations... yes [12:18:26.911] checking for __get_cpuid... yes [12:18:26.960] checking for __get_cpuid_count... yes [12:18:27.008] checking for _xgetbv... yes [12:18:27.419] checking for _mm512_popcnt_epi64... yes [12:18:27.845] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [12:18:27.947] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [12:18:27.970] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [12:18:27.989] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [12:18:28.009] 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 [12:18:28.066] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [12:18:28.066] checking for _mm512_clmulepi64_epi128... yes [12:18:28.487] checking for vectorized CRC-32C... AVX-512 with runtime check [12:18:28.488] checking which random number source to use... Windows native [12:18:28.490] checking for xmllint... /usr/bin/xmllint [12:18:28.490] checking for xsltproc... /usr/bin/xsltproc [12:18:28.490] checking for fop... /usr/bin/fop [12:18:28.491] checking for dbtoepub... no [12:18:28.491] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [12:18:28.491] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [12:18:28.491] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [12:18:28.503] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [12:18:28.504] 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 [12:18:28.504] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [12:18:28.504] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [12:18:28.604] configure: creating ./config.status [12:18:28.697] config.status: creating GNUmakefile [12:18:28.710] config.status: creating src/Makefile.global [12:18:28.726] config.status: creating src/include/pg_config.h [12:18:28.740] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [12:18:28.757] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [12:18:28.765] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [12:18:28.773] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [12:18:28.781] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [12:18:28.789] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [12:18:28.793] config.status: executing check_win32_symlinks commands [12:18:28.831] [12:18:28.831] real 0m19.304s [12:18:28.831] user 0m12.990s [12:18:28.831] sys 0m5.983s [12:18:28.831] make -s -j${BUILD_JOBS} clean [12:18:29.390] time make -s -j${BUILD_JOBS} world-bin [12:20:31.430] backend_startup.c: In function ‘ExposeInformation’: [12:20:31.430] backend_startup.c:1279:65: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64’ {aka ‘long long unsigned int’} [-Werror=format=] [12:20:31.430] 1279 | appendStringInfo(&content, "%s%lu\r\n", [12:20:31.430] | ~~^ [12:20:31.430] | | [12:20:31.430] | long unsigned int [12:20:31.430] | %llu [12:20:31.430] 1280 | type == EXPOSE_GET_ALL ? "SYSID: " : "", [12:20:31.430] 1281 | GetSystemIdentifier()); [12:20:31.430] | ~~~~~~~~~~~~~~~~~~~~~ [12:20:31.430] | | [12:20:31.430] | uint64 {aka long long unsigned int} [12:20:31.430] cc1: all warnings being treated as errors [12:20:31.431] make[3]: *** [: backend_startup.o] Error 1 [12:20:31.431] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [12:20:31.431] make[2]: *** Waiting for unfinished jobs.... [12:20:46.793] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [12:20:46.794] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [12:20:46.794] [12:20:46.794] real 2m17.404s [12:20:46.794] user 7m25.005s [12:20:46.794] sys 1m23.535s [12:20:46.794] [12:20:46.794] Exit status: 2