[18:16:43.830] time ./configure \ [18:16:43.830] --host=x86_64-w64-mingw32 \ [18:16:43.830] --enable-cassert \ [18:16:43.830] --without-icu \ [18:16:43.830] CC="ccache x86_64-w64-mingw32-gcc" \ [18:16:43.830] CXX="ccache x86_64-w64-mingw32-g++" [18:16:43.958] checking build system type... x86_64-pc-linux-gnu [18:16:44.156] checking host system type... x86_64-w64-mingw32 [18:16:44.162] checking which template to use... win32 [18:16:44.163] checking whether NLS is wanted... no [18:16:44.163] checking for default port number... 5432 [18:16:44.171] checking for block size... 8kB [18:16:44.172] checking for segment size... 1GB [18:16:44.174] checking for WAL block size... 8kB [18:16:44.176] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [18:16:44.212] checking whether the C compiler works... yes [18:16:44.348] checking for C compiler default output file name... a.exe [18:16:44.349] checking for suffix of executables... .exe [18:16:44.391] checking whether we are cross compiling... yes [18:16:44.469] checking for suffix of object files... o [18:16:44.477] checking whether we are using the GNU C compiler... yes [18:16:44.512] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [18:16:44.530] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [18:16:44.612] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [18:16:44.745] checking whether we are using the GNU C++ compiler... yes [18:16:44.937] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [18:16:45.031] checking for gawk... no [18:16:45.031] checking for mawk... mawk [18:16:45.033] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [18:16:45.068] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [18:16:45.084] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [18:16:45.129] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [18:16:45.176] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [18:16:45.183] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [18:16:45.200] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [18:16:45.234] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [18:16:45.251] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [18:16:45.268] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [18:16:45.285] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [18:16:45.319] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [18:16:45.326] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [18:16:45.343] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [18:16:45.376] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [18:16:45.410] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [18:16:45.445] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [18:16:45.484] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [18:16:45.491] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [18:16:45.528] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [18:16:45.564] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [18:16:45.600] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [18:16:45.637] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [18:16:45.663] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [18:16:45.681] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [18:16:45.718] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [18:16:45.760] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [18:16:45.802] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [18:16:45.838] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [18:16:45.873] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [18:16:45.911] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [18:16:45.919] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [18:16:45.937] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [18:16:45.956] checking whether the C compiler still works... yes [18:16:46.042] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [18:16:46.126] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [18:16:46.126] checking pkg-config is at least version 0.9.0... yes [18:16:46.144] checking whether to build with ICU support... no [18:16:46.144] checking whether to build with Tcl... no [18:16:46.144] checking whether to build Perl modules... no [18:16:46.145] checking whether to build Python modules... no [18:16:46.145] checking whether to build with GSSAPI support... no [18:16:46.146] checking whether to build with PAM support... no [18:16:46.146] checking whether to build with BSD Authentication support... no [18:16:46.146] checking whether to build with LDAP support... no [18:16:46.146] checking whether to build with Bonjour support... no [18:16:46.146] checking whether to build with SELinux support... no [18:16:46.146] checking whether to build with systemd support... no [18:16:46.146] configure: WARNING: *** Readline does not work on MinGW --- disabling [18:16:46.147] checking whether to build with libcurl support... no [18:16:46.147] checking whether to build with XML support... no [18:16:46.147] checking whether to build with LZ4 support... no [18:16:46.147] checking whether to build with ZSTD support... no [18:16:46.148] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [18:16:46.148] checking whether it is possible to strip libraries... yes [18:16:46.155] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [18:16:46.156] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [18:16:46.156] checking for a BSD-compatible install... /usr/bin/install -c [18:16:46.166] checking for tar... /usr/bin/tar [18:16:46.166] checking whether ln -s works... yes [18:16:46.166] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [18:16:46.169] checking for bison... /usr/bin/bison [18:16:46.171] configure: using bison (GNU Bison) 3.8.2 [18:16:46.174] checking for flex... /usr/bin/flex [18:16:46.177] configure: using flex 2.6.4 [18:16:46.177] checking for perl... /usr/bin/perl [18:16:46.180] configure: using perl 5.36.0 [18:16:46.182] checking for zic... /usr/sbin/zic [18:16:46.182] checking for a sed that does not truncate output... /usr/bin/sed [18:16:46.188] checking for grep that handles long lines and -e... /usr/bin/grep [18:16:46.190] checking for egrep... /usr/bin/grep -E [18:16:46.192] checking for ANSI C header files... yes [18:16:46.244] checking for sys/types.h... yes [18:16:46.307] checking for sys/stat.h... yes [18:16:46.372] checking for stdlib.h... yes [18:16:46.409] checking for string.h... yes [18:16:46.446] checking for memory.h... yes [18:16:46.510] checking for strings.h... yes [18:16:46.573] checking for inttypes.h... yes [18:16:46.637] checking for stdint.h... yes [18:16:46.672] checking for unistd.h... yes [18:16:46.736] checking for main in -lm... yes [18:16:46.784] checking for library containing setproctitle... no [18:16:46.870] checking for library containing dlsym... no [18:16:46.956] checking for library containing socket... -lws2_32 [18:16:47.086] checking for library containing getopt_long... none required [18:16:47.134] checking for library containing shm_open... no [18:16:47.226] checking for library containing shm_unlink... no [18:16:47.316] checking for library containing clock_gettime... no [18:16:47.408] checking for library containing shmget... no [18:16:47.504] checking for library containing backtrace_symbols... no [18:16:47.599] checking for library containing pthread_barrier_wait... -lpthread [18:16:47.696] checking for inflate in -lz... yes [18:16:47.748] checking atomic.h usability... no [18:16:47.808] checking atomic.h presence... no [18:16:47.830] checking for atomic.h... no [18:16:47.834] checking copyfile.h usability... no [18:16:47.897] checking copyfile.h presence... no [18:16:47.919] checking for copyfile.h... no [18:16:47.923] checking execinfo.h usability... no [18:16:47.982] checking execinfo.h presence... no [18:16:48.004] checking for execinfo.h... no [18:16:48.008] checking getopt.h usability... yes [18:16:48.067] checking getopt.h presence... yes [18:16:48.085] checking for getopt.h... yes [18:16:48.093] checking ifaddrs.h usability... no [18:16:48.152] checking ifaddrs.h presence... no [18:16:48.174] checking for ifaddrs.h... no [18:16:48.177] checking mbarrier.h usability... no [18:16:48.236] checking mbarrier.h presence... no [18:16:48.256] checking for mbarrier.h... no [18:16:48.260] checking sys/epoll.h usability... no [18:16:48.319] checking sys/epoll.h presence... no [18:16:48.340] checking for sys/epoll.h... no [18:16:48.344] checking sys/event.h usability... no [18:16:48.403] checking sys/event.h presence... no [18:16:48.424] checking for sys/event.h... no [18:16:48.428] checking sys/personality.h usability... no [18:16:48.487] checking sys/personality.h presence... no [18:16:48.508] checking for sys/personality.h... no [18:16:48.511] checking sys/prctl.h usability... no [18:16:48.570] checking sys/prctl.h presence... no [18:16:48.590] checking for sys/prctl.h... no [18:16:48.594] checking sys/procctl.h usability... no [18:16:48.653] checking sys/procctl.h presence... no [18:16:48.675] checking for sys/procctl.h... no [18:16:48.678] checking sys/signalfd.h usability... no [18:16:48.740] checking sys/signalfd.h presence... no [18:16:48.762] checking for sys/signalfd.h... no [18:16:48.765] checking sys/ucred.h usability... no [18:16:48.825] checking sys/ucred.h presence... no [18:16:48.848] checking for sys/ucred.h... no [18:16:48.851] checking termios.h usability... no [18:16:48.913] checking termios.h presence... no [18:16:48.935] checking for termios.h... no [18:16:48.939] checking ucred.h usability... no [18:16:49.000] checking ucred.h presence... no [18:16:49.020] checking for ucred.h... no [18:16:49.024] checking xlocale.h usability... no [18:16:49.085] checking xlocale.h presence... no [18:16:49.106] checking for xlocale.h... no [18:16:49.110] checking zlib.h usability... yes [18:16:49.121] checking zlib.h presence... yes [18:16:49.142] checking for zlib.h... yes [18:16:49.143] checking for lz4... /usr/bin/lz4 [18:16:49.143] checking for zstd... /usr/bin/zstd [18:16:49.143] checking for openssl... /usr/bin/openssl [18:16:49.148] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [18:16:49.149] checking crtdefs.h usability... yes [18:16:49.208] checking crtdefs.h presence... yes [18:16:49.226] checking for crtdefs.h... yes [18:16:49.227] checking whether byte ordering is bigendian... no [18:16:49.340] checking for inline... inline [18:16:49.358] checking for printf format archetype... gnu_printf [18:16:49.398] checking for _Static_assert... yes [18:16:49.443] checking for typeof... typeof [18:16:49.480] checking for __builtin_types_compatible_p... yes [18:16:49.500] checking for __builtin_constant_p... yes [18:16:49.512] checking for __builtin_mul_overflow... yes [18:16:49.560] checking for __builtin_unreachable... yes [18:16:49.605] checking for computed goto support... yes [18:16:49.644] checking for struct tm.tm_zone... no [18:16:49.729] checking for union semun... no [18:16:49.765] checking for socklen_t... yes [18:16:52.114] checking for struct sockaddr.sa_len... no [18:16:54.488] checking for C/C++ restrict keyword... __restrict [18:16:54.531] checking for struct option... yes [18:16:54.578] checking whether assembler supports x86_64 popcntq... yes [18:16:54.596] checking size of off_t... 4 [18:16:55.036] 0 [18:16:55.036] checking for int timezone... yes [18:16:55.093] checking for backtrace_symbols... no [18:16:55.147] checking for copyfile... no [18:16:55.201] checking for copy_file_range... no [18:16:55.253] checking for elf_aux_info... no [18:16:55.306] checking for getauxval... no [18:16:55.358] checking for getifaddrs... no [18:16:55.410] checking for getpeerucred... no [18:16:55.463] checking for inet_pton... yes [18:16:55.521] checking for kqueue... no [18:16:55.573] checking for mbstowcs_l... no [18:16:55.627] checking for memset_s... no [18:16:55.678] checking for posix_fallocate... no [18:16:55.729] checking for ppoll... no [18:16:55.785] checking for pthread_is_threaded_np... no [18:16:55.837] checking for setproctitle... no [18:16:55.888] checking for setproctitle_fast... no [18:16:55.942] checking for strchrnul... no [18:16:55.997] checking for strsignal... no [18:16:56.051] checking for syncfs... no [18:16:56.107] checking for sync_file_range... no [18:16:56.162] checking for uselocale... no [18:16:56.216] checking for wcstombs_l... no [18:16:56.267] checking for __builtin_bswap16... yes [18:16:56.319] checking for __builtin_bswap32... yes [18:16:56.372] checking for __builtin_bswap64... yes [18:16:56.424] checking for __builtin_clz... yes [18:16:56.474] checking for __builtin_ctz... yes [18:16:56.522] checking for __builtin_popcount... yes [18:16:56.571] checking for __builtin_frame_address... yes [18:16:56.620] checking for _LARGEFILE_SOURCE value needed for large files... no [18:16:56.671] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [18:16:56.703] checking for posix_fadvise... no [18:16:56.756] checking whether posix_fadvise is declared... no [18:16:56.802] checking whether fdatasync is declared... no [18:16:56.856] checking whether strlcat is declared... no [18:16:56.927] checking whether strlcpy is declared... no [18:16:56.999] checking whether strnlen is declared... yes [18:16:57.074] checking whether strsep is declared... no [18:16:57.145] checking whether preadv is declared... no [18:16:57.189] checking whether pwritev is declared... no [18:16:57.232] checking whether F_FULLFSYNC is declared... no [18:16:57.279] checking for explicit_bzero... no [18:16:57.331] checking for getopt... yes [18:16:57.380] checking for getpeereid... no [18:16:57.434] checking for inet_aton... no [18:16:57.488] checking for mkdtemp... no [18:16:57.540] checking for strlcat... no [18:16:57.592] checking for strlcpy... no [18:16:57.648] checking for strnlen... yes [18:16:57.702] checking for strsep... no [18:16:57.756] checking for pthread_barrier_wait... yes [18:16:57.804] configure: On mingw32 we will use our strtof wrapper. [18:16:57.804] checking for getopt_long... yes [18:16:57.853] checking for syslog... no [18:16:57.905] checking for opterr... yes [18:16:57.958] checking for optreset... no [18:16:58.014] checking test program... cross-compiling [18:16:58.014] checking size of void *... 8 [18:16:58.516] checking size of size_t... 8 [18:16:59.046] checking size of long... 4 [18:16:59.455] checking size of long long... 8 [18:16:59.948] checking alignment of short... 2 [18:17:00.217] checking alignment of int... 4 [18:17:00.540] checking alignment of long... 4 [18:17:01.006] checking alignment of int64_t... 8 [18:17:01.511] checking alignment of double... 8 [18:17:01.971] checking for __int128... yes [18:17:02.022] checking for __int128 alignment bug... assuming ok [18:17:02.022] checking alignment of PG_INT128_TYPE... 16 [18:17:02.638] checking for builtin __sync char locking functions... yes [18:17:02.685] checking for builtin __sync int32 locking functions... yes [18:17:02.732] checking for builtin __sync int32 atomic operations... yes [18:17:02.777] checking for builtin __sync int64 atomic operations... yes [18:17:02.825] checking for builtin __atomic int32 atomic operations... yes [18:17:02.871] checking for builtin __atomic int64 atomic operations... yes [18:17:02.917] checking for __get_cpuid... yes [18:17:02.967] checking for __get_cpuid_count... yes [18:17:03.016] checking for __cpuid... no [18:17:03.428] checking for __cpuidex... no [18:17:03.862] checking for _xgetbv... yes [18:17:04.271] checking for _mm512_popcnt_epi64... yes [18:17:04.706] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [18:17:04.813] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [18:17:04.840] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [18:17:04.860] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [18:17:04.881] 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 [18:17:04.942] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [18:17:04.943] checking which random number source to use... Windows native [18:17:04.945] checking for xmllint... /usr/bin/xmllint [18:17:04.945] checking for xsltproc... /usr/bin/xsltproc [18:17:04.945] checking for fop... /usr/bin/fop [18:17:04.945] checking for dbtoepub... no [18:17:04.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [18:17:04.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [18:17:04.946] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [18:17:04.958] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [18:17:04.958] 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 [18:17:04.958] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [18:17:04.958] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [18:17:05.051] configure: creating ./config.status [18:17:05.144] config.status: creating GNUmakefile [18:17:05.157] config.status: creating src/Makefile.global [18:17:05.173] config.status: creating src/include/pg_config.h [18:17:05.187] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [18:17:05.204] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [18:17:05.212] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [18:17:05.220] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [18:17:05.228] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [18:17:05.236] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [18:17:05.239] config.status: executing check_win32_symlinks commands [18:17:05.276] [18:17:05.276] real 0m21.446s [18:17:05.276] user 0m14.402s [18:17:05.276] sys 0m6.717s [18:17:05.276] make -s -j${BUILD_JOBS} clean [18:17:05.809] time make -s -j${BUILD_JOBS} world-bin [18:18:56.973] datachecksumsworker.c: In function ‘ProcessDatabase’: [18:18:56.973] datachecksumsworker.c:600:67: error: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘pid_t’ {aka ‘long long int’} [-Werror=format=] [18:18:56.973] 600 | "Waiting for worker in database %s (pid %d)", db->dbname, pid); [18:18:56.973] | ~^ ~~~ [18:18:56.973] | | | [18:18:56.973] | int pid_t {aka long long int} [18:18:56.973] | %lld [18:18:56.973] cc1: all warnings being treated as errors [18:18:56.974] make[3]: *** [: datachecksumsworker.o] Error 1 [18:18:56.974] make[2]: *** [common.mk:37: postmaster-recursive] Error 2 [18:18:56.974] make[2]: *** Waiting for unfinished jobs.... [18:19:19.648] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [18:19:19.648] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [18:19:19.649] [18:19:19.649] real 2m13.840s [18:19:19.649] user 7m15.016s [18:19:19.649] sys 1m21.491s [18:19:19.649] [18:19:19.649] Exit status: 2