[13:16:54.670] time ./configure \ [13:16:54.670] --host=x86_64-w64-mingw32 \ [13:16:54.670] --enable-cassert \ [13:16:54.670] --without-icu \ [13:16:54.670] CC="ccache x86_64-w64-mingw32-gcc" \ [13:16:54.670] CXX="ccache x86_64-w64-mingw32-g++" [13:16:54.811] checking build system type... x86_64-pc-linux-gnu [13:16:55.036] checking host system type... x86_64-w64-mingw32 [13:16:55.043] checking which template to use... win32 [13:16:55.043] checking whether NLS is wanted... no [13:16:55.043] checking for default port number... 5432 [13:16:55.051] checking for block size... 8kB [13:16:55.053] checking for segment size... 1GB [13:16:55.056] checking for WAL block size... 8kB [13:16:55.057] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:16:55.097] checking whether the C compiler works... yes [13:16:55.269] checking for C compiler default output file name... a.exe [13:16:55.270] checking for suffix of executables... .exe [13:16:55.319] checking whether we are cross compiling... yes [13:16:55.407] checking for suffix of object files... o [13:16:55.427] checking whether we are using the GNU C compiler... yes [13:16:55.446] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:16:55.464] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:16:55.550] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:16:55.705] checking whether we are using the GNU C++ compiler... yes [13:16:55.876] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:16:56.029] checking for gawk... no [13:16:56.029] checking for mawk... mawk [13:16:56.032] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:16:56.051] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:16:56.088] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:16:56.138] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:16:56.190] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:16:56.210] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:16:56.218] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:16:56.239] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:16:56.247] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:16:56.287] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:16:56.296] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:16:56.338] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:16:56.358] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:16:56.379] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:16:56.417] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:16:56.455] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:16:56.494] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:16:56.536] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:16:56.545] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:16:56.584] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:16:56.624] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:16:56.644] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:16:56.683] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:16:56.710] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:16:56.728] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:16:56.745] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:16:56.787] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:16:56.828] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:16:56.865] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:16:56.873] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:16:56.910] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:16:56.928] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:16:56.946] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:16:56.982] checking whether the C compiler still works... yes [13:16:57.070] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:16:57.157] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:16:57.157] checking pkg-config is at least version 0.9.0... yes [13:16:57.175] checking whether to build with ICU support... no [13:16:57.175] checking whether to build with Tcl... no [13:16:57.176] checking whether to build Perl modules... no [13:16:57.176] checking whether to build Python modules... no [13:16:57.176] checking whether to build with GSSAPI support... no [13:16:57.177] checking whether to build with PAM support... no [13:16:57.178] checking whether to build with BSD Authentication support... no [13:16:57.178] checking whether to build with LDAP support... no [13:16:57.178] checking whether to build with Bonjour support... no [13:16:57.178] checking whether to build with SELinux support... no [13:16:57.178] checking whether to build with systemd support... no [13:16:57.178] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:16:57.178] checking whether to build with XML support... no [13:16:57.179] checking whether to build with LZ4 support... no [13:16:57.179] checking whether to build with ZSTD support... no [13:16:57.179] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:16:57.180] checking whether it is possible to strip libraries... yes [13:16:57.189] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:16:57.190] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:16:57.190] checking for a BSD-compatible install... /usr/bin/install -c [13:16:57.201] checking for tar... /usr/bin/tar [13:16:57.201] checking whether ln -s works... yes [13:16:57.201] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:16:57.204] checking for bison... /usr/bin/bison [13:16:57.206] configure: using bison (GNU Bison) 3.8.2 [13:16:57.210] checking for flex... /usr/bin/flex [13:16:57.224] configure: using flex 2.6.4 [13:16:57.225] checking for perl... /usr/bin/perl [13:16:57.228] configure: using perl 5.36.0 [13:16:57.230] checking for zic... /usr/sbin/zic [13:16:57.231] checking for a sed that does not truncate output... /usr/bin/sed [13:16:57.237] checking for grep that handles long lines and -e... /usr/bin/grep [13:16:57.239] checking for egrep... /usr/bin/grep -E [13:16:57.241] checking for ANSI C header files... yes [13:16:57.345] checking for sys/types.h... yes [13:16:57.388] checking for sys/stat.h... yes [13:16:57.459] checking for stdlib.h... yes [13:16:57.522] checking for string.h... yes [13:16:57.563] checking for memory.h... yes [13:16:57.634] checking for strings.h... yes [13:16:57.702] checking for inttypes.h... yes [13:16:57.777] checking for stdint.h... yes [13:16:57.845] checking for unistd.h... yes [13:16:57.918] checking for main in -lm... yes [13:16:57.970] checking for library containing setproctitle... no [13:16:58.068] checking for library containing dlsym... no [13:16:58.164] checking for library containing socket... -lws2_32 [13:16:58.306] checking for library containing getopt_long... none required [13:16:58.361] checking for library containing shm_open... no [13:16:58.460] checking for library containing shm_unlink... no [13:16:58.562] checking for library containing clock_gettime... no [13:16:58.664] checking for library containing shmget... no [13:16:58.764] checking for library containing backtrace_symbols... no [13:16:58.868] checking for library containing pthread_barrier_wait... -lpthread [13:16:58.974] checking for inflate in -lz... yes [13:16:59.029] checking for stdbool.h that conforms to C99... yes [13:16:59.054] checking for _Bool... yes [13:16:59.198] checking atomic.h usability... no [13:16:59.261] checking atomic.h presence... no [13:16:59.283] checking for atomic.h... no [13:16:59.287] checking copyfile.h usability... no [13:16:59.350] checking copyfile.h presence... no [13:16:59.373] checking for copyfile.h... no [13:16:59.378] checking execinfo.h usability... no [13:16:59.443] checking execinfo.h presence... no [13:16:59.465] checking for execinfo.h... no [13:16:59.470] checking getopt.h usability... yes [13:16:59.503] checking getopt.h presence... yes [13:16:59.522] checking for getopt.h... yes [13:16:59.531] checking ifaddrs.h usability... no [13:16:59.595] checking ifaddrs.h presence... no [13:16:59.619] checking for ifaddrs.h... no [13:16:59.622] checking mbarrier.h usability... no [13:16:59.686] checking mbarrier.h presence... no [13:16:59.707] checking for mbarrier.h... no [13:16:59.711] checking sys/epoll.h usability... no [13:16:59.775] checking sys/epoll.h presence... no [13:16:59.797] checking for sys/epoll.h... no [13:16:59.801] checking sys/event.h usability... no [13:16:59.865] checking sys/event.h presence... no [13:16:59.889] checking for sys/event.h... no [13:16:59.893] checking sys/personality.h usability... no [13:16:59.956] checking sys/personality.h presence... no [13:16:59.980] checking for sys/personality.h... no [13:16:59.984] checking sys/prctl.h usability... no [13:17:00.050] checking sys/prctl.h presence... no [13:17:00.073] checking for sys/prctl.h... no [13:17:00.077] checking sys/procctl.h usability... no [13:17:00.142] checking sys/procctl.h presence... no [13:17:00.169] checking for sys/procctl.h... no [13:17:00.173] checking sys/signalfd.h usability... no [13:17:00.235] checking sys/signalfd.h presence... no [13:17:00.258] checking for sys/signalfd.h... no [13:17:00.262] checking sys/ucred.h usability... no [13:17:00.328] checking sys/ucred.h presence... no [13:17:00.350] checking for sys/ucred.h... no [13:17:00.355] checking termios.h usability... no [13:17:00.422] checking termios.h presence... no [13:17:00.447] checking for termios.h... no [13:17:00.451] checking ucred.h usability... no [13:17:00.518] checking ucred.h presence... no [13:17:00.541] checking for ucred.h... no [13:17:00.546] checking xlocale.h usability... no [13:17:00.608] checking xlocale.h presence... no [13:17:00.631] checking for xlocale.h... no [13:17:00.634] checking zlib.h usability... yes [13:17:00.702] checking zlib.h presence... yes [13:17:00.724] checking for zlib.h... yes [13:17:00.724] checking for lz4... /usr/bin/lz4 [13:17:00.724] checking for zstd... /usr/bin/zstd [13:17:00.725] checking for openssl... /usr/bin/openssl [13:17:00.730] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [13:17:00.731] checking crtdefs.h usability... yes [13:17:00.765] checking crtdefs.h presence... yes [13:17:00.785] checking for crtdefs.h... yes [13:17:00.787] checking whether byte ordering is bigendian... no [13:17:00.917] checking for inline... inline [13:17:00.953] checking for printf format archetype... gnu_printf [13:17:00.976] checking for _Static_assert... yes [13:17:01.026] checking for typeof... typeof [13:17:01.068] checking for __builtin_types_compatible_p... yes [13:17:01.094] checking for __builtin_constant_p... yes [13:17:01.134] checking for __builtin_unreachable... yes [13:17:01.184] checking for computed goto support... yes [13:17:01.226] checking for struct tm.tm_zone... no [13:17:01.319] checking for union semun... no [13:17:01.361] checking for socklen_t... yes [13:17:03.817] checking for struct sockaddr.sa_len... no [13:17:06.097] checking for C/C++ restrict keyword... __restrict [13:17:06.124] checking for struct option... yes [13:17:06.210] checking whether assembler supports x86_64 popcntq... yes [13:17:06.231] checking size of off_t... 4 [13:17:06.542] 0 [13:17:06.543] checking size of bool... 1 [13:17:06.662] checking for int timezone... yes [13:17:06.720] checking for backtrace_symbols... no [13:17:06.781] checking for copyfile... no [13:17:06.839] checking for copy_file_range... no [13:17:06.895] checking for getifaddrs... no [13:17:06.952] checking for getpeerucred... no [13:17:07.008] checking for inet_pton... yes [13:17:07.064] checking for kqueue... no [13:17:07.122] checking for mbstowcs_l... no [13:17:07.178] checking for memset_s... no [13:17:07.233] checking for posix_fallocate... no [13:17:07.290] checking for ppoll... no [13:17:07.347] checking for pthread_is_threaded_np... no [13:17:07.400] checking for setproctitle... no [13:17:07.456] checking for setproctitle_fast... no [13:17:07.511] checking for strchrnul... no [13:17:07.568] checking for strsignal... no [13:17:07.620] checking for syncfs... no [13:17:07.675] checking for sync_file_range... no [13:17:07.729] checking for uselocale... no [13:17:07.782] checking for wcstombs_l... no [13:17:07.832] checking for __builtin_bswap16... yes [13:17:07.886] checking for __builtin_bswap32... yes [13:17:07.938] checking for __builtin_bswap64... yes [13:17:07.992] checking for __builtin_clz... yes [13:17:08.043] checking for __builtin_ctz... yes [13:17:08.095] checking for __builtin_popcount... yes [13:17:08.149] checking for __builtin_frame_address... yes [13:17:08.200] checking for _LARGEFILE_SOURCE value needed for large files... no [13:17:08.255] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:17:08.290] checking for posix_fadvise... no [13:17:08.347] checking whether posix_fadvise is declared... no [13:17:08.396] checking whether fdatasync is declared... no [13:17:08.444] checking whether strlcat is declared... no [13:17:08.511] checking whether strlcpy is declared... no [13:17:08.579] checking whether strnlen is declared... yes [13:17:08.593] checking whether strsep is declared... no [13:17:08.664] checking whether preadv is declared... no [13:17:08.705] checking whether pwritev is declared... no [13:17:08.748] checking whether F_FULLFSYNC is declared... no [13:17:08.794] checking for explicit_bzero... no [13:17:08.845] checking for getopt... yes [13:17:08.893] checking for getpeereid... no [13:17:08.944] checking for inet_aton... no [13:17:08.999] checking for mkdtemp... no [13:17:09.052] checking for strlcat... no [13:17:09.106] checking for strlcpy... no [13:17:09.160] checking for strnlen... yes [13:17:09.215] checking for strsep... no [13:17:09.270] checking for pthread_barrier_wait... yes [13:17:09.319] configure: On mingw32 we will use our strtof wrapper. [13:17:09.319] checking for getopt_long... yes [13:17:09.370] checking for _configthreadlocale... yes [13:17:09.420] checking for syslog... no [13:17:09.473] checking for opterr... yes [13:17:09.526] checking for optreset... no [13:17:09.581] checking test program... cross-compiling [13:17:09.581] checking whether long int is 64 bits... no [13:17:09.618] checking whether long long int is 64 bits... yes [13:17:09.641] checking for __builtin_mul_overflow... yes [13:17:09.690] checking size of void *... 8 [13:17:10.251] checking size of size_t... 8 [13:17:10.768] checking size of long... 4 [13:17:11.186] checking alignment of short... 2 [13:17:11.467] checking alignment of int... 4 [13:17:11.938] checking alignment of long... 4 [13:17:12.274] checking alignment of long long int... 8 [13:17:12.796] checking alignment of double... 8 [13:17:13.347] checking for __int128... yes [13:17:13.404] checking for __int128 alignment bug... assuming ok [13:17:13.404] checking alignment of PG_INT128_TYPE... 16 [13:17:14.013] checking for builtin __sync char locking functions... yes [13:17:14.060] checking for builtin __sync int32 locking functions... yes [13:17:14.109] checking for builtin __sync int32 atomic operations... yes [13:17:14.157] checking for builtin __sync int64 atomic operations... yes [13:17:14.206] checking for builtin __atomic int32 atomic operations... yes [13:17:14.255] checking for builtin __atomic int64 atomic operations... yes [13:17:14.302] checking for __get_cpuid... yes [13:17:14.354] checking for __get_cpuid_count... yes [13:17:14.403] checking for __cpuid... no [13:17:14.818] checking for __cpuidex... no [13:17:15.270] checking for _xgetbv with CFLAGS=... no [13:17:15.669] checking for _xgetbv with CFLAGS=-mxsave... yes [13:17:16.088] checking for _mm512_popcnt_epi64 with CFLAGS=... no [13:17:16.489] checking for _mm512_popcnt_epi64 with CFLAGS=-mavx512vpopcntdq -mavx512bw... yes [13:17:16.856] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:17:16.910] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:17:17.015] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:17:17.044] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:17:17.067] 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 [13:17:17.132] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:17:17.133] checking which random number source to use... Windows native [13:17:17.135] checking for xmllint... /usr/bin/xmllint [13:17:17.135] checking for xsltproc... /usr/bin/xsltproc [13:17:17.135] checking for fop... /usr/bin/fop [13:17:17.136] checking for dbtoepub... no [13:17:17.136] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:17:17.136] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:17:17.137] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:17:17.150] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:17:17.150] 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 [13:17:17.150] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:17:17.150] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:17:17.248] configure: creating ./config.status [13:17:17.346] config.status: creating GNUmakefile [13:17:17.360] config.status: creating src/Makefile.global [13:17:17.378] config.status: creating src/include/pg_config.h [13:17:17.393] config.status: creating src/include/pg_config_ext.h [13:17:17.407] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:17:17.426] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:17:17.434] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:17:17.443] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:17:17.451] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:17:17.459] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:17:17.463] config.status: executing check_win32_symlinks commands [13:17:17.501] [13:17:17.501] real 0m22.831s [13:17:17.501] user 0m14.849s [13:17:17.501] sys 0m7.505s [13:17:17.501] make -s -j${BUILD_JOBS} clean [13:17:18.057] time make -s -j${BUILD_JOBS} world-bin [13:19:07.960] datachecksumsworker.c: In function ‘ProcessDatabase’: [13:19:07.960] 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=] [13:19:07.960] 590 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [13:19:07.960] | ~^ ~~~ [13:19:07.960] | | | [13:19:07.960] | int pid_t {aka long long int} [13:19:07.960] | %lld [13:19:07.960] cc1: all warnings being treated as errors [13:19:07.961] make[3]: *** [: datachecksumsworker.o] Error 1 [13:19:07.961] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [13:19:07.961] make[2]: *** Waiting for unfinished jobs.... [13:19:32.206] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:19:32.207] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:19:32.207] [13:19:32.207] real 2m14.150s [13:19:32.207] user 7m17.585s [13:19:32.207] sys 1m23.440s [13:19:32.207] [13:19:32.207] Exit status: 2