[20:46:02.076] time ./configure \ [20:46:02.076] --host=x86_64-w64-mingw32 \ [20:46:02.076] --enable-cassert \ [20:46:02.076] --without-icu \ [20:46:02.076] CC="ccache x86_64-w64-mingw32-gcc" \ [20:46:02.076] CXX="ccache x86_64-w64-mingw32-g++" [20:46:02.190] checking build system type... x86_64-pc-linux-gnu [20:46:02.365] checking host system type... x86_64-w64-mingw32 [20:46:02.370] checking which template to use... win32 [20:46:02.370] checking whether NLS is wanted... no [20:46:02.370] checking for default port number... 5432 [20:46:02.377] checking for block size... 8kB [20:46:02.378] checking for segment size... 1GB [20:46:02.380] checking for WAL block size... 8kB [20:46:02.382] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [20:46:02.413] checking whether the C compiler works... yes [20:46:02.538] checking for C compiler default output file name... a.exe [20:46:02.539] checking for suffix of executables... .exe [20:46:02.578] checking whether we are cross compiling... yes [20:46:02.646] checking for suffix of object files... o [20:46:02.662] checking whether we are using the GNU C compiler... yes [20:46:02.676] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [20:46:02.692] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [20:46:02.715] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [20:46:02.859] checking whether we are using the GNU C++ compiler... yes [20:46:02.995] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [20:46:03.119] checking for gawk... no [20:46:03.119] checking for mawk... mawk [20:46:03.121] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [20:46:03.136] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [20:46:03.167] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [20:46:03.210] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [20:46:03.254] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [20:46:03.269] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [20:46:03.299] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [20:46:03.329] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [20:46:03.336] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [20:46:03.366] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [20:46:03.382] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [20:46:03.413] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [20:46:03.428] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [20:46:03.443] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [20:46:03.474] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [20:46:03.505] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [20:46:03.536] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [20:46:03.572] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [20:46:03.578] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [20:46:03.609] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [20:46:03.616] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [20:46:03.632] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [20:46:03.662] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [20:46:03.685] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [20:46:03.714] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [20:46:03.721] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [20:46:03.757] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [20:46:03.794] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [20:46:03.809] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [20:46:03.816] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [20:46:03.849] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [20:46:03.856] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [20:46:03.863] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [20:46:03.895] checking whether the C compiler still works... yes [20:46:03.967] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [20:46:04.031] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [20:46:04.032] checking pkg-config is at least version 0.9.0... yes [20:46:04.050] checking whether to build with ICU support... no [20:46:04.050] checking whether to build with Tcl... no [20:46:04.050] checking whether to build Perl modules... no [20:46:04.050] checking whether to build Python modules... no [20:46:04.050] checking whether to build with GSSAPI support... no [20:46:04.051] checking whether to build with PAM support... no [20:46:04.051] checking whether to build with BSD Authentication support... no [20:46:04.051] checking whether to build with LDAP support... no [20:46:04.051] checking whether to build with Bonjour support... no [20:46:04.051] checking whether to build with SELinux support... no [20:46:04.052] checking whether to build with systemd support... no [20:46:04.052] configure: WARNING: *** Readline does not work on MinGW --- disabling [20:46:04.052] checking whether to build with XML support... no [20:46:04.052] checking whether to build with LZ4 support... no [20:46:04.052] checking whether to build with ZSTD support... no [20:46:04.053] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [20:46:04.053] checking whether it is possible to strip libraries... yes [20:46:04.059] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [20:46:04.060] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [20:46:04.060] checking for a BSD-compatible install... /usr/bin/install -c [20:46:04.068] checking for tar... /usr/bin/tar [20:46:04.068] checking whether ln -s works... yes [20:46:04.068] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [20:46:04.070] checking for bison... /usr/bin/bison [20:46:04.072] configure: using bison (GNU Bison) 3.8.2 [20:46:04.074] checking for flex... /usr/bin/flex [20:46:04.085] configure: using flex 2.6.4 [20:46:04.086] checking for perl... /usr/bin/perl [20:46:04.088] configure: using perl 5.36.0 [20:46:04.090] checking for zic... /usr/sbin/zic [20:46:04.090] checking for a sed that does not truncate output... /usr/bin/sed [20:46:04.095] checking for grep that handles long lines and -e... /usr/bin/grep [20:46:04.097] checking for egrep... /usr/bin/grep -E [20:46:04.098] checking for ANSI C header files... yes [20:46:04.177] checking for sys/types.h... yes [20:46:04.232] checking for sys/stat.h... yes [20:46:04.266] checking for stdlib.h... yes [20:46:04.321] checking for string.h... yes [20:46:04.352] checking for memory.h... yes [20:46:04.408] checking for strings.h... yes [20:46:04.465] checking for inttypes.h... yes [20:46:04.524] checking for stdint.h... yes [20:46:04.581] checking for unistd.h... yes [20:46:04.617] checking for main in -lm... yes [20:46:04.661] checking for library containing setproctitle... no [20:46:04.741] checking for library containing dlsym... no [20:46:04.822] checking for library containing socket... -lws2_32 [20:46:04.942] checking for library containing getopt_long... none required [20:46:04.985] checking for library containing shm_open... no [20:46:05.065] checking for library containing shm_unlink... no [20:46:05.141] checking for library containing clock_gettime... no [20:46:05.217] checking for library containing shmget... no [20:46:05.293] checking for library containing backtrace_symbols... no [20:46:05.368] checking for library containing pthread_barrier_wait... -lpthread [20:46:05.445] checking for inflate in -lz... yes [20:46:05.488] checking atomic.h usability... no [20:46:05.540] checking atomic.h presence... no [20:46:05.556] checking for atomic.h... no [20:46:05.559] checking copyfile.h usability... no [20:46:05.610] checking copyfile.h presence... no [20:46:05.627] checking for copyfile.h... no [20:46:05.630] checking execinfo.h usability... no [20:46:05.681] checking execinfo.h presence... no [20:46:05.700] checking for execinfo.h... no [20:46:05.702] checking getopt.h usability... yes [20:46:05.753] checking getopt.h presence... yes [20:46:05.768] checking for getopt.h... yes [20:46:05.775] checking ifaddrs.h usability... no [20:46:05.827] checking ifaddrs.h presence... no [20:46:05.845] checking for ifaddrs.h... no [20:46:05.848] checking mbarrier.h usability... no [20:46:05.899] checking mbarrier.h presence... no [20:46:05.917] checking for mbarrier.h... no [20:46:05.920] checking sys/epoll.h usability... no [20:46:05.972] checking sys/epoll.h presence... no [20:46:05.989] checking for sys/epoll.h... no [20:46:05.992] checking sys/event.h usability... no [20:46:06.044] checking sys/event.h presence... no [20:46:06.061] checking for sys/event.h... no [20:46:06.065] checking sys/personality.h usability... no [20:46:06.116] checking sys/personality.h presence... no [20:46:06.134] checking for sys/personality.h... no [20:46:06.137] checking sys/prctl.h usability... no [20:46:06.190] checking sys/prctl.h presence... no [20:46:06.207] checking for sys/prctl.h... no [20:46:06.210] checking sys/procctl.h usability... no [20:46:06.263] checking sys/procctl.h presence... no [20:46:06.281] checking for sys/procctl.h... no [20:46:06.284] checking sys/signalfd.h usability... no [20:46:06.335] checking sys/signalfd.h presence... no [20:46:06.353] checking for sys/signalfd.h... no [20:46:06.356] checking sys/ucred.h usability... no [20:46:06.409] checking sys/ucred.h presence... no [20:46:06.426] checking for sys/ucred.h... no [20:46:06.429] checking termios.h usability... no [20:46:06.483] checking termios.h presence... no [20:46:06.501] checking for termios.h... no [20:46:06.504] checking ucred.h usability... no [20:46:06.557] checking ucred.h presence... no [20:46:06.574] checking for ucred.h... no [20:46:06.577] checking xlocale.h usability... no [20:46:06.628] checking xlocale.h presence... no [20:46:06.646] checking for xlocale.h... no [20:46:06.649] checking zlib.h usability... yes [20:46:06.679] checking zlib.h presence... yes [20:46:06.696] checking for zlib.h... yes [20:46:06.696] checking for lz4... /usr/bin/lz4 [20:46:06.696] checking for zstd... /usr/bin/zstd [20:46:06.696] checking for openssl... /usr/bin/openssl [20:46:06.700] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [20:46:06.701] checking crtdefs.h usability... yes [20:46:06.753] checking crtdefs.h presence... yes [20:46:06.766] checking for crtdefs.h... yes [20:46:06.767] checking whether byte ordering is bigendian... no [20:46:06.865] checking for inline... inline [20:46:06.891] checking for printf format archetype... gnu_printf [20:46:06.924] checking for _Static_assert... yes [20:46:06.963] checking for typeof... typeof [20:46:06.995] checking for __builtin_types_compatible_p... yes [20:46:07.014] checking for __builtin_constant_p... yes [20:46:07.033] checking for __builtin_mul_overflow... yes [20:46:07.079] checking for __builtin_unreachable... yes [20:46:07.119] checking for computed goto support... yes [20:46:07.152] checking for struct tm.tm_zone... no [20:46:07.226] checking for union semun... no [20:46:07.258] checking for socklen_t... yes [20:46:09.285] checking for struct sockaddr.sa_len... no [20:46:11.223] checking for C/C++ restrict keyword... __restrict [20:46:11.262] checking for struct option... yes [20:46:11.313] checking whether assembler supports x86_64 popcntq... yes [20:46:11.346] checking size of off_t... 4 [20:46:11.692] 0 [20:46:11.692] checking for int timezone... yes [20:46:11.740] checking for backtrace_symbols... no [20:46:11.789] checking for copyfile... no [20:46:11.836] checking for copy_file_range... no [20:46:11.884] checking for elf_aux_info... no [20:46:11.932] checking for getauxval... no [20:46:11.980] checking for getifaddrs... no [20:46:12.028] checking for getpeerucred... no [20:46:12.076] checking for inet_pton... yes [20:46:12.124] checking for kqueue... no [20:46:12.172] checking for mbstowcs_l... no [20:46:12.221] checking for memset_s... no [20:46:12.270] checking for posix_fallocate... no [20:46:12.318] checking for ppoll... no [20:46:12.368] checking for pthread_is_threaded_np... no [20:46:12.415] checking for setproctitle... no [20:46:12.463] checking for setproctitle_fast... no [20:46:12.511] checking for strchrnul... no [20:46:12.561] checking for strsignal... no [20:46:12.609] checking for syncfs... no [20:46:12.658] checking for sync_file_range... no [20:46:12.706] checking for uselocale... no [20:46:12.754] checking for wcstombs_l... no [20:46:12.800] checking for __builtin_bswap16... yes [20:46:12.847] checking for __builtin_bswap32... yes [20:46:12.892] checking for __builtin_bswap64... yes [20:46:12.938] checking for __builtin_clz... yes [20:46:12.983] checking for __builtin_ctz... yes [20:46:13.028] checking for __builtin_popcount... yes [20:46:13.074] checking for __builtin_frame_address... yes [20:46:13.119] checking for _LARGEFILE_SOURCE value needed for large files... no [20:46:13.168] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [20:46:13.197] checking for posix_fadvise... no [20:46:13.247] checking whether posix_fadvise is declared... no [20:46:13.290] checking whether fdatasync is declared... no [20:46:13.335] checking whether strlcat is declared... no [20:46:13.395] checking whether strlcpy is declared... no [20:46:13.456] checking whether strnlen is declared... yes [20:46:13.489] checking whether strsep is declared... no [20:46:13.551] checking whether preadv is declared... no [20:46:13.585] checking whether pwritev is declared... no [20:46:13.619] checking whether F_FULLFSYNC is declared... no [20:46:13.658] checking for explicit_bzero... no [20:46:13.703] checking for getopt... yes [20:46:13.744] checking for getpeereid... no [20:46:13.790] checking for inet_aton... no [20:46:13.835] checking for mkdtemp... no [20:46:13.881] checking for strlcat... no [20:46:13.926] checking for strlcpy... no [20:46:13.970] checking for strnlen... yes [20:46:14.014] checking for strsep... no [20:46:14.059] checking for pthread_barrier_wait... yes [20:46:14.100] configure: On mingw32 we will use our strtof wrapper. [20:46:14.100] checking for getopt_long... yes [20:46:14.142] checking for syslog... no [20:46:14.186] checking for opterr... yes [20:46:14.231] checking for optreset... no [20:46:14.279] checking test program... cross-compiling [20:46:14.279] checking size of void *... 8 [20:46:14.779] checking size of size_t... 8 [20:46:15.180] checking size of long... 4 [20:46:15.495] checking size of long long... 8 [20:46:15.952] checking alignment of short... 2 [20:46:16.134] checking alignment of int... 4 [20:46:16.437] checking alignment of long... 4 [20:46:16.751] checking alignment of int64_t... 8 [20:46:17.228] checking alignment of double... 8 [20:46:17.648] checking for __int128... yes [20:46:17.693] checking for __int128 alignment bug... assuming ok [20:46:17.693] checking alignment of PG_INT128_TYPE... 16 [20:46:18.181] checking for builtin __sync char locking functions... yes [20:46:18.221] checking for builtin __sync int32 locking functions... yes [20:46:18.260] checking for builtin __sync int32 atomic operations... yes [20:46:18.301] checking for builtin __sync int64 atomic operations... yes [20:46:18.343] checking for builtin __atomic int32 atomic operations... yes [20:46:18.384] checking for builtin __atomic int64 atomic operations... yes [20:46:18.425] checking for __get_cpuid... yes [20:46:18.469] checking for __get_cpuid_count... yes [20:46:18.510] checking for __cpuid... no [20:46:18.897] checking for __cpuidex... no [20:46:19.310] checking for _xgetbv... yes [20:46:19.705] checking for _mm512_popcnt_epi64... yes [20:46:20.114] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [20:46:20.212] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [20:46:20.233] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [20:46:20.252] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [20:46:20.270] 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 [20:46:20.323] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [20:46:20.324] checking which random number source to use... Windows native [20:46:20.326] checking for xmllint... /usr/bin/xmllint [20:46:20.326] checking for xsltproc... /usr/bin/xsltproc [20:46:20.326] checking for fop... /usr/bin/fop [20:46:20.326] checking for dbtoepub... no [20:46:20.327] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [20:46:20.327] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [20:46:20.327] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [20:46:20.337] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [20:46:20.337] 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 [20:46:20.337] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [20:46:20.337] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [20:46:20.422] configure: creating ./config.status [20:46:20.507] config.status: creating GNUmakefile [20:46:20.519] config.status: creating src/Makefile.global [20:46:20.534] config.status: creating src/include/pg_config.h [20:46:20.547] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [20:46:20.562] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [20:46:20.569] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [20:46:20.576] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [20:46:20.583] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [20:46:20.590] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [20:46:20.594] config.status: executing check_win32_symlinks commands [20:46:20.627] [20:46:20.627] real 0m18.551s [20:46:20.627] user 0m12.364s [20:46:20.627] sys 0m5.844s [20:46:20.627] make -s -j${BUILD_JOBS} clean [20:46:21.123] time make -s -j${BUILD_JOBS} world-bin [20:48:01.611] datachecksumsworker.c: In function ‘ProcessDatabase’: [20:48:01.611] 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=] [20:48:01.611] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [20:48:01.611] | ~^ ~~~ [20:48:01.611] | | | [20:48:01.611] | int pid_t {aka long long int} [20:48:01.611] | %lld [20:48:01.611] cc1: all warnings being treated as errors [20:48:01.612] make[3]: *** [: datachecksumsworker.o] Error 1 [20:48:01.612] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [20:48:01.612] make[2]: *** Waiting for unfinished jobs.... [20:48:24.232] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [20:48:24.233] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [20:48:24.233] [20:48:24.233] real 2m3.109s [20:48:24.233] user 6m41.353s [20:48:24.233] sys 1m14.626s [20:48:24.233] [20:48:24.233] Exit status: 2