[10:11:30.932] time ./configure \ [10:11:30.932] --host=x86_64-w64-mingw32 \ [10:11:30.932] --enable-cassert \ [10:11:30.932] --without-icu \ [10:11:30.932] CC="ccache x86_64-w64-mingw32-gcc" \ [10:11:30.932] CXX="ccache x86_64-w64-mingw32-g++" [10:11:31.041] checking build system type... x86_64-pc-linux-gnu [10:11:31.230] checking host system type... x86_64-w64-mingw32 [10:11:31.235] checking which template to use... win32 [10:11:31.236] checking whether NLS is wanted... no [10:11:31.236] checking for default port number... 5432 [10:11:31.242] checking for block size... 8kB [10:11:31.243] checking for segment size... 1GB [10:11:31.245] checking for WAL block size... 8kB [10:11:31.247] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [10:11:31.278] checking whether the C compiler works... yes [10:11:31.407] checking for C compiler default output file name... a.exe [10:11:31.408] checking for suffix of executables... .exe [10:11:31.448] checking whether we are cross compiling... yes [10:11:31.519] checking for suffix of object files... o [10:11:31.535] checking whether we are using the GNU C compiler... yes [10:11:31.550] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [10:11:31.556] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [10:11:31.565] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [10:11:31.620] checking whether we are using the GNU C++ compiler... yes [10:11:31.626] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [10:11:31.880] checking for gawk... no [10:11:31.880] checking for mawk... mawk [10:11:31.882] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [10:11:31.912] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [10:11:31.943] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [10:11:31.986] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [10:11:32.028] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [10:11:32.044] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [10:11:32.061] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [10:11:32.097] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [10:11:32.104] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [10:11:32.139] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [10:11:32.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [10:11:32.193] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [10:11:32.200] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [10:11:32.218] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [10:11:32.226] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [10:11:32.261] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [10:11:32.297] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [10:11:32.336] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [10:11:32.353] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [10:11:32.386] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [10:11:32.393] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [10:11:32.426] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [10:11:32.433] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [10:11:32.456] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [10:11:32.463] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [10:11:32.471] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [10:11:32.509] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [10:11:32.549] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [10:11:32.556] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [10:11:32.573] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [10:11:32.609] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [10:11:32.616] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [10:11:32.623] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [10:11:32.658] checking whether the C compiler still works... yes [10:11:32.722] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [10:11:32.789] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [10:11:32.789] checking pkg-config is at least version 0.9.0... yes [10:11:32.805] checking whether to build with ICU support... no [10:11:32.805] checking whether to build with Tcl... no [10:11:32.805] checking whether to build Perl modules... no [10:11:32.805] checking whether to build Python modules... no [10:11:32.805] checking whether to build with GSSAPI support... no [10:11:32.806] checking whether to build with PAM support... no [10:11:32.807] checking whether to build with BSD Authentication support... no [10:11:32.807] checking whether to build with LDAP support... no [10:11:32.807] checking whether to build with Bonjour support... no [10:11:32.807] checking whether to build with SELinux support... no [10:11:32.807] checking whether to build with systemd support... no [10:11:32.807] configure: WARNING: *** Readline does not work on MinGW --- disabling [10:11:32.807] checking whether to build with XML support... no [10:11:32.807] checking whether to build with LZ4 support... no [10:11:32.808] checking whether to build with ZSTD support... no [10:11:32.808] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [10:11:32.808] checking whether it is possible to strip libraries... yes [10:11:32.815] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [10:11:32.816] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [10:11:32.816] checking for a BSD-compatible install... /usr/bin/install -c [10:11:32.824] checking for tar... /usr/bin/tar [10:11:32.825] checking whether ln -s works... yes [10:11:32.825] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [10:11:32.827] checking for bison... /usr/bin/bison [10:11:32.829] configure: using bison (GNU Bison) 3.8.2 [10:11:32.831] checking for flex... /usr/bin/flex [10:11:32.843] configure: using flex 2.6.4 [10:11:32.843] checking for perl... /usr/bin/perl [10:11:32.846] configure: using perl 5.36.0 [10:11:32.848] checking for zic... /usr/sbin/zic [10:11:32.848] checking for a sed that does not truncate output... /usr/bin/sed [10:11:32.852] checking for grep that handles long lines and -e... /usr/bin/grep [10:11:32.854] checking for egrep... /usr/bin/grep -E [10:11:32.856] checking for ANSI C header files... yes [10:11:32.938] checking for sys/types.h... yes [10:11:32.953] checking for sys/stat.h... yes [10:11:32.967] checking for stdlib.h... yes [10:11:32.981] checking for string.h... yes [10:11:32.994] checking for memory.h... yes [10:11:33.008] checking for strings.h... yes [10:11:33.066] checking for inttypes.h... yes [10:11:33.081] checking for stdint.h... yes [10:11:33.094] checking for unistd.h... yes [10:11:33.130] checking for main in -lm... yes [10:11:33.175] checking for library containing setproctitle... no [10:11:33.259] checking for library containing dlsym... no [10:11:33.346] checking for library containing socket... -lws2_32 [10:11:33.473] checking for library containing getopt_long... none required [10:11:33.520] checking for library containing shm_open... no [10:11:33.606] checking for library containing shm_unlink... no [10:11:33.691] checking for library containing clock_gettime... no [10:11:33.778] checking for library containing shmget... no [10:11:33.866] checking for library containing backtrace_symbols... no [10:11:33.954] checking for library containing pthread_barrier_wait... -lpthread [10:11:34.043] checking for inflate in -lz... yes [10:11:34.094] checking atomic.h usability... no [10:11:34.151] checking atomic.h presence... no [10:11:34.172] checking for atomic.h... no [10:11:34.176] checking copyfile.h usability... no [10:11:34.232] checking copyfile.h presence... no [10:11:34.251] checking for copyfile.h... no [10:11:34.254] checking execinfo.h usability... no [10:11:34.308] checking execinfo.h presence... no [10:11:34.326] checking for execinfo.h... no [10:11:34.329] checking getopt.h usability... yes [10:11:34.383] checking getopt.h presence... yes [10:11:34.398] checking for getopt.h... yes [10:11:34.405] checking ifaddrs.h usability... no [10:11:34.460] checking ifaddrs.h presence... no [10:11:34.479] checking for ifaddrs.h... no [10:11:34.482] checking mbarrier.h usability... no [10:11:34.535] checking mbarrier.h presence... no [10:11:34.556] checking for mbarrier.h... no [10:11:34.559] checking sys/epoll.h usability... no [10:11:34.614] checking sys/epoll.h presence... no [10:11:34.633] checking for sys/epoll.h... no [10:11:34.636] checking sys/event.h usability... no [10:11:34.691] checking sys/event.h presence... no [10:11:34.710] checking for sys/event.h... no [10:11:34.713] checking sys/personality.h usability... no [10:11:34.768] checking sys/personality.h presence... no [10:11:34.787] checking for sys/personality.h... no [10:11:34.790] checking sys/prctl.h usability... no [10:11:34.845] checking sys/prctl.h presence... no [10:11:34.864] checking for sys/prctl.h... no [10:11:34.867] checking sys/procctl.h usability... no [10:11:34.923] checking sys/procctl.h presence... no [10:11:34.942] checking for sys/procctl.h... no [10:11:34.945] checking sys/signalfd.h usability... no [10:11:35.000] checking sys/signalfd.h presence... no [10:11:35.019] checking for sys/signalfd.h... no [10:11:35.022] checking sys/ucred.h usability... no [10:11:35.080] checking sys/ucred.h presence... no [10:11:35.100] checking for sys/ucred.h... no [10:11:35.103] checking termios.h usability... no [10:11:35.161] checking termios.h presence... no [10:11:35.180] checking for termios.h... no [10:11:35.183] checking ucred.h usability... no [10:11:35.239] checking ucred.h presence... no [10:11:35.259] checking for ucred.h... no [10:11:35.262] checking xlocale.h usability... no [10:11:35.318] checking xlocale.h presence... no [10:11:35.337] checking for xlocale.h... no [10:11:35.340] checking zlib.h usability... yes [10:11:35.351] checking zlib.h presence... yes [10:11:35.369] checking for zlib.h... yes [10:11:35.369] checking for lz4... /usr/bin/lz4 [10:11:35.370] checking for zstd... /usr/bin/zstd [10:11:35.370] checking for openssl... /usr/bin/openssl [10:11:35.374] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [10:11:35.374] checking crtdefs.h usability... yes [10:11:35.382] checking crtdefs.h presence... yes [10:11:35.397] checking for crtdefs.h... yes [10:11:35.398] checking whether byte ordering is bigendian... no [10:11:35.481] checking for inline... inline [10:11:35.488] checking for printf format archetype... gnu_printf [10:11:35.496] checking for _Static_assert... yes [10:11:35.538] checking for typeof... typeof [10:11:35.573] checking for __builtin_types_compatible_p... yes [10:11:35.584] checking for __builtin_constant_p... yes [10:11:35.595] checking for __builtin_mul_overflow... yes [10:11:35.643] checking for __builtin_unreachable... yes [10:11:35.685] checking for computed goto support... yes [10:11:35.702] checking for struct tm.tm_zone... no [10:11:35.782] checking for union semun... no [10:11:35.816] checking for socklen_t... yes [10:11:37.046] checking for struct sockaddr.sa_len... no [10:11:39.024] checking for C/C++ restrict keyword... __restrict [10:11:39.037] checking for struct option... yes [10:11:39.079] checking whether assembler supports x86_64 popcntq... yes [10:11:39.113] checking size of off_t... 4 [10:11:39.319] 0 [10:11:39.319] checking for int timezone... yes [10:11:39.370] checking for backtrace_symbols... no [10:11:39.421] checking for copyfile... no [10:11:39.472] checking for copy_file_range... no [10:11:39.521] checking for elf_aux_info... no [10:11:39.572] checking for getauxval... no [10:11:39.620] checking for getifaddrs... no [10:11:39.668] checking for getpeerucred... no [10:11:39.716] checking for inet_pton... yes [10:11:39.765] checking for kqueue... no [10:11:39.815] checking for mbstowcs_l... no [10:11:39.865] checking for memset_s... no [10:11:39.913] checking for posix_fallocate... no [10:11:39.963] checking for ppoll... no [10:11:40.011] checking for pthread_is_threaded_np... no [10:11:40.061] checking for setproctitle... no [10:11:40.113] checking for setproctitle_fast... no [10:11:40.162] checking for strchrnul... no [10:11:40.210] checking for strsignal... no [10:11:40.259] checking for syncfs... no [10:11:40.309] checking for sync_file_range... no [10:11:40.358] checking for uselocale... no [10:11:40.407] checking for wcstombs_l... no [10:11:40.452] checking for __builtin_bswap16... yes [10:11:40.500] checking for __builtin_bswap32... yes [10:11:40.546] checking for __builtin_bswap64... yes [10:11:40.592] checking for __builtin_clz... yes [10:11:40.639] checking for __builtin_ctz... yes [10:11:40.685] checking for __builtin_popcount... yes [10:11:40.733] checking for __builtin_frame_address... yes [10:11:40.780] checking for _LARGEFILE_SOURCE value needed for large files... no [10:11:40.833] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [10:11:40.864] checking for posix_fadvise... no [10:11:40.917] checking whether posix_fadvise is declared... no [10:11:40.962] checking whether fdatasync is declared... no [10:11:41.006] checking whether strlcat is declared... no [10:11:41.072] checking whether strlcpy is declared... no [10:11:41.139] checking whether strnlen is declared... yes [10:11:41.154] checking whether strsep is declared... no [10:11:41.218] checking whether preadv is declared... no [10:11:41.257] checking whether pwritev is declared... no [10:11:41.296] checking whether F_FULLFSYNC is declared... no [10:11:41.338] checking for explicit_bzero... no [10:11:41.387] checking for getopt... yes [10:11:41.433] checking for getpeereid... no [10:11:41.481] checking for inet_aton... no [10:11:41.530] checking for mkdtemp... no [10:11:41.579] checking for strlcat... no [10:11:41.628] checking for strlcpy... no [10:11:41.677] checking for strnlen... yes [10:11:41.725] checking for strsep... no [10:11:41.771] checking for pthread_barrier_wait... yes [10:11:41.815] configure: On mingw32 we will use our strtof wrapper. [10:11:41.815] checking for getopt_long... yes [10:11:41.859] checking for syslog... no [10:11:41.907] checking for opterr... yes [10:11:41.955] checking for optreset... no [10:11:42.006] checking test program... cross-compiling [10:11:42.006] checking size of void *... 8 [10:11:42.437] checking size of size_t... 8 [10:11:42.828] checking size of long... 4 [10:11:43.023] checking size of long long... 8 [10:11:43.464] checking alignment of short... 2 [10:11:43.616] checking alignment of int... 4 [10:11:43.876] checking alignment of long... 4 [10:11:44.219] checking alignment of int64_t... 8 [10:11:44.641] checking alignment of double... 8 [10:11:44.958] checking for __int128... yes [10:11:45.007] checking for __int128 alignment bug... assuming ok [10:11:45.007] checking alignment of PG_INT128_TYPE... 16 [10:11:45.454] checking for builtin __sync char locking functions... yes [10:11:45.494] checking for builtin __sync int32 locking functions... yes [10:11:45.533] checking for builtin __sync int32 atomic operations... yes [10:11:45.574] checking for builtin __sync int64 atomic operations... yes [10:11:45.617] checking for builtin __atomic int32 atomic operations... yes [10:11:45.658] checking for builtin __atomic int64 atomic operations... yes [10:11:45.701] checking for __get_cpuid... yes [10:11:45.747] checking for __get_cpuid_count... yes [10:11:45.790] checking for __cpuid... no [10:11:46.190] checking for __cpuidex... no [10:11:46.610] checking for _xgetbv... yes [10:11:47.009] checking for _mm512_popcnt_epi64... yes [10:11:47.428] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [10:11:47.528] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [10:11:47.550] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [10:11:47.568] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [10:11:47.586] 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:11:47.639] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [10:11:47.639] checking which random number source to use... Windows native [10:11:47.641] checking for xmllint... /usr/bin/xmllint [10:11:47.641] checking for xsltproc... /usr/bin/xsltproc [10:11:47.641] checking for fop... /usr/bin/fop [10:11:47.641] checking for dbtoepub... no [10:11:47.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [10:11:47.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [10:11:47.642] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [10:11:47.652] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [10:11:47.652] 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:11:47.652] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [10:11:47.652] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [10:11:47.732] configure: creating ./config.status [10:11:47.812] config.status: creating GNUmakefile [10:11:47.824] config.status: creating src/Makefile.global [10:11:47.838] config.status: creating src/include/pg_config.h [10:11:47.850] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [10:11:47.864] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [10:11:47.871] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [10:11:47.877] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [10:11:47.884] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [10:11:47.891] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [10:11:47.894] config.status: executing check_win32_symlinks commands [10:11:47.926] [10:11:47.926] real 0m16.994s [10:11:47.926] user 0m11.163s [10:11:47.926] sys 0m5.444s [10:11:47.926] make -s -j${BUILD_JOBS} clean [10:11:48.432] time make -s -j${BUILD_JOBS} world-bin [10:13:21.763] datachecksumsworker.c: In function ‘ProcessDatabase’: [10:13:21.763] 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=] [10:13:21.763] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [10:13:21.763] | ~^ ~~~ [10:13:21.763] | | | [10:13:21.763] | int pid_t {aka long long int} [10:13:21.763] | %lld [10:13:21.763] cc1: all warnings being treated as errors [10:13:21.764] make[3]: *** [: datachecksumsworker.o] Error 1 [10:13:21.764] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [10:13:21.764] make[2]: *** Waiting for unfinished jobs.... [10:13:44.551] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [10:13:44.551] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [10:13:44.552] [10:13:44.552] real 1m56.119s [10:13:44.552] user 6m19.571s [10:13:44.552] sys 1m9.201s [10:13:44.552] [10:13:44.552] Exit status: 2