[10:01:14.456] time ./configure \ [10:01:14.456] --host=x86_64-w64-mingw32 \ [10:01:14.456] --enable-cassert \ [10:01:14.456] --without-icu \ [10:01:14.456] CC="ccache x86_64-w64-mingw32-gcc" \ [10:01:14.456] CXX="ccache x86_64-w64-mingw32-g++" [10:01:14.584] checking build system type... x86_64-pc-linux-gnu [10:01:14.771] checking host system type... x86_64-w64-mingw32 [10:01:14.777] checking which template to use... win32 [10:01:14.777] checking whether NLS is wanted... no [10:01:14.777] checking for default port number... 5432 [10:01:14.784] checking for block size... 8kB [10:01:14.786] checking for segment size... 1GB [10:01:14.788] checking for WAL block size... 8kB [10:01:14.789] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [10:01:14.825] checking whether the C compiler works... yes [10:01:14.950] checking for C compiler default output file name... a.exe [10:01:14.952] checking for suffix of executables... .exe [10:01:14.994] checking whether we are cross compiling... yes [10:01:15.074] checking for suffix of object files... o [10:01:15.083] checking whether we are using the GNU C compiler... yes [10:01:15.090] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [10:01:15.098] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [10:01:15.109] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [10:01:15.165] checking whether we are using the GNU C++ compiler... yes [10:01:15.171] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [10:01:15.241] checking for gawk... no [10:01:15.241] checking for mawk... mawk [10:01:15.243] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [10:01:15.250] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [10:01:15.257] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [10:01:15.304] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [10:01:15.472] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [10:01:15.480] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [10:01:15.487] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [10:01:15.495] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [10:01:15.503] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [10:01:15.511] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [10:01:15.519] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [10:01:15.526] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [10:01:15.534] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [10:01:15.541] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [10:01:15.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [10:01:15.558] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [10:01:15.565] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [10:01:15.604] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [10:01:15.639] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [10:01:15.647] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [10:01:15.655] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [10:01:15.687] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [10:01:15.723] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [10:01:15.748] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [10:01:15.756] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [10:01:15.763] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [10:01:15.801] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [10:01:15.841] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [10:01:15.859] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [10:01:15.877] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [10:01:15.914] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [10:01:15.921] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [10:01:15.928] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [10:01:15.937] checking whether the C compiler still works... yes [10:01:16.032] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [10:01:16.106] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [10:01:16.106] checking pkg-config is at least version 0.9.0... yes [10:01:16.123] checking whether to build with ICU support... no [10:01:16.123] checking whether to build with Tcl... no [10:01:16.123] checking whether to build Perl modules... no [10:01:16.123] checking whether to build Python modules... no [10:01:16.123] checking whether to build with GSSAPI support... no [10:01:16.124] checking whether to build with PAM support... no [10:01:16.125] checking whether to build with BSD Authentication support... no [10:01:16.125] checking whether to build with LDAP support... no [10:01:16.125] checking whether to build with Bonjour support... no [10:01:16.125] checking whether to build with SELinux support... no [10:01:16.125] checking whether to build with systemd support... no [10:01:16.125] configure: WARNING: *** Readline does not work on MinGW --- disabling [10:01:16.125] checking whether to build with liburing support... no [10:01:16.125] checking whether to build with libcurl support... no [10:01:16.126] checking whether to build with libnuma support... no [10:01:16.126] checking whether to build with XML support... no [10:01:16.126] checking whether to build with LZ4 support... no [10:01:16.127] checking whether to build with ZSTD support... no [10:01:16.127] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [10:01:16.127] checking whether it is possible to strip libraries... yes [10:01:16.134] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [10:01:16.135] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [10:01:16.135] checking for a BSD-compatible install... /usr/bin/install -c [10:01:16.145] checking for tar... /usr/bin/tar [10:01:16.145] checking whether ln -s works... yes [10:01:16.145] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [10:01:16.147] checking for bison... /usr/bin/bison [10:01:16.150] configure: using bison (GNU Bison) 3.8.2 [10:01:16.153] checking for flex... /usr/bin/flex [10:01:16.155] configure: using flex 2.6.4 [10:01:16.155] checking for perl... /usr/bin/perl [10:01:16.158] configure: using perl 5.36.0 [10:01:16.160] checking for zic... /usr/sbin/zic [10:01:16.161] checking for a sed that does not truncate output... /usr/bin/sed [10:01:16.166] checking for grep that handles long lines and -e... /usr/bin/grep [10:01:16.169] checking for egrep... /usr/bin/grep -E [10:01:16.171] checking for ANSI C header files... yes [10:01:16.226] checking for sys/types.h... yes [10:01:16.244] checking for sys/stat.h... yes [10:01:16.259] checking for stdlib.h... yes [10:01:16.274] checking for string.h... yes [10:01:16.288] checking for memory.h... yes [10:01:16.304] checking for strings.h... yes [10:01:16.318] checking for inttypes.h... yes [10:01:16.334] checking for stdint.h... yes [10:01:16.348] checking for unistd.h... yes [10:01:16.365] checking for main in -lm... yes [10:01:16.413] checking for library containing setproctitle... no [10:01:16.506] checking for library containing dlsym... no [10:01:16.598] checking for library containing socket... -lws2_32 [10:01:16.734] checking for library containing getopt_long... none required [10:01:16.784] checking for library containing shm_open... no [10:01:16.877] checking for library containing shm_unlink... no [10:01:16.969] checking for library containing clock_gettime... no [10:01:17.060] checking for library containing shmget... no [10:01:17.151] checking for library containing backtrace_symbols... no [10:01:17.242] checking for library containing pthread_barrier_wait... -lpthread [10:01:17.332] checking for inflate in -lz... yes [10:01:17.383] checking atomic.h usability... no [10:01:17.443] checking atomic.h presence... no [10:01:17.462] checking for atomic.h... no [10:01:17.466] checking copyfile.h usability... no [10:01:17.526] checking copyfile.h presence... no [10:01:17.548] checking for copyfile.h... no [10:01:17.551] checking execinfo.h usability... no [10:01:17.610] checking execinfo.h presence... no [10:01:17.630] checking for execinfo.h... no [10:01:17.634] checking getopt.h usability... yes [10:01:17.641] checking getopt.h presence... yes [10:01:17.657] checking for getopt.h... yes [10:01:17.664] checking ifaddrs.h usability... no [10:01:17.722] checking ifaddrs.h presence... no [10:01:17.741] checking for ifaddrs.h... no [10:01:17.745] checking mbarrier.h usability... no [10:01:17.803] checking mbarrier.h presence... no [10:01:17.823] checking for mbarrier.h... no [10:01:17.826] checking sys/epoll.h usability... no [10:01:17.886] checking sys/epoll.h presence... no [10:01:17.906] checking for sys/epoll.h... no [10:01:17.910] checking sys/event.h usability... no [10:01:17.970] checking sys/event.h presence... no [10:01:17.992] checking for sys/event.h... no [10:01:17.996] checking sys/personality.h usability... no [10:01:18.057] checking sys/personality.h presence... no [10:01:18.078] checking for sys/personality.h... no [10:01:18.081] checking sys/prctl.h usability... no [10:01:18.141] checking sys/prctl.h presence... no [10:01:18.162] checking for sys/prctl.h... no [10:01:18.165] checking sys/procctl.h usability... no [10:01:18.226] checking sys/procctl.h presence... no [10:01:18.245] checking for sys/procctl.h... no [10:01:18.249] checking sys/signalfd.h usability... no [10:01:18.305] checking sys/signalfd.h presence... no [10:01:18.325] checking for sys/signalfd.h... no [10:01:18.329] checking sys/ucred.h usability... no [10:01:18.386] checking sys/ucred.h presence... no [10:01:18.406] checking for sys/ucred.h... no [10:01:18.410] checking termios.h usability... no [10:01:18.468] checking termios.h presence... no [10:01:18.488] checking for termios.h... no [10:01:18.492] checking ucred.h usability... no [10:01:18.550] checking ucred.h presence... no [10:01:18.571] checking for ucred.h... no [10:01:18.575] checking xlocale.h usability... no [10:01:18.634] checking xlocale.h presence... no [10:01:18.655] checking for xlocale.h... no [10:01:18.658] checking zlib.h usability... yes [10:01:18.668] checking zlib.h presence... yes [10:01:18.688] checking for zlib.h... yes [10:01:18.689] checking for lz4... /usr/bin/lz4 [10:01:18.689] checking for zstd... /usr/bin/zstd [10:01:18.689] checking for openssl... /usr/bin/openssl [10:01:18.693] configure: using openssl: OpenSSL 3.0.16 11 Feb 2025 (Library: OpenSSL 3.0.16 11 Feb 2025) [10:01:18.694] checking crtdefs.h usability... yes [10:01:18.724] checking crtdefs.h presence... yes [10:01:18.741] checking for crtdefs.h... yes [10:01:18.742] checking whether byte ordering is bigendian... no [10:01:18.823] checking for inline... inline [10:01:18.830] checking for printf format archetype... gnu_printf [10:01:18.840] checking for _Static_assert... yes [10:01:18.883] checking for typeof... typeof [10:01:18.892] checking for __builtin_types_compatible_p... yes [10:01:18.933] checking for __builtin_constant_p... yes [10:01:18.945] checking for __builtin_mul_overflow... yes [10:01:18.996] checking for __builtin_unreachable... yes [10:01:19.041] checking for computed goto support... yes [10:01:19.049] checking for struct tm.tm_zone... no [10:01:19.136] checking for union semun... no [10:01:19.174] checking for socklen_t... yes [10:01:20.404] checking for struct sockaddr.sa_len... no [10:01:22.584] checking for C/C++ restrict keyword... __restrict [10:01:22.598] checking for struct option... yes [10:01:22.643] checking whether assembler supports x86_64 popcntq... yes [10:01:22.651] checking size of off_t... 4 [10:01:22.869] 0 [10:01:22.869] checking for int timezone... yes [10:01:22.922] checking for backtrace_symbols... no [10:01:22.973] checking for copyfile... no [10:01:23.025] checking for copy_file_range... no [10:01:23.076] checking for elf_aux_info... no [10:01:23.127] checking for getauxval... no [10:01:23.179] checking for getifaddrs... no [10:01:23.230] checking for getpeerucred... no [10:01:23.281] checking for inet_pton... yes [10:01:23.335] checking for kqueue... no [10:01:23.391] checking for localeconv_l... no [10:01:23.447] checking for mbstowcs_l... no [10:01:23.500] checking for posix_fallocate... no [10:01:23.555] checking for ppoll... no [10:01:23.608] checking for pthread_is_threaded_np... no [10:01:23.661] checking for setproctitle... no [10:01:23.715] checking for setproctitle_fast... no [10:01:23.769] checking for strsignal... no [10:01:23.823] checking for syncfs... no [10:01:23.878] checking for sync_file_range... no [10:01:23.935] checking for uselocale... no [10:01:23.991] checking for wcstombs_l... no [10:01:24.042] checking for __builtin_bswap16... yes [10:01:24.096] checking for __builtin_bswap32... yes [10:01:24.147] checking for __builtin_bswap64... yes [10:01:24.198] checking for __builtin_clz... yes [10:01:24.254] checking for __builtin_ctz... yes [10:01:24.305] checking for __builtin_popcount... yes [10:01:24.358] checking for __builtin_frame_address... yes [10:01:24.411] checking for _LARGEFILE_SOURCE value needed for large files... no [10:01:24.467] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [10:01:24.501] checking for posix_fadvise... no [10:01:24.559] checking whether posix_fadvise is declared... no [10:01:24.609] checking whether fdatasync is declared... no [10:01:24.660] checking whether strlcat is declared... no [10:01:24.728] checking whether strlcpy is declared... no [10:01:24.799] checking whether strnlen is declared... yes [10:01:24.815] checking whether strsep is declared... no [10:01:24.888] checking whether timingsafe_bcmp is declared... no [10:01:24.959] checking whether preadv is declared... no [10:01:25.001] checking whether pwritev is declared... no [10:01:25.042] checking whether strchrnul is declared... no [10:01:25.092] checking whether memset_s is declared... no [10:01:25.141] checking whether F_FULLFSYNC is declared... no [10:01:25.187] checking for explicit_bzero... no [10:01:25.238] checking for getopt... yes [10:01:25.284] checking for getpeereid... no [10:01:25.337] checking for inet_aton... no [10:01:25.390] checking for mkdtemp... no [10:01:25.441] checking for strlcat... no [10:01:25.493] checking for strlcpy... no [10:01:25.544] checking for strnlen... yes [10:01:25.595] checking for strsep... no [10:01:25.647] checking for timingsafe_bcmp... no [10:01:25.699] checking for pthread_barrier_wait... yes [10:01:25.747] configure: On mingw32 we will use our strtof wrapper. [10:01:25.747] checking for getopt_long... yes [10:01:25.796] checking for syslog... no [10:01:25.846] checking for opterr... yes [10:01:25.896] checking for optreset... no [10:01:25.948] checking test program... cross-compiling [10:01:25.948] checking size of void *... 8 [10:01:26.275] checking size of size_t... 8 [10:01:26.623] checking size of long... 4 [10:01:26.843] checking size of long long... 8 [10:01:27.127] checking alignment of short... 2 [10:01:27.279] checking alignment of int... 4 [10:01:27.652] checking alignment of long... 4 [10:01:27.876] checking alignment of int64_t... 8 [10:01:28.171] checking alignment of double... 8 [10:01:28.549] checking for __int128... yes [10:01:28.601] checking for __int128 alignment bug... assuming ok [10:01:28.601] checking alignment of PG_INT128_TYPE... 16 [10:01:28.963] checking for builtin __sync char locking functions... yes [10:01:29.009] checking for builtin __sync int32 locking functions... yes [10:01:29.055] checking for builtin __sync int32 atomic operations... yes [10:01:29.102] checking for builtin __sync int64 atomic operations... yes [10:01:29.150] checking for builtin __atomic int32 atomic operations... yes [10:01:29.197] checking for builtin __atomic int64 atomic operations... yes [10:01:29.245] checking for __get_cpuid... yes [10:01:29.296] checking for __get_cpuid_count... yes [10:01:29.343] checking for __cpuid... no [10:01:29.748] checking for __cpuidex... no [10:01:30.174] checking for _xgetbv... yes [10:01:30.587] checking for _mm512_popcnt_epi64... yes [10:01:31.007] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [10:01:31.116] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [10:01:31.140] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [10:01:31.160] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [10:01:31.182] 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 [10:01:31.241] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [10:01:31.241] checking for _mm512_clmulepi64_epi128... yes [10:01:31.663] checking for vectorized CRC-32C... AVX-512 with runtime check [10:01:31.664] checking which random number source to use... Windows native [10:01:31.666] checking for xmllint... /usr/bin/xmllint [10:01:31.666] checking for xsltproc... /usr/bin/xsltproc [10:01:31.667] checking for fop... /usr/bin/fop [10:01:31.667] checking for dbtoepub... no [10:01:31.667] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [10:01:31.667] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [10:01:31.668] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [10:01:31.678] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [10:01:31.678] 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 [10:01:31.678] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [10:01:31.679] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [10:01:31.774] configure: creating ./config.status [10:01:31.864] config.status: creating GNUmakefile [10:01:31.877] config.status: creating src/Makefile.global [10:01:31.892] config.status: creating src/include/pg_config.h [10:01:31.905] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [10:01:31.920] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [10:01:31.928] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [10:01:31.935] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [10:01:31.942] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [10:01:31.950] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [10:01:31.954] config.status: executing check_win32_symlinks commands [10:01:31.989] [10:01:31.989] real 0m17.533s [10:01:31.989] user 0m11.700s [10:01:31.989] sys 0m5.529s [10:01:31.989] make -s -j${BUILD_JOBS} clean [10:01:32.535] time make -s -j${BUILD_JOBS} world-bin [10:02:01.476] backend_startup.c: In function ‘ExposeInformation’: [10:02:01.476] backend_startup.c:1266:65: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64’ {aka ‘long long unsigned int’} [-Werror=format=] [10:02:01.476] 1266 | appendStringInfo(&content, "%s%lu\r\n", [10:02:01.476] | ~~^ [10:02:01.476] | | [10:02:01.476] | long unsigned int [10:02:01.476] | %llu [10:02:01.476] 1267 | type == EXPOSE_GET_ALL ? "SYSID: " : "", [10:02:01.476] 1268 | GetSystemIdentifier()); [10:02:01.476] | ~~~~~~~~~~~~~~~~~~~~~ [10:02:01.476] | | [10:02:01.476] | uint64 {aka long long unsigned int} [10:02:01.476] cc1: all warnings being treated as errors [10:02:01.477] make[3]: *** [: backend_startup.o] Error 1 [10:02:01.477] make[2]: *** [common.mk:37: tcop-recursive] Error 2 [10:02:01.477] make[2]: *** Waiting for unfinished jobs.... [10:02:04.647] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [10:02:04.647] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [10:02:04.647] [10:02:04.647] real 0m32.113s [10:02:04.647] user 1m33.175s [10:02:04.647] sys 0m22.752s [10:02:04.647] [10:02:04.647] Exit status: 2