[05:17:42.630] time ./configure \ [05:17:42.630] --host=x86_64-w64-mingw32 \ [05:17:42.630] --enable-cassert \ [05:17:42.630] --without-icu \ [05:17:42.630] CC="ccache x86_64-w64-mingw32-gcc" \ [05:17:42.630] CXX="ccache x86_64-w64-mingw32-g++" [05:17:42.742] checking build system type... x86_64-pc-linux-gnu [05:17:42.920] checking host system type... x86_64-w64-mingw32 [05:17:42.925] checking which template to use... win32 [05:17:42.925] checking whether NLS is wanted... no [05:17:42.926] checking for default port number... 5432 [05:17:42.932] checking for block size... 8kB [05:17:42.933] checking for segment size... 1GB [05:17:42.935] checking for WAL block size... 8kB [05:17:42.936] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [05:17:42.967] checking whether the C compiler works... yes [05:17:43.087] checking for C compiler default output file name... a.exe [05:17:43.088] checking for suffix of executables... .exe [05:17:43.126] checking whether we are cross compiling... yes [05:17:43.201] checking for suffix of object files... o [05:17:43.208] checking whether we are using the GNU C compiler... yes [05:17:43.237] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [05:17:43.243] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [05:17:43.316] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [05:17:43.374] checking whether we are using the GNU C++ compiler... yes [05:17:43.512] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [05:17:43.629] checking for gawk... no [05:17:43.629] checking for mawk... mawk [05:17:43.632] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [05:17:43.660] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [05:17:43.666] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [05:17:43.711] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [05:17:43.754] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [05:17:43.761] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [05:17:43.775] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [05:17:43.805] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [05:17:43.811] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [05:17:43.818] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [05:17:43.824] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [05:17:43.838] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [05:17:43.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [05:17:43.850] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [05:17:43.881] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [05:17:43.896] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [05:17:43.902] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [05:17:43.937] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [05:17:43.952] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [05:17:43.981] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [05:17:43.988] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [05:17:44.017] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [05:17:44.023] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [05:17:44.044] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [05:17:44.051] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [05:17:44.065] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [05:17:44.101] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [05:17:44.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [05:17:44.144] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [05:17:44.172] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [05:17:44.206] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [05:17:44.237] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [05:17:44.244] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [05:17:44.251] checking whether the C compiler still works... yes [05:17:44.298] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [05:17:44.366] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [05:17:44.367] checking pkg-config is at least version 0.9.0... yes [05:17:44.383] checking whether to build with ICU support... no [05:17:44.383] checking whether to build with Tcl... no [05:17:44.383] checking whether to build Perl modules... no [05:17:44.383] checking whether to build Python modules... no [05:17:44.383] checking whether to build with GSSAPI support... no [05:17:44.384] checking whether to build with PAM support... no [05:17:44.384] checking whether to build with BSD Authentication support... no [05:17:44.384] checking whether to build with LDAP support... no [05:17:44.384] checking whether to build with Bonjour support... no [05:17:44.385] checking whether to build with SELinux support... no [05:17:44.385] checking whether to build with systemd support... no [05:17:44.385] configure: WARNING: *** Readline does not work on MinGW --- disabling [05:17:44.385] checking whether to build with XML support... no [05:17:44.385] checking whether to build with LZ4 support... no [05:17:44.385] checking whether to build with ZSTD support... no [05:17:44.386] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [05:17:44.386] checking whether it is possible to strip libraries... yes [05:17:44.393] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [05:17:44.394] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [05:17:44.394] checking for a BSD-compatible install... /usr/bin/install -c [05:17:44.402] checking for tar... /usr/bin/tar [05:17:44.402] checking whether ln -s works... yes [05:17:44.403] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [05:17:44.405] checking for bison... /usr/bin/bison [05:17:44.407] configure: using bison (GNU Bison) 3.8.2 [05:17:44.410] checking for flex... /usr/bin/flex [05:17:44.422] configure: using flex 2.6.4 [05:17:44.422] checking for perl... /usr/bin/perl [05:17:44.425] configure: using perl 5.36.0 [05:17:44.427] checking for zic... /usr/sbin/zic [05:17:44.427] checking for a sed that does not truncate output... /usr/bin/sed [05:17:44.432] checking for grep that handles long lines and -e... /usr/bin/grep [05:17:44.434] checking for egrep... /usr/bin/grep -E [05:17:44.435] checking for ANSI C header files... yes [05:17:44.481] checking for sys/types.h... yes [05:17:44.515] checking for sys/stat.h... yes [05:17:44.572] checking for stdlib.h... yes [05:17:44.604] checking for string.h... yes [05:17:44.636] checking for memory.h... yes [05:17:44.651] checking for strings.h... yes [05:17:44.685] checking for inttypes.h... yes [05:17:44.702] checking for stdint.h... yes [05:17:44.735] checking for unistd.h... yes [05:17:44.769] checking for main in -lm... yes [05:17:44.812] checking for library containing setproctitle... no [05:17:44.892] checking for library containing dlsym... no [05:17:44.974] checking for library containing socket... -lws2_32 [05:17:45.092] checking for library containing getopt_long... none required [05:17:45.136] checking for library containing shm_open... no [05:17:45.217] checking for library containing shm_unlink... no [05:17:45.298] checking for library containing clock_gettime... no [05:17:45.378] checking for library containing shmget... no [05:17:45.462] checking for library containing backtrace_symbols... no [05:17:45.548] checking for library containing pthread_barrier_wait... -lpthread [05:17:45.634] checking for inflate in -lz... yes [05:17:45.679] checking atomic.h usability... no [05:17:45.733] checking atomic.h presence... no [05:17:45.751] checking for atomic.h... no [05:17:45.754] checking copyfile.h usability... no [05:17:45.806] checking copyfile.h presence... no [05:17:45.823] checking for copyfile.h... no [05:17:45.827] checking execinfo.h usability... no [05:17:45.877] checking execinfo.h presence... no [05:17:45.895] checking for execinfo.h... no [05:17:45.898] checking getopt.h usability... yes [05:17:45.951] checking getopt.h presence... yes [05:17:45.965] checking for getopt.h... yes [05:17:45.972] checking ifaddrs.h usability... no [05:17:46.024] checking ifaddrs.h presence... no [05:17:46.041] checking for ifaddrs.h... no [05:17:46.044] checking mbarrier.h usability... no [05:17:46.096] checking mbarrier.h presence... no [05:17:46.113] checking for mbarrier.h... no [05:17:46.116] checking sys/epoll.h usability... no [05:17:46.166] checking sys/epoll.h presence... no [05:17:46.183] checking for sys/epoll.h... no [05:17:46.186] checking sys/event.h usability... no [05:17:46.236] checking sys/event.h presence... no [05:17:46.252] checking for sys/event.h... no [05:17:46.255] checking sys/personality.h usability... no [05:17:46.305] checking sys/personality.h presence... no [05:17:46.322] checking for sys/personality.h... no [05:17:46.325] checking sys/prctl.h usability... no [05:17:46.376] checking sys/prctl.h presence... no [05:17:46.393] checking for sys/prctl.h... no [05:17:46.396] checking sys/procctl.h usability... no [05:17:46.446] checking sys/procctl.h presence... no [05:17:46.463] checking for sys/procctl.h... no [05:17:46.466] checking sys/signalfd.h usability... no [05:17:46.516] checking sys/signalfd.h presence... no [05:17:46.533] checking for sys/signalfd.h... no [05:17:46.536] checking sys/ucred.h usability... no [05:17:46.586] checking sys/ucred.h presence... no [05:17:46.603] checking for sys/ucred.h... no [05:17:46.605] checking termios.h usability... no [05:17:46.656] checking termios.h presence... no [05:17:46.672] checking for termios.h... no [05:17:46.675] checking ucred.h usability... no [05:17:46.725] checking ucred.h presence... no [05:17:46.742] checking for ucred.h... no [05:17:46.745] checking xlocale.h usability... no [05:17:46.796] checking xlocale.h presence... no [05:17:46.813] checking for xlocale.h... no [05:17:46.815] checking zlib.h usability... yes [05:17:46.824] checking zlib.h presence... yes [05:17:46.840] checking for zlib.h... yes [05:17:46.841] checking for lz4... /usr/bin/lz4 [05:17:46.841] checking for zstd... /usr/bin/zstd [05:17:46.841] checking for openssl... /usr/bin/openssl [05:17:46.845] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [05:17:46.846] checking crtdefs.h usability... yes [05:17:46.853] checking crtdefs.h presence... yes [05:17:46.867] checking for crtdefs.h... yes [05:17:46.869] checking whether byte ordering is bigendian... no [05:17:46.964] checking for inline... inline [05:17:46.971] checking for printf format archetype... gnu_printf [05:17:46.979] checking for _Static_assert... yes [05:17:47.018] checking for typeof... typeof [05:17:47.052] checking for __builtin_types_compatible_p... yes [05:17:47.072] checking for __builtin_constant_p... yes [05:17:47.081] checking for __builtin_mul_overflow... yes [05:17:47.125] checking for __builtin_unreachable... yes [05:17:47.163] checking for computed goto support... yes [05:17:47.194] checking for struct tm.tm_zone... no [05:17:47.267] checking for union semun... no [05:17:47.298] checking for socklen_t... yes [05:17:48.713] checking for struct sockaddr.sa_len... no [05:17:50.651] checking for C/C++ restrict keyword... __restrict [05:17:50.663] checking for struct option... yes [05:17:50.701] checking whether assembler supports x86_64 popcntq... yes [05:17:50.708] checking size of off_t... 4 [05:17:51.049] 0 [05:17:51.049] checking for int timezone... yes [05:17:51.098] checking for backtrace_symbols... no [05:17:51.144] checking for copyfile... no [05:17:51.190] checking for copy_file_range... no [05:17:51.235] checking for elf_aux_info... no [05:17:51.281] checking for getauxval... no [05:17:51.327] checking for getifaddrs... no [05:17:51.375] checking for getpeerucred... no [05:17:51.422] checking for inet_pton... yes [05:17:51.468] checking for kqueue... no [05:17:51.518] checking for mbstowcs_l... no [05:17:51.566] checking for memset_s... no [05:17:51.612] checking for posix_fallocate... no [05:17:51.659] checking for ppoll... no [05:17:51.706] checking for pthread_is_threaded_np... no [05:17:51.752] checking for setproctitle... no [05:17:51.799] checking for setproctitle_fast... no [05:17:51.844] checking for strchrnul... no [05:17:51.891] checking for strsignal... no [05:17:51.937] checking for syncfs... no [05:17:51.983] checking for sync_file_range... no [05:17:52.029] checking for uselocale... no [05:17:52.077] checking for wcstombs_l... no [05:17:52.123] checking for __builtin_bswap16... yes [05:17:52.169] checking for __builtin_bswap32... yes [05:17:52.214] checking for __builtin_bswap64... yes [05:17:52.260] checking for __builtin_clz... yes [05:17:52.306] checking for __builtin_ctz... yes [05:17:52.353] checking for __builtin_popcount... yes [05:17:52.399] checking for __builtin_frame_address... yes [05:17:52.445] checking for _LARGEFILE_SOURCE value needed for large files... no [05:17:52.494] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [05:17:52.524] checking for posix_fadvise... no [05:17:52.576] checking whether posix_fadvise is declared... no [05:17:52.621] checking whether fdatasync is declared... no [05:17:52.665] checking whether strlcat is declared... no [05:17:52.727] checking whether strlcpy is declared... no [05:17:52.791] checking whether strnlen is declared... yes [05:17:52.825] checking whether strsep is declared... no [05:17:52.889] checking whether preadv is declared... no [05:17:52.923] checking whether pwritev is declared... no [05:17:52.961] checking whether F_FULLFSYNC is declared... no [05:17:53.000] checking for explicit_bzero... no [05:17:53.045] checking for getopt... yes [05:17:53.087] checking for getpeereid... no [05:17:53.132] checking for inet_aton... no [05:17:53.177] checking for mkdtemp... no [05:17:53.221] checking for strlcat... no [05:17:53.265] checking for strlcpy... no [05:17:53.310] checking for strnlen... yes [05:17:53.355] checking for strsep... no [05:17:53.399] checking for pthread_barrier_wait... yes [05:17:53.443] configure: On mingw32 we will use our strtof wrapper. [05:17:53.443] checking for getopt_long... yes [05:17:53.485] checking for syslog... no [05:17:53.528] checking for opterr... yes [05:17:53.574] checking for optreset... no [05:17:53.622] checking test program... cross-compiling [05:17:53.622] checking size of void *... 8 [05:17:53.959] checking size of size_t... 8 [05:17:54.230] checking size of long... 4 [05:17:54.496] checking size of long long... 8 [05:17:54.841] checking alignment of short... 2 [05:17:55.023] checking alignment of int... 4 [05:17:55.320] checking alignment of long... 4 [05:17:55.681] checking alignment of int64_t... 8 [05:17:56.016] checking alignment of double... 8 [05:17:56.285] checking for __int128... yes [05:17:56.332] checking for __int128 alignment bug... assuming ok [05:17:56.332] checking alignment of PG_INT128_TYPE... 16 [05:17:56.711] checking for builtin __sync char locking functions... yes [05:17:56.750] checking for builtin __sync int32 locking functions... yes [05:17:56.789] checking for builtin __sync int32 atomic operations... yes [05:17:56.829] checking for builtin __sync int64 atomic operations... yes [05:17:56.870] checking for builtin __atomic int32 atomic operations... yes [05:17:56.911] checking for builtin __atomic int64 atomic operations... yes [05:17:56.952] checking for __get_cpuid... yes [05:17:56.997] checking for __get_cpuid_count... yes [05:17:57.039] checking for __cpuid... no [05:17:57.428] checking for __cpuidex... no [05:17:57.841] checking for _xgetbv... yes [05:17:58.241] checking for _mm512_popcnt_epi64... yes [05:17:58.647] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [05:17:58.740] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [05:17:58.760] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [05:17:58.777] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [05:17:58.793] 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 [05:17:58.844] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [05:17:58.844] checking which random number source to use... Windows native [05:17:58.846] checking for xmllint... /usr/bin/xmllint [05:17:58.846] checking for xsltproc... /usr/bin/xsltproc [05:17:58.846] checking for fop... /usr/bin/fop [05:17:58.846] checking for dbtoepub... no [05:17:58.847] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [05:17:58.847] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [05:17:58.847] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [05:17:58.857] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [05:17:58.857] 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 [05:17:58.857] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [05:17:58.857] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [05:17:58.937] configure: creating ./config.status [05:17:59.018] config.status: creating GNUmakefile [05:17:59.030] config.status: creating src/Makefile.global [05:17:59.045] config.status: creating src/include/pg_config.h [05:17:59.057] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [05:17:59.072] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [05:17:59.079] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [05:17:59.086] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [05:17:59.093] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [05:17:59.099] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [05:17:59.103] config.status: executing check_win32_symlinks commands [05:17:59.133] [05:17:59.133] real 0m16.504s [05:17:59.133] user 0m11.009s [05:17:59.133] sys 0m5.137s [05:17:59.133] make -s -j${BUILD_JOBS} clean [05:17:59.616] time make -s -j${BUILD_JOBS} world-bin [05:19:28.529] datachecksumsworker.c: In function ‘ProcessDatabase’: [05:19:28.529] 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=] [05:19:28.529] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [05:19:28.529] | ~^ ~~~ [05:19:28.529] | | | [05:19:28.529] | int pid_t {aka long long int} [05:19:28.529] | %lld [05:19:28.529] cc1: all warnings being treated as errors [05:19:28.530] make[3]: *** [: datachecksumsworker.o] Error 1 [05:19:28.530] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [05:19:28.530] make[2]: *** Waiting for unfinished jobs.... [05:19:49.621] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [05:19:49.621] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [05:19:49.622] [05:19:49.622] real 1m50.006s [05:19:49.622] user 5m58.629s [05:19:49.622] sys 1m7.103s [05:19:49.622] [05:19:49.622] Exit status: 2