[09:46:17.735] time ./configure \ [09:46:17.735] --host=x86_64-w64-mingw32 \ [09:46:17.735] --enable-cassert \ [09:46:17.735] --without-icu \ [09:46:17.735] CC="ccache x86_64-w64-mingw32-gcc" \ [09:46:17.735] CXX="ccache x86_64-w64-mingw32-g++" [09:46:17.876] checking build system type... x86_64-pc-linux-gnu [09:46:18.104] checking host system type... x86_64-w64-mingw32 [09:46:18.110] checking which template to use... win32 [09:46:18.110] checking whether NLS is wanted... no [09:46:18.110] checking for default port number... 5432 [09:46:18.118] checking for block size... 8kB [09:46:18.120] checking for segment size... 1GB [09:46:18.122] checking for WAL block size... 8kB [09:46:18.124] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:46:18.164] checking whether the C compiler works... yes [09:46:18.327] checking for C compiler default output file name... a.exe [09:46:18.329] checking for suffix of executables... .exe [09:46:18.375] checking whether we are cross compiling... yes [09:46:18.464] checking for suffix of object files... o [09:46:18.504] checking whether we are using the GNU C compiler... yes [09:46:18.524] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:46:18.532] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:46:18.563] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:46:18.635] checking whether we are using the GNU C++ compiler... yes [09:46:18.643] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:46:18.937] checking for gawk... no [09:46:18.937] checking for mawk... mawk [09:46:18.940] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:46:18.978] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:46:18.995] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:46:19.045] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:46:19.099] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:46:19.107] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:46:19.145] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:46:19.183] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:46:19.191] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:46:19.229] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:46:19.248] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:46:19.285] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:46:19.303] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:46:19.311] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:46:19.319] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:46:19.355] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:46:19.392] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:46:19.434] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:46:19.454] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:46:19.493] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:46:19.502] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:46:19.541] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:46:19.577] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:46:19.603] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:46:19.639] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:46:19.674] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:46:19.715] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:46:19.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:46:19.794] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:46:19.811] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:46:19.847] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:46:19.880] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:46:19.888] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:46:19.923] checking whether the C compiler still works... yes [09:46:20.004] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:46:20.081] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:46:20.081] checking pkg-config is at least version 0.9.0... yes [09:46:20.098] checking whether to build with ICU support... no [09:46:20.099] checking whether to build with Tcl... no [09:46:20.099] checking whether to build Perl modules... no [09:46:20.099] checking whether to build Python modules... no [09:46:20.099] checking whether to build with GSSAPI support... no [09:46:20.100] checking whether to build with PAM support... no [09:46:20.100] checking whether to build with BSD Authentication support... no [09:46:20.101] checking whether to build with LDAP support... no [09:46:20.101] checking whether to build with Bonjour support... no [09:46:20.101] checking whether to build with SELinux support... no [09:46:20.101] checking whether to build with systemd support... no [09:46:20.101] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:46:20.101] checking whether to build with XML support... no [09:46:20.102] checking whether to build with LZ4 support... no [09:46:20.102] checking whether to build with ZSTD support... no [09:46:20.102] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:46:20.102] checking whether it is possible to strip libraries... yes [09:46:20.113] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:46:20.114] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:46:20.114] checking for a BSD-compatible install... /usr/bin/install -c [09:46:20.123] checking for tar... /usr/bin/tar [09:46:20.124] checking whether ln -s works... yes [09:46:20.124] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:46:20.126] checking for bison... /usr/bin/bison [09:46:20.128] configure: using bison (GNU Bison) 3.8.2 [09:46:20.131] checking for flex... /usr/bin/flex [09:46:20.145] configure: using flex 2.6.4 [09:46:20.145] checking for perl... /usr/bin/perl [09:46:20.148] configure: using perl 5.36.0 [09:46:20.150] checking for zic... /usr/sbin/zic [09:46:20.151] checking for a sed that does not truncate output... /usr/bin/sed [09:46:20.156] checking for grep that handles long lines and -e... /usr/bin/grep [09:46:20.158] checking for egrep... /usr/bin/grep -E [09:46:20.160] checking for ANSI C header files... yes [09:46:20.249] checking for sys/types.h... yes [09:46:20.267] checking for sys/stat.h... yes [09:46:20.304] checking for stdlib.h... yes [09:46:20.367] checking for string.h... yes [09:46:20.384] checking for memory.h... yes [09:46:20.421] checking for strings.h... yes [09:46:20.482] checking for inttypes.h... yes [09:46:20.500] checking for stdint.h... yes [09:46:20.563] checking for unistd.h... yes [09:46:20.603] checking for main in -lm... yes [09:46:20.653] checking for library containing setproctitle... no [09:46:20.746] checking for library containing dlsym... no [09:46:20.840] checking for library containing socket... -lws2_32 [09:46:20.978] checking for library containing getopt_long... none required [09:46:21.026] checking for library containing shm_open... no [09:46:21.113] checking for library containing shm_unlink... no [09:46:21.200] checking for library containing clock_gettime... no [09:46:21.289] checking for library containing shmget... no [09:46:21.380] checking for library containing backtrace_symbols... no [09:46:21.466] checking for library containing pthread_barrier_wait... -lpthread [09:46:21.554] checking for inflate in -lz... yes [09:46:21.600] checking for stdbool.h that conforms to C99... yes [09:46:21.649] checking for _Bool... yes [09:46:21.718] checking atomic.h usability... no [09:46:21.772] checking atomic.h presence... no [09:46:21.791] checking for atomic.h... no [09:46:21.794] checking copyfile.h usability... no [09:46:21.851] checking copyfile.h presence... no [09:46:21.871] checking for copyfile.h... no [09:46:21.875] checking execinfo.h usability... no [09:46:21.931] checking execinfo.h presence... no [09:46:21.950] checking for execinfo.h... no [09:46:21.954] checking getopt.h usability... yes [09:46:22.008] checking getopt.h presence... yes [09:46:22.022] checking for getopt.h... yes [09:46:22.029] checking ifaddrs.h usability... no [09:46:22.083] checking ifaddrs.h presence... no [09:46:22.102] checking for ifaddrs.h... no [09:46:22.105] checking mbarrier.h usability... no [09:46:22.159] checking mbarrier.h presence... no [09:46:22.179] checking for mbarrier.h... no [09:46:22.182] checking sys/epoll.h usability... no [09:46:22.235] checking sys/epoll.h presence... no [09:46:22.253] checking for sys/epoll.h... no [09:46:22.256] checking sys/event.h usability... no [09:46:22.311] checking sys/event.h presence... no [09:46:22.329] checking for sys/event.h... no [09:46:22.332] checking sys/personality.h usability... no [09:46:22.384] checking sys/personality.h presence... no [09:46:22.402] checking for sys/personality.h... no [09:46:22.405] checking sys/prctl.h usability... no [09:46:22.461] checking sys/prctl.h presence... no [09:46:22.482] checking for sys/prctl.h... no [09:46:22.485] checking sys/procctl.h usability... no [09:46:22.541] checking sys/procctl.h presence... no [09:46:22.560] checking for sys/procctl.h... no [09:46:22.564] checking sys/signalfd.h usability... no [09:46:22.620] checking sys/signalfd.h presence... no [09:46:22.638] checking for sys/signalfd.h... no [09:46:22.642] checking sys/ucred.h usability... no [09:46:22.697] checking sys/ucred.h presence... no [09:46:22.716] checking for sys/ucred.h... no [09:46:22.720] checking termios.h usability... no [09:46:22.775] checking termios.h presence... no [09:46:22.794] checking for termios.h... no [09:46:22.797] checking ucred.h usability... no [09:46:22.852] checking ucred.h presence... no [09:46:22.871] checking for ucred.h... no [09:46:22.874] checking xlocale.h usability... no [09:46:22.927] checking xlocale.h presence... no [09:46:22.947] checking for xlocale.h... no [09:46:22.949] checking zlib.h usability... yes [09:46:22.982] checking zlib.h presence... yes [09:46:23.000] checking for zlib.h... yes [09:46:23.000] checking for lz4... /usr/bin/lz4 [09:46:23.001] checking for zstd... /usr/bin/zstd [09:46:23.001] checking for openssl... /usr/bin/openssl [09:46:23.005] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [09:46:23.006] checking crtdefs.h usability... yes [09:46:23.060] checking crtdefs.h presence... yes [09:46:23.076] checking for crtdefs.h... yes [09:46:23.077] checking whether byte ordering is bigendian... no [09:46:23.182] checking for inline... inline [09:46:23.208] checking for printf format archetype... gnu_printf [09:46:23.244] checking for _Static_assert... yes [09:46:23.286] checking for typeof... typeof [09:46:23.319] checking for __builtin_types_compatible_p... yes [09:46:23.357] checking for __builtin_constant_p... yes [09:46:23.368] checking for __builtin_unreachable... yes [09:46:23.410] checking for computed goto support... yes [09:46:23.446] checking for struct tm.tm_zone... no [09:46:23.525] checking for union semun... no [09:46:23.560] checking for socklen_t... yes [09:46:25.082] checking for struct sockaddr.sa_len... no [09:46:27.134] checking for C/C++ restrict keyword... __restrict [09:46:27.158] checking for struct option... yes [09:46:27.202] checking whether assembler supports x86_64 popcntq... yes [09:46:27.237] checking size of off_t... 4 [09:46:27.560] 0 [09:46:27.561] checking size of bool... 1 [09:46:27.627] checking for int timezone... yes [09:46:27.675] checking for backtrace_symbols... no [09:46:27.723] checking for copyfile... no [09:46:27.771] checking for copy_file_range... no [09:46:27.819] checking for getifaddrs... no [09:46:27.868] checking for getpeerucred... no [09:46:27.916] checking for inet_pton... yes [09:46:27.966] checking for kqueue... no [09:46:28.015] checking for mbstowcs_l... no [09:46:28.064] checking for memset_s... no [09:46:28.112] checking for posix_fallocate... no [09:46:28.160] checking for ppoll... no [09:46:28.211] checking for pthread_is_threaded_np... no [09:46:28.260] checking for setproctitle... no [09:46:28.310] checking for setproctitle_fast... no [09:46:28.362] checking for strchrnul... no [09:46:28.414] checking for strsignal... no [09:46:28.464] checking for syncfs... no [09:46:28.514] checking for sync_file_range... no [09:46:28.566] checking for uselocale... no [09:46:28.617] checking for wcstombs_l... no [09:46:28.665] checking for __builtin_bswap16... yes [09:46:28.713] checking for __builtin_bswap32... yes [09:46:28.759] checking for __builtin_bswap64... yes [09:46:28.805] checking for __builtin_clz... yes [09:46:28.851] checking for __builtin_ctz... yes [09:46:28.897] checking for __builtin_popcount... yes [09:46:28.945] checking for __builtin_frame_address... yes [09:46:28.995] checking for _LARGEFILE_SOURCE value needed for large files... no [09:46:29.049] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:46:29.078] checking for posix_fadvise... no [09:46:29.128] checking whether posix_fadvise is declared... no [09:46:29.173] checking whether fdatasync is declared... no [09:46:29.218] checking whether strlcat is declared... no [09:46:29.280] checking whether strlcpy is declared... no [09:46:29.345] checking whether strnlen is declared... yes [09:46:29.412] checking whether strsep is declared... no [09:46:29.479] checking whether preadv is declared... no [09:46:29.517] checking whether pwritev is declared... no [09:46:29.554] checking whether F_FULLFSYNC is declared... no [09:46:29.594] checking for explicit_bzero... no [09:46:29.641] checking for getopt... yes [09:46:29.686] checking for getpeereid... no [09:46:29.734] checking for inet_aton... no [09:46:29.780] checking for mkdtemp... no [09:46:29.828] checking for strlcat... no [09:46:29.876] checking for strlcpy... no [09:46:29.924] checking for strnlen... yes [09:46:29.972] checking for strsep... no [09:46:30.019] checking for pthread_barrier_wait... yes [09:46:30.063] configure: On mingw32 we will use our strtof wrapper. [09:46:30.064] checking for getopt_long... yes [09:46:30.108] checking for _configthreadlocale... yes [09:46:30.154] checking for syslog... no [09:46:30.202] checking for opterr... yes [09:46:30.250] checking for optreset... no [09:46:30.302] checking test program... cross-compiling [09:46:30.302] checking whether long int is 64 bits... no [09:46:30.334] checking whether long long int is 64 bits... yes [09:46:30.372] checking for __builtin_mul_overflow... yes [09:46:30.415] checking size of void *... 8 [09:46:30.873] checking size of size_t... 8 [09:46:31.232] checking size of long... 4 [09:46:31.520] checking alignment of short... 2 [09:46:31.744] checking alignment of int... 4 [09:46:32.052] checking alignment of long... 4 [09:46:32.424] checking alignment of long long int... 8 [09:46:32.883] checking alignment of double... 8 [09:46:33.345] checking for __int128... yes [09:46:33.394] checking for __int128 alignment bug... assuming ok [09:46:33.394] checking alignment of PG_INT128_TYPE... 16 [09:46:33.947] checking for builtin __sync char locking functions... yes [09:46:33.990] checking for builtin __sync int32 locking functions... yes [09:46:34.033] checking for builtin __sync int32 atomic operations... yes [09:46:34.075] checking for builtin __sync int64 atomic operations... yes [09:46:34.116] checking for builtin __atomic int32 atomic operations... yes [09:46:34.158] checking for builtin __atomic int64 atomic operations... yes [09:46:34.200] checking for __get_cpuid... yes [09:46:34.247] checking for __get_cpuid_count... yes [09:46:34.293] checking for __cpuid... no [09:46:34.697] checking for __cpuidex... no [09:46:35.125] checking for _xgetbv with CFLAGS=... no [09:46:35.500] checking for _xgetbv with CFLAGS=-mxsave... yes [09:46:35.890] checking for _mm512_popcnt_epi64 with CFLAGS=... no [09:46:36.276] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [09:46:36.626] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:46:36.673] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:46:36.764] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:46:36.789] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:46:36.809] 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 [09:46:36.867] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:46:36.867] checking which random number source to use... Windows native [09:46:36.869] checking for xmllint... /usr/bin/xmllint [09:46:36.869] checking for xsltproc... /usr/bin/xsltproc [09:46:36.869] checking for fop... /usr/bin/fop [09:46:36.870] checking for dbtoepub... no [09:46:36.870] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:46:36.870] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:46:36.870] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:46:36.882] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:46:36.882] 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 [09:46:36.882] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:46:36.882] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:46:36.964] configure: creating ./config.status [09:46:37.047] config.status: creating GNUmakefile [09:46:37.060] config.status: creating src/Makefile.global [09:46:37.076] config.status: creating src/include/pg_config.h [09:46:37.089] config.status: creating src/include/pg_config_ext.h [09:46:37.101] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:46:37.116] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:46:37.123] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:46:37.130] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:46:37.137] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:46:37.145] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:46:37.148] config.status: executing check_win32_symlinks commands [09:46:37.182] [09:46:37.182] real 0m19.447s [09:46:37.182] user 0m12.844s [09:46:37.182] sys 0m6.148s [09:46:37.182] make -s -j${BUILD_JOBS} clean [09:46:37.713] time make -s -j${BUILD_JOBS} world-bin [09:48:20.537] datachecksumsworker.c: In function ‘ProcessDatabase’: [09:48:20.537] 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=] [09:48:20.537] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [09:48:20.537] | ~^ ~~~ [09:48:20.537] | | | [09:48:20.537] | int pid_t {aka long long int} [09:48:20.537] | %lld [09:48:20.537] cc1: all warnings being treated as errors [09:48:20.538] make[3]: *** [: datachecksumsworker.o] Error 1 [09:48:20.538] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [09:48:20.538] make[2]: *** Waiting for unfinished jobs.... [09:48:44.542] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:48:44.542] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:48:44.543] [09:48:44.543] real 2m6.829s [09:48:44.543] user 6m54.325s [09:48:44.543] sys 1m18.770s [09:48:44.543] [09:48:44.543] Exit status: 2