[21:39:41.907] time ./configure \ [21:39:41.907] --host=x86_64-w64-mingw32 \ [21:39:41.907] --enable-cassert \ [21:39:41.907] --without-icu \ [21:39:41.907] CC="ccache x86_64-w64-mingw32-gcc" \ [21:39:41.907] CXX="ccache x86_64-w64-mingw32-g++" [21:39:42.050] checking build system type... x86_64-pc-linux-gnu [21:39:42.284] checking host system type... x86_64-w64-mingw32 [21:39:42.291] checking which template to use... win32 [21:39:42.291] checking whether NLS is wanted... no [21:39:42.291] checking for default port number... 5432 [21:39:42.300] checking for block size... 8kB [21:39:42.302] checking for segment size... 1GB [21:39:42.305] checking for WAL block size... 8kB [21:39:42.306] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [21:39:42.349] checking whether the C compiler works... yes [21:39:42.512] checking for C compiler default output file name... a.exe [21:39:42.513] checking for suffix of executables... .exe [21:39:42.558] checking whether we are cross compiling... yes [21:39:42.645] checking for suffix of object files... o [21:39:42.655] checking whether we are using the GNU C compiler... yes [21:39:42.694] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [21:39:42.703] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [21:39:42.804] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [21:39:42.882] checking whether we are using the GNU C++ compiler... yes [21:39:42.891] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [21:39:42.977] checking for gawk... no [21:39:42.977] checking for mawk... mawk [21:39:42.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [21:39:43.020] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [21:39:43.060] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [21:39:43.115] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [21:39:43.336] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [21:39:43.379] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [21:39:43.481] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [21:39:43.489] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [21:39:43.497] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [21:39:43.533] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [21:39:43.541] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [21:39:43.549] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [21:39:43.556] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [21:39:43.574] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [21:39:43.593] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [21:39:43.601] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [21:39:43.638] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [21:39:43.682] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [21:39:43.724] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [21:39:43.734] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [21:39:43.744] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [21:39:43.785] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [21:39:43.795] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [21:39:43.828] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [21:39:43.837] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [21:39:43.859] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [21:39:43.904] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [21:39:43.948] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [21:39:43.986] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [21:39:44.027] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [21:39:44.067] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [21:39:44.077] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [21:39:44.087] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [21:39:44.128] checking whether the C compiler still works... yes [21:39:44.189] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [21:39:44.284] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [21:39:44.284] checking pkg-config is at least version 0.9.0... yes [21:39:44.306] checking whether to build with ICU support... no [21:39:44.307] checking whether to build with Tcl... no [21:39:44.307] checking whether to build Perl modules... no [21:39:44.307] checking whether to build Python modules... no [21:39:44.307] checking whether to build with GSSAPI support... no [21:39:44.309] checking whether to build with PAM support... no [21:39:44.309] checking whether to build with BSD Authentication support... no [21:39:44.309] checking whether to build with LDAP support... no [21:39:44.309] checking whether to build with Bonjour support... no [21:39:44.309] checking whether to build with SELinux support... no [21:39:44.309] checking whether to build with systemd support... no [21:39:44.309] configure: WARNING: *** Readline does not work on MinGW --- disabling [21:39:44.309] checking whether to build with XML support... no [21:39:44.310] checking whether to build with LZ4 support... no [21:39:44.310] checking whether to build with ZSTD support... no [21:39:44.311] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [21:39:44.311] checking whether it is possible to strip libraries... yes [21:39:44.321] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [21:39:44.322] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [21:39:44.322] checking for a BSD-compatible install... /usr/bin/install -c [21:39:44.335] checking for tar... /usr/bin/tar [21:39:44.335] checking whether ln -s works... yes [21:39:44.335] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [21:39:44.338] checking for bison... /usr/bin/bison [21:39:44.341] configure: using bison (GNU Bison) 3.8.2 [21:39:44.345] checking for flex... /usr/bin/flex [21:39:44.361] configure: using flex 2.6.4 [21:39:44.361] checking for perl... /usr/bin/perl [21:39:44.365] configure: using perl 5.36.0 [21:39:44.368] checking for zic... /usr/sbin/zic [21:39:44.368] checking for a sed that does not truncate output... /usr/bin/sed [21:39:44.375] checking for grep that handles long lines and -e... /usr/bin/grep [21:39:44.378] checking for egrep... /usr/bin/grep -E [21:39:44.381] checking for ANSI C header files... yes [21:39:44.484] checking for sys/types.h... yes [21:39:44.503] checking for sys/stat.h... yes [21:39:44.572] checking for stdlib.h... yes [21:39:44.588] checking for string.h... yes [21:39:44.605] checking for memory.h... yes [21:39:44.625] checking for strings.h... yes [21:39:44.693] checking for inttypes.h... yes [21:39:44.714] checking for stdint.h... yes [21:39:44.756] checking for unistd.h... yes [21:39:44.832] checking for main in -lm... yes [21:39:44.887] checking for library containing setproctitle... no [21:39:44.986] checking for library containing dlsym... no [21:39:45.087] checking for library containing socket... -lws2_32 [21:39:45.242] checking for library containing getopt_long... none required [21:39:45.299] checking for library containing shm_open... no [21:39:45.401] checking for library containing shm_unlink... no [21:39:45.495] checking for library containing clock_gettime... no [21:39:45.586] checking for library containing shmget... no [21:39:45.679] checking for library containing backtrace_symbols... no [21:39:45.781] checking for library containing pthread_barrier_wait... -lpthread [21:39:45.885] checking for inflate in -lz... yes [21:39:45.937] checking for stdbool.h that conforms to C99... yes [21:39:45.990] checking for _Bool... yes [21:39:46.135] checking atomic.h usability... no [21:39:46.203] checking atomic.h presence... no [21:39:46.227] checking for atomic.h... no [21:39:46.231] checking copyfile.h usability... no [21:39:46.297] checking copyfile.h presence... no [21:39:46.321] checking for copyfile.h... no [21:39:46.326] checking execinfo.h usability... no [21:39:46.396] checking execinfo.h presence... no [21:39:46.421] checking for execinfo.h... no [21:39:46.426] checking getopt.h usability... yes [21:39:46.461] checking getopt.h presence... yes [21:39:46.480] checking for getopt.h... yes [21:39:46.488] checking ifaddrs.h usability... no [21:39:46.554] checking ifaddrs.h presence... no [21:39:46.578] checking for ifaddrs.h... no [21:39:46.582] checking mbarrier.h usability... no [21:39:46.648] checking mbarrier.h presence... no [21:39:46.672] checking for mbarrier.h... no [21:39:46.677] checking sys/epoll.h usability... no [21:39:46.744] checking sys/epoll.h presence... no [21:39:46.770] checking for sys/epoll.h... no [21:39:46.774] checking sys/event.h usability... no [21:39:46.841] checking sys/event.h presence... no [21:39:46.865] checking for sys/event.h... no [21:39:46.869] checking sys/personality.h usability... no [21:39:46.938] checking sys/personality.h presence... no [21:39:46.960] checking for sys/personality.h... no [21:39:46.964] checking sys/prctl.h usability... no [21:39:47.029] checking sys/prctl.h presence... no [21:39:47.053] checking for sys/prctl.h... no [21:39:47.058] checking sys/procctl.h usability... no [21:39:47.121] checking sys/procctl.h presence... no [21:39:47.144] checking for sys/procctl.h... no [21:39:47.149] checking sys/signalfd.h usability... no [21:39:47.213] checking sys/signalfd.h presence... no [21:39:47.238] checking for sys/signalfd.h... no [21:39:47.243] checking sys/ucred.h usability... no [21:39:47.311] checking sys/ucred.h presence... no [21:39:47.336] checking for sys/ucred.h... no [21:39:47.340] checking termios.h usability... no [21:39:47.407] checking termios.h presence... no [21:39:47.432] checking for termios.h... no [21:39:47.437] checking ucred.h usability... no [21:39:47.503] checking ucred.h presence... no [21:39:47.525] checking for ucred.h... no [21:39:47.529] checking xlocale.h usability... no [21:39:47.589] checking xlocale.h presence... no [21:39:47.612] checking for xlocale.h... no [21:39:47.616] checking zlib.h usability... yes [21:39:47.653] checking zlib.h presence... yes [21:39:47.675] checking for zlib.h... yes [21:39:47.676] checking for lz4... /usr/bin/lz4 [21:39:47.676] checking for zstd... /usr/bin/zstd [21:39:47.677] checking for openssl... /usr/bin/openssl [21:39:47.682] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [21:39:47.683] checking crtdefs.h usability... yes [21:39:47.693] checking crtdefs.h presence... yes [21:39:47.712] checking for crtdefs.h... yes [21:39:47.713] checking whether byte ordering is bigendian... no [21:39:47.807] checking for inline... inline [21:39:47.844] checking for printf format archetype... gnu_printf [21:39:47.868] checking for _Static_assert... yes [21:39:47.918] checking for typeof... typeof [21:39:47.928] checking for __builtin_types_compatible_p... yes [21:39:47.943] checking for __builtin_constant_p... yes [21:39:47.958] checking for __builtin_unreachable... yes [21:39:48.010] checking for computed goto support... yes [21:39:48.020] checking for struct tm.tm_zone... no [21:39:48.124] checking for union semun... no [21:39:48.169] checking for socklen_t... yes [21:39:50.700] checking for struct sockaddr.sa_len... no [21:39:53.082] checking for C/C++ restrict keyword... __restrict [21:39:53.098] checking for struct option... yes [21:39:53.188] checking whether assembler supports x86_64 popcntq... yes [21:39:53.197] checking size of off_t... 4 [21:39:53.520] 0 [21:39:53.520] checking size of bool... 1 [21:39:53.601] checking for int timezone... yes [21:39:53.659] checking for backtrace_symbols... no [21:39:53.720] checking for copyfile... no [21:39:53.782] checking for copy_file_range... no [21:39:53.844] checking for getifaddrs... no [21:39:53.905] checking for getpeerucred... no [21:39:53.969] checking for inet_pton... yes [21:39:54.031] checking for kqueue... no [21:39:54.093] checking for mbstowcs_l... no [21:39:54.154] checking for memset_s... no [21:39:54.215] checking for posix_fallocate... no [21:39:54.276] checking for ppoll... no [21:39:54.340] checking for pthread_is_threaded_np... no [21:39:54.399] checking for setproctitle... no [21:39:54.457] checking for setproctitle_fast... no [21:39:54.515] checking for strchrnul... no [21:39:54.571] checking for strsignal... no [21:39:54.626] checking for syncfs... no [21:39:54.678] checking for sync_file_range... no [21:39:54.732] checking for uselocale... no [21:39:54.792] checking for wcstombs_l... no [21:39:54.849] checking for __builtin_bswap16... yes [21:39:54.907] checking for __builtin_bswap32... yes [21:39:54.963] checking for __builtin_bswap64... yes [21:39:55.022] checking for __builtin_clz... yes [21:39:55.080] checking for __builtin_ctz... yes [21:39:55.136] checking for __builtin_popcount... yes [21:39:55.197] checking for __builtin_frame_address... yes [21:39:55.255] checking for _LARGEFILE_SOURCE value needed for large files... no [21:39:55.316] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [21:39:55.357] checking for posix_fadvise... no [21:39:55.420] checking whether posix_fadvise is declared... no [21:39:55.477] checking whether fdatasync is declared... no [21:39:55.533] checking whether strlcat is declared... no [21:39:55.602] checking whether strlcpy is declared... no [21:39:55.674] checking whether strnlen is declared... yes [21:39:55.758] checking whether strsep is declared... no [21:39:55.836] checking whether preadv is declared... no [21:39:55.887] checking whether pwritev is declared... no [21:39:55.934] checking whether F_FULLFSYNC is declared... no [21:39:55.982] checking for explicit_bzero... no [21:39:56.039] checking for getopt... yes [21:39:56.092] checking for getpeereid... no [21:39:56.153] checking for inet_aton... no [21:39:56.211] checking for mkdtemp... no [21:39:56.270] checking for strlcat... no [21:39:56.329] checking for strlcpy... no [21:39:56.387] checking for strnlen... yes [21:39:56.443] checking for strsep... no [21:39:56.501] checking for pthread_barrier_wait... yes [21:39:56.551] configure: On mingw32 we will use our strtof wrapper. [21:39:56.551] checking for getopt_long... yes [21:39:56.600] checking for _configthreadlocale... yes [21:39:56.649] checking for syslog... no [21:39:56.706] checking for opterr... yes [21:39:56.761] checking for optreset... no [21:39:56.824] checking test program... cross-compiling [21:39:56.824] checking whether long int is 64 bits... no [21:39:56.866] checking whether long long int is 64 bits... yes [21:39:56.879] checking for __builtin_mul_overflow... yes [21:39:56.932] checking size of void *... 8 [21:39:57.323] checking size of size_t... 8 [21:39:57.812] checking size of long... 4 [21:39:58.103] checking alignment of short... 2 [21:39:58.398] checking alignment of int... 4 [21:39:58.699] checking alignment of long... 4 [21:39:59.121] checking alignment of long long int... 8 [21:39:59.471] checking alignment of double... 8 [21:39:59.882] checking for __int128... yes [21:39:59.937] checking for __int128 alignment bug... assuming ok [21:39:59.937] checking alignment of PG_INT128_TYPE... 16 [21:40:00.574] checking for builtin __sync char locking functions... yes [21:40:00.622] checking for builtin __sync int32 locking functions... yes [21:40:00.677] checking for builtin __sync int32 atomic operations... yes [21:40:00.729] checking for builtin __sync int64 atomic operations... yes [21:40:00.780] checking for builtin __atomic int32 atomic operations... yes [21:40:00.833] checking for builtin __atomic int64 atomic operations... yes [21:40:00.883] checking for __get_cpuid... yes [21:40:00.937] checking for __get_cpuid_count... yes [21:40:00.992] checking for __cpuid... no [21:40:01.418] checking for __cpuidex... no [21:40:01.871] checking for _xgetbv... yes [21:40:02.306] checking for _mm512_popcnt_epi64... yes [21:40:02.749] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [21:40:02.803] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [21:40:02.907] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [21:40:02.935] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [21:40:02.959] 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 [21:40:03.024] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [21:40:03.024] checking which random number source to use... Windows native [21:40:03.027] checking for xmllint... /usr/bin/xmllint [21:40:03.027] checking for xsltproc... /usr/bin/xsltproc [21:40:03.028] checking for fop... /usr/bin/fop [21:40:03.028] checking for dbtoepub... no [21:40:03.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [21:40:03.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [21:40:03.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [21:40:03.045] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [21:40:03.045] 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 [21:40:03.046] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [21:40:03.046] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [21:40:03.163] configure: creating ./config.status [21:40:03.278] config.status: creating GNUmakefile [21:40:03.294] config.status: creating src/Makefile.global [21:40:03.316] config.status: creating src/include/pg_config.h [21:40:03.334] config.status: creating src/include/pg_config_ext.h [21:40:03.349] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [21:40:03.369] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [21:40:03.379] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [21:40:03.389] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [21:40:03.397] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [21:40:03.407] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [21:40:03.411] config.status: executing check_win32_symlinks commands [21:40:03.452] [21:40:03.452] real 0m21.545s [21:40:03.452] user 0m14.129s [21:40:03.452] sys 0m6.836s [21:40:03.452] make -s -j${BUILD_JOBS} clean [21:40:04.040] time make -s -j${BUILD_JOBS} world-bin [21:41:46.159] datachecksumsworker.c: In function ‘ProcessDatabase’: [21:41:46.159] datachecksumsworker.c:590:67: error: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘pid_t’ {aka ‘long long int’} [-Werror=format=] [21:41:46.159] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [21:41:46.159] | ~^ ~~~ [21:41:46.159] | | | [21:41:46.159] | int pid_t {aka long long int} [21:41:46.159] | %lld [21:41:46.159] cc1: all warnings being treated as errors [21:41:46.160] make[3]: *** [: datachecksumsworker.o] Error 1 [21:41:46.160] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [21:41:46.160] make[2]: *** Waiting for unfinished jobs.... [21:42:09.853] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [21:42:09.853] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [21:42:09.854] [21:42:09.854] real 2m5.813s [21:42:09.854] user 6m51.431s [21:42:09.854] sys 1m15.656s [21:42:09.854] [21:42:09.854] Exit status: 2