[07:50:05.800] time ./configure \ [07:50:05.800] --host=x86_64-w64-mingw32 \ [07:50:05.800] --enable-cassert \ [07:50:05.800] --without-icu \ [07:50:05.800] CC="ccache x86_64-w64-mingw32-gcc" \ [07:50:05.800] CXX="ccache x86_64-w64-mingw32-g++" [07:50:05.921] checking build system type... x86_64-pc-linux-gnu [07:50:06.108] checking host system type... x86_64-w64-mingw32 [07:50:06.114] checking which template to use... win32 [07:50:06.114] checking whether NLS is wanted... no [07:50:06.114] checking for default port number... 5432 [07:50:06.121] checking for block size... 8kB [07:50:06.123] checking for segment size... 1GB [07:50:06.125] checking for WAL block size... 8kB [07:50:06.126] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [07:50:06.161] checking whether the C compiler works... yes [07:50:06.302] checking for C compiler default output file name... a.exe [07:50:06.303] checking for suffix of executables... .exe [07:50:06.345] checking whether we are cross compiling... yes [07:50:06.427] checking for suffix of object files... o [07:50:06.436] checking whether we are using the GNU C compiler... yes [07:50:06.443] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [07:50:06.450] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [07:50:06.478] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [07:50:06.634] checking whether we are using the GNU C++ compiler... yes [07:50:06.779] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [07:50:06.908] checking for gawk... no [07:50:06.908] checking for mawk... mawk [07:50:06.910] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [07:50:06.942] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [07:50:06.974] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [07:50:07.020] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [07:50:07.066] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [07:50:07.082] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [07:50:07.115] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [07:50:07.148] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [07:50:07.155] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [07:50:07.171] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [07:50:07.178] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [07:50:07.185] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [07:50:07.201] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [07:50:07.216] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [07:50:07.223] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [07:50:07.230] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [07:50:07.236] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [07:50:07.273] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [07:50:07.289] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [07:50:07.322] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [07:50:07.329] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [07:50:07.361] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [07:50:07.394] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [07:50:07.417] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [07:50:07.424] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [07:50:07.432] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [07:50:07.470] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [07:50:07.508] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [07:50:07.515] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [07:50:07.532] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [07:50:07.568] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [07:50:07.575] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [07:50:07.582] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [07:50:07.590] checking whether the C compiler still works... yes [07:50:07.666] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [07:50:07.738] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [07:50:07.738] checking pkg-config is at least version 0.9.0... yes [07:50:07.754] checking whether to build with ICU support... no [07:50:07.755] checking whether to build with Tcl... no [07:50:07.755] checking whether to build Perl modules... no [07:50:07.755] checking whether to build Python modules... no [07:50:07.755] checking whether to build with GSSAPI support... no [07:50:07.756] checking whether to build with PAM support... no [07:50:07.756] checking whether to build with BSD Authentication support... no [07:50:07.757] checking whether to build with LDAP support... no [07:50:07.757] checking whether to build with Bonjour support... no [07:50:07.757] checking whether to build with SELinux support... no [07:50:07.757] checking whether to build with systemd support... no [07:50:07.757] configure: WARNING: *** Readline does not work on MinGW --- disabling [07:50:07.757] checking whether to build with XML support... no [07:50:07.757] checking whether to build with LZ4 support... no [07:50:07.757] checking whether to build with ZSTD support... no [07:50:07.758] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [07:50:07.758] checking whether it is possible to strip libraries... yes [07:50:07.768] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [07:50:07.769] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [07:50:07.769] checking for a BSD-compatible install... /usr/bin/install -c [07:50:07.778] checking for tar... /usr/bin/tar [07:50:07.779] checking whether ln -s works... yes [07:50:07.779] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [07:50:07.781] checking for bison... /usr/bin/bison [07:50:07.783] configure: using bison (GNU Bison) 3.8.2 [07:50:07.787] checking for flex... /usr/bin/flex [07:50:07.789] configure: using flex 2.6.4 [07:50:07.789] checking for perl... /usr/bin/perl [07:50:07.792] configure: using perl 5.36.0 [07:50:07.794] checking for zic... /usr/sbin/zic [07:50:07.795] checking for a sed that does not truncate output... /usr/bin/sed [07:50:07.800] checking for grep that handles long lines and -e... /usr/bin/grep [07:50:07.802] checking for egrep... /usr/bin/grep -E [07:50:07.804] checking for ANSI C header files... yes [07:50:07.866] checking for sys/types.h... yes [07:50:07.902] checking for sys/stat.h... yes [07:50:07.940] checking for stdlib.h... yes [07:50:07.955] checking for string.h... yes [07:50:07.991] checking for memory.h... yes [07:50:08.052] checking for strings.h... yes [07:50:08.068] checking for inttypes.h... yes [07:50:08.084] checking for stdint.h... yes [07:50:08.099] checking for unistd.h... yes [07:50:08.115] checking for main in -lm... yes [07:50:08.163] checking for library containing setproctitle... no [07:50:08.252] checking for library containing dlsym... no [07:50:08.341] checking for library containing socket... -lws2_32 [07:50:08.470] checking for library containing getopt_long... none required [07:50:08.517] checking for library containing shm_open... no [07:50:08.604] checking for library containing shm_unlink... no [07:50:08.693] checking for library containing clock_gettime... no [07:50:08.784] checking for library containing shmget... no [07:50:08.874] checking for library containing backtrace_symbols... no [07:50:08.963] checking for library containing pthread_barrier_wait... -lpthread [07:50:09.056] checking for inflate in -lz... yes [07:50:09.105] checking atomic.h usability... no [07:50:09.162] checking atomic.h presence... no [07:50:09.182] checking for atomic.h... no [07:50:09.186] checking copyfile.h usability... no [07:50:09.241] checking copyfile.h presence... no [07:50:09.260] checking for copyfile.h... no [07:50:09.264] checking execinfo.h usability... no [07:50:09.319] checking execinfo.h presence... no [07:50:09.338] checking for execinfo.h... no [07:50:09.342] checking getopt.h usability... yes [07:50:09.349] checking getopt.h presence... yes [07:50:09.365] checking for getopt.h... yes [07:50:09.372] checking ifaddrs.h usability... no [07:50:09.429] checking ifaddrs.h presence... no [07:50:09.449] checking for ifaddrs.h... no [07:50:09.452] checking mbarrier.h usability... no [07:50:09.509] checking mbarrier.h presence... no [07:50:09.529] checking for mbarrier.h... no [07:50:09.533] checking sys/epoll.h usability... no [07:50:09.588] checking sys/epoll.h presence... no [07:50:09.606] checking for sys/epoll.h... no [07:50:09.610] checking sys/event.h usability... no [07:50:09.666] checking sys/event.h presence... no [07:50:09.685] checking for sys/event.h... no [07:50:09.688] checking sys/personality.h usability... no [07:50:09.742] checking sys/personality.h presence... no [07:50:09.760] checking for sys/personality.h... no [07:50:09.763] checking sys/prctl.h usability... no [07:50:09.818] checking sys/prctl.h presence... no [07:50:09.836] checking for sys/prctl.h... no [07:50:09.840] checking sys/procctl.h usability... no [07:50:09.895] checking sys/procctl.h presence... no [07:50:09.914] checking for sys/procctl.h... no [07:50:09.918] checking sys/signalfd.h usability... no [07:50:09.972] checking sys/signalfd.h presence... no [07:50:09.990] checking for sys/signalfd.h... no [07:50:09.994] checking sys/ucred.h usability... no [07:50:10.049] checking sys/ucred.h presence... no [07:50:10.068] checking for sys/ucred.h... no [07:50:10.072] checking termios.h usability... no [07:50:10.127] checking termios.h presence... no [07:50:10.146] checking for termios.h... no [07:50:10.149] checking ucred.h usability... no [07:50:10.204] checking ucred.h presence... no [07:50:10.223] checking for ucred.h... no [07:50:10.226] checking xlocale.h usability... no [07:50:10.280] checking xlocale.h presence... no [07:50:10.300] checking for xlocale.h... no [07:50:10.304] checking zlib.h usability... yes [07:50:10.336] checking zlib.h presence... yes [07:50:10.355] checking for zlib.h... yes [07:50:10.355] checking for lz4... /usr/bin/lz4 [07:50:10.355] checking for zstd... /usr/bin/zstd [07:50:10.356] checking for openssl... /usr/bin/openssl [07:50:10.360] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [07:50:10.361] checking crtdefs.h usability... yes [07:50:10.415] checking crtdefs.h presence... yes [07:50:10.430] checking for crtdefs.h... yes [07:50:10.432] checking whether byte ordering is bigendian... no [07:50:10.535] checking for inline... inline [07:50:10.542] checking for printf format archetype... gnu_printf [07:50:10.551] checking for _Static_assert... yes [07:50:10.594] checking for typeof... typeof [07:50:10.601] checking for __builtin_types_compatible_p... yes [07:50:10.622] checking for __builtin_constant_p... yes [07:50:10.633] checking for __builtin_mul_overflow... yes [07:50:10.681] checking for __builtin_unreachable... yes [07:50:10.722] checking for computed goto support... yes [07:50:10.730] checking for struct tm.tm_zone... no [07:50:10.807] checking for union semun... no [07:50:10.841] checking for socklen_t... yes [07:50:11.952] checking for struct sockaddr.sa_len... no [07:50:13.947] checking for C/C++ restrict keyword... __restrict [07:50:13.988] checking for struct option... yes [07:50:14.032] checking whether assembler supports x86_64 popcntq... yes [07:50:14.039] checking size of off_t... 4 [07:50:14.371] 0 [07:50:14.372] checking for int timezone... yes [07:50:14.424] checking for backtrace_symbols... no [07:50:14.477] checking for copyfile... no [07:50:14.529] checking for copy_file_range... no [07:50:14.581] checking for elf_aux_info... no [07:50:14.633] checking for getauxval... no [07:50:14.686] checking for getifaddrs... no [07:50:14.738] checking for getpeerucred... no [07:50:14.791] checking for inet_pton... yes [07:50:14.844] checking for kqueue... no [07:50:14.895] checking for mbstowcs_l... no [07:50:14.946] checking for memset_s... no [07:50:15.000] checking for posix_fallocate... no [07:50:15.051] checking for ppoll... no [07:50:15.103] checking for pthread_is_threaded_np... no [07:50:15.155] checking for setproctitle... no [07:50:15.209] checking for setproctitle_fast... no [07:50:15.261] checking for strchrnul... no [07:50:15.314] checking for strsignal... no [07:50:15.367] checking for syncfs... no [07:50:15.417] checking for sync_file_range... no [07:50:15.466] checking for uselocale... no [07:50:15.517] checking for wcstombs_l... no [07:50:15.564] checking for __builtin_bswap16... yes [07:50:15.616] checking for __builtin_bswap32... yes [07:50:15.666] checking for __builtin_bswap64... yes [07:50:15.713] checking for __builtin_clz... yes [07:50:15.760] checking for __builtin_ctz... yes [07:50:15.808] checking for __builtin_popcount... yes [07:50:15.857] checking for __builtin_frame_address... yes [07:50:15.904] checking for _LARGEFILE_SOURCE value needed for large files... no [07:50:15.956] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [07:50:15.987] checking for posix_fadvise... no [07:50:16.037] checking whether posix_fadvise is declared... no [07:50:16.082] checking whether fdatasync is declared... no [07:50:16.128] checking whether strlcat is declared... no [07:50:16.191] checking whether strlcpy is declared... no [07:50:16.253] checking whether strnlen is declared... yes [07:50:16.266] checking whether strsep is declared... no [07:50:16.328] checking whether preadv is declared... no [07:50:16.365] checking whether pwritev is declared... no [07:50:16.399] checking whether F_FULLFSYNC is declared... no [07:50:16.439] checking for explicit_bzero... no [07:50:16.485] checking for getopt... yes [07:50:16.530] checking for getpeereid... no [07:50:16.577] checking for inet_aton... no [07:50:16.623] checking for mkdtemp... no [07:50:16.670] checking for strlcat... no [07:50:16.716] checking for strlcpy... no [07:50:16.763] checking for strnlen... yes [07:50:16.810] checking for strsep... no [07:50:16.858] checking for pthread_barrier_wait... yes [07:50:16.901] configure: On mingw32 we will use our strtof wrapper. [07:50:16.901] checking for getopt_long... yes [07:50:16.946] checking for syslog... no [07:50:16.994] checking for opterr... yes [07:50:17.042] checking for optreset... no [07:50:17.092] checking test program... cross-compiling [07:50:17.092] checking size of void *... 8 [07:50:17.466] checking size of size_t... 8 [07:50:17.799] checking size of long... 4 [07:50:18.111] checking size of long long... 8 [07:50:18.454] checking alignment of short... 2 [07:50:18.665] checking alignment of int... 4 [07:50:18.937] checking alignment of long... 4 [07:50:19.272] checking alignment of int64_t... 8 [07:50:19.562] checking alignment of double... 8 [07:50:19.894] checking for __int128... yes [07:50:19.941] checking for __int128 alignment bug... assuming ok [07:50:19.941] checking alignment of PG_INT128_TYPE... 16 [07:50:20.269] checking for builtin __sync char locking functions... yes [07:50:20.311] checking for builtin __sync int32 locking functions... yes [07:50:20.354] checking for builtin __sync int32 atomic operations... yes [07:50:20.395] checking for builtin __sync int64 atomic operations... yes [07:50:20.438] checking for builtin __atomic int32 atomic operations... yes [07:50:20.479] checking for builtin __atomic int64 atomic operations... yes [07:50:20.522] checking for __get_cpuid... yes [07:50:20.566] checking for __get_cpuid_count... yes [07:50:20.610] checking for __cpuid... no [07:50:20.999] checking for __cpuidex... no [07:50:21.413] checking for _xgetbv... yes [07:50:21.810] checking for _mm512_popcnt_epi64... yes [07:50:22.222] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [07:50:22.323] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [07:50:22.347] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [07:50:22.366] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [07:50:22.385] 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 [07:50:22.441] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [07:50:22.441] checking which random number source to use... Windows native [07:50:22.443] checking for xmllint... /usr/bin/xmllint [07:50:22.444] checking for xsltproc... /usr/bin/xsltproc [07:50:22.444] checking for fop... /usr/bin/fop [07:50:22.444] checking for dbtoepub... no [07:50:22.444] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [07:50:22.445] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [07:50:22.445] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [07:50:22.455] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [07:50:22.455] 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 [07:50:22.456] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [07:50:22.456] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [07:50:22.542] configure: creating ./config.status [07:50:22.627] config.status: creating GNUmakefile [07:50:22.640] config.status: creating src/Makefile.global [07:50:22.655] config.status: creating src/include/pg_config.h [07:50:22.668] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [07:50:22.683] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [07:50:22.691] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [07:50:22.698] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [07:50:22.705] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [07:50:22.713] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [07:50:22.716] config.status: executing check_win32_symlinks commands [07:50:22.749] [07:50:22.749] real 0m16.949s [07:50:22.749] user 0m11.220s [07:50:22.749] sys 0m5.366s [07:50:22.749] make -s -j${BUILD_JOBS} clean [07:50:23.259] time make -s -j${BUILD_JOBS} world-bin [07:52:09.439] datachecksumsworker.c: In function ‘ProcessDatabase’: [07:52:09.439] 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=] [07:52:09.439] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [07:52:09.439] | ~^ ~~~ [07:52:09.439] | | | [07:52:09.439] | int pid_t {aka long long int} [07:52:09.439] | %lld [07:52:09.439] cc1: all warnings being treated as errors [07:52:09.439] make[3]: *** [: datachecksumsworker.o] Error 1 [07:52:09.439] make[3]: *** Waiting for unfinished jobs.... [07:52:09.618] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [07:52:09.618] make[2]: *** Waiting for unfinished jobs.... [07:52:14.699] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [07:52:14.700] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [07:52:14.700] [07:52:14.700] real 1m51.441s [07:52:14.700] user 6m1.912s [07:52:14.700] sys 1m7.237s [07:52:14.700] [07:52:14.700] Exit status: 2