[09:35:41.779] time ./configure \ [09:35:41.779] --host=x86_64-w64-mingw32 \ [09:35:41.779] --enable-cassert \ [09:35:41.779] --without-icu \ [09:35:41.779] CC="ccache x86_64-w64-mingw32-gcc" \ [09:35:41.779] CXX="ccache x86_64-w64-mingw32-g++" [09:35:41.893] checking build system type... x86_64-pc-linux-gnu [09:35:42.109] checking host system type... x86_64-w64-mingw32 [09:35:42.114] checking which template to use... win32 [09:35:42.114] checking whether NLS is wanted... no [09:35:42.114] checking for default port number... 5432 [09:35:42.121] checking for block size... 8kB [09:35:42.122] checking for segment size... 1GB [09:35:42.124] checking for WAL block size... 8kB [09:35:42.126] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [09:35:42.159] checking whether the C compiler works... yes [09:35:42.305] checking for C compiler default output file name... a.exe [09:35:42.306] checking for suffix of executables... .exe [09:35:42.348] checking whether we are cross compiling... yes [09:35:42.429] checking for suffix of object files... o [09:35:42.446] checking whether we are using the GNU C compiler... yes [09:35:42.453] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [09:35:42.460] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [09:35:42.484] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [09:35:42.549] checking whether we are using the GNU C++ compiler... yes [09:35:42.556] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [09:35:42.622] checking for gawk... no [09:35:42.623] checking for mawk... mawk [09:35:42.625] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [09:35:42.632] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [09:35:42.663] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [09:35:42.707] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [09:35:42.880] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [09:35:42.895] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [09:35:42.976] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [09:35:42.982] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [09:35:42.989] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [09:35:43.020] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [09:35:43.026] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [09:35:43.055] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [09:35:43.072] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [09:35:43.102] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [09:35:43.133] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [09:35:43.165] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [09:35:43.172] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [09:35:43.207] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [09:35:43.223] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [09:35:43.239] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [09:35:43.254] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [09:35:43.261] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [09:35:43.292] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [09:35:43.315] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [09:35:43.321] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [09:35:43.328] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [09:35:43.365] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [09:35:43.402] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [09:35:43.417] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [09:35:43.424] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [09:35:43.458] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [09:35:43.465] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [09:35:43.471] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [09:35:43.502] checking whether the C compiler still works... yes [09:35:43.568] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [09:35:43.634] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [09:35:43.634] checking pkg-config is at least version 0.9.0... yes [09:35:43.651] checking whether to build with ICU support... no [09:35:43.651] checking whether to build with Tcl... no [09:35:43.651] checking whether to build Perl modules... no [09:35:43.651] checking whether to build Python modules... no [09:35:43.651] checking whether to build with GSSAPI support... no [09:35:43.652] checking whether to build with PAM support... no [09:35:43.653] checking whether to build with BSD Authentication support... no [09:35:43.653] checking whether to build with LDAP support... no [09:35:43.653] checking whether to build with Bonjour support... no [09:35:43.653] checking whether to build with SELinux support... no [09:35:43.653] checking whether to build with systemd support... no [09:35:43.653] configure: WARNING: *** Readline does not work on MinGW --- disabling [09:35:43.653] checking whether to build with XML support... no [09:35:43.654] checking whether to build with LZ4 support... no [09:35:43.654] checking whether to build with ZSTD support... no [09:35:43.654] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [09:35:43.654] checking whether it is possible to strip libraries... yes [09:35:43.661] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [09:35:43.662] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [09:35:43.662] checking for a BSD-compatible install... /usr/bin/install -c [09:35:43.671] checking for tar... /usr/bin/tar [09:35:43.671] checking whether ln -s works... yes [09:35:43.671] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [09:35:43.673] checking for bison... /usr/bin/bison [09:35:43.676] configure: using bison (GNU Bison) 3.8.2 [09:35:43.678] checking for flex... /usr/bin/flex [09:35:43.692] configure: using flex 2.6.4 [09:35:43.692] checking for perl... /usr/bin/perl [09:35:43.694] configure: using perl 5.36.0 [09:35:43.696] checking for zic... /usr/sbin/zic [09:35:43.697] checking for a sed that does not truncate output... /usr/bin/sed [09:35:43.701] checking for grep that handles long lines and -e... /usr/bin/grep [09:35:43.703] checking for egrep... /usr/bin/grep -E [09:35:43.705] checking for ANSI C header files... yes [09:35:43.789] checking for sys/types.h... yes [09:35:43.846] checking for sys/stat.h... yes [09:35:43.884] checking for stdlib.h... yes [09:35:43.918] checking for string.h... yes [09:35:43.932] checking for memory.h... yes [09:35:43.969] checking for strings.h... yes [09:35:43.985] checking for inttypes.h... yes [09:35:44.051] checking for stdint.h... yes [09:35:44.066] checking for unistd.h... yes [09:35:44.129] checking for main in -lm... yes [09:35:44.174] checking for library containing setproctitle... no [09:35:44.260] checking for library containing dlsym... no [09:35:44.347] checking for library containing socket... -lws2_32 [09:35:44.472] checking for library containing getopt_long... none required [09:35:44.519] checking for library containing shm_open... no [09:35:44.608] checking for library containing shm_unlink... no [09:35:44.692] checking for library containing clock_gettime... no [09:35:44.779] checking for library containing shmget... no [09:35:44.865] checking for library containing backtrace_symbols... no [09:35:44.952] checking for library containing pthread_barrier_wait... -lpthread [09:35:45.040] checking for inflate in -lz... yes [09:35:45.087] checking atomic.h usability... no [09:35:45.140] checking atomic.h presence... no [09:35:45.157] checking for atomic.h... no [09:35:45.160] checking copyfile.h usability... no [09:35:45.212] checking copyfile.h presence... no [09:35:45.229] checking for copyfile.h... no [09:35:45.232] checking execinfo.h usability... no [09:35:45.283] checking execinfo.h presence... no [09:35:45.303] checking for execinfo.h... no [09:35:45.306] checking getopt.h usability... yes [09:35:45.314] checking getopt.h presence... yes [09:35:45.329] checking for getopt.h... yes [09:35:45.336] checking ifaddrs.h usability... no [09:35:45.391] checking ifaddrs.h presence... no [09:35:45.408] checking for ifaddrs.h... no [09:35:45.411] checking mbarrier.h usability... no [09:35:45.462] checking mbarrier.h presence... no [09:35:45.479] checking for mbarrier.h... no [09:35:45.482] checking sys/epoll.h usability... no [09:35:45.534] checking sys/epoll.h presence... no [09:35:45.552] checking for sys/epoll.h... no [09:35:45.555] checking sys/event.h usability... no [09:35:45.607] checking sys/event.h presence... no [09:35:45.624] checking for sys/event.h... no [09:35:45.627] checking sys/personality.h usability... no [09:35:45.679] checking sys/personality.h presence... no [09:35:45.695] checking for sys/personality.h... no [09:35:45.698] checking sys/prctl.h usability... no [09:35:45.753] checking sys/prctl.h presence... no [09:35:45.770] checking for sys/prctl.h... no [09:35:45.773] checking sys/procctl.h usability... no [09:35:45.825] checking sys/procctl.h presence... no [09:35:45.843] checking for sys/procctl.h... no [09:35:45.846] checking sys/signalfd.h usability... no [09:35:45.898] checking sys/signalfd.h presence... no [09:35:45.915] checking for sys/signalfd.h... no [09:35:45.918] checking sys/ucred.h usability... no [09:35:45.974] checking sys/ucred.h presence... no [09:35:45.993] checking for sys/ucred.h... no [09:35:45.996] checking termios.h usability... no [09:35:46.049] checking termios.h presence... no [09:35:46.068] checking for termios.h... no [09:35:46.071] checking ucred.h usability... no [09:35:46.129] checking ucred.h presence... no [09:35:46.147] checking for ucred.h... no [09:35:46.150] checking xlocale.h usability... no [09:35:46.205] checking xlocale.h presence... no [09:35:46.223] checking for xlocale.h... no [09:35:46.226] checking zlib.h usability... yes [09:35:46.235] checking zlib.h presence... yes [09:35:46.253] checking for zlib.h... yes [09:35:46.254] checking for lz4... /usr/bin/lz4 [09:35:46.254] checking for zstd... /usr/bin/zstd [09:35:46.254] checking for openssl... /usr/bin/openssl [09:35:46.258] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [09:35:46.259] checking crtdefs.h usability... yes [09:35:46.311] checking crtdefs.h presence... yes [09:35:46.326] checking for crtdefs.h... yes [09:35:46.327] checking whether byte ordering is bigendian... no [09:35:46.424] checking for inline... inline [09:35:46.430] checking for printf format archetype... gnu_printf [09:35:46.446] checking for _Static_assert... yes [09:35:46.486] checking for typeof... typeof [09:35:46.492] checking for __builtin_types_compatible_p... yes [09:35:46.511] checking for __builtin_constant_p... yes [09:35:46.530] checking for __builtin_unreachable... yes [09:35:46.569] checking for computed goto support... yes [09:35:46.584] checking for struct tm.tm_zone... no [09:35:46.655] checking for union semun... no [09:35:46.687] checking for socklen_t... yes [09:35:48.151] checking for struct sockaddr.sa_len... no [09:35:50.134] checking for C/C++ restrict keyword... __restrict [09:35:50.154] checking for struct option... yes [09:35:50.193] checking whether assembler supports x86_64 popcntq... yes [09:35:50.201] checking size of off_t... 4 [09:35:50.504] 0 [09:35:50.504] checking size of bool... 1 [09:35:50.576] checking for int timezone... yes [09:35:50.628] checking for backtrace_symbols... no [09:35:50.675] checking for copyfile... no [09:35:50.724] checking for copy_file_range... no [09:35:50.775] checking for elf_aux_info... no [09:35:50.824] checking for getauxval... no [09:35:50.871] checking for getifaddrs... no [09:35:50.920] checking for getpeerucred... no [09:35:50.968] checking for inet_pton... yes [09:35:51.018] checking for kqueue... no [09:35:51.067] checking for mbstowcs_l... no [09:35:51.116] checking for memset_s... no [09:35:51.165] checking for posix_fallocate... no [09:35:51.214] checking for ppoll... no [09:35:51.263] checking for pthread_is_threaded_np... no [09:35:51.313] checking for setproctitle... no [09:35:51.366] checking for setproctitle_fast... no [09:35:51.417] checking for strchrnul... no [09:35:51.469] checking for strsignal... no [09:35:51.520] checking for syncfs... no [09:35:51.571] checking for sync_file_range... no [09:35:51.622] checking for uselocale... no [09:35:51.671] checking for wcstombs_l... no [09:35:51.717] checking for __builtin_bswap16... yes [09:35:51.765] checking for __builtin_bswap32... yes [09:35:51.812] checking for __builtin_bswap64... yes [09:35:51.859] checking for __builtin_clz... yes [09:35:51.906] checking for __builtin_ctz... yes [09:35:51.952] checking for __builtin_popcount... yes [09:35:51.998] checking for __builtin_frame_address... yes [09:35:52.045] checking for _LARGEFILE_SOURCE value needed for large files... no [09:35:52.097] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [09:35:52.128] checking for posix_fadvise... no [09:35:52.177] checking whether posix_fadvise is declared... no [09:35:52.220] checking whether fdatasync is declared... no [09:35:52.264] checking whether strlcat is declared... no [09:35:52.326] checking whether strlcpy is declared... no [09:35:52.387] checking whether strnlen is declared... yes [09:35:52.400] checking whether strsep is declared... no [09:35:52.461] checking whether preadv is declared... no [09:35:52.495] checking whether pwritev is declared... no [09:35:52.529] checking whether F_FULLFSYNC is declared... no [09:35:52.566] checking for explicit_bzero... no [09:35:52.614] checking for getopt... yes [09:35:52.658] checking for getpeereid... no [09:35:52.707] checking for inet_aton... no [09:35:52.755] checking for mkdtemp... no [09:35:52.802] checking for strlcat... no [09:35:52.850] checking for strlcpy... no [09:35:52.897] checking for strnlen... yes [09:35:52.945] checking for strsep... no [09:35:52.992] checking for pthread_barrier_wait... yes [09:35:53.036] configure: On mingw32 we will use our strtof wrapper. [09:35:53.036] checking for getopt_long... yes [09:35:53.080] checking for _configthreadlocale... yes [09:35:53.125] checking for syslog... no [09:35:53.172] checking for opterr... yes [09:35:53.220] checking for optreset... no [09:35:53.271] checking test program... cross-compiling [09:35:53.271] checking whether long int is 64 bits... no [09:35:53.300] checking whether long long int is 64 bits... yes [09:35:53.310] checking for __builtin_mul_overflow... yes [09:35:53.351] checking size of void *... 8 [09:35:53.727] checking size of size_t... 8 [09:35:54.109] checking size of long... 4 [09:35:54.387] checking alignment of short... 2 [09:35:54.599] checking alignment of int... 4 [09:35:54.871] checking alignment of long... 4 [09:35:55.115] checking alignment of long long int... 8 [09:35:55.465] checking alignment of double... 8 [09:35:55.828] checking for __int128... yes [09:35:55.878] checking for __int128 alignment bug... assuming ok [09:35:55.878] checking alignment of PG_INT128_TYPE... 16 [09:35:56.397] checking for builtin __sync char locking functions... yes [09:35:56.437] checking for builtin __sync int32 locking functions... yes [09:35:56.477] checking for builtin __sync int32 atomic operations... yes [09:35:56.518] checking for builtin __sync int64 atomic operations... yes [09:35:56.560] checking for builtin __atomic int32 atomic operations... yes [09:35:56.603] checking for builtin __atomic int64 atomic operations... yes [09:35:56.645] checking for __get_cpuid... yes [09:35:56.692] checking for __get_cpuid_count... yes [09:35:56.736] checking for __cpuid... no [09:35:57.140] checking for __cpuidex... no [09:35:57.556] checking for _xgetbv... yes [09:35:57.954] checking for _mm512_popcnt_epi64... yes [09:35:58.369] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [09:35:58.416] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [09:35:58.506] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [09:35:58.527] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [09:35:58.544] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [09:35:58.561] 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:35:58.613] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [09:35:58.613] checking which random number source to use... Windows native [09:35:58.615] checking for xmllint... /usr/bin/xmllint [09:35:58.615] checking for xsltproc... /usr/bin/xsltproc [09:35:58.615] checking for fop... /usr/bin/fop [09:35:58.615] checking for dbtoepub... no [09:35:58.616] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [09:35:58.616] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [09:35:58.616] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [09:35:58.626] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [09:35:58.626] 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:35:58.626] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [09:35:58.626] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [09:35:58.708] configure: creating ./config.status [09:35:58.788] config.status: creating GNUmakefile [09:35:58.799] config.status: creating src/Makefile.global [09:35:58.814] config.status: creating src/include/pg_config.h [09:35:58.825] config.status: creating src/include/pg_config_ext.h [09:35:58.837] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [09:35:58.852] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [09:35:58.860] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [09:35:58.867] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [09:35:58.874] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [09:35:58.881] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [09:35:58.884] config.status: executing check_win32_symlinks commands [09:35:58.916] [09:35:58.916] real 0m17.137s [09:35:58.916] user 0m11.279s [09:35:58.916] sys 0m5.389s [09:35:58.916] make -s -j${BUILD_JOBS} clean [09:35:59.426] time make -s -j${BUILD_JOBS} world-bin [09:37:33.660] datachecksumsworker.c: In function ‘ProcessDatabase’: [09:37:33.660] 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:37:33.660] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [09:37:33.660] | ~^ ~~~ [09:37:33.660] | | | [09:37:33.660] | int pid_t {aka long long int} [09:37:33.660] | %lld [09:37:33.660] cc1: all warnings being treated as errors [09:37:33.661] make[3]: *** [: datachecksumsworker.o] Error 1 [09:37:33.661] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [09:37:33.661] make[2]: *** Waiting for unfinished jobs.... [09:37:56.880] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [09:37:56.881] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [09:37:56.881] [09:37:56.881] real 1m57.455s [09:37:56.881] user 6m22.688s [09:37:56.881] sys 1m10.230s [09:37:56.881] [09:37:56.881] Exit status: 2